r51058 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51057‎ | r51058 | r51059 >
Date:12:44, 27 May 2009
Author:werdna
Status:deferred
Tags:
Comment:
Comments
Modified paths:
  • /trunk/extensions/LiquidThreads/LiquidThreads.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/LiquidThreads.php
@@ -35,10 +35,12 @@
3636 $wgExtraNamespaces[NS_LQT_SUMMARY] = 'Summary';
3737 $wgExtraNamespaces[NS_LQT_SUMMARY_TALK] = 'Summary_talk';
3838
 39+// Localisation
3940 $dir = dirname( __FILE__ ) . '/';
4041 $wgExtensionMessagesFiles['LiquidThreads'] = $dir . 'Lqt.i18n.php';
4142 $wgExtensionAliasesFiles['LiquidThreads'] = $dir . 'Lqt.alias.php';
4243
 44+// Hooks
4345 $wgHooks['SpecialWatchlistQuery'][] = 'wfLqtBeforeWatchlistHook';
4446 $wgHooks['MediaWikiPerformAction'][] = 'LqtDispatch::tryPage';
4547 $wgHooks['SpecialMovepageAfterMove'][] = 'LqtDispatch::onPageMove';
@@ -48,11 +50,13 @@
4951 $wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'LqtDispatch::setNewtalkHTML';
5052 $wgHooks['TitleGetRestrictions'][] = 'Thread::getRestrictionsForTitle';
5153
 54+// Special pages
5255 $wgSpecialPages['DeleteThread'] = 'SpecialDeleteThread';
5356 $wgSpecialPages['MoveThread'] = 'SpecialMoveThread';
5457 $wgSpecialPages['NewMessages'] = 'SpecialNewMessages';
5558 $wgSpecialPageGroups['NewMessages'] = 'wiki';
5659
 60+// Classes
5761 $wgAutoloadClasses['LqtDispatch'] = $dir . 'classes/LqtDispatch.php';
5862 $wgAutoloadClasses['LqtView'] = $dir . 'classes/LqtView.php';
5963 $wgAutoloadClasses['Date'] = $dir . 'classes/LqtDate.php';
@@ -64,6 +68,7 @@
6569 $wgAutoloadClasses['QueryGroup'] = $dir . 'classes/LqtQueryGroup.php';
6670 $wgAutoloadClasses['NewMessages'] = $dir . 'classes/LqtNewMessages.php';
6771
 72+// Page classes
6873 $wgAutoloadClasses['TalkpageView'] = $dir . 'pages/TalkpageView.php';
6974 $wgAutoloadClasses['TalkpageArchiveView'] = $dir . 'pages/TalkpageArchiveView.php';
7075 $wgAutoloadClasses['ThreadPermalinkView'] = $dir . 'pages/ThreadPermalinkView.php';

Status & tagging log