r41666 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41665‎ | r41666 | r41667 >
Date:21:54, 4 October 2008
Author:catrope
Status:old
Tags:
Comment:
API: Add examples for list=duplicatefiles
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryDuplicateFiles.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryDuplicateFiles.php
@@ -152,8 +152,8 @@
153153 }
154154
155155 protected function getExamples() {
156 - return array (
157 - // TODO
 156+ return array ( 'api.php?action=query&titles=Image:Albert_Einstein_Head.jpg&prop=duplicatefiles',
 157+ 'api.php?action=query&generator=allimages&prop=duplicatefiles',
158158 );
159159 }
160160

Status & tagging log