r95811 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95810‎ | r95811 | r95812 >
Date:20:48, 30 August 2011
Author:demon
Status:ok
Tags:
Comment:
Followup r94671: use setBatchSize() instead of $mBatchSize so its less confusing
Modified paths:
  • /trunk/extensions/TitleKey/rebuildTitleKeys.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TitleKey/rebuildTitleKeys.php
@@ -15,7 +15,7 @@
1616 function __construct() {
1717 parent::__construct();
1818 $this->mDescription = "Rebuilds titlekey table entries for all pages in DB.";
19 - $this->mBatchSize = 1000;
 19+ $this->setBatchSize( 1000 );
2020 $this->addOption( 'start', 'Page ID to start from', false, true );
2121 }
2222

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94671Minor tweaks to r94419: make batch size configurable, use RUN_MAINTENANCE_IF_...demon18:09, 16 August 2011

Status & tagging log