r51609 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51608‎ | r51609 | r51610 >
Date:21:25, 8 June 2009
Author:daniel
Status:deferred
Tags:
Comment:
oops, syntax..
Modified paths:
  • /trunk/WikiWord/WikiWord/src/main/php/wwutils.php (modified) (history)

Diff [purge]

Index: trunk/WikiWord/WikiWord/src/main/php/wwutils.php
@@ -196,7 +196,7 @@
197197 return $this->query($sql);
198198 }
199199
200 - function getLocalConcepts($id)
 200+ function getLocalConcepts($id) {
201201 $rs = $this->queryLocalConcepts($id);
202202 $list = WWUtils::slurpAssoc($rs, "lang", "local_concept_name");
203203 mysql_free_result($rs);
@@ -345,7 +345,7 @@
346346 return $this->queryWiki($lang, $sql);
347347 }
348348
349 - function getImagesOnPage($lang, $ns, $title, $commonsOnly = false)
 349+ function getImagesOnPage($lang, $ns, $title, $commonsOnly = false) {
350350 $rs = $this->queryImagesOnPage($lang, $ns, $title, $commonsOnly);
351351 $list = WWUtils::slurpList($rs, "name");
352352 mysql_free_result($rs);
@@ -376,7 +376,7 @@
377377 return $this->queryWiki($lang, $sql);
378378 }
379379
380 - function getImagesOnPageTemplates($lang, $ns, $title, $commonsOnly = false)
 380+ function getImagesOnPageTemplates($lang, $ns, $title, $commonsOnly = false) {
381381 $rs = $this->queryImagesOnPageTemplates($lang, $ns, $title, $commonsOnly);
382382 $list = WWUtils::slurpList($rs, "name");
383383 mysql_free_result($rs);
@@ -397,7 +397,7 @@
398398 return $this->queryWiki($lang, $sql);
399399 }
400400
401 - function getImagesInCategory($lang, $title)
 401+ function getImagesInCategory($lang, $title) {
402402 $rs = $this->queryImagesOnPage($lang, $title);
403403 $list = WWUtils::slurpList($rs, "name");
404404 mysql_free_result($rs);

Status & tagging log