Page MenuHomePhabricator

[SiteMatrix] Provide a way to skip http://www.wikimedia.ch/
Closed, ResolvedPublic

Description

When iterating over all wikis, there are a few properties such asL

  • closed
  • private
  • fishbowl

to skip or filter the list of wikis. However http://www.wikimedia.ch/ has no such property and makes tools fail.

Both because the wiki is at a different address (moved from root /index.php, to /wiki/ and now at http://www.members.wikimedia.ch/index.php), and because it is not connected through CentralAuth.


Version: unspecified
Severity: enhancement

Details

Reference
bz34370

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:12 AM
bzimport set Reference to bz34370.

Should we still be listing off cluster wikis? I'm inclined to say no..

reedy@fenari:/home/wikipedia/c$ grep chwikimedia *.dblist
1.17.dblist:chwikimedia
all.dblist:chwikimedia
pmtpa.dblist:chwikimedia
s3.dblist:chwikimedia
s3-fixed.dblist:chwikimedia
switchover-jun30.dblist:chwikimedia
todo.dblist:chwikimedia
wikimedia.dblist:chwikimedia

Would be hard to keep them I guess. For one the database name is fake.

Although chwikimedia_p still exists on the Toolserver.

This is what deleted.dblist is for.

I'm not sure why or how, but it is back.

https://meta.wikimedia.org/w/api.php?format=jsonfm&action=sitematrix

With no indication that it is not a wiki where one attach the account with CentralAuth. My tools are consistently showing 1 failure (this one). It already skips 'private' and other flags, but "chwikimedia" has no flag or anything in the sitematrix.

{
"url": "http:\/\/www.wikimedia.ch\/",
"dbname": "chwikimedia",
"code": "chwikimedia"
}

$ ack chwikimedia -Qa

deleted.dblist
1:chwikimedia

todo.dblist
38:chwikimedia

wikiversions.dat
132:chwikimedia php-1.20wmf3 *

wmf-config/InitialiseSettings.php
115: 'chwikimedia' => 'en', # seems to be the most common language here
434: 'chwikimedia' => '$stdlogo',
1040: 'chwikimedia' => '//www.wikimedia.ch/',
1121: 'chwikimedia' => 'http://www.wikimedia.ch/',
6366: 'chwikimedia' => array( '*' => array(