Merge "Fix hook documentation for PageRenderingHash"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 23 Sep 2015 08:05:33 +0000 (08:05 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 23 Sep 2015 08:05:33 +0000 (08:05 +0000)
1  2 
docs/hooks.txt

diff --combined docs/hooks.txt
@@@ -2185,6 -2185,7 +2185,7 @@@ which depends on user options should in
  the key.
  &$confstr: reference to a hash key string which can be modified
  $user: User (object) requesting the page
+ &$forOptions: array of options the hash is for
  
  'PageViewUpdates': Allow database (or other) changes to be made after a
  page view is seen by MediaWiki.  Note this does not capture views made
@@@ -3110,9 -3111,7 +3111,9 @@@ $descriptor: (array) the HTMLForm descr
  
  'UploadFormSourceDescriptors': after the standard source inputs have been
  added to the descriptor
 -$descriptor: (array) the HTMLForm descriptor
 +&$descriptor: (array) the HTMLForm descriptor
 +&$radio: Boolean, if source type should be shown as radio button
 +$selectedSourceType: The selected source type
  
  'UploadVerification': Additional chances to reject an uploaded file. Consider
  using UploadVerifyFile instead.