r50667 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50666‎ | r50667 | r50668 >
Date:19:32, 16 May 2009
Author:ialex
Status:ok
Tags:
Comment:
Document "MessageNotInMwNs" hook
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -949,6 +949,13 @@
950950 $title: name of the page changed.
951951 $text: new contents of the page.
952952
 953+'MessageNotInMwNs': When trying to get a message that isn't found in the
 954+MediaWiki namespace (but before checking the message files)
 955+* &$message: message's content; can be changed
 956+* $lckey: message's name
 957+* $langcode: language code
 958+* $isFullKey: specifies whether $lckey is a two part key "msg/lang"
 959+
953960 'MonoBookTemplateToolboxEnd': Called by Monobook skin after toolbox links have been rendered (useful for adding more)
954961 Note: this is only run for the Monobook skin. To add items to the toolbox
955962 for all 'SkinTemplate'-type skins, use the SkinTemplateToolboxEnd hook

Follow-up revisions

RevisionCommit summaryAuthorDate
r50668fix for r50667: consistency with other hooks: removed "* " before paramsialex19:35, 16 May 2009

Status & tagging log