Reverting r70585 since it breaks the whole functionality. Bug 24700 reopened.
authorHuji <huji@users.mediawiki.org>
Mon, 9 Aug 2010 06:33:54 +0000 (06:33 +0000)
committerHuji <huji@users.mediawiki.org>
Mon, 9 Aug 2010 06:33:54 +0000 (06:33 +0000)
RELEASE-NOTES
includes/specials/SpecialPreferences.php

index 5cdabfb..efbb10d 100644 (file)
@@ -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
 
index d0e83ac..720d516 100644 (file)
@@ -45,7 +45,7 @@ class SpecialPreferences extends SpecialPage {
                
                $wgOut->addScriptFile( 'prefs.js' );
 
-               if ( $wgRequest->getCheck( 'success' ) && $wgRequest->wasPosted()) {
+               if ( $wgRequest->getCheck( 'success' ) ) {
                        $wgOut->wrapWikiMsg(
                                "<div class=\"successbox\"><strong>\n$1\n</strong></div><div id=\"mw-pref-clear\"></div>",
                                'savedprefs'