From a58285fd06c8113c45377c655dd43cef6337e815 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 11 Jan 2007 19:06:07 +0000 Subject: Aktualisierung auf MediaWiki 1.9.0 --- includes/SpecialRandomredirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/SpecialRandomredirect.php') diff --git a/includes/SpecialRandomredirect.php b/includes/SpecialRandomredirect.php index 512553c0..2cb2498b 100644 --- a/includes/SpecialRandomredirect.php +++ b/includes/SpecialRandomredirect.php @@ -45,7 +45,7 @@ function wfSpecialRandomredirect( $par = NULL ) { # Catch dud titles and return to the main page if( is_null( $title ) ) - $title = Title::newFromText( wfMsg( 'mainpage' ) ); + $title = Title::newMainPage(); $wgOut->reportTime(); $wgOut->redirect( $title->getFullUrl( 'redirect=no' ) ); -- cgit v1.2.3-54-g00ecf