Carlb added a comment.
The GlobalID is the name of the wiki, as it appears in Wikidata. For instance, "enwiki" is the English-language Wikipedia. A Wikidata entry with the individual GlobalID for each wiki looks like https://www.wikidata.org/wiki/Q2736 Wikipedia (204 entries): abwiki Ашьапылампыл acewiki Sipak bhan adywiki Лъэпэеу afwiki Sokker alswiki Fussball amwiki እግር ኳስ angwiki Gyldfōtþōðer anwiki Fútbol arwiki كرة القدم arzwiki كورة قدم astwiki Fútbol [...] These are the prefixes being submitted to the Wikibase repository whenever an interlanguage link is added. If you view a Q-item on Wikidata (and turn JavaScript off) these tags are visible on all the language links on every record. If the bot is generating interwikidata links, this is the prefix it needs. The WikiID, on the other hand, is just an item returned to us by the API on each individual wiki giving the internal name on that server. For instance, https://en.uncyclopedia.co/w/api.php?format=json&meta=siteinfo&action=query reports: server "//en.uncyclopedia.co" servername "en.uncyclopedia.co" wikiid "uncy_en" That WikiID is hardcoded to the database name (or database-prefix name) on the server. There's no way to change it, short of renaming the underlying server's database or changing API/core code. Unless we have a direct database connection (such as the replica databases on wmflabs) it's pretty much meaningless to us. We need the GlobalID, because that's what will be fed as data to Wikibase. WMF names its server databases to match the GlobalID, but on a third-party site this field might contain anything. Do we care what SQL names the database on the remote server? We just want to know what prefixes to submit to create the Q-item. TASK DETAIL https://phabricator.wikimedia.org/T222021 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Carlb Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, mys_721tx, Wikidata-bugs, aude, jayvdb, Dalba, Masti, Alchimista, Mbch331, Rxy
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs