Last modified: 2012-08-04 08:56: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 T41018, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39018 - Use wgExtraNamespaces from InitialiseSettings in labs
Use wgExtraNamespaces from InitialiseSettings in labs
Status: RESOLVED INVALID
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-03 18:30 UTC by Jan Gerber
Modified: 2012-08-04 08:56 UTC (History)
6 users (show)

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


Attachments

Description Jan Gerber 2012-08-03 18:30:25 UTC
production uses wgExtraNamespaces (from wmf-config/InitialiseSettings.php) to set custom namespace ids. I.e. TimedText is 102 on commons but not on other wikis. To be able to test cross wiki access via ForeignDBViaLBRepo it would be good to have this setup in the same way in labs.
Comment 1 Antoine "hashar" Musso (WMF) 2012-08-03 19:04:43 UTC
Since beta share it is configuration with production, that is already in there:

hashar@deployment-dbdump:~$ mwscript eval.php --wiki=commonswiki

> var_dump( $wgExtraNamespaces[102] );
string(9) "TimedText"

> var_dump( $wgExtraNamespaces[103] );
string(14) "TimedText_talk"

$


I am pretty sure 102 is already taken on various wiki. So you need an higher number to make sure it is not existing on any wiki.

Check with Sam :-)
Comment 2 Jan Gerber 2012-08-03 22:43:39 UTC
production is using 102 on commonswiki and there is no way to fix this afaik. thats why labs should support the same setup that is used in production.
Comment 3 Platonides 2012-08-04 08:56:15 UTC
It *is* using it, see for yourself http://commons.wikimedia.beta.wmflabs.org/wiki/Special:Export/Main_Page
<namespace key="102" case="first-letter">TimedText</namespace>

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


Navigation
Links