Lucas_Werkmeister_WMDE added a comment.

  In T288724#7278329 <https://phabricator.wikimedia.org/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:
  >
  >   $ curl -s 
'https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces&formatversion=2&format=json'
 | jq '.query.namespaces | .[] | select(has("defaultcontentmodel")) | { id, 
canonical, defaultcontentmodel }'
  >   {
  >     "id": 2302,
  >     "canonical": "Gadget definition",
  >     "defaultcontentmodel": "GadgetDefinition"
  >   }
  >
  > And I seem to get the same result locally (namespace `0` having content 
model `null`) going back as far as wmf/1.37.0-wmf.1 (though I changed the 
MediaWiki core checkout for this, not extensions, so it’s just a quick check).
  
  Side note: I think this was a conflation of two issues – the fact that 
namespace 0 on English Wikipedia doesn’t declare the wikitext content model 
(and other special namespaces like Module don’t declare anything either) is 
strange, but apparently not a recent regression, and unrelated to this issue. 🤷

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

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

To: Lucas_Werkmeister_WMDE
Cc: William_Avery, Lucas_Werkmeister_WMDE, Aklapper, Invadibot, maantietaja, 
Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to