Index: trunk/extensions/OAI/OAIRepo.alias.php |
— | — | @@ -1,11 +0,0 @@ |
2 | | -<?php |
3 | | -/** |
4 | | - * Aliases for special pages |
5 | | - * |
6 | | - */ |
7 | | - |
8 | | -$aliases = array(); |
9 | | - |
10 | | -$aliases['en'] = array( |
11 | | - 'OAIRepository' => array( 'OAIRepository' ), |
12 | | -); |
Index: trunk/extensions/OAI/OAIRepo_body.php |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | } |
18 | 18 | |
19 | 19 | class SpecialOAIRepository extends UnlistedSpecialPage { |
20 | | - function OAIRepository() { |
| 20 | + function __construct() { |
21 | 21 | UnlistedSpecialPage::UnlistedSpecialPage( 'OAIRepository' ); |
22 | 22 | } |
23 | 23 | |
Index: trunk/extensions/OAI/OAIRepo.php |
— | — | @@ -67,7 +67,6 @@ |
68 | 68 | |
69 | 69 | $dir = dirname(__FILE__) . '/'; |
70 | 70 | $wgExtensionMessagesFiles['OAIRepository'] = $dir . 'OAIRepo.i18n.php'; |
71 | | -$wgExtensionAliasesFiles['OAIRepository'] = $dir . 'OAIRepo.alias.php'; |
72 | 71 | $wgAutoloadClasses['SpecialOAIRepository'] = $dir . 'OAIRepo_body.php'; |
73 | 72 | $wgSpecialPages['OAIRepository'] = 'SpecialOAIRepository'; |
74 | 73 | |