* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir param...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 8 Nov 2010 10:15:07 +0000 (10:15 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 8 Nov 2010 10:15:07 +0000 (10:15 +0000)
RELEASE-NOTES
includes/SpecialPage.php

index 15e2dbd..c50482c 100644 (file)
@@ -403,6 +403,8 @@ LocalSettings.php. The specific bugs are listed below in the general notes.
   on discussion pages with vector as default skin
 * (bug 24833) Files name in includes/diff/ are now less confusing
 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores
+* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
+  parameters
 
 === API changes in 1.17 ===
 * (bug 22738) Allow filtering by action type on query=logevent.
index c728aee..5befe98 100644 (file)
@@ -965,7 +965,8 @@ class SpecialRedirectToSpecial extends UnlistedSpecialPage {
 class SpecialMypage extends UnlistedSpecialPage {
        function __construct() {
                parent::__construct( 'Mypage' );
-               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
+               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro',
+                       'section', 'oldid', 'diff', 'dir' );
        }
 
        function getRedirect( $subpage ) {
@@ -985,7 +986,8 @@ class SpecialMypage extends UnlistedSpecialPage {
 class SpecialMytalk extends UnlistedSpecialPage {
        function __construct() {
                parent::__construct( 'Mytalk' );
-               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
+               $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro',
+                       'section', 'oldid', 'diff', 'dir' );
        }
 
        function getRedirect( $subpage ) {