Revision: 31145
Author: tstarling
Date: 2008-02-21 10:25:44 +0000 (Thu, 21 Feb 2008)
Log Message:
-----------
Hook suggested on IRC.
Modified Paths:
--------------
trunk/phase3/includes/Parser.php
Modified: trunk/phase3/includes/Parser.php
===================================================================
--- trunk/phase3/includes/Parser.php 2008-02-21 10:06:48 UTC (rev 31144)
+++ trunk/phase3/includes/Parser.php 2008-02-21 10:25:44 UTC (rev 31145)
@@ -4443,6 +4443,8 @@
$params['frame']['alt'] = $alt;
$params['frame']['caption'] = $caption;
+ wfRunHooks( 'ParserMakeImageParams', array( $title, $file, &$params ) );
+
# Linker does the rest
$ret = $sk->makeImageLink2( $title, $file, $params['frame'],
$params['handler'] );
Can someone, who is aware of the discussion behind adding this hook,
update docs/hooks.txt please?