r93049 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93048‎ | r93049 | r93050 >
Date:15:37, 25 July 2011
Author:maxsem
Status:ok
Tags:
Comment:
1.16: Fixed undefined variable error in recentchanges API module
Modified paths:
  • /branches/REL1_16/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_16/phase3/includes/api/ApiQueryRecentChanges.php (modified) (history)

Diff [purge]

Index: branches/REL1_16/phase3/includes/api/ApiQueryRecentChanges.php
@@ -155,7 +155,7 @@
156156 $this->addWhereIf( 'page_is_redirect = 0 OR page_is_redirect IS NULL', isset ( $show['!redirect'] ) );
157157 }
158158
159 - if ( !is_null( $params['user'] ) && !is_null( $param['excludeuser'] ) )
 159+ if ( !is_null( $params['user'] ) && !is_null( $params['excludeuser'] ) )
160160 $this->dieUsage( 'user and excludeuser cannot be used together', 'user-excludeuser' );
161161
162162 if ( !is_null( $params['user'] ) )
Index: branches/REL1_16/phase3/RELEASE-NOTES
@@ -44,8 +44,11 @@
4545 you have the DBA extension for PHP installed, this will improve performance
4646 further.
4747
48 -== Changes since 1.16.4
 48+== Changes since 1.16.5 ==
 49+* Fixed undefined variable error in recentchanges API module.
4950
 51+== Changes since 1.16.4 ==
 52+
5053 * (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third
5154 attempt at fixing bug 28235.
5255 * (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin

Status & tagging log