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

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

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

Bug: T152139
Change-Id: I2a905467d966067c19ef28b38d993b8aa02be487
---
M populateShortUrlTable.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ShortUrl 
refs/changes/79/391579/1

diff --git a/populateShortUrlTable.php b/populateShortUrlTable.php
index 22f62e1..dce6710 100644
--- a/populateShortUrlTable.php
+++ b/populateShortUrlTable.php
@@ -10,6 +10,7 @@
        public function __construct() {
                parent::__construct();
                $this->mDescription = 'Populates ShortUrls Table with all 
existing articles';
+               $this->requireExtension( 'ShortUrl' );
        }
 
        private function insertRows( $a ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a905467d966067c19ef28b38d993b8aa02be487
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ShortUrl
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