Last modified: 2012-11-29 13:13:26 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 T40248, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38248 - Language name in help messages on Special:CreateItem shown as "null"
Language name in help messages on Special:CreateItem shown as "null"
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-08 17:50 UTC by snaevar
Modified: 2012-11-29 13:13 UTC (History)
3 users (show)

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


Attachments

Description snaevar 2012-07-08 17:50:53 UTC
To reproduce this bug:
1. Go to the special page Create item on the repo - http://wikidata-test-repo.wikimedia.de/wiki/Special:CreateItem
2. Hover with the mouse over the question mark next to Enter label
3. The message "Enter the title of this data set in null" appears.
4. An similar bug occurs when the mouse is hovered over the question mark next to enter description.

The bug is that the parameter in [1] and [2] is shown as null, but it should be the name of the language (in this case "English").

This bug affects only the special page Create Item. The message is displayed with the language name as expected on items that have been created.

[1] http://www.translatewiki.org/wiki/MediaWiki:Wikibase-label-input-help-message/en
[2] http://www.translatewiki.org/wiki/MediaWiki:Wikibase-description-input-help-message/en
Comment 1 jeblad 2012-07-24 12:54:13 UTC
ItemView::render, line 245, $langCode is not set.
Comment 2 jeblad 2012-07-24 20:03:45 UTC
Possible fix in https://gerrit.wikimedia.org/r/16545
Comment 3 snaevar 2012-07-27 22:34:55 UTC
The fix works for me, thanks. Marking as Resolved, fixed.

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


Navigation
Links