$this->run( $resultPageSet );
}
+ /**
+ * @param $resultPageSet ApiPageSet
+ */
private function run( $resultPageSet = null ) {
if ( $this->getPageSet()->getGoodTitleCount() == 0 ) {
return; // nothing to do
) );
}
- protected function getExamples() {
+ public function getExamples() {
return array(
'Get a list of images used in the [[Main Page]]:',
' api.php?action=query&prop=images&titles=Main%20Page',
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#images_.2F_im';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}