r24372 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24371‎ | r24372 | r24373 >
Date:06:51, 25 July 2007
Author:yurik
Status:old
Tags:
Comment:
API: Fix for bug 10662 imageinfo is not cleared for each page
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryExtLinksUsage.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryImageInfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryExtLinksUsage.php
@@ -198,4 +198,3 @@
199199 return __CLASS__ . ': $Id$';
200200 }
201201 }
202 -?>
Index: trunk/phase3/includes/api/ApiQueryImageInfo.php
@@ -58,7 +58,7 @@
5959 $title = Title :: makeTitle(NS_IMAGE, $dbKey);
6060 $img = wfFindFile($title);
6161
62 - $vals = array();
 62+ $data = array();
6363 if ( !$img ) {
6464 $data['missing'] = '';
6565 } else {
@@ -137,7 +137,6 @@
138138 }
139139
140140 public function getVersion() {
141 - return __CLASS__ . ': $Id:$';
 141+ return __CLASS__ . ': $Id$';
142142 }
143143 }
144 -?>

Follow-up revisions

RevisionCommit summaryAuthorDate
r24388Merged revisions 24346-24387 via svnmerge from...david23:26, 25 July 2007

Status & tagging log