From: Tim Starling Date: Thu, 21 Feb 2008 10:25:44 +0000 (+0000) Subject: Hook suggested on IRC. X-Git-Tag: 1.31.0-rc.0~49418 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=aaf4d99d021d3ff732a828e5fee859d8af2776f6;p=lhc%2Fweb%2Fwiklou.git Hook suggested on IRC. --- diff --git a/includes/Parser.php b/includes/Parser.php index 65c1c02b55..d663783e16 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4443,6 +4443,8 @@ class Parser $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'] );