Document ImagePageFindFile hook
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 24 May 2008 20:51:08 +0000 (20:51 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 24 May 2008 20:51:08 +0000 (20:51 +0000)
docs/hooks.txt

index 0ad48f4..6a6cadd 100644 (file)
@@ -684,6 +684,11 @@ $file: the file
 $line: the HTML of the history line
 $css: the line CSS class
 
+'ImagePageFindFile': called when fetching the file associated with an image page
+$page: ImagePage object
+&$file: File object
+&$displayFile: displayed File object
+
 'InitPreferencesForm': called at the end of PreferencesForm's constructor
 $form: the PreferencesForm
 $request: the web request to initialized from