I don't think we need a complete parse operation to just add "<hr />"
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 6 Feb 2011 13:41:32 +0000 (13:41 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 6 Feb 2011 13:41:32 +0000 (13:41 +0000)
includes/specials/SpecialImport.php

index a9001df..73416a8 100644 (file)
@@ -138,7 +138,7 @@ class SpecialImport extends SpecialPage {
                                # Success!
                                $wgOut->addWikiMsg( 'importsuccess' );
                        }
-                       $wgOut->addWikiText( '<hr />' );
+                       $wgOut->addHTML( '<hr />' );
                }
        }