jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327901 )
Change subject: Updated Cargo maintenance scripts to use $this->requireExtension() ...................................................................... Updated Cargo maintenance scripts to use $this->requireExtension() Added $this->requireExtension() in maintenance/cargoRecreateData.php Added $this->requireExtension() in maintenance/setCargoFileData.php Added $this->requireExtension() in maintenance/setCargoPageData.php Bug: T152139 Change-Id: Iaa4dec7fd4089a4f757c4f9b581b0fad80cad655 --- M maintenance/cargoRecreateData.php M maintenance/setCargoFileData.php M maintenance/setCargoPageData.php 3 files changed, 3 insertions(+), 6 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/maintenance/cargoRecreateData.php b/maintenance/cargoRecreateData.php index 9a1fd2f..edc8d19 100644 --- a/maintenance/cargoRecreateData.php +++ b/maintenance/cargoRecreateData.php @@ -34,9 +34,8 @@ public function __construct() { parent::__construct(); - + $this->requireExtension( 'Cargo' ); $this->mDescription = "Recreate the data for one or more Cargo database tables."; - $this->addOption( 'table', 'The Cargo table to recreate', false, true ); } diff --git a/maintenance/setCargoFileData.php b/maintenance/setCargoFileData.php index 9e4c41a..d6ec649 100644 --- a/maintenance/setCargoFileData.php +++ b/maintenance/setCargoFileData.php @@ -34,9 +34,8 @@ public function __construct() { parent::__construct(); - + $this->requireExtension( 'Cargo' ); $this->mDescription = "Stores a set of data for each file in the wiki in one or more database tables, for use within Cargo queries."; - $this->addOption( "delete", "Delete the file data DB table(s)", false, false ); } diff --git a/maintenance/setCargoPageData.php b/maintenance/setCargoPageData.php index 8d57508..bf156a5 100644 --- a/maintenance/setCargoPageData.php +++ b/maintenance/setCargoPageData.php @@ -34,9 +34,8 @@ public function __construct() { parent::__construct(); - + $this->requireExtension( 'Cargo' ); $this->mDescription = "Stores a set of data for each page in the wiki in one or more database tables, for use within Cargo queries."; - $this->addOption( "delete", "Delete the page data DB table(s)", false, false ); } -- To view, visit https://gerrit.wikimedia.org/r/327901 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iaa4dec7fd4089a4f757c4f9b581b0fad80cad655 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Cargo Gerrit-Branch: master Gerrit-Owner: IvanFon <ivanfonsec...@gmail.com> 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