From: Chad Horohoe Date: Sat, 13 Feb 2010 02:56:18 +0000 (+0000) Subject: Output page title along with no revisions (just like we do when there are revs to... X-Git-Tag: 1.31.0-rc.0~37780 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=24430b510ce4b8536ec525c0d80ec5313c39238d;p=lhc%2Fweb%2Fwiklou.git 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 --- diff --git a/includes/specials/SpecialImport.php b/includes/specials/SpecialImport.php index 5105b1f5b9..6beeab7fd1 100644 --- a/includes/specials/SpecialImport.php +++ b/includes/specials/SpecialImport.php @@ -333,7 +333,8 @@ class ImportReporter { $article->updateRevisionOn( $dbw, $nullRevision ); wfRunHooks( 'NewRevisionFromEditComplete', array($article, $nullRevision, $latest, $wgUser) ); } else { - $wgOut->addHTML( '
  • ' . wfMsgHtml( 'import-nonewrevisions' ) . '
  • ' ); + $wgOut->addHTML( "
  • " . $skin->linkKnown( $title ) . " " . + wfMsgHtml( 'import-nonewrevisions' ) . "
  • \n" ); } }