Lucas_Werkmeister_WMDE added a comment.
In T245629#5922514 <https://phabricator.wikimedia.org/T245629#5922514>, @thiemowmde wrote: > I would like to ask another question: How is it a good idea do define a **PHP** constant in a .json file? How is my IDE supposed to find it there? I don’t know, ask whoever designed the extension registration system ^^ As it stands, Manual:Using custom namespaces § In extensions <https://www.mediawiki.org/wiki/Manual:Using_custom_namespaces#In_extensions> doesn’t mention a requirement or even recommendation to redundantly `define()` the namespace, and neither do Manual:Extension registration <https://www.mediawiki.org/wiki/Manual:Extension_registration> or Manual:Extension.json/Schema § namespaces <https://www.mediawiki.org/wiki/Manual:Extension.json/Schema#namespaces>; and the “examples” extension registers namespaces in extension.json <https://github.com/wikimedia/mediawiki-extensions-examples/blob/6256c13f29a8d7723bf9b75408454a969f53d61b/extension.json#L69-L86> and nowhere else. So my assumption remains that defining a namespaces outside of `extension.json` is not supposed to be required, and the change that broke EntitySchema CI must therefore be a bug. TASK DETAIL https://phabricator.wikimedia.org/T245629 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: thiemowmde, Jdforrester-WMF, Legoktm, Krinkle, Addshore, Daimona, Aklapper, Lucas_Werkmeister_WMDE, darthmon_wmde, pdehaye, DannyS712, Nandana, Lahi, Gq86, Andrawaag, Pablo-WMDE, GoranSMilovanovic, Jayprakash12345, QZanden, YULdigitalpreservation, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, MGChecker, MisterSynergy, abian, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331, Rxy, Jay8g, Krenair
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs