Ricordisamoa has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/178566

Change subject: Fix documentation of hook 'BeforeParserFetchFileAndTitle'
......................................................................

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
---
M docs/hooks.txt
1 file changed, 2 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/66/178566/1

diff --git a/docs/hooks.txt b/docs/hooks.txt
index f8b077e..eae31c2 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -776,11 +776,9 @@
 '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 'broken' is a key in
+  $options 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

-- 
To view, visit https://gerrit.wikimedia.org/r/178566
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d100588276faac5d5b2be979d8140389e5ed85a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to