aude added a comment.

  @JanZerebecki populateSitesTable.php only depends on having a source api that 
has sitematrix. Though there is some special handling code that assumes if a 
site id (dbname) has a 'wiki' suffix then it is in the "wikipedia" site group.
  
  theoretically sitematrix can exists outside of Wikimedia (though it has 
settings like $wgSiteMatrixFishbowlSites) and the script can use any api as a 
source that has sitematrix.
  
  alternative ways to populate sites include the importSites.php script in 
core, which takes an xml file.  The xml file has to be crafted by hand.  Also, 
I think this importer missing importing some aspects of the sites.  Though in 
the future, maybe we want to handle sites with a configuration file(s) like 
this.
  
  or I think some people just directly insert entries into the sites table on 
their wiki.
  
  none of these solutions is very nice and think @daniel has an RFC 
https://phabricator.wikimedia.org/T113034 about more broadly improving the 
sites system.
  
  For now, having populateSitesTable out of Wikibase is an improvement and it's 
at least my opinion that core is not a good place for it. (open to other 
suggestions) I would rather not continue to block moving the script on some 
grand refactorings and having a nice new system.

TASK DETAIL
  https://phabricator.wikimedia.org/T90617

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: aude
Cc: JanZerebecki, Krenair, aude, Aklapper, daniel, D3r1ck01, Izno, 
Wikidata-bugs, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to