r84157 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84156‎ | r84157 | r84158 >
Date:09:05, 17 March 2011
Author:siebrand
Status:ok
Tags:
Comment:
Update output language.
Modified paths:
  • /trunk/phase3/maintenance/checkBadRedirects.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/checkBadRedirects.php
@@ -27,7 +27,7 @@
2828 class CheckBadRedirects extends Maintenance {
2929 public function __construct() {
3030 parent::__construct();
31 - $this->mDescription = "Look for bad redirects";
 31+ $this->mDescription = "Check for bad redirects";
3232 }
3333
3434 public function execute() {
@@ -39,8 +39,8 @@
4040 array( 'page_is_redirect' => 1 ) );
4141
4242 $count = $result->numRows();
43 - $this->output( "Found $count total redirects.\n" .
44 - "Looking for bad redirects:\n\n" );
 43+ $this->output( "Found $count redirects.\n" .
 44+ "Checking for bad redirects:\n\n" );
4545
4646 foreach ( $result as $row ) {
4747 $title = Title::makeTitle( $row->page_namespace, $row->page_title );
@@ -52,7 +52,7 @@
5353 }
5454 }
5555 }
56 - $this->output( "\ndone.\n" );
 56+ $this->output( "\nDone.\n" );
5757 }
5858 }
5959

Follow-up revisions

RevisionCommit summaryAuthorDate
r84158Follow-up r84157: update Maintenance extension.siebrand09:10, 17 March 2011

Status & tagging log