dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4370f6
)
Document ImagePageFindFile hook
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 24 May 2008 20:51:08 +0000
(20:51 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 24 May 2008 20:51:08 +0000
(20:51 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
0ad48f4
..
6a6cadd
100644
(file)
--- a/
docs/hooks.txt
+++ b/
docs/hooks.txt
@@
-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