Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/317509

Change subject: One last fix for namespace
......................................................................

One last fix for namespace

Bug: T148963
Change-Id: Iae632781b8d5da8a830abda5c5918687212040ea
---
M includes/SF_Hooks.php
M languages/SF_Namespaces.php
2 files changed, 6 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms 
refs/changes/09/317509/1

diff --git a/includes/SF_Hooks.php b/includes/SF_Hooks.php
index ef77280..589bfdc 100644
--- a/includes/SF_Hooks.php
+++ b/includes/SF_Hooks.php
@@ -18,12 +18,6 @@
 
                define( 'SF_VERSION', '3.7' );
 
-               if ( !defined( 'SF_NS_FORM' ) ) {
-                       // SMW defines these namespaces itself.
-                       define( 'SF_NS_FORM', 106 );
-                       define( 'SF_NS_FORM_TALK', 107 );
-               }
-
                $GLOBALS['sfgIP'] = dirname( __DIR__ );
 
                // Constants for special properties
diff --git a/languages/SF_Namespaces.php b/languages/SF_Namespaces.php
index 8d80492..0fd987e 100644
--- a/languages/SF_Namespaces.php
+++ b/languages/SF_Namespaces.php
@@ -12,9 +12,14 @@
  * @author Jeroen De Dauw < jeroended...@gmail.com >
  * @author Yaron Koren
  */
- 
+
 $namespaceNames = array();
 
+if ( !defined( 'SF_NS_FORM' ) ) {
+       define( 'SF_NS_FORM', 106 );
+       define( 'SF_NS_FORM_TALK', 107 );
+}
+
 /**
  * @author Meno25
  */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae632781b8d5da8a830abda5c5918687212040ea
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>

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

Reply via email to