r45468 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45467‎ | r45468 | r45469 >
Date:23:46, 6 January 2009
Author:siebrand
Status:ok
Tags:
Comment:
(bug 16720) Transcluded Special:NewPages processes "/username=". Patch submitted by Brent G.
Modified paths:
  • /trunk/phase3/CREDITS (modified) (history)
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/specials/SpecialNewpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/CREDITS
@@ -57,6 +57,7 @@
5858 == Patch Contributors ==
5959 * Agbad
6060 * Brad Jorsch
 61+* Brent G
6162 * Daniel Arnold
6263 * Danny B.
6364 * FunPika
Index: trunk/phase3/includes/specials/SpecialNewpages.php
@@ -70,6 +70,8 @@
7171 // PG offsets not just digits!
7272 if ( preg_match( '/^offset=([^=]+)$/', $bit, $m ) )
7373 $this->opts->setValue( 'offset', intval($m[1]) );
 74+ if ( preg_match( '/^username=(.*)$/', $bit, $m ) )
 75+ $this->opts->setValue( 'username', $m[1] );
7476 if ( preg_match( '/^namespace=(.*)$/', $bit, $m ) ) {
7577 $ns = $wgLang->getNsIndex( $m[1] );
7678 if( $ns !== false ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -260,6 +260,7 @@
261261 * Make "Did you mean" search feature more noticeable
262262 * Added "Advanced search" link to the search form
263263 * (bug 2242) Add an expiry time to temporary passwords
 264+* (bug 16720) Transcluded Special:NewPages processes "/username="
264265
265266 === Bug fixes in 1.14 ===
266267

Status & tagging log