r26528 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26527‎ | r26528 | r26529 >
Date:08:12, 9 October 2007
Author:david
Status:old
Tags:
Comment:
Extensify more by appending default namespace names to $wgExtraNamespaces instead of adding to MessagesEn.php. Not sure this is correct.
Modified paths:
  • /branches/liquidthreads/extensions/LqtPages.php (modified) (history)
  • /branches/liquidthreads/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: branches/liquidthreads/extensions/LqtPages.php
@@ -22,6 +22,11 @@
2323 $wgCanonicalNamespaceNames[NS_LQT_SUMMARY] = 'Summary';
2424 $wgCanonicalNamespaceNames[NS_LQT_SUMMARY_TALK] = 'Summary_talk';
2525
 26+$wgExtraNamespaces[NS_LQT_THREAD] = 'Thread';
 27+$wgExtraNamespaces[NS_LQT_THREAD_TALK] = 'Thread_talk';
 28+$wgExtraNamespaces[NS_LQT_SUMMARY] = 'Summary';
 29+$wgExtraNamespaces[NS_LQT_SUMMARY_TALK] = 'Summary_talk';
 30+
2631 require_once('LqtBaseView.php');
2732 require_once('LqtI18N.php');
2833
Index: branches/liquidthreads/languages/messages/MessagesEn.php
@@ -102,11 +102,7 @@
103103 NS_HELP => 'Help',
104104 NS_HELP_TALK => 'Help_talk',
105105 NS_CATEGORY => 'Category',
106 - NS_CATEGORY_TALK => 'Category_talk',
107 - NS_LQT_THREAD => 'Thread',
108 - NS_LQT_THREAD_TALK => 'Thread_talk',
109 - NS_LQT_SUMMARY => 'Summary',
110 - NS_LQT_SUMMARY_TALK => 'Summary_talk',
 106+ NS_CATEGORY_TALK => 'Category_talk'
111107 );
112108
113109 /**

Status & tagging log