r51793 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51792‎ | r51793 | r51794 >
Date:15:24, 12 June 2009
Author:daniel
Status:deferred
Tags:
Comment:
wwFakeCommonsPlural
Modified paths:
  • /trunk/WikiWord/WikiWord/src/main/php/wwutils.php (modified) (history)

Diff [purge]

Index: trunk/WikiWord/WikiWord/src/main/php/wwutils.php
@@ -458,8 +458,8 @@
459459 $images->addImages($img, "commons:category:" . $title, "category", 0.5);
460460
461461 if ($wwFakeCommonsConcepts && $wwFakeCommonsPlural) {
462 - $img = $this->getImagesInCategory("commmons", $title); //FIXME: resource mapping
463 - $images->addImages($img, "commons:category:" . $title, "category(pl)", 0.5);
 462+ $img = $this->getImagesInCategory("commmons", $title+"s"); //FIXME: resource mapping
 463+ $images->addImages($img, "commons:category:" . $title+"s", "category(pl)", 0.5);
464464 }
465465 }
466466

Status & tagging log