* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage
authorRaimond Spekking <raymond@users.mediawiki.org>
Thu, 8 Nov 2007 08:19:02 +0000 (08:19 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Thu, 8 Nov 2007 08:19:02 +0000 (08:19 +0000)
  and Special:Mytalk
Patch by Eneas.

RELEASE-NOTES
includes/SpecialPage.php

index 04fa9bc..b3744b2 100644 (file)
@@ -55,6 +55,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * BeforeWatchlist hook added for filtering or replacing watchlist.
 * SkinTemplateTabAction hook added for altering the properties of tab links.
 * OutputPage::getRedirect public method added.
+* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage 
+  and Special:Mytalk
 
 === Bug fixes in 1.12 ===
 
index 9125f37..3932964 100644 (file)
@@ -776,7 +776,7 @@ class SpecialRedirectToSpecial extends UnlistedSpecialPage {
 class SpecialMypage extends UnlistedSpecialPage {
        function __construct() {
                parent::__construct( 'Mypage' );
-               $this->mAllowedRedirectParams = array( 'action' );
+               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
        }
 
        function getRedirect( $subpage ) {
@@ -796,7 +796,7 @@ class SpecialMypage extends UnlistedSpecialPage {
 class SpecialMytalk extends UnlistedSpecialPage {
        function __construct() {
                parent::__construct( 'Mytalk' );
-               $this->mAllowedRedirectParams = array( 'action' );
+               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
        }
 
        function getRedirect( $subpage ) {
@@ -823,5 +823,3 @@ class SpecialMycontributions extends UnlistedSpecialPage {
                return SpecialPage::getTitleFor( 'Contributions', $wgUser->getName() );
        }
 }
-
-