r62420 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62419‎ | r62420 | r62421 >
Date:02:56, 13 February 2010
Author:demon
Status:ok
Tags:
Comment:
Output page title along with no revisions (just like we do when there are revs to import). Looks confusing seeing multiple "All revisions were previously imported" entries
Modified paths:
  • /trunk/phase3/includes/specials/SpecialImport.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialImport.php
@@ -333,7 +333,8 @@
334334 $article->updateRevisionOn( $dbw, $nullRevision );
335335 wfRunHooks( 'NewRevisionFromEditComplete', array($article, $nullRevision, $latest, $wgUser) );
336336 } else {
337 - $wgOut->addHTML( '<li>' . wfMsgHtml( 'import-nonewrevisions' ) . '</li>' );
 337+ $wgOut->addHTML( "<li>" . $skin->linkKnown( $title ) . " " .
 338+ wfMsgHtml( 'import-nonewrevisions' ) . "</li>\n" );
338339 }
339340 }
340341

Status & tagging log