SPQRobin has submitted this change and it was merged.
Change subject: Use namespace ID for Module: namespace This commit changes all
the proper names for namespaces into their IDs. This change was meant for the
Module: and Module_talk: namespaces (ID 828 and 829 respectivily) specifically,
but for consistancy in the array,
......................................................................
Use namespace ID for Module: namespace
This commit changes all the proper names for namespaces into their
IDs. This change was meant for the Module: and Module_talk:
namespaces (ID 828 and 829 respectivily) specifically, but for
consistancy in the array, I changed all the values, adding a
comment for easier reading (not that code is easily readable.
This change was necessary as the Scribunto extenion (creates the
Module: namespace) is loaded after the WikimediaIncubator extension
(this extension)
This should squash bug 59187 hopefully
Bug: 59187
Change-Id: If0f030674c728d39876a251a7c35613b6f88d2bf
---
M WikimediaIncubator.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
SPQRobin: Verified; Looks good to me, approved
jenkins-bot: Checked
diff --git a/WikimediaIncubator.php b/WikimediaIncubator.php
index 2493e2b..1eb61c3 100644
--- a/WikimediaIncubator.php
+++ b/WikimediaIncubator.php
@@ -55,7 +55,7 @@
NS_MAIN, NS_TALK,
NS_TEMPLATE, NS_TEMPLATE_TALK,
NS_CATEGORY, NS_CATEGORY_TALK,
- NS_MODULE, NS_MODULE_TALK,
+ 828, 829, //NS_MODULE, NS_MODULE_TALK,
);
$wmincLangCodeLength = 12; // can be changed if needed (depends on policy)
// Pseudo category namespaces like "Category:Maintenance:Delete", for easy
whitelisting and structure
--
To view, visit https://gerrit.wikimedia.org/r/107313
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If0f030674c728d39876a251a7c35613b6f88d2bf
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/WikimediaIncubator
Gerrit-Branch: master
Gerrit-Owner: Ebe123 <[email protected]>
Gerrit-Reviewer: Ebe123 <[email protected]>
Gerrit-Reviewer: Hydriz <[email protected]>
Gerrit-Reviewer: SPQRobin <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits