Output page title along with no revisions (just like we do when there are revs to...
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 13 Feb 2010 02:56:18 +0000 (02:56 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 13 Feb 2010 02:56:18 +0000 (02:56 +0000)
includes/specials/SpecialImport.php

index 5105b1f..6beeab7 100644 (file)
@@ -333,7 +333,8 @@ class ImportReporter {
                        $article->updateRevisionOn( $dbw, $nullRevision );
                        wfRunHooks( 'NewRevisionFromEditComplete', array($article, $nullRevision, $latest, $wgUser) );
                } else {
-                       $wgOut->addHTML( '<li>' . wfMsgHtml( 'import-nonewrevisions' ) . '</li>' );
+                       $wgOut->addHTML( "<li>" . $skin->linkKnown( $title ) . " " .
+                               wfMsgHtml( 'import-nonewrevisions' ) . "</li>\n" );
                }
        }