Last modified: 2014-08-18 10:54:48 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 T48029, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46029 - VoteNY's messages' prefix is lost
VoteNY's messages' prefix is lost
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://gerrit.wikimedia.org/r/gitweb...
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-12 15:26 UTC by Jack Phoenix
Modified: 2014-08-18 10:54 UTC (History)
8 users (show)

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


Attachments

Description Jack Phoenix 2013-03-12 15:26:35 UTC
The VoteNY extension (http://www.mediawiki.org/wiki/Extension:VoteNY) has 11 internationalization messages, of which 8 are prefixed with voteny- (extension name in lowercase and a hyphen, as the convention has been to avoid conflicts with core or other extensions) and one is prefixed right- (the user right message) and two have no prefix/have their own prefix (the special page messages).

Since 4 September 2012, translatewiki.net localization commits have omitted the voteny- prefix (see https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/VoteNY.git;a=commitdiff;h=301eced593c0e32d4c5ca8a6e82c86de8f205497) and effectively the user interface of the extension has been somewhat "broken" for non-English languages since that very date, too, as localization hasn't been available despite the messages existing on the .i18n.php file.
Comment 1 Nemo 2013-03-12 16:08:40 UTC
In https://gerrit.wikimedia.org/r/gitweb?p=translatewiki.git;a=blob;f=groups/MediaWiki/mediawiki-defines.txt;h=8d60269a10cd7131129a4b4a6751456b7ea724eb;hb=HEAD I see 

1530 Vote NY
1531 file = VoteNY/Vote.i18n.php
1532 prefix = voteny- | right-vote

but then we have a similar syntax at

1633 Wikimedia Messages
[...]
1642 prefix = wmf- | sidebar, grouppage-Staff, group-Staff, group-Staff-member
1643 prefix = wmf- | group-patroller, group-patroller-member, grouppage-patroller

and here I got lost because I can't make sense out of it.
Comment 2 Niklas Laxström 2013-04-04 11:12:20 UTC
It strips the voteny- prefix regardless if it was there in the first place.
Comment 3 Gerrit Notification Bot 2013-07-29 09:05:38 UTC
Change 76476 had a related patch set uploaded by Jack Phoenix:
VoteNY: manually work around bug #46029 for now.

https://gerrit.wikimedia.org/r/76476
Comment 4 Gerrit Notification Bot 2013-07-29 09:06:03 UTC
Change 76476 merged by Jack Phoenix:
VoteNY: manually work around bug #46029 for now.

https://gerrit.wikimedia.org/r/76476
Comment 5 Andre Klapper 2014-08-18 10:51:50 UTC
Workaround patch was merged; resetting status and lowering priority.

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


Navigation
Links