From: Huji Date: Mon, 9 Aug 2010 06:33:54 +0000 (+0000) Subject: Reverting r70585 since it breaks the whole functionality. Bug 24700 reopened. X-Git-Tag: 1.31.0-rc.0~35589 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=1008f23eaa0a98fead409f0031139ae1ac3c9361;p=lhc%2Fweb%2Fwiklou.git Reverting r70585 since it breaks the whole functionality. Bug 24700 reopened. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5cdabfb4be..efbb10d31b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -282,8 +282,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN instead of showing an error page * (bug 24425) Use Database::replace instead of delete/insert in SqlBagOStuff::set to avoid query errors about duplicate keynames. -* (bug 24700) Update dialog shown when clicking on the special page tab after - saving preferences * (bug 15470) First letters of filenames are always capitalized by upload JS. * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index d0e83ace44..720d5164ff 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -45,7 +45,7 @@ class SpecialPreferences extends SpecialPage { $wgOut->addScriptFile( 'prefs.js' ); - if ( $wgRequest->getCheck( 'success' ) && $wgRequest->wasPosted()) { + if ( $wgRequest->getCheck( 'success' ) ) { $wgOut->wrapWikiMsg( "
\n$1\n
", 'savedprefs'