From: Alexandre Emsenhuber Date: Mon, 8 Nov 2010 10:15:07 +0000 (+0000) Subject: * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir param... X-Git-Tag: 1.31.0-rc.0~34002 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=e46dd76fc64ec6f506408a0c955dc25697ca33e3;p=lhc%2Fweb%2Fwiklou.git * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir parameters --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 15e2dbd4c8..c50482cc51 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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. diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index c728aee023..5befe98eb3 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -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 ) {