From aaf4d99d021d3ff732a828e5fee859d8af2776f6 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 21 Feb 2008 10:25:44 +0000 Subject: [PATCH] Hook suggested on IRC. --- includes/Parser.php | 2 ++ 1 file changed, 2 insertions(+) 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'] ); -- 2.20.1