From ba0fc4fa20067528effd4802e53ceeb959640825 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 12 Jan 2012 13:42:29 +0100 Subject: Update to MediaWiki 1.18.1 --- docs/hooks.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/hooks.txt') 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 -- cgit v1.2.3-54-g00ecf