r41115 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41114‎ | r41115 | r41116 >
Date:15:01, 21 September 2008
Author:ialex
Status:old
Tags:
Comment:
Always define $wgCommentPagesNS
Modified paths:
  • /trunk/extensions/CommentPages/CommentPages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CommentPages/CommentPages.php
@@ -18,6 +18,11 @@
1919 $wgExtensionMessagesFiles['CommentPages'] = dirname(__FILE__) . '/CommentPages.i18n.php';
2020 $wgHooks['SkinTemplateTabs'][] = 'wfCommentPagesSkinTemplateTabs';
2121
 22+/**
 23+ * Namespace to use for comments
 24+ */
 25+$wgCommentPagesNS = 100;
 26+
2227 function wfCommentPagesSkinTemplateTabs ( &$skin, &$content_actions )
2328 {
2429 global $wgContLang, $wgCommentPagesNS;