From: Rob Church Date: Sat, 23 Jun 2007 19:37:31 +0000 (+0000) Subject: (bug 10344) Don't follow a redirect after changing its protection level X-Git-Tag: 1.31.0-rc.0~52429 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=e8e9be117662455a40cca73887eda84bb8e62032;p=lhc%2Fweb%2Fwiklou.git (bug 10344) Don't follow a redirect after changing its protection level --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 032d8613d4..92c2f9bf46 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 5eff237861..8ec5fd438d 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -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();