From: Ricordisamoa Date: Tue, 9 Dec 2014 19:10:11 +0000 (+0000) Subject: Fix documentation of hook 'BeforeParserFetchFileAndTitle' X-Git-Tag: 1.31.0-rc.0~13016 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=6519c35def2cf26753c1aa4a25da2310ca2c748f;p=lhc%2Fweb%2Fwiklou.git Fix documentation of hook 'BeforeParserFetchFileAndTitle' By placing the notice "If 'broken' is a key in $options then the file will appear..." added by Aaron Schulz with commit 9d572d1844380c0db268b456f297bd7675eb609f. This solves a 'FIXME' added by Siebrand Mazeland with commit b33c77a52562975aa2503dac66e716e6a5a7ad2e. Change-Id: I9d100588276faac5d5b2be979d8140389e5ed85a --- diff --git a/docs/hooks.txt b/docs/hooks.txt index f8b077ed89..5cc0a674f3 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -776,12 +776,10 @@ $out: OutputPage object 'BeforeParserFetchFileAndTitle': Before an image is rendered by Parser. $parser: Parser object $nt: the image title -&$options: array of options to RepoGroup::findFile +&$options: array of options to RepoGroup::findFile. If it contains 'broken' + as a key then the file will appear as a broken thumbnail. &$descQuery: query string to add to thumbnail URL -FIXME: Where does the below sentence fit in? -If 'broken' is a key in $options then the file will appear as a broken thumbnail. - 'BeforeParserFetchTemplateAndtitle': Before a template is fetched by Parser. $parser: Parser object $title: title of the template