Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/179610
Change subject: Re add global ...................................................................... Re add global Change-Id: I7f351801c5d4221c94257e60a36d1c0ccdc3c6c3 --- M CollapsibleVector.php 1 file changed, 6 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollapsibleVector refs/changes/10/179610/1 diff --git a/CollapsibleVector.php b/CollapsibleVector.php index 94e026e..99a8f4a 100644 --- a/CollapsibleVector.php +++ b/CollapsibleVector.php @@ -6,7 +6,7 @@ * @ingroup Extensions * * @license GPL v2 or later - * @version 0.1.4 + * @version 0.1.5 * * Requires MediaWiki 1.24+ */ @@ -30,14 +30,17 @@ * Do not remove this. * * Bug T76314 + * + * You can add this to your localsettings.php file and change from 1 to 0 to disbale it globaly. */ -$wgDefaultUserOptions['vector-collapsiblenav'] = 1; +$GLOBALS['wgDefaultUserOptions']['vector-collapsiblenav'] = 1; /* * Setting default option. + * * Do not remove this. */ -$wgDefaultUserOptions['vector-noexperiments'] = 0; +$GLOBALS['wgDefaultUserOptions']['vector-noexperiments'] = 0; /* Setup */ -- To view, visit https://gerrit.wikimedia.org/r/179610 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7f351801c5d4221c94257e60a36d1c0ccdc3c6c3 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CollapsibleVector Gerrit-Branch: master Gerrit-Owner: Paladox <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
