r76292 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76291‎ | r76292 | r76293 >
Date:10:15, 8 November 2010
Author:ialex
Status:ok
Tags:
Comment:
* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir parameters
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -965,7 +965,8 @@
966966 class SpecialMypage extends UnlistedSpecialPage {
967967 function __construct() {
968968 parent::__construct( 'Mypage' );
969 - $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
 969+ $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro',
 970+ 'section', 'oldid', 'diff', 'dir' );
970971 }
971972
972973 function getRedirect( $subpage ) {
@@ -985,7 +986,8 @@
986987 class SpecialMytalk extends UnlistedSpecialPage {
987988 function __construct() {
988989 parent::__construct( 'Mytalk' );
989 - $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
 990+ $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro',
 991+ 'section', 'oldid', 'diff', 'dir' );
990992 }
991993
992994 function getRedirect( $subpage ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -403,6 +403,8 @@
404404 on discussion pages with vector as default skin
405405 * (bug 24833) Files name in includes/diff/ are now less confusing
406406 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores
 407+* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
 408+ parameters
407409
408410 === API changes in 1.17 ===
409411 * (bug 22738) Allow filtering by action type on query=logevent.

Status & tagging log