From: Victor Vasiliev Date: Mon, 17 Mar 2008 15:38:17 +0000 (+0000) Subject: I hate it. Sure X-Git-Tag: 1.31.0-rc.0~49051 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=0e256ef68232d45c938c7d29fca0cd9d1466cc75;p=lhc%2Fweb%2Fwiklou.git I hate it. Sure --- diff --git a/includes/api/ApiQueryAllimages.php b/includes/api/ApiQueryAllimages.php index 527abeaad7..b306074f37 100644 --- a/includes/api/ApiQueryAllimages.php +++ b/includes/api/ApiQueryAllimages.php @@ -123,6 +123,7 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase { 'timestamp' => wfTimestamp(TS_ISO_8601, $file->getTimestamp()), 'url' => $file->getFullUrl() ); + $data[] = $item; } else { $data[] = Title::makeTitle( NS_IMAGE, $row->img_name ); } @@ -190,7 +191,7 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase { return array ( 'Simple Use', ' Show a list of images starting at the letter "B"', - ' api.php?action=query&list=allimages&apfrom=B', + ' api.php?action=query&list=allimages&aifrom=B', 'Using as Generator', ' Show info about 4 images starting at the letter "T"', ' api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo',