(bug 10344) Don't follow a redirect after changing its protection level
authorRob Church <robchurch@users.mediawiki.org>
Sat, 23 Jun 2007 19:37:31 +0000 (19:37 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sat, 23 Jun 2007 19:37:31 +0000 (19:37 +0000)
RELEASE-NOTES
includes/ProtectionForm.php

index 032d861..92c2f9b 100644 (file)
@@ -197,6 +197,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving 
   overlong key errors.
 * Fixed zero-padding issues with MySQL 5 binary schema
+* (bug 10344) Don't follow a redirect after changing its protection level
 
 == API changes since 1.10 ==
 
index 5eff237..8ec5fd4 100644 (file)
@@ -80,7 +80,7 @@ class ProtectionForm {
                if( $wgRequest->wasPosted() ) {
                        if( $this->save() ) {
                                global $wgOut;
-                               $wgOut->redirect( $this->mTitle->getFullUrl() );
+                               $wgOut->redirect( $this->mTitle->getFullUrl( 'redirect=no' ) );
                        }
                } else {
                        $this->show();