r27310 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27309‎ | r27310 | r27311 >
Date:08:19, 8 November 2007
Author:raymond
Status:old
Tags:
Comment:
* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage
and Special:Mytalk
Patch by Eneas.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -776,7 +776,7 @@
777777 class SpecialMypage extends UnlistedSpecialPage {
778778 function __construct() {
779779 parent::__construct( 'Mypage' );
780 - $this->mAllowedRedirectParams = array( 'action' );
 780+ $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
781781 }
782782
783783 function getRedirect( $subpage ) {
@@ -796,7 +796,7 @@
797797 class SpecialMytalk extends UnlistedSpecialPage {
798798 function __construct() {
799799 parent::__construct( 'Mytalk' );
800 - $this->mAllowedRedirectParams = array( 'action' );
 800+ $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
801801 }
802802
803803 function getRedirect( $subpage ) {
@@ -823,5 +823,3 @@
824824 return SpecialPage::getTitleFor( 'Contributions', $wgUser->getName() );
825825 }
826826 }
827 -
828 -
Index: trunk/phase3/RELEASE-NOTES
@@ -55,6 +55,8 @@
5656 * BeforeWatchlist hook added for filtering or replacing watchlist.
5757 * SkinTemplateTabAction hook added for altering the properties of tab links.
5858 * OutputPage::getRedirect public method added.
 59+* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage
 60+ and Special:Mytalk
5961
6062 === Bug fixes in 1.12 ===
6163

Follow-up revisions

RevisionCommit summaryAuthorDate
r30068* (bug 12506) Allow URL parameter 'section' in Special:Mypage/Mytalk. Patch b...raymond22:35, 22 January 2008

Status & tagging log