mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-24 00:13:28 +00:00
Add i18n file
Spaces2Tabs Change-Id: I8a3c4711f6933ea514d302d478b8015c4df753ec
This commit is contained in:
parent
2bf929e959
commit
e5fd3977e2
22
Tabber.i18n.php
Normal file
22
Tabber.i18n.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* Internationalisation for Tabber extension
|
||||
*
|
||||
* @file
|
||||
* @ingroup Extensions
|
||||
*/
|
||||
|
||||
$messages = array();
|
||||
|
||||
/** English
|
||||
* @author Eric Fortin
|
||||
*/
|
||||
$messages['en'] = array(
|
||||
'tabber-desc' => 'Allows to create tabs within a page',
|
||||
);
|
||||
|
||||
/** Message documentation (Message documentation) */
|
||||
$messages['qqq'] = array(
|
||||
'tabber-desc' => '{{desc}}',
|
||||
);
|
||||
|
18
Tabber.php
18
Tabber.php
|
@ -1,12 +1,20 @@
|
|||
<?php
|
||||
if ( !defined( 'MEDIAWIKI' ) ) {
|
||||
die( 'This file is part of a MediaWiki extension and is not a valid entry point.' );
|
||||
}
|
||||
|
||||
# Credits
|
||||
$wgExtensionCredits['parserhook'][] = array(
|
||||
'name'=>'Tabber',
|
||||
'author'=>'Eric Fortin',
|
||||
'url'=>'http://www.mediawiki.org/wiki/Extension:Tabber',
|
||||
'description'=>'Create tabs that contain wiki compatible based data',
|
||||
'version'=>'1.2'
|
||||
'name' => 'Tabber',
|
||||
'author' => 'Eric Fortin',
|
||||
'url' => 'https://www.mediawiki.org/wiki/Extension:Tabber',
|
||||
'descriptionmsg' => 'tabber-desc',
|
||||
'version' => '1.2'
|
||||
);
|
||||
$dir = dirname(__FILE__) . '/';
|
||||
|
||||
# Internationalisation file
|
||||
$wgExtensionMessagesFiles['Tabber'] = $dir . 'Tabber.i18n.php';
|
||||
|
||||
$wgExtensionFunctions[] = "wfTabber";
|
||||
|
||||
|
|
Loading…
Reference in a new issue