mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-23 15:16:46 +00:00
* Add special page aliases file
This commit is contained in:
parent
e28e1e9353
commit
6027c2e31c
20
SpecialCite.i18n.alias.php
Normal file
20
SpecialCite.i18n.alias.php
Normal 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' ),
|
||||
);
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue