From b4ede1bb06a73b654fdbd0294aa2fe256158922b Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 16 May 2009 19:32:12 +0000 Subject: [PATCH] Document "MessageNotInMwNs" hook --- docs/hooks.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/hooks.txt b/docs/hooks.txt index 1dce1f0723..5e4195d8ea 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -949,6 +949,13 @@ $message: value (string), change it to the message you want to define $title: name of the page changed. $text: new contents of the page. +'MessageNotInMwNs': When trying to get a message that isn't found in the +MediaWiki namespace (but before checking the message files) +* &$message: message's content; can be changed +* $lckey: message's name +* $langcode: language code +* $isFullKey: specifies whether $lckey is a two part key "msg/lang" + 'MonoBookTemplateToolboxEnd': Called by Monobook skin after toolbox links have been rendered (useful for adding more) Note: this is only run for the Monobook skin. To add items to the toolbox for all 'SkinTemplate'-type skins, use the SkinTemplateToolboxEnd hook -- 2.20.1