From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- includes/specials/SpecialPreferences.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'includes/specials/SpecialPreferences.php') diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index e63aeee6..edc26bc1 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -52,7 +52,6 @@ class SpecialPreferences extends SpecialPage { return; } - $wgOut->addModules( 'mediawiki.legacy.prefs' ); $wgOut->addModules( 'mediawiki.special.preferences' ); if ( $wgRequest->getCheck( 'success' ) ) { @@ -61,7 +60,7 @@ class SpecialPreferences extends SpecialPage { 'savedprefs' ); } - + if ( $wgRequest->getCheck( 'eauth' ) ) { $wgOut->wrapWikiMsg( "
\n$1\n
", 'eauthentsent', $wgUser->getName() ); @@ -78,7 +77,7 @@ class SpecialPreferences extends SpecialPage { $wgOut->addWikiMsg( 'prefs-reset-intro' ); - $htmlForm = new HTMLForm( array(), 'prefs-restore' ); + $htmlForm = new HTMLForm( array(), $this->getContext(), 'prefs-restore' ); $htmlForm->setSubmitText( wfMsg( 'restoreprefs' ) ); $htmlForm->setTitle( $this->getTitle( 'reset' ) ); -- cgit v1.2.2