Merge "Add hook to modify Special:Contributions lines"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 16 Jun 2016 13:27:16 +0000 (13:27 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 16 Jun 2016 13:27:16 +0000 (13:27 +0000)
1  2 
docs/hooks.txt

diff --combined docs/hooks.txt
@@@ -1350,7 -1350,6 +1350,7 @@@ $changesList: EnhancedChangesList objec
  &$data: An array with all the components that will be joined in order to create the line
  $block: An array of RecentChange objects in that block
  $rc: The RecentChange object for this line
 +&$classes: An array of classes to change
  
  'EnhancedChangesListModifyBlockLineData': to alter data used to build
  a non-grouped recent change line in EnhancedChangesList.
@@@ -2866,6 -2865,12 +2866,12 @@@ $id: User id number, only provided for 
  $user: User object representing user contributions are being fetched for
  $sp: SpecialPage instance, providing context
  
+ 'SpecialContributions::formatRow::flags': Called before rendering a
+ Special:Contributions row.
+ $context: IContextSource object
+ $row: Revision information from the database
+ &$flags: List of flags on this row
  'SpecialContributions::getForm::filters': Called with a list of filters to render
  on Special:Contributions.
  $sp: SpecialContributions object, for context