Last modified: 2014-09-17 16:23:07 UTC
Seems ever since the change to use production config lately (or shortly thereafter) the various interwiki links we had no longer work. e.g. on https://wikitech.wikimedia.org/wiki/Codfw_cluster the link for Wikipedia: "wikipedia:Dallas/Fort Worth International Airport" Is a red link. Oddly enough "en:" does work, which suggests the wiki incorrectly identifies as being a Wikipedia edition. Further more, the redlink leads to https://wikitech.wikimedia.org/w/index.php?title=Wikipedia:Dallas/Fort_Worth_International_Airport&action=edit&redlink=1 which identifies itself as being in the Project namespace.
Ugh, there's other weird stuff as well: <link rel="canonical" href="http://labs.wikipedia.org/wiki/Sandbox" />
(In reply to Krinkle from comment #1) > Ugh, there's other weird stuff as well: > > <link rel="canonical" href="http://labs.wikipedia.org/wiki/Sandbox" /> Caused by $lang.$site fun.
Potentially affects search engine indexing and other weird stuff, bumping priority.
(In reply to Krinkle from comment #1) > Ugh, there's other weird stuff as well: > <link rel="canonical" href="http://labs.wikipedia.org/wiki/Sandbox" /> Bug 70882 was about 404 URLs in wikitech.wikimedia.org watchlist notifications pointing to labs.wikimedia.org instead. abogott: Did https://gerrit.wikimedia.org/r/#/c/160667/ fix this ticket too?
Nope, still broken
reedy@tin:/srv/mediawiki-staging/multiversion$ mwscript eval.php mediawikiwiki > var_dump( Title::newFromText( 'wikipedia:Dallas/Fort Worth International Airport' )->getInterwiki() ); string(9) "wikipedia" > reedy@tin:/srv/mediawiki-staging/multiversion$ mwscript eval.php labswiki > var_dump( Title::newFromText( 'wikipedia:Dallas/Fort Worth International Airport' )->getInterwiki() ); string(0) ""
> reedy@tin:/srv/mediawiki-staging/multiversion$ mwscript eval.php labswiki > var_dump( Interwiki::isValidInterwiki( 'wikipedia' ) ); bool(true) So it would seem MediaWikiTitleCodec::splitTitleString() (called from Title::secureAndSplit()) doesn't think it's an interwiki for some reason
Found it: <ns id="4" case="first-letter" subpages="" canonical="Project" xml:space="preserve">Wikipedia</ns> <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Wikipedia talk</ns>
Versus wikitech-static <ns id="4" case="first-letter" subpages="" canonical="Project" xml:space="preserve">Wikitech</ns> <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Wikitech talk</ns>
Fixed
Fix was https://gerrit.wikimedia.org/r/160973