r44641 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44640‎ | r44641 | r44642 >
Date:00:34, 16 December 2008
Author:vyznev
Status:ok
Tags:
Comment:
Make cleanupTitles.php skip file pages (a bit late to fix that now, but oh well...)
Modified paths:
  • /trunk/phase3/maintenance/cleanupTitles.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/cleanupTitles.php
@@ -41,6 +41,11 @@
4242 }
4343
4444 function processPage( $row ) {
 45+ if( $row->page_namespace == NS_FILE ) {
 46+ // use cleanupImages.php for file pages
 47+ return $this->progress( 0 );
 48+ }
 49+
4550 $current = Title::makeTitle( $row->page_namespace, $row->page_title );
4651 $display = $current->getPrefixedText();
4752

Follow-up revisions

RevisionCommit summaryAuthorDate
r44646Followup to r44641: Only skip file pages that actually have a corresponding f...vyznev02:33, 16 December 2008

Status & tagging log