Robert Vogel has submitted this change and it was merged.

Change subject: build script: fixed config
......................................................................


build script: fixed config

namespace offset must be set _before_ inclusion of SMW

Change-Id: Ia883159f60f7e9a0211933122989cdcbb7c2e03c
---
M build/release/build_tarballs.sh
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Robert Vogel: Verified
  Pwirth: Looks good to me, approved



diff --git a/build/release/build_tarballs.sh b/build/release/build_tarballs.sh
index e328130..d539856 100755
--- a/build/release/build_tarballs.sh
+++ b/build/release/build_tarballs.sh
@@ -140,6 +140,10 @@
 */
 //finaly append to bottom of LocalSettings.php, set host properly and Activate 
smw with: enableSemantics( 'localhost' );
 
+if ( !isset( \$GLOBALS[ 'smwgNamespaceIndex' ] ) ) {
+       \$GLOBALS[ 'smwgNamespaceIndex' ] = 700;
+}
+
 require_once "\$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php";
 require_once "\$IP/extensions/ExternalData/ExternalData.php";
 require_once "\$IP/extensions/PageSchemas/PageSchemas.php";
@@ -153,10 +157,6 @@
 require_once "\$IP/extensions/BlueSpiceSMWConnector/BlueSpiceSMWConnector.php";
 
 enableSemantics( 'localhost' );
-
-if ( !defined( \$GLOBALS[ 'smwgNamespaceIndex' ] ) ) {
-       \$GLOBALS[ 'smwgNamespaceIndex' ] = 700;
-}
 
 \$GLOBALS[ 'smwgPageSpecialProperties' ] = array_merge(
        \$GLOBALS[ 'smwgPageSpecialProperties' ],

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia883159f60f7e9a0211933122989cdcbb7c2e03c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceSMWConnector
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: Dvogel hallowelt <daniel.vo...@hallowelt.com>
Gerrit-Reviewer: Ljonka <l.verhovs...@gmail.com>
Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz>
Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>

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

Reply via email to