From e46dd76fc64ec6f506408a0c955dc25697ca33e3 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 8 Nov 2010 10:15:07 +0000 Subject: [PATCH] * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir parameters --- RELEASE-NOTES | 2 ++ includes/SpecialPage.php | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 ) { -- 2.20.1