From 24430b510ce4b8536ec525c0d80ec5313c39238d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sat, 13 Feb 2010 02:56:18 +0000 Subject: [PATCH] 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 --- includes/specials/SpecialImport.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" ); } } -- 2.20.1