'APIQuerySiteInfoGeneralInfo': use this hook to add extra information to
the sites general information.
-&$module: the current ApiQuerySiteInfo module
+$module: the current ApiQuerySiteInfo module
&$results: array of results, add things here
'APIQueryUsersTokens': use this hook to add custom token to list=users.
$data['wikiid'] = wfWikiID();
$data['time'] = wfTimestamp( TS_ISO_8601, time() );
- wfRunHooks( 'APIQuerySiteInfoGeneralInfo', array( &$this, &$data ) );
+ wfRunHooks( 'APIQuerySiteInfoGeneralInfo', array( $this, &$data ) );
return $this->getResult()->addValue( 'query', $property, $data );
}