From: Alexandre Emsenhuber Date: Sat, 16 May 2009 19:32:12 +0000 (+0000) Subject: Document "MessageNotInMwNs" hook X-Git-Tag: 1.31.0-rc.0~41783 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=b4ede1bb06a73b654fdbd0294aa2fe256158922b;p=lhc%2Fweb%2Fwiklou.git Document "MessageNotInMwNs" hook --- 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