]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
One more suggestion for the wiki-synatx.
authorhttp://lj.rossia.org/users/imz/ <http://lj.rossia.org/users/imz/@web>
Tue, 26 May 2009 15:34:35 +0000 (11:34 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 26 May 2009 15:34:35 +0000 (11:34 -0400)
doc/todo/matching_different_kinds_of_links.mdwn

index b71d7cc5f48727d1399ecc830b4f1d43bfd5a830..1d7c78d9065d78307b43a1f58a53300cde4015fa 100644 (file)
@@ -35,3 +35,13 @@ Besides pagespecs, the `rel=` attribute could be used for styles. --Ivan Z.
 > was not available, which is why I didn't make it differentiate from
 > normal links.) Might be better to go ahead and add the variable to
 > core though. --[[Joey]] 
+
+I saw somewhere else here soem suggestions for the wiki-syntax for specifying the relation name of a link. One more suggestion---[the syntax used in Semantic MediaWiki](http://en.wikipedia.org/wiki/Semantic_MediaWiki#Basic_usage), like this:
+
+<pre>
+... the capital city is \[[Has capital::Berlin]] ...
+</pre>
+
+So a part of the effect of `\[[!taglink TAG]]` could be represented as something like `\[[tag::TAG]]` or (more understandable relation name in what concerns the direction) `\[[tagged::TAG]]`.
+
+I don't have any opinion on this syntax (whether it's good or not)...--Ivan Z.