John Erling Blad has submitted this change and it was merged. Change subject: Change example namespace base ......................................................................
Change example namespace base This is to avoid collission with the SMW namespaces. Else we even end up with the same property NS, which is very awkward! Picked 120 as it seems to not cause problems and is already being used by WMF. Change-Id: Ib26f654f4f7ed1e58ef4748a1c1b579560899690 --- M repo/config/Wikibase.example.php 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: John Erling Blad: Verified; Looks good to me, approved diff --git a/repo/config/Wikibase.example.php b/repo/config/Wikibase.example.php index c08ebf2..7cb9513 100644 --- a/repo/config/Wikibase.example.php +++ b/repo/config/Wikibase.example.php @@ -36,9 +36,9 @@ $wgContentHandlerUseDB = true; -// Define custom namespaces. Use these exact constant names. -$baseNs = 100; +$baseNs = 120; +// Define custom namespaces. Use these exact constant names. define( 'WB_NS_ITEM', $baseNs ); define( 'WB_NS_ITEM_TALK', $baseNs + 1 ); define( 'WB_NS_PROPERTY', $baseNs + 2 ); @@ -82,7 +82,7 @@ // Alternative settings, using the main namespace for items. // Note: if you do that, several core tests may fail. Parser tests for instance // assume that the main namespace contains wikitext. -$baseNs = 100; +$baseNs = 120; // NOTE: do *not* define WB_NS_ITEM and WB_NS_ITEM_TALK when using a core namespace for items! define( 'WB_NS_PROPERTY', $baseNs +2 ); -- To view, visit https://gerrit.wikimedia.org/r/52584 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib26f654f4f7ed1e58ef4748a1c1b579560899690 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <[email protected]> Gerrit-Reviewer: Jens Ohlig <[email protected]> Gerrit-Reviewer: John Erling Blad <[email protected]> Gerrit-Reviewer: Tobias Gritschacher <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
