mediawiki-extensions-Tabber.../Tabber.php

42 lines
1.2 KiB
PHP
Raw Normal View History

2011-10-17 14:56:08 +00:00
<?php
2014-06-17 21:37:56 +00:00
/**
* Tabber
*
* @author Eric Fortin, Alexia E. Smith, Kris Blair
2014-06-17 21:37:56 +00:00
* @license GPL
* @package Tabber
* @link https://www.mediawiki.org/wiki/Extension:Tabber
*/
2014-06-17 21:37:56 +00:00
/*****************************************/
/* Credits */
/*****************************************/
2014-06-17 21:37:56 +00:00
$credits = [
'path' => __FILE__,
'name' => 'Tabber',
'author' => ['Eric Fortin', 'Alexia E. Smith', 'Curse Inc. Wiki Platform Team', 'Kris Blair'],
2014-06-17 21:37:56 +00:00
'url' => 'https://www.mediawiki.org/wiki/Extension:Tabber',
'descriptionmsg' => 'tabber-desc',
2015-04-21 19:25:16 +00:00
'version' => '2.1'
2014-06-17 21:37:56 +00:00
];
$wgExtensionCredits['parserhook'][] = $credits;
/*****************************************/
/* Language Strings, Page Aliases, Hooks */
/*****************************************/
$extDir = __DIR__ . '/';
2014-06-17 21:37:56 +00:00
$wgMessagesDirs['Tabber'] = "{$extDir}/i18n";
$wgExtensionMessagesFiles['Tabber'] = "{$extDir}/Tabber.i18n.php";
2014-06-17 21:37:56 +00:00
$wgAutoloadClasses['TabberHooks'] = "{$extDir}/Tabber.hooks.php";
2014-06-17 21:37:56 +00:00
$wgHooks['ParserFirstCallInit'][] = 'TabberHooks::onParserFirstCallInit';
2014-06-17 21:37:56 +00:00
$wgResourceModules['ext.Tabber'] = [
2014-06-17 21:37:56 +00:00
'localBasePath' => __DIR__,
'remoteExtPath' => 'Tabber',
'styles' => ['css/tabber.css'],
'scripts' => ['js/tabber.js']
];