r77362 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77361‎ | r77362 | r77363 >
Date:17:13, 27 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Seeing as we can't do that with how maintenance is setup (see bug 26143), explicitally hard code it.

To be reverted (bug 26144), when bug 26143 is done

Ref r77358/r77355 (bug 25505)
Modified paths:
  • /trunk/extensions/CodeReview/bulkStatusUpdate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/bulkStatusUpdate.php
@@ -11,10 +11,10 @@
1212 public function __construct() {
1313 parent::__construct();
1414 $this->mDescription = "Updates a range of revisions to a specific status";
15 - $this->addArg( 'repo', 'The name of the repo. Cannot be all. Repos:'
16 - . implode( ", ", CodeRepository::getRepoList() ) );
 15+ $this->addArg( 'repo', 'The name of the repo. Cannot be all.' );
1716 $this->addArg( 'revisions', "The revisions to set status for. Format: start:end" );
18 - $this->addArg( 'status', "Code Status: " . implode( ", ", CodeRevision::getPossibleStates() ) );
 17+ $this->addArg( 'status', "Code States: 'new', 'fixme', 'reverted', "
 18+ . "'resolved', 'ok', 'verified', 'deferred', 'old'" );
1919 $this->addArg( 'user', "Username for whom to accredit the state changes to." .
2020 "The User needs to have the 'codereview-set-status' right" );
2121 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77355(bug 25505) Write maintenance script to bulk update status'...reedy14:21, 27 November 2010
r77358Create instance of Maintenance class after AutoLoader and Defines...reedy15:25, 27 November 2010

Status & tagging log