[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-31 Thread Addshore
Addshore closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, Addshore Cc: William_Avery, Lucas_Werkmeister_WMDE, Aklapper, Invadibot,

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-31 Thread Addshore
Addshore closed subtask T288820: Test that Wikibase/Wikidata namespaces declare their content model as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, Addshore

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-13 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. In T288724#7278329 , @Lucas_Werkmeister_WMDE wrote: > Hm, this might not actually be a new issue… on English Wikipedia (still on wmf.17) there’s only one namespace with `defaultcontentmodel` too:

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-13 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE moved this task from Doing to Test (Verification) on the Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board. Lucas_Werkmeister_WMDE added a comment. I’ve created two follow-up tasks, I think this can be resolved now. TASK DETAIL

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, Maintenance_bot Cc: Lucas_Werkmeister_WMDE, Aklapper, Invadibot,

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread ReleaseTaggerBot
ReleaseTaggerBot added a project: MW-1.37-notes (1.37.0-wmf.19; 2021-08-16). TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, ReleaseTaggerBot Cc: Lucas_Werkmeister_WMDE,

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE moved this task from Peer Review to Doing on the Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board. Lucas_Werkmeister_WMDE added a comment. Should be fixed for now, I’ll leave the task open because we probably want tests for this, or to look into it further.

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Stashbot
Stashbot added a comment. Mentioned in SAL (#wikimedia-operations) [2021-08-12T09:31:15Z] Synchronized php-1.37.0-wmf.18/extensions/Wikibase/: Backport: [[gerrit:711714|Revert "Inject NamespaceInfo into EntitySourceDefinitionsConfigParser" (T288724

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Stashbot
Stashbot added a comment. Mentioned in SAL (#wikimedia-operations) [2021-08-12T09:29:51Z] Synchronized php-1.37.0-wmf.18/extensions/Wikibase/data-access/: Backport: [[gerrit:711714|Revert "Inject NamespaceInfo into EntitySourceDefinitionsConfigParser" (T288724

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread gerritbot
gerritbot added a comment. Change 711714 **merged** by jenkins-bot: [mediawiki/extensions/Wikibase@wmf/1.37.0-wmf.18] Revert \"Inject NamespaceInfo into EntitySourceDefinitionsConfigParser\" https://gerrit.wikimedia.org/r/711714 TASK DETAIL

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread gerritbot
gerritbot added a comment. Change 712113 **merged** by jenkins-bot: [mediawiki/extensions/Wikibase@master] Revert \"Inject NamespaceInfo into EntitySourceDefinitionsConfigParser\" https://gerrit.wikimedia.org/r/712113 TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread gerritbot
gerritbot added a comment. Change 711714 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)): [mediawiki/extensions/Wikibase@wmf/1.37.0-wmf.18] Revert \"Inject NamespaceInfo into EntitySourceDefinitionsConfigParser\"

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, gerritbot Cc: Lucas_Werkmeister_WMDE, Aklapper, Biggs657, Invadibot,

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread gerritbot
gerritbot added a comment. Change 712113 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)): [mediawiki/extensions/Wikibase@master] Revert \"Inject NamespaceInfo into EntitySourceDefinitionsConfigParser\"

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. `git bisect` says it’s my fault, broke with 71c66843ad3f20893cb805e141e94ae2794527c7 . TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. It is a regression in wmf.18 after all, I reset mwdebug2001 to wmf.17 and Wikidata gave the `wikibase-item` content model again: lucaswerkmeister-wmde@mwdebug2001:~$ sudo -u mwdeploy sed -i '/\bwikidatawiki\b/ s/18/17/'

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. Hm, this might not actually be a new issue… on English Wikipedia (still on wmf.17) there’s only one namespace with `defaultcontentmodel` too: $ curl -s 'https://en.wikipedia.org/w/api.php?action=query=siteinfo=namespaces=2=json' | jq

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE claimed this task. Lucas_Werkmeister_WMDE added a project: Wikidata-Campsite (Wikidata-Campsite-Iteration-∞). TASK DETAIL https://phabricator.wikimedia.org/T288724 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. I can reproduce locally that `MediaWikiServices::getInstance()->getNamespaceInfo()->getNamespaceContentModel()` returns `null` for most namespace IDs, including 0 (wikitext on my wiki) and 120 (items on my wiki), but not 640 (EntitySchema). TASK

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. Workaround for Pywikibot: site._entity_namespaces['item'] = site.namespaces[0] >>> import pywikibot >>> site = pywikibot.Site("wikidata", "wikidata") >>> item = pywikibot.ItemPage(site, "Q42") Traceback (most recent call

[Wikidata-bugs] [Maniphest] T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

2021-08-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, Regression. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Most namespaces on Wikidata are no longer declaring the `defaultcontentmodel` in