Page MenuHomePhabricator

In sitematrix api module, wikipedia sites have a null url
Closed, DuplicatePublic

Description

In sitematrix api module, some sites like afwiki have a null url:

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

since this is currently used when populating the sites table, a blank url for a site means that it will not be possible to add site links for that site on wikidata (should wikidata's sites table be entirely repopulated) or other wikibase instance. the url is needed for calling the site api to get suggestions for page titles, to normalize and validate them.

Event Timeline

aude raised the priority of this task from to Needs Triage.
aude updated the task description. (Show Details)
aude added projects: SiteMatrix, Wikidata.
aude added a subscriber: aude.
aude renamed this task from In sitematrix api module, some sites have a null url to In sitematrix api module, wikipedia sites have a null url.Jul 27 2015, 7:09 PM
aude set Security to None.

problem is that SiteMatrix relied on the 'default' = wikipedia assumption that we previously had in InitialiseSettings.php which allowed it to 'magically' work before.

the assumption has been removed:

https://gerrit.wikimedia.org/r/#/c/225287/3/wmf-config/InitialiseSettings.php

Change 227350 had a related patch set (by Aude) published:
Fix loading of canonical url and site name settings

https://gerrit.wikimedia.org/r/227350