Last modified: 2014-04-02 16:33:15 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 T65344, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63344 - CentralAuth messages not loaded on *.wikimedia.beta.wmflabs.org
CentralAuth messages not loaded on *.wikimedia.beta.wmflabs.org
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-01 02:46 UTC by PiRSquared17
Modified: 2014-04-02 16:33 UTC (History)
13 users (show)

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


Attachments

Description PiRSquared17 2014-04-01 02:46:53 UTC
See:
https://meta.wikimedia.org/w/index.php?title=User_talk:Hoo_man&diff=8018509&oldid=7881226

http://deployment.wikimedia.beta.wmflabs.org/w/index.php?title=Special:RecentChanges&days=30&from=&limit=250

(<centralauth-log-name>); 21:08 . . Wiki13 (Talk | contribs) <centralauth-log-entry-chgstatus> ‎
(<centralauth-log-name>); 21:08 . . Wiki13 (Talk | contribs) <centralauth-log-entry-chgstatus> ‎(test)
(Global block log); 21:08 . . Wiki13 (Talk | contribs) globally blocked User:1.1.1.1 (expires 21:08, 21 March 2014) ‎(ABUSEEEEEEE)
(<centralauth-log-name>); 21:05 . . PiRSquared (Talk | contribs) <centralauth-log-entry-chgstatus> ‎
(<centralauth-log-name>); 21:05 . . PiRSquared (Talk | contribs) <centralauth-log-entry-chgstatus> ‎(test)
Comment 1 PiRSquared17 2014-04-01 02:49:35 UTC
The message does not exist: http://deployment.wikimedia.beta.wmflabs.org/wiki/MediaWiki:Centralauth-log-name
Comment 2 Bawolff (Brian Wolff) 2014-04-01 03:42:26 UTC
Wow, that's weird

Looks like all central auth messages are gone on beta, not just those 2 - http://deployment.wikimedia.beta.wmflabs.org/w/index.php?title=Special%3AAllMessages&prefix=centralauth&filter=all&lang=labs&limit=50

However they are there on mediawiki.org https://www.mediawiki.org/wiki/MediaWiki:Centralauth-log-entry-chgstatus and meta https://meta.wikimedia.org/wiki/MediaWiki:Centralauth-log-name, so always a possibility that beta is just broken.

Bug with the changeover to json messages maybe? That (49c2d13b00) landed on wed, so I would expect it to already be hitting mediawiki.org if it was the cause. Also scribunto messages show up fine, and it was also converted over.

Locally all the messages show up for me.
Comment 3 Nemo 2014-04-01 05:39:14 UTC
l10n refreshes rarely work on beta after the deploys, you can't really trust that cluster with giving any meaningful information on the matter.
Comment 4 Siebrand Mazeland 2014-04-01 07:22:14 UTC
I've double checked the i18n configuration of CentralAuth, because it was recently migrated to use JSON i18n (along with all other MediaWiki extensions used at Wikimedia). It looks just fine:

* There's a folder i18n/ with en.json in it.
* There a line "$wgMessagesDirs['SpecialCentralAuth'] = __DIR__ . '/i18n';" in CentralAuth.php

I checked other sites on "wikimedia.beta.wmflabs.org". These sites also miss messages for CentralAuth (as observed by seeing "<centralauth-desc>" on Special:Version:
* http://commons.wikimedia.beta.wmflabs.org/wiki/Special:Version
* http://commons.wikimedia.beta.wmflabs.org/wiki/Special:Version

No other extensions appear to be missing their description message on Special:Version of *.wikimedia.beta.wmflabs.org.

Suspecting this is some kind of localisation cache rebuild glitch, in my opinion the first thing that should be done is a rebuild of the localisation cache.
Comment 5 Antoine "hashar" Musso (WMF) 2014-04-01 08:22:44 UTC
(In reply to Nemo from comment #3)
> l10n refreshes rarely work on beta after the deploys, you can't really trust
> that cluster with giving any meaningful information on the matter.

Every six minutes Jenkins run a job which update the extensions registered in mediawiki/extensions.git , it then invokes mw-update-l10n just like we do in production and generates .cdb files and the .json files out of the cdb.  The job is: https://integration.wikimedia.org/ci/job/beta-code-update-eqiad/


The l10n files are accessible in /data/project/apache/common-local/php-master/cache/l10n .  Neither l10n_cache-en.cdb nor upstream/l10n_cache-en.cdb.json files contains an occurrence of a centralauth message.


So seems something is wrong in the way the message is registered.


The CentralAuth extension code is a git submodule fetched at /data/project/apache/common-local/php-master/extensions/CentralAuth   HEAD points to e3b1288 (and will be moved forward whenever a change is merged).
Comment 6 Siebrand Mazeland 2014-04-01 08:58:18 UTC
I just added CentralAuth ,with all classes and hooks remove so I didn't have to set up the extension, to my local MediaWiki installation, and the messages load just fine.

I recomment increasing priority of this issue, because this shouldn't be put in production without being resolved.
Comment 7 PiRSquared17 2014-04-01 16:25:05 UTC
(In reply to Siebrand Mazeland from comment #6)
> I recomment increasing priority of this issue, because this shouldn't be put
> in production without being resolved.

Agreed.
Comment 8 Niklas Laxström 2014-04-02 05:54:42 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/123153/
Comment 9 PiRSquared17 2014-04-02 16:33:15 UTC
Thanks for the fix, Krenair! Glad you caught it before deployment.

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


Navigation
Links