Removed most exit() calls from the MediaWiki core, by replacing them with either...
[lhc/web/wiklou.git] / includes / SpecialContributions.php
index f09667d..f9fcd2e 100644 (file)
@@ -157,13 +157,13 @@ function wfSpecialContributions( $par = null ) {
 
        $target = isset($par) ? $par : $wgRequest->getVal( 'target' );
        if (!strlen($target)) {
-               $wgOut->errorpage('notargettitle', 'notargettext');
+               $wgOut->showErrorPage('notargettitle', 'notargettext');
                return;
        }
 
        $nt = Title::newFromURL( $target );
        if (!$nt) {
-               $wgOut->errorpage( 'notargettitle', 'notargettext' );
+               $wgOut->showErrorPage( 'notargettitle', 'notargettext' );
                return;
        }