http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73855
Revision: 73855
Author: kaldari
Date: 2010-09-28 01:00:26 +0000 (Tue, 28 Sep 2010)
Log Message:
-----------
need to move one more autoload out of if
Modified Paths:
--------------
trunk/extensions/CentralNotice/CentralNotice.php
Modified: trunk/extensions/CentralNotice/CentralNotice.php
===================================================================
--- trunk/extensions/CentralNotice/CentralNotice.php 2010-09-28 00:56:31 UTC
(rev 73854)
+++ trunk/extensions/CentralNotice/CentralNotice.php 2010-09-28 01:00:26 UTC
(rev 73855)
@@ -101,6 +101,7 @@
$wgAutoloadClasses['CentralNotice'] = $dir . 'SpecialCentralNotice.php';
$wgAutoloadClasses['CentralNoticeDB'] = $dir . 'CentralNotice.db.php';
+ $wgAutoloadClasses['TemplatePager'] = $dir . 'TemplatePager.php';
if ( $wgNoticeInfrastructure ) {
$wgSpecialPages['CentralNotice'] = 'CentralNotice';
@@ -111,8 +112,6 @@
$wgSpecialPages['BannerAllocation'] = 'SpecialBannerAllocation';
$wgAutoloadClasses['SpecialBannerAllocation'] = $dir .
'SpecialBannerAllocation.php';
-
- $wgAutoloadClasses['TemplatePager'] = $dir .
'TemplatePager.php';
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs