http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76292

Revision: 76292
Author:   ialex
Date:     2010-11-08 10:15:07 +0000 (Mon, 08 Nov 2010)
Log Message:
-----------
* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir 
parameters

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/SpecialPage.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES  2010-11-08 10:13:20 UTC (rev 76291)
+++ trunk/phase3/RELEASE-NOTES  2010-11-08 10:15:07 UTC (rev 76292)
@@ -403,6 +403,8 @@
   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.

Modified: trunk/phase3/includes/SpecialPage.php
===================================================================
--- trunk/phase3/includes/SpecialPage.php       2010-11-08 10:13:20 UTC (rev 
76291)
+++ trunk/phase3/includes/SpecialPage.php       2010-11-08 10:15:07 UTC (rev 
76292)
@@ -965,7 +965,8 @@
 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 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 ) {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to