Page MenuHomePhabricator

TemplateData: Allow wikitext to be used in the interface messages for the html table
Closed, DeclinedPublic

Description

In order to use "/dada" subpages to hold the template data tags for each template, I tried[1] to add a link like "data" to [[MediaWiki:Templatedata-doc-params]] but I got the following HTML:
<caption>Template parameters &lt;a href="/w/index.php?title=/data&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="/data (page does not exist)"&gt;data&lt;/a&gt;</caption>
meaning the link was not functional.

[1] https://test.wikipedia.org/w/index.php?title=MediaWiki%3ATemplatedata-doc-params&diff=175076&oldid=175077


Version: unspecified
Severity: enhancement

Details

Reference
bz50495

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:56 AM
bzimport added a project: TemplateData.
bzimport set Reference to bz50495.

I'd argue this is by design. The message is supposed to contain plain text only. I don't want unicorns or templates to be invoked here.

It does apply message transformation so that anything required for proper localisation works (e.g. plural, grammar, etc.).

This is to keep the messages flexible and re-usable. And to allow them to be used on the client-side.

Per translatewiki guidelines or in MediaWiki message terminology, consider these messages format=text, not format=parse or format=wikitext.