/**
*
*
- * Created on Sep 10, 2007
+ * Created on Dec 22, 2010
*
* Copyright © 2010 Roan Kattouw <Firstname>.<Lastname>@gmail.com
*
$this->run( $resultPageSet );
}
+ /**
+ * @param $resultPageSet ApiPageSet
+ * @return void
+ */
public function run( $resultPageSet = null ) {
global $wgUser;
$params = $this->extractRequestParams();
$r['cached'] = '';
$ts = $qp->getCachedTimestamp();
if ( $ts ) {
- $r['cachedTimestamp'] = wfTimestamp( TS_ISO_8601, $ts );
+ $r['cachedtimestamp'] = wfTimestamp( TS_ISO_8601, $ts );
}
}
}
protected function getExamples() {
return array(
- 'api.php?action=query&list=querypages&qppage=Ancientpages'
+ 'api.php?action=query&list=querypage&qppage=Ancientpages'
);
}