-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
robchurch@svn.wikimedia.org wrote:
(bug 10344) Don't follow a redirect after changing its protection level
[snip]
$wgOut->redirect( $this->mTitle->getFullUrl() );
$wgOut->redirect( $this->mTitle->getFullUrl( 'redirect=no' ) );
It would feel a little cleaner to me if the redirect=no is applied conditionally, as we do after edits.
The majority of the time we'll be working on non-redirect pages, and getting back the canonical URL always feels nicer.
- -- brion vibber (brion @ wikimedia.org)