r30068 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r30067‎ | r30068 | r30069 >
Date:22:35, 22 January 2008
Author:raymond
Status:old
Tags:
Comment:
* (bug 12506) Allow URL parameter 'section' in Special:Mypage/Mytalk. Patch by Eneas.
(in addition to r27310 - bug 11848)
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -799,7 +799,7 @@
800800 class SpecialMypage extends UnlistedSpecialPage {
801801 function __construct() {
802802 parent::__construct( 'Mypage' );
803 - $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
 803+ $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
804804 }
805805
806806 function getRedirect( $subpage ) {
@@ -819,7 +819,7 @@
820820 class SpecialMytalk extends UnlistedSpecialPage {
821821 function __construct() {
822822 parent::__construct( 'Mytalk' );
823 - $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro' );
 823+ $this->mAllowedRedirectParams = array( 'action' , 'preload' , 'editintro', 'section' );
824824 }
825825
826826 function getRedirect( $subpage ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -76,8 +76,8 @@
7777 * BeforeWatchlist hook added for filtering or replacing watchlist.
7878 * SkinTemplateTabAction hook added for altering the properties of tab links.
7979 * OutputPage::getRedirect public method added.
80 -* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage
81 - and Special:Mytalk
 80+* (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
 81+ in Special:Mypage and Special:Mytalk
8282 * Add ot=raw to Special:Allmessages
8383 * Support for Hebrew calendar
8484 * Support for Hebrew numerals in dates and times

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r27310* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage...raymond08:19, 8 November 2007

Status & tagging log