Last modified: 2013-10-07 18:58:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54922, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52922 - TemplateData: Translated InterfaceText items should be shown in user language
TemplateData: Translated InterfaceText items should be shown in user language
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TemplateData (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Krinkle
: i18n
Depends on: 50431
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 15:58 UTC by Rainer Rillke @commons.wikimedia
Modified: 2013-10-07 18:58 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rainer Rillke @commons.wikimedia 2013-08-16 15:58:56 UTC
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.
<templatedata>
{
    "description": "English template description only.",
    "params": {
        "1": {
            "description": {
                "de": "Deutscher Text.",
                "en": "English text."
            },
            "type": "string/wiki-page-name"
        }
    },
    "sets": []
}
</templatedata>
"English text." is shown as description of parameter 1.

Expected result:
"Deutscher Text."
Comment 1 Rainer Rillke @commons.wikimedia 2013-08-16 15:59:57 UTC
convinience link: https://commons.wikimedia.org/wiki/?oldid=102040858&uselang=de
Comment 2 Gerrit Notification Bot 2013-10-06 16:49:05 UTC
Change 87724 had a related patch set uploaded by Krinkle:
Implement getIntefaceTextInLanguage and use API and Parser

https://gerrit.wikimedia.org/r/87724
Comment 3 Gerrit Notification Bot 2013-10-07 18:54:58 UTC
Change 87724 merged by jenkins-bot:
Implement getInterfaceTextInLanguage and use API and Parser

https://gerrit.wikimedia.org/r/87724

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links