Template talk:API-head

Add a sourcefile parameter, and class
The page API:Info has
 * The code for retrieving page properties is located on the git repository at.

I think an optional link to source code is useful and should be generalized as an optional  parameter to this template

Simultaneously, the generated api.php?action=help doc knows what class and file output it, so it could probably output
 * Implemented in __FILE__

We could likewise provide links into the doxgen generated doc, e.g. for ApiQueryInfo it's at https://doc.wikimedia.org/mediawiki-core/master/php/html/classApiQueryInfo.html. I'm not sure how regular the translation from filename to doxygen class file is,

-- SPage (WMF) (talk) 09:40, 7 April 2015 (UTC)