jenkins-bot has submitted this change and it was merged.

Change subject: Add a namespace ID declaration
......................................................................


Add a namespace ID declaration

Change-Id: I7a8044ae9f2367c55ad0f7bf2b1bbef4da0c93fb
---
M includes/PF_Hooks.php
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Yaron Koren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/PF_Hooks.php b/includes/PF_Hooks.php
index eaead29..63fc0a2 100644
--- a/includes/PF_Hooks.php
+++ b/includes/PF_Hooks.php
@@ -117,6 +117,11 @@
        public static function registerNamespaces( array &$list ) {
                global $wgNamespacesWithSubpages;
 
+               if ( !defined( 'PF_NS_FORM' ) ) {
+                       define( 'PF_NS_FORM', 106 );
+                       define( 'PF_NS_FORM_TALK', 107 );
+               }
+
                $list[PF_NS_FORM] = 'Form';
                $list[PF_NS_FORM_TALK] = 'Form_talk';
 

-- 
To view, visit https://gerrit.wikimedia.org/r/317730
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7a8044ae9f2367c55ad0f7bf2b1bbef4da0c93fb
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/PageForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to