https://bugzilla.wikimedia.org/show_bug.cgi?id=63659
Bug ID: 63659
Summary: l10nupdate l10n cahce generation is broken when
test2wiki is used to create
wmf-config/ExtensionMessages-*.php
Product: Wikimedia
Version: wmf-deployment
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Deployment systems
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
I'm still not clear on the root cause, but if test2wiki is used as the --wiki
argument to `mwscript mergeMessageFileList.php` it will generate a different
ExtensionMessages-<VERSION>.php file than the same script called with
--wiki=mediawikiwiki
The php implementation of activeMWVersions returns the the first wiki listed in
the wikiversions.json file because of the intrinsic behavior of iterating php
arrays. For a typical group0 initial deploy this will return
1.XwmfY=mediawikiwiki as the version=wikidb pair for the new version.
The python implementation of the same script is not guaranteed to iterate the
wikiversions.json file in any particular order. Cpython seems to iterate in a
consistent order based on the interpreter version. On the production cluster
this iteration order currently yields 1.XwmfY=test2wiki for the new version.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l