Last modified: 2014-09-17 16:23:07 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 T72641, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70641 - [Regression] Wikitech should not be set up as a Wikipedia (interwiki for "wikipedia:" missing, canonical url labs.wikipedia.org)
[Regression] Wikitech should not be set up as a Wikipedia (interwiki for "wik...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: High critical (vote)
: ---
Assigned To: Sam Reed (reedy)
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-10 00:29 UTC by Krinkle
Modified: 2014-09-17 16:23 UTC (History)
10 users (show)

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


Attachments

Description Krinkle 2014-09-10 00:29:27 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.
Comment 1 Krinkle 2014-09-10 00:30:22 UTC
Ugh, there's other weird stuff as well:

<link rel="canonical" href="http://labs.wikipedia.org/wiki/Sandbox" />
Comment 2 Krinkle 2014-09-10 00:31:44 UTC
(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.
Comment 3 Krinkle 2014-09-10 00:32:26 UTC
Potentially affects search engine indexing and other weird stuff, bumping priority.
Comment 4 Andre Klapper 2014-09-17 14:21:19 UTC
(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?
Comment 5 Andrew Bogott 2014-09-17 14:35:36 UTC
Nope, still broken
Comment 6 Sam Reed (reedy) 2014-09-17 15:19:39 UTC
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) ""
Comment 7 Sam Reed (reedy) 2014-09-17 15:27:43 UTC
> 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
Comment 8 Sam Reed (reedy) 2014-09-17 15:31:05 UTC
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>
Comment 9 Sam Reed (reedy) 2014-09-17 15:31:46 UTC
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>
Comment 10 Sam Reed (reedy) 2014-09-17 15:37:57 UTC
Fixed
Comment 11 Sam Reed (reedy) 2014-09-17 15:38:58 UTC
Fix was https://gerrit.wikimedia.org/r/160973

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


Navigation
Links