Last modified: 2014-08-21 22:41:21 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 T67514, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65514 - Missing messages on account creation
Missing messages on account creation
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikimediaMessages (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Matthew Flaschen
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-20 02:25 UTC by Steven Walling
Modified: 2014-08-21 22:41 UTC (History)
8 users (show)

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


Attachments

Description Steven Walling 2014-05-20 02:25:24 UTC
Some key interface messages seem to have disappeared on the account creation form. Specifically, MediaWiki:Createacct-helpusername and MediaWiki:Createacct-imgcaptcha-help are both gone. 

Checking English Wikipedia and MediaWiki.org with uselang=qqx shows that these messages are still in the code, but are not being displayed for some reason. 

This is really bad, since Createacct-imgcaptcha-help links to the local help pages for users who have accessibility issues and can't read the CAPTCHA. 

Perhaps the transition to JSON screwed something up here?
Comment 1 Steven Walling 2014-05-20 02:28:12 UTC
Full list of messages not showing, but which are present in WikimediaMessages still:

createacct-helpusername-url
createacct-helpusername
createacct-captcha-help-url
createacct-imgcaptcha-help
Comment 2 Florian 2014-05-20 15:22:59 UTC
Isn't a bug, see:
https://bugzilla.wikimedia.org/show_bug.cgi?id=47801

Messages createacct-helpusername-url and createacct-captcha-help-url removed completly from core messages, createacct-helpusername and createacct-captcha-help are empty for compatibility, see changes:
https://gerrit.wikimedia.org/r/#/c/61395/
https://gerrit.wikimedia.org/r/#/c/64204/1/languages/messages/MessagesEn.php

Wikimedia-Wikis uses custom Message files (not in core), where these messages added:
https://gerrit.wikimedia.org/r/#/c/62570/

These messages aren't core messages, so sysops have to set, translate and edit these themselves.

Kind regards
Florian
Comment 3 Steven Walling 2014-05-20 17:44:16 UTC
(In reply to florian.schmidt.welzow from comment #2)
> Isn't a bug, see:
> https://bugzilla.wikimedia.org/show_bug.cgi?id=47801
> 
> Messages createacct-helpusername-url and createacct-captcha-help-url removed
> completly from core messages, createacct-helpusername and
> createacct-captcha-help are empty for compatibility, see changes:
> https://gerrit.wikimedia.org/r/#/c/61395/
> https://gerrit.wikimedia.org/r/#/c/64204/1/languages/messages/MessagesEn.php
> 
> Wikimedia-Wikis uses custom Message files (not in core), where these
> messages added:
> https://gerrit.wikimedia.org/r/#/c/62570/
> 
> These messages aren't core messages, so sysops have to set, translate and
> edit these themselves.
> 
> Kind regards
> Florian

Yes, they're blank *in core* but they're not blank in WikimediaMessages. That extension should be delivering these messages, which is why the bug is under that component.
Comment 4 Florian 2014-05-20 19:28:21 UTC
Ah, sorry, not seen! :) I look into.
Comment 5 Florian 2014-05-20 19:39:22 UTC
Message createacct-helpusername and createacct-imgcaptcha-help already set in languages/i18n/en.json to avoid display of message name in <> when no WikimediaMessages installed, so in my opinion no core change. I'm unsure, that in this case anything can do :/ Maybe someone other. As a local fix for your installation you can edit the en.json and delete the message declaration (both are empty).

createacct-helpusername-url and createacct-captcha-help-url only used internally in WikimediaMessages, there isn't any problem, they will show in createacct-helpusername and createacct-imgcaptcha-help.
Comment 6 Matthew Flaschen 2014-05-21 04:41:22 UTC
(In reply to florian.schmidt.welzow from comment #2)
> These messages aren't core messages, so sysops have to set, translate and
> edit these themselves.

WikimediaEvents is handled at TranslateWiki; e.g. https://translatewiki.net/wiki/MediaWiki:Wmf-createacct-helpusername-url/es , just like regular extensions (the one exception being it uses a special prefix so it doesn't conflict with core's message name).
Comment 7 Florian 2014-05-21 06:08:46 UTC
Hmm, bot is sleeping?!
https://gerrit.wikimedia.org/r/#/c/134561/
Comment 8 Gerrit Notification Bot 2014-05-21 09:08:56 UTC
Change 134561 had a related patch set uploaded by Legoktm:
Remove empty messages and ensure they exists before parse

https://gerrit.wikimedia.org/r/134561
Comment 9 Matthew Flaschen 2014-05-21 18:13:34 UTC
Siebrand, since the old way stopped working, does the MessageCache::get hook seem like a good way to solve this?

We could have e.g. wmf-createacct-helpusername-url be the actual key (right now the real key is "createacct-helpusername-url", like in core; it's just considered wmf-createacct-helpusername-url on TranslateWiki), and have the MessageCache::get hook swap the keys out.
Comment 10 Matthew Flaschen 2014-06-04 22:02:24 UTC
(In reply to Matthew Flaschen from comment #9)
> Siebrand, since the old way stopped working, does the MessageCache::get hook
> seem like a good way to solve this?

This is the approach I'm going with.  See also my comment at https://gerrit.wikimedia.org/r/#/c/134561/
Comment 11 Gerrit Notification Bot 2014-06-05 04:00:35 UTC
Change 137528 had a related patch set uploaded by Mattflaschen:
Fix Wikimedia overrides of core messages

https://gerrit.wikimedia.org/r/137528
Comment 12 Gerrit Notification Bot 2014-07-06 21:49:49 UTC
Change 137528 merged by jenkins-bot:
Fix Wikimedia overrides of core messages

https://gerrit.wikimedia.org/r/137528
Comment 13 Gerrit Notification Bot 2014-07-10 10:15:56 UTC
Change 134561 abandoned by Florianschmidtwelzow:
Remove empty messages and ensure they exists before parse

Reason:
See Ib39937a440e71ae7292cf992ab37a569189741e4 as a possible solution for this bug

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

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


Navigation
Links