Revision: 43563
Author: aaron
Date: 2008-11-15 22:00:17 +0000 (Sat, 15 Nov 2008)
Log Message:
-----------
* Rename class to shorter name
* Make two pages unlisted
Modified Paths:
--------------
trunk/extensions/LiquidThreads/LiquidThreads.php
trunk/extensions/LiquidThreads/LqtPages.php
Modified: trunk/extensions/LiquidThreads/LiquidThreads.php
===================================================================
--- trunk/extensions/LiquidThreads/LiquidThreads.php 2008-11-15 20:46:27 UTC
(rev 43562)
+++ trunk/extensions/LiquidThreads/LiquidThreads.php 2008-11-15 22:00:17 UTC
(rev 43563)
@@ -47,7 +47,7 @@
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'LqtDispatch::setNewtalkHTML';
$wgSpecialPages['DeleteThread'] = 'SpecialDeleteThread';
-$wgSpecialPages['MoveThread'] = 'SpecialMoveThreadToAnotherPage';
+$wgSpecialPages['MoveThread'] = 'SpecialMoveThread';
$wgSpecialPages['NewMessages'] = 'SpecialNewMessages';
// Obtained with $ grep -ir 'class .*' *.php | perl -n -e 'if
(/(\w+\.php):\s*class (\w+)/) {print "\$wgAutoloadClasses['\''$2'\''] =
\$dir.'\''$1'\'';\n";}'
@@ -72,7 +72,7 @@
$wgAutoloadClasses['ThreadHistoryListingView'] = $dir.'LqtPages.php';
$wgAutoloadClasses['ThreadHistoricalRevisionView'] = $dir.'LqtPages.php';
$wgAutoloadClasses['SummaryPageView'] = $dir.'LqtPages.php';
-$wgAutoloadClasses['SpecialMoveThreadToAnotherPage'] = $dir.'LqtPages.php';
+$wgAutoloadClasses['SpecialMoveThread'] = $dir.'LqtPages.php';
$wgAutoloadClasses['SpecialDeleteThread'] = $dir.'LqtPages.php';
$wgAutoloadClasses['NewUserMessagesView'] = $dir.'LqtPages.php';
$wgAutoloadClasses['SpecialNewMessages'] = $dir.'LqtPages.php';
Modified: trunk/extensions/LiquidThreads/LqtPages.php
===================================================================
--- trunk/extensions/LiquidThreads/LqtPages.php 2008-11-15 20:46:27 UTC (rev
43562)
+++ trunk/extensions/LiquidThreads/LqtPages.php 2008-11-15 22:00:17 UTC (rev
43563)
@@ -849,11 +849,11 @@
}
-class SpecialMoveThreadToAnotherPage extends SpecialPage {
+class SpecialMoveThread extends UnlistedSpecialPage {
private $user, $output, $request, $title, $thread;
function __construct() {
- SpecialPage::SpecialPage( 'Movethread' );
+ parent::__construct( 'Movethread' );
$this->includable( false );
}
@@ -973,11 +973,11 @@
}
}
-class SpecialDeleteThread extends SpecialPage {
+class SpecialDeleteThread extends UnlistedSpecialPage {
private $user, $output, $request, $title, $thread;
function __construct() {
- SpecialPage::SpecialPage( 'Deletethread' );
+ parent::__construct( 'Deletethread' );
$this->includable( false );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs