* Add special page aliases file

This commit is contained in:
Raimond Spekking 2008-07-09 15:09:55 +00:00
parent e28e1e9353
commit 6027c2e31c
2 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1,20 @@
<?php
/**
* Aliases for Special:Cite
*
* @addtogroup Extensions
*/
$aliases = array();
/** English */
$aliases['en'] = array(
'Cite' => array( 'Cite' ),
);
/** German
* @author Raimond Spekking
*/
$aliases['de'] = array(
'Cite' => array( 'Zitierhilfe' ),
);

View file

@ -6,7 +6,7 @@ if (!defined('MEDIAWIKI')) die();
*
* @addtogroup Extensions
*
* @link http://meta.wikimedia.org/wiki/Cite/SpecialCite.php Documentation
* @link http://www.mediawiki.org/wiki/Extension:Cite/Special:Cite.php Documentation
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
@ -23,13 +23,14 @@ $wgExtensionCredits['specialpage'][] = array(
'url' => 'http://www.mediawiki.org/wiki/Extension:Cite/Special:Cite.php'
);
$dir = dirname(__FILE__) . '/';
# Internationalisation file
$wgExtensionMessagesFiles['SpecialCite'] = dirname( __FILE__ ) . "/SpecialCite.i18n.php";
$wgExtensionMessagesFiles['SpecialCite'] = $dir . 'SpecialCite.i18n.php';
$wgExtensionAliasesFiles['SpecialCite'] = $dir . 'SpecialCite.i18n.alias.php';
$wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'wfSpecialCiteNav';
$wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfSpecialCiteToolbox';
$dir = dirname(__FILE__) . '/';
$wgSpecialPages['Cite'] = 'SpecialCite';
$wgAutoloadClasses['SpecialCite'] = $dir . 'SpecialCite_body.php';