Subins2000 has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/329218 )
Change subject: Update Maintenance scripts to use requireExtension() ...................................................................... Update Maintenance scripts to use requireExtension() Maintenance scripts has been updated to use $this->requireExtension() Change-Id: I8da804ec23dbaa97a2eeb9a7d50f3d3271522b5a --- M maintenance/archiveFeedback.php M maintenance/legacyToShard.php M maintenance/loggingUpdate.php M maintenance/purgeCache.php M maintenance/rebuildCheckUser.php M maintenance/setArchiveDate.php 6 files changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ArticleFeedbackv5 refs/changes/18/329218/1 diff --git a/maintenance/archiveFeedback.php b/maintenance/archiveFeedback.php index 2c5f36a..d920f5e 100644 --- a/maintenance/archiveFeedback.php +++ b/maintenance/archiveFeedback.php @@ -36,6 +36,7 @@ */ public function __construct() { parent::__construct(); + $this->requireExtension( 'ArticleFeedbackv5' ); $this->mDescription = 'Mark old feedback that is not particularly interesting as archived.'; } diff --git a/maintenance/legacyToShard.php b/maintenance/legacyToShard.php index 5034a18..557d366 100644 --- a/maintenance/legacyToShard.php +++ b/maintenance/legacyToShard.php @@ -37,6 +37,7 @@ */ public function __construct() { parent::__construct(); + $this->requireExtension( 'ArticleFeedbackv5' ); $this->mDescription = 'Move all relevant legacy data stored in aft_article_* tables to the aft_feedback table that will be sharded.'; } diff --git a/maintenance/loggingUpdate.php b/maintenance/loggingUpdate.php index 04934fc..b614326 100644 --- a/maintenance/loggingUpdate.php +++ b/maintenance/loggingUpdate.php @@ -37,6 +37,7 @@ */ public function __construct() { parent::__construct(); + $this->requireExtension( 'ArticleFeedbackv5' ); $this->mDescription = 'Rebuild existing logging.log_params data to form a serialized array with feedback id & page id'; } diff --git a/maintenance/purgeCache.php b/maintenance/purgeCache.php index f4cb6bc..760b479 100644 --- a/maintenance/purgeCache.php +++ b/maintenance/purgeCache.php @@ -18,6 +18,7 @@ */ public function __construct() { parent::__construct(); + $this->requireExtension( 'ArticleFeedbackv5' ); $this->deleteOption( 'model' ); $this->mDescription = 'Purge all ArticleFeedbackv5 caches.'; diff --git a/maintenance/rebuildCheckUser.php b/maintenance/rebuildCheckUser.php index c0c0a61..4d3937f 100644 --- a/maintenance/rebuildCheckUser.php +++ b/maintenance/rebuildCheckUser.php @@ -37,6 +37,7 @@ */ public function __construct() { parent::__construct(); + $this->requireExtension( 'ArticleFeedbackv5' ); $this->mDescription = 'Rebuild checkuser actiontext & logging usernames (based on checkuser data)'; } diff --git a/maintenance/setArchiveDate.php b/maintenance/setArchiveDate.php index 0a9333c..7419c41 100644 --- a/maintenance/setArchiveDate.php +++ b/maintenance/setArchiveDate.php @@ -36,6 +36,7 @@ */ public function __construct() { parent::__construct(); + $this->requireExtension( 'ArticleFeedbackv5' ); $this->mDescription = 'Fix archive dates of pre-auto-archive feedback.'; } -- To view, visit https://gerrit.wikimedia.org/r/329218 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8da804ec23dbaa97a2eeb9a7d50f3d3271522b5a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ArticleFeedbackv5 Gerrit-Branch: master Gerrit-Owner: Subins2000 <subins2...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits