示例#1
0
	public function __construct() {
		parent::__construct();
		$this->mDescription = "Makes several 'set', 'incr' and 'get' requests on every"
							  . " memcached server and shows a report";
		$this->addOption( 'i', 'Number of iterations', false, true );
		$this->addArg( 'server', 'Memcached server to test', false );
	}
示例#2
0
	public function __construct() {
		parent::__construct();
		$this->mDescription = "Run pending jobs";
		$this->addOption( 'maxjobs', 'Maximum number of jobs to run', false, true );
		$this->addOption( 'type', 'Type of job to run', false, true );
		$this->addOption( 'procs', 'Number of processes to use', false, true );
	}
	public function __construct() {
		parent::__construct();
		$this->mDescription = "";
		$this->addOption( 'fix', 'Attempt to automatically fix errors' );
		$this->addOption( 'suffix', "Dupes will be renamed with correct namespace with\n" .
									"\t\t<text> Appended after the article name", false, true );
		$this->addOption( 'prefix', "Do an explicit check for the given title prefix\n" .
									"\t\tappended after the article name", false, true );
	}
	public function __construct() {
		parent::__construct();
		$this->mDescription = "Build constant slightly compact database of interwiki prefixes.";
		$this->addOption( 'langlist', 'File with one language code per line', false, true );
		$this->addOption( 'dblist', 'File with one db per line', false, true );
		$this->addOption( 'specialdbs', "File with one 'special' db per line", false, true );
		$this->addOption( 'o', 'Cdb output file', false, true );
		$this->addOption( 'protocolrelative', 'Output wikimedia interwiki urls as protocol relative', false, false );
	}
示例#5
0
 public function __construct()
 {
     global $wgNoDBParam;
     parent::__construct();
     $this->mDescription = "Add a new wiki to the family. Wikimedia specific!";
     $this->addArg('language', 'Language code of new site, e.g. en');
     $this->addArg('site', 'Type of site, e.g. wikipedia');
     $this->addArg('dbname', 'Name of database to create, e.g. enwiki');
     $this->addArg('domain', 'Domain name of the wiki, e.g. en.wikipedia.org');
     $wgNoDBParam = true;
 }
示例#6
0
	public function __construct() {
		parent::__construct();
		$this->mDescription = "Refresh link tables";
		$this->addOption( 'dfn-only', 'Delete links from nonexistent articles only' );
		$this->addOption( 'new-only', 'Only affect articles with just a single edit' );
		$this->addOption( 'redirects-only', 'Only fix redirects, not all links' );
		$this->addOption( 'old-redirects-only', 'Only fix redirects with no redirect table entry' );
		$this->addOption( 'm', 'Maximum replication lag', false, true );
		$this->addOption( 'e', 'Last page id to refresh', false, true );
		$this->addArg( 'start', 'Page_id to start from, default 1', false );
		$this->setBatchSize( 100 );
	}
	function __construct() {
		parent::__construct();
	}
	function __construct() {
		parent::__construct();
		$this->mDescription = 'Get the length of the job queue on all wikis in $wgConf';
	}
	public function __construct() {
		parent::__construct();
		$this->mDescription = "Cleans up templatelinks corruption caused by https://bugzilla.wikimedia.org/show_bug.cgi?id=31576";
		$this->addOption( 'batchsize', 'Number of rows to process in one batch. Default: 50', false, true );
	}
示例#10
0
	public function __construct() {
		parent::__construct();
		$this->mDescription = "Rename external storage dbs and leave a new one";
		$this->addArg( 'olddb', 'Old DB name' );
		$this->addArg( 'newdb', 'New DB name' );
	}
	public function __construct() {
		parent::__construct();
		$this->mDescription = "Show number of jobs waiting in master database";
	}