Manual:Hooks/SkinEditSectionLinks

This is apparently a hook. It was added to Mediawiki in some version or other.

This stuff was just copy/pasted from mediawiki/docs directory so I'm not sure if it's legit to release under CC-BY-SA but here it is anyway:

Details

 * $skin: Skin object rendering the UI
 * $title: Title object for the title being linked to (may not be the same as the page title, if the section is included from a template)
 * $section: The designation of the section being pointed to, to be included in the link, like "&section=$section"
 * $tooltip: The default tooltip. Escape before using.  By default, this is wrapped in the 'editsectionhint' message.
 * &$links: Array containing all link detail arrays. Each link detail array should contain the following keys:
 * targetTitle - Target Title object
 * text - String for the text
 * attribs - Array of attributes
 * query - Array of query parameters to add to the URL
 * options - Array of options for Linker::link
 * $lang: The language code to use for the link in the wfMessage function