jenkins-bot has submitted this change and it was merged. ( 
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(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I2a905467d966067c19ef28b38d993b8aa02be487
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ShortUrl
Gerrit-Branch: master
Gerrit-Owner: 星耀晨曦 <liguangjie4...@hotmail.com>
Gerrit-Reviewer: Aklapper <aklap...@wikimedia.org>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to