Merge "Add hooks to Special:TrackingCategories"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 18 Nov 2016 18:28:56 +0000 (18:28 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 18 Nov 2016 18:28:56 +0000 (18:28 +0000)
1  2 
docs/hooks.txt

diff --combined docs/hooks.txt
@@@ -2464,13 -2464,6 +2464,13 @@@ $revId: ID of the revision that was par
  'ParserCloned': Called when the parser is cloned.
  $parser: Newly-cloned Parser object
  
 +'ParserFetchTemplate': Called when the parser fetches a template
 +$parser: Parser Parser object or false
 +$title: Title object of the template to be fetched
 +$rev: Revision object of the template
 +&$text: Transclusion text of the template or false or null
 +&$deps: Array of template dependencies with 'title', 'page_id', 'rev_id' keys
 +
  'ParserFirstCallInit': Called when the parser initialises for the first time.
  &$parser: Parser object being cleared
  
@@@ -3224,6 -3217,15 +3224,15 @@@ $engine: the search engin
    message key to use in the name column,
  $context: IContextSource object
  
+ 'SpecialTrackingCategories::preprocess': Called after LinkBatch on Special:TrackingCategories
+ $specialPage: The SpecialTrackingCategories object
+ $trackingCategories: Array of data from Special:TrackingCategories with msg and cats
+ 'SpecialTrackingCategories::generateCatLink': Called for each cat link on Special:TrackingCategories
+ $specialPage: The SpecialTrackingCategories object
+ $catTitle: The Title object of the linked category
+ &$html: The Result html
  'SpecialUploadComplete': Called after successfully uploading a file from
  Special:Upload.
  &$form: The SpecialUpload object