Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -776,7 +776,7 @@ |
777 | 777 | class SpecialMypage extends UnlistedSpecialPage { |
778 | 778 | function __construct() { |
779 | 779 | parent::__construct( 'Mypage' ); |
780 | | - $this->mAllowedRedirectParams = array( 'action' ); |
| 780 | + $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' ); |
781 | 781 | } |
782 | 782 | |
783 | 783 | function getRedirect( $subpage ) { |
— | — | @@ -796,7 +796,7 @@ |
797 | 797 | class SpecialMytalk extends UnlistedSpecialPage { |
798 | 798 | function __construct() { |
799 | 799 | parent::__construct( 'Mytalk' ); |
800 | | - $this->mAllowedRedirectParams = array( 'action' ); |
| 800 | + $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' ); |
801 | 801 | } |
802 | 802 | |
803 | 803 | function getRedirect( $subpage ) { |
— | — | @@ -823,5 +823,3 @@ |
824 | 824 | return SpecialPage::getTitleFor( 'Contributions', $wgUser->getName() ); |
825 | 825 | } |
826 | 826 | } |
827 | | - |
828 | | - |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -55,6 +55,8 @@ |
56 | 56 | * BeforeWatchlist hook added for filtering or replacing watchlist. |
57 | 57 | * SkinTemplateTabAction hook added for altering the properties of tab links. |
58 | 58 | * OutputPage::getRedirect public method added. |
| 59 | +* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage |
| 60 | + and Special:Mytalk |
59 | 61 | |
60 | 62 | === Bug fixes in 1.12 === |
61 | 63 | |