]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/do_not_make_links_backwards.mdwn
Add a few missing jquery UI icons to attachment upload widget underlay.
[git.ikiwiki.info.git] / doc / todo / do_not_make_links_backwards.mdwn
index a8001c400caf072f4885221e6df56ce19c58b894..13770b3797da753caafe2ed3b8c554efb1c54108 100644 (file)
@@ -17,5 +17,15 @@ The following needs to be done:
  2. a config setting need to be added to the `link` plugin so that we can choose if we want backwards links or not (./) `links_direction`, how does that sound? I have changed that from `backwards_links` to be more neutral. 'rtl' means `\[[link|text]]` and 'ltr' means `\[[text|link]]`
  3. a (solid!) parser needs to be written for [[ikiwiki-transition]] to change the actual links (if necessary) (./) done!
  4. rewrite tests to take into account the two syntaxes (!) I would need help here, always have trouble with unit tests...
  2. a config setting need to be added to the `link` plugin so that we can choose if we want backwards links or not (./) `links_direction`, how does that sound? I have changed that from `backwards_links` to be more neutral. 'rtl' means `\[[link|text]]` and 'ltr' means `\[[text|link]]`
  3. a (solid!) parser needs to be written for [[ikiwiki-transition]] to change the actual links (if necessary) (./) done!
  4. rewrite tests to take into account the two syntaxes (!) I would need help here, always have trouble with unit tests...
+ 5. deal with underlays (!!)
+
+> It's not at all obvious to me that `rtl` should mean "link before description"
+> and not the other way round. Perhaps `wikilink_text_first` => `1` for the historical
+> IkiWiki syntax or `0` for the Creole/Mediawiki syntax? --[[smcv]]
 
 <!> There's a caveat: we can't have a per-wiki backwards_links option, because of the underlay, common to all wikis, which needs to be converted. So the option doesn't make much sense. Not sure how to deal with this... Maybe this needs to be at the package level?
 
 <!> There's a caveat: we can't have a per-wiki backwards_links option, because of the underlay, common to all wikis, which needs to be converted. So the option doesn't make much sense. Not sure how to deal with this... Maybe this needs to be at the package level?
+
+> I've thought about adding a direction-neutral `\[[!link]]` directive -
+> see [[link plugin perhaps too general?]] for details. The basewiki
+> could use `\[[!link to=b desc=a]]` whenever it needs `\[[a|b]]`-style
+> links, maybe? --[[smcv]]