JanZerebecki added a comment.
It seems if we say populateSitesTable is Wikimedia specific, we are saying that Wikibase is Wikimedia specific? AFAIK there is no way to set up a Wikibase installation with sitelinks without somehow specifying the information that may be in the sites table. How does the information get into the SiteMatrix? The list of wikis comes from dblists in mediawiki-config, which lists is a configuration of SiteMatrix. Where does their language and group comes from? Perhaps the db specific configuration in mediawiki-config? How does the extension access that part of the configuration, isn't it only accessible when in scope of one wiki and the only for that wiki? Does SiteMatrix depend on how certain details in mediawiki-config and the Mediawiki multi version stuff work? Maybe moving populateSitesTable.php into an extension named WikimediaSites will not improve the state of things. core might be the right location for an PHP API that can give out that information, with an index built at some point before the deployment is finished. Where should the code to build that index live? I don't know all the involved parts well enough nor do I have a useful overview. Perhaps a full list of sources of information and where they are needed will help. TASK DETAIL https://phabricator.wikimedia.org/T90617 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki 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
