Index: trunk/WikiWord/WikiWord/src/main/php/wwutils.php |
— | — | @@ -196,7 +196,7 @@ |
197 | 197 | return $this->query($sql); |
198 | 198 | } |
199 | 199 | |
200 | | - function getLocalConcepts($id) |
| 200 | + function getLocalConcepts($id) { |
201 | 201 | $rs = $this->queryLocalConcepts($id); |
202 | 202 | $list = WWUtils::slurpAssoc($rs, "lang", "local_concept_name"); |
203 | 203 | mysql_free_result($rs); |
— | — | @@ -345,7 +345,7 @@ |
346 | 346 | return $this->queryWiki($lang, $sql); |
347 | 347 | } |
348 | 348 | |
349 | | - function getImagesOnPage($lang, $ns, $title, $commonsOnly = false) |
| 349 | + function getImagesOnPage($lang, $ns, $title, $commonsOnly = false) { |
350 | 350 | $rs = $this->queryImagesOnPage($lang, $ns, $title, $commonsOnly); |
351 | 351 | $list = WWUtils::slurpList($rs, "name"); |
352 | 352 | mysql_free_result($rs); |
— | — | @@ -376,7 +376,7 @@ |
377 | 377 | return $this->queryWiki($lang, $sql); |
378 | 378 | } |
379 | 379 | |
380 | | - function getImagesOnPageTemplates($lang, $ns, $title, $commonsOnly = false) |
| 380 | + function getImagesOnPageTemplates($lang, $ns, $title, $commonsOnly = false) { |
381 | 381 | $rs = $this->queryImagesOnPageTemplates($lang, $ns, $title, $commonsOnly); |
382 | 382 | $list = WWUtils::slurpList($rs, "name"); |
383 | 383 | mysql_free_result($rs); |
— | — | @@ -397,7 +397,7 @@ |
398 | 398 | return $this->queryWiki($lang, $sql); |
399 | 399 | } |
400 | 400 | |
401 | | - function getImagesInCategory($lang, $title) |
| 401 | + function getImagesInCategory($lang, $title) { |
402 | 402 | $rs = $this->queryImagesOnPage($lang, $title); |
403 | 403 | $list = WWUtils::slurpList($rs, "name"); |
404 | 404 | mysql_free_result($rs); |