Page MenuHomePhabricator

TemplateData: Translated InterfaceText items should be shown in user language
Closed, ResolvedPublic


If we are really going to use this for documenting our templates, the table created by the extension must contain the description/label/... in the user language.

How to reproduce:
Switch you user language to German. Visit [[:commons:Special:Permalink/102040858]]

The following is included in the sandbox.

"description": "English template description only.",
"params": {
    "1": {
        "description": {
            "de": "Deutscher Text.",
            "en": "English text."
        "type": "string/wiki-page-name"
"sets": []

"English text." is shown as description of parameter 1.

Expected result:
"Deutscher Text."

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:50 AM
bzimport added projects: TemplateData, I18n.
bzimport set Reference to bz52922.

Change 87724 had a related patch set uploaded by Krinkle:
Implement getIntefaceTextInLanguage and use API and Parser

Change 87724 merged by jenkins-bot:
Implement getInterfaceTextInLanguage and use API and Parser