From a19a82b2b7b1a2faf6f880cc032caec524e5aa36 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 12 Nov 2007 07:31:25 +0000 Subject: [PATCH] doc tweak --- includes/DefaultSettings.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index f32e9d1be4..a79f3470c3 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1927,7 +1927,11 @@ $wgSkinExtensionFunctions = array(); * Extension messages files * Associative array mapping extension name to the filename where messages can be found. * The file must create a variable called $messages. - * When the messages are needed, the extension should call wfLoadMessagesFile() + * When the messages are needed, the extension should call wfLoadExtensionMessages(). + * + * Example: + * $wgExtensionMessagesFiles['ConfirmEdit'] = dirname(__FILE__).'/ConfirmEdit.i18n.php'; + * */ $wgExtensionMessagesFiles = array(); -- 2.20.1