Added hook BitmapHandlerTransform to allow extension to transform a file without...
[lhc/web/wiklou.git] / docs / hooks.txt
index 1feec0c..a30bf9f 100644 (file)
@@ -578,6 +578,13 @@ $mediaWiki: Mediawiki object
 &$parser: Parser object
 &$ig: ImageGallery object
 
+'BitmapHandlerTransform': before a file is transformed, gives extension the 
+possibility to transform it themselves
+$handler: BitmapHandler 
+$image: File
+&$scalerParams: Array with scaler parameters 
+&$mto: null, set to a MediaTransformOutput
+
 'BlockIp': before an IP address or user is blocked
 $block: the Block object about to be saved
 $user: the user _doing_ the block (not the one being blocked)
@@ -1766,7 +1773,7 @@ $u: the account whose new password will be set
 'UserAddGroup': called when adding a group; return false to override
 stock group addition.
 $user: the user object that is to have a group added
-$group: the group to add
+&$group: the group to add, can be modified
 
 'UserArrayFromResult': called when creating an UserArray object from a
 database result
@@ -1898,7 +1905,7 @@ $oldName: name of the user before logout (string)
 'UserRemoveGroup': called when removing a group; return false to override
 stock group removal.
 $user: the user object that is to have a group removed
-$group: the group to be removed
+&$group: the group to be removed, can be modified
 
 'UserRights': After a user's group memberships are changed
 $user  : User object that was changed