]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/specials/SpecialPreferences.php
MediaWiki 1.15.1
[autoinstallsdev/mediawiki.git] / includes / specials / SpecialPreferences.php
index f4a42ef48d15bd9920e90d1b220eb9a35dc18902..49c4f4e042051a8908bd7a90aa23ef0d9091decd 100644 (file)
@@ -813,7 +813,7 @@ class PreferencesForm {
                # Password
                if( $wgAuth->allowPasswordChange() ) {
                        $link = $wgUser->getSkin()->link( SpecialPage::getTitleFor( 'ResetPass' ), wfMsgHtml( 'prefs-resetpass' ),
-                               array() , array('returnto' => SpecialPage::getTitleFor( 'Preferences') ) );
+                               array() , array( 'returnto' => SpecialPage::getTitleFor( 'Preferences' )->getPrefixedText() ) );
                        $wgOut->addHTML(
                                $this->tableRow( Xml::element( 'h2', null, wfMsg( 'changepassword' ) ) ) .
                                $this->tableRow( '<ul><li>' . $link . '</li></ul>' ) );