Last modified: 2014-07-16 18:00:53 UTC
https://www.mediawiki.org/wiki/Help:Magic_words#Variables {{CURRENTYEAR}}, {{CURRENTMONTH}], etc. - possibly a pop-up inserter with a brief description of what each do (and their current value?)
Feel like taking this on? It'd be a step towards fixing bug 50855 in general… Big fun challenge. :-)
So we need to: * Alter TemplateData to provide documentation for magic words * Add extra field to template insert dialog for the addition of magic words.
Actually, maybe we should just have VE query api.php?action=query&meta=siteinfo&siprop=magicwords, then load a documentation message for it in the given language.
(In reply to Alex Monk from comment #3) > Actually, maybe we should just have VE query > api.php?action=query&meta=siteinfo&siprop=magicwords, then load a > documentation message for it in the given language. no, ignore this
Apparently some of the magic words involving 'colon arguments' will need Parsoid/VE DM support.
(In reply to Alex Monk from comment #5) > Apparently some of the magic words involving 'colon arguments' will need > Parsoid/VE DM support. Does Parsoid not split out the zeroth argument or something? If so, is there a bug that this can be made semi-dependent on?
2014-06-16 22:00:29 <Krinkle> but we'll need to implemetn support for the colon argument in Parsoid and VisualEditor DM first.
Change 140445 had a related patch set uploaded by Alex Monk: [WIP] Allow TemplateData to output information about magic words https://gerrit.wikimedia.org/r/140445