From 6519c35def2cf26753c1aa4a25da2310ca2c748f Mon Sep 17 00:00:00 2001 From: Ricordisamoa Date: Tue, 9 Dec 2014 19:10:11 +0000 Subject: [PATCH] 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 --- docs/hooks.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.20.1