r34084 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34083‎ | r34084 | r34085 >
Date:20:27, 1 May 2008
Author:aaron
Status:old
Tags:
Comment:
wrong use of makeTitle() (bug 13907)
Modified paths:
  • /trunk/phase3/includes/SpecialRecentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialRecentchanges.php
@@ -300,7 +300,7 @@
301301 $articles = array () ;
302302 $a2r = array () ;
303303 foreach ( $rows AS $k => $r ) {
304 - $nt = Title::makeTitle( $r->rc_title , $r->rc_namespace );
 304+ $nt = Title::makeTitle( $r->rc_namespace, $r->rc_title );
305305 $id = $nt->getArticleID() ;
306306 if ( $id == 0 ) continue ; # Page might have been deleted...
307307 if ( !in_array ( $id , $articles ) ) {

Status & tagging log