Paladox has uploaded a new change for review.

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

Change subject: Re add global
......................................................................

Re add global

Change-Id: I7f351801c5d4221c94257e60a36d1c0ccdc3c6c3
(cherry picked from commit 2a73616b5eac6755abaca1825e38ca82c4c968de)
---
M CollapsibleVector.php
1 file changed, 5 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollapsibleVector 
refs/changes/11/179611/1

diff --git a/CollapsibleVector.php b/CollapsibleVector.php
index 07d5987..99a8f4a 100644
--- a/CollapsibleVector.php
+++ b/CollapsibleVector.php
@@ -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/179611
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: REL1_24
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to