path: root/docs
diff options
authorPierre Schmitz <>2012-01-12 13:42:29 +0100
committerPierre Schmitz <>2012-01-12 13:42:29 +0100
commitba0fc4fa20067528effd4802e53ceeb959640825 (patch)
tree4f62217349d3afa39dbba3f7e19dac0aecb344f6 /docs
parentca32f08966f1b51fcb19460f0996bb0c4048e6fe (diff)
Update to MediaWiki 1.18.1
Diffstat (limited to 'docs')
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/hooks.txt b/docs/hooks.txt
index ca938555..aca0844a 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -567,6 +567,13 @@ $mediaWiki: Mediawiki object
&$out: OutputPage object
&$skin: Skin object
+'BeforePageRedirect': Prior to sending an HTTP redirect. Gives a chance to
+override how the redirect is output by modifying, or by returning false and
+taking over the output.
+$out: OutputPage object
+&$redirect: URL, modifiable
+&$code: HTTP code (eg '301' or '302'), modifiable
'BeforeParserFetchFileAndTitle': before an image is rendered by Parser
$parser: Parser object
$nt: the image title