Index: trunk/extensions/LiquidThreads/LiquidThreads.php |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | $wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'LqtDispatch::setNewtalkHTML'; |
49 | 49 | |
50 | 50 | $wgSpecialPages['DeleteThread'] = 'SpecialDeleteThread'; |
51 | | -$wgSpecialPages['MoveThread'] = 'SpecialMoveThreadToAnotherPage'; |
| 51 | +$wgSpecialPages['MoveThread'] = 'SpecialMoveThread'; |
52 | 52 | $wgSpecialPages['NewMessages'] = 'SpecialNewMessages'; |
53 | 53 | |
54 | 54 | // 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 @@ |
73 | 73 | $wgAutoloadClasses['ThreadHistoryListingView'] = $dir.'LqtPages.php'; |
74 | 74 | $wgAutoloadClasses['ThreadHistoricalRevisionView'] = $dir.'LqtPages.php'; |
75 | 75 | $wgAutoloadClasses['SummaryPageView'] = $dir.'LqtPages.php'; |
76 | | -$wgAutoloadClasses['SpecialMoveThreadToAnotherPage'] = $dir.'LqtPages.php'; |
| 76 | +$wgAutoloadClasses['SpecialMoveThread'] = $dir.'LqtPages.php'; |
77 | 77 | $wgAutoloadClasses['SpecialDeleteThread'] = $dir.'LqtPages.php'; |
78 | 78 | $wgAutoloadClasses['NewUserMessagesView'] = $dir.'LqtPages.php'; |
79 | 79 | $wgAutoloadClasses['SpecialNewMessages'] = $dir.'LqtPages.php'; |
Index: trunk/extensions/LiquidThreads/LqtPages.php |
— | — | @@ -849,11 +849,11 @@ |
850 | 850 | } |
851 | 851 | |
852 | 852 | |
853 | | -class SpecialMoveThreadToAnotherPage extends SpecialPage { |
| 853 | +class SpecialMoveThread extends UnlistedSpecialPage { |
854 | 854 | private $user, $output, $request, $title, $thread; |
855 | 855 | |
856 | 856 | function __construct() { |
857 | | - SpecialPage::SpecialPage( 'Movethread' ); |
| 857 | + parent::__construct( 'Movethread' ); |
858 | 858 | $this->includable( false ); |
859 | 859 | } |
860 | 860 | |
— | — | @@ -973,11 +973,11 @@ |
974 | 974 | } |
975 | 975 | } |
976 | 976 | |
977 | | -class SpecialDeleteThread extends SpecialPage { |
| 977 | +class SpecialDeleteThread extends UnlistedSpecialPage { |
978 | 978 | private $user, $output, $request, $title, $thread; |
979 | 979 | |
980 | 980 | function __construct() { |
981 | | - SpecialPage::SpecialPage( 'Deletethread' ); |
| 981 | + parent::__construct( 'Deletethread' ); |
982 | 982 | $this->includable( false ); |
983 | 983 | } |
984 | 984 | |