Evan Prodromou wrote:
- Editors can put markup into a page like this:
[[field:name:value]]
* "field" is a per-installation fixed string, defining this link as a data field. It probably should not conflict with any namespace, language code, or InterWiki link.
* "name" can be any string that won't interfere with other wikitext parsing and doesn't contain a ":"; it is the field name.
* "value" is any string that won't interfere with other wikitext parsing, and doesn't contain "]]". It is the field value.
* The field tag can go anywhere in the page text. There can be multiple field tags with the same name.
You know, if you combine with <somebody else>'s suggestion to employ "=" and reduce the overload on ":", then we could get a very nice general system here.
To start with, notice that interwiki links behave a bit oddly right now. On [[meta:]], I can (or could once) link to [[fr:]] with the link [[fr:Fou]]. But on [[en:]], that won't work, the link [[fr:fou]] behaves specially. It might be clearer if ":" was always for links and "=" always for magic.
But ":" magic wouldn't work unless turned on -- by recognising the "name". So the format is [[name:value]], and we might start by recognising: * [[en=foo]], [[fr=fou]], [[eo=fu]] and other interwiki links * [[category=nonsense word]] But maybe Wikitravel will decide that it wants more.
-- Toby