星耀晨曦 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/382442 )

Change subject: Update maintenance scipts to use $this->requireExtension()
......................................................................

Update maintenance scipts to use $this->requireExtension()

BUG: T152139
Change-Id: I26b9d3eac8bbee042227a270ffee7896a4bc35c2
---
M switchExperimentPrefs.php
1 file changed, 1 insertion(+), 0 deletions(-)


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

diff --git a/switchExperimentPrefs.php b/switchExperimentPrefs.php
index 26d6245..aeffc03 100644
--- a/switchExperimentPrefs.php
+++ b/switchExperimentPrefs.php
@@ -16,6 +16,7 @@
                $this->mDescription = '
                        Set a preference for all users that have the 
collapsiblevector-noexperiments preference enabled.
                ';
+               $this->requireExtension( 'CollapsibleVector' );
        }
 
        function execute() {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I26b9d3eac8bbee042227a270ffee7896a4bc35c2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CollapsibleVector
Gerrit-Branch: master
Gerrit-Owner: 星耀晨曦 <[email protected]>

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

Reply via email to