* (bug 12506) Allow URL parameter 'section' in Special:Mypage/Mytalk. Patch by Eneas.
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 22 Jan 2008 22:35:51 +0000 (22:35 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 22 Jan 2008 22:35:51 +0000 (22:35 +0000)
 (in addition to r27310 - bug 11848)

RELEASE-NOTES
includes/SpecialPage.php

index dc1e496..f8b88c6 100644 (file)
@@ -76,8 +76,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 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
+  in Special:Mypage and Special:Mytalk
 * Add ot=raw to Special:Allmessages
 * Support for Hebrew calendar
 * Support for Hebrew numerals in dates and times
index e68ad73..f5a43b4 100644 (file)
@@ -799,7 +799,7 @@ class SpecialRedirectToSpecial extends UnlistedSpecialPage {
 class SpecialMypage extends UnlistedSpecialPage {
        function __construct() {
                parent::__construct( 'Mypage' );
-               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
+               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
        }
 
        function getRedirect( $subpage ) {
@@ -819,7 +819,7 @@ class SpecialMypage extends UnlistedSpecialPage {
 class SpecialMytalk extends UnlistedSpecialPage {
        function __construct() {
                parent::__construct( 'Mytalk' );
-               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
+               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
        }
 
        function getRedirect( $subpage ) {