Last modified: 2012-08-04 08:56:15 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.
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 :-)
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.
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>