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

This commit is contained in:
Chad Horohoe 2010-02-13 02:56:18 +00:00
parent 3ee8f1e79e
commit 24430b510c

View 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" );
}
}