Index: trunk/extensions/Cite/SpecialCite.i18n.alias.php |
— | — | @@ -0,0 +1,20 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for Special:Cite |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | + */ |
| 8 | + |
| 9 | +$aliases = array(); |
| 10 | + |
| 11 | +/** English */ |
| 12 | +$aliases['en'] = array( |
| 13 | + 'Cite' => array( 'Cite' ), |
| 14 | +); |
| 15 | + |
| 16 | +/** German |
| 17 | + * @author Raimond Spekking |
| 18 | + */ |
| 19 | +$aliases['de'] = array( |
| 20 | + 'Cite' => array( 'Zitierhilfe' ), |
| 21 | +); |
Property changes on: trunk/extensions/Cite/SpecialCite.i18n.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 22 | + native |
Index: trunk/extensions/Cite/SpecialCite.php |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | * |
8 | 8 | * @addtogroup Extensions |
9 | 9 | * |
10 | | - * @link http://meta.wikimedia.org/wiki/Cite/SpecialCite.php Documentation |
| 10 | + * @link http://www.mediawiki.org/wiki/Extension:Cite/Special:Cite.php Documentation |
11 | 11 | * |
12 | 12 | * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> |
13 | 13 | * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason |
— | — | @@ -23,13 +23,14 @@ |
24 | 24 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Cite/Special:Cite.php' |
25 | 25 | ); |
26 | 26 | |
| 27 | +$dir = dirname(__FILE__) . '/'; |
27 | 28 | # Internationalisation file |
28 | | -$wgExtensionMessagesFiles['SpecialCite'] = dirname( __FILE__ ) . "/SpecialCite.i18n.php"; |
| 29 | +$wgExtensionMessagesFiles['SpecialCite'] = $dir . 'SpecialCite.i18n.php'; |
| 30 | +$wgExtensionAliasesFiles['SpecialCite'] = $dir . 'SpecialCite.i18n.alias.php'; |
29 | 31 | |
30 | 32 | $wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'wfSpecialCiteNav'; |
31 | 33 | $wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfSpecialCiteToolbox'; |
32 | 34 | |
33 | | -$dir = dirname(__FILE__) . '/'; |
34 | 35 | $wgSpecialPages['Cite'] = 'SpecialCite'; |
35 | 36 | $wgAutoloadClasses['SpecialCite'] = $dir . 'SpecialCite_body.php'; |
36 | 37 | |