mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-24 00:13:28 +00:00
Clean up [Details in desc]
Clean up comments Center align credits Add Kris to authors (for future work about to do) Remove un-needed tabs on language strings, page aliases, hooks section Clean up documentation to PHP standard (closing is */ not **/)
This commit is contained in:
parent
9a1c25c86d
commit
7d07723a8f
35
Tabber.php
35
Tabber.php
|
@ -1,44 +1,41 @@
|
|||
<?php
|
||||
/**
|
||||
* Tabber
|
||||
* Tabber Main File
|
||||
*
|
||||
* @author Eric Fortin, Alexia E. Smith
|
||||
* @author Eric Fortin, Alexia E. Smith, Kris Blair
|
||||
* @license GPL
|
||||
* @package Tabber
|
||||
* @link https://www.mediawiki.org/wiki/Extension:Tabber
|
||||
*
|
||||
**/
|
||||
*/
|
||||
|
||||
/******************************************/
|
||||
/* Credits */
|
||||
/******************************************/
|
||||
/*****************************************/
|
||||
/* Credits */
|
||||
/*****************************************/
|
||||
$credits = [
|
||||
'path' => __FILE__,
|
||||
'name' => 'Tabber',
|
||||
'author' => ['Eric Fortin', 'Alexia E. Smith', 'Curse Inc. Wiki Platform Team'],
|
||||
'author' => ['Eric Fortin', 'Alexia E. Smith', 'Curse Inc. Wiki Platform Team', 'Kris Blair'],
|
||||
'url' => 'https://www.mediawiki.org/wiki/Extension:Tabber',
|
||||
'descriptionmsg' => 'tabber-desc',
|
||||
'version' => '2.0'
|
||||
];
|
||||
$wgExtensionCredits['parserhook'][] = $credits;
|
||||
|
||||
/*****************************************/
|
||||
/* Language Strings, Page Aliases, Hooks */
|
||||
/*****************************************/
|
||||
$extDir = __DIR__ . '/';
|
||||
|
||||
/******************************************/
|
||||
/* Language Strings, Page Aliases, Hooks */
|
||||
/******************************************/
|
||||
$extDir = __DIR__.'/';
|
||||
$wgMessagesDirs['Tabber'] = "{$extDir}/i18n";
|
||||
$wgExtensionMessagesFiles['Tabber'] = "{$extDir}/Tabber.i18n.php";
|
||||
|
||||
$wgMessagesDirs['Tabber'] = "{$extDir}/i18n";
|
||||
$wgExtensionMessagesFiles['Tabber'] = "{$extDir}/Tabber.i18n.php";
|
||||
$wgAutoloadClasses['TabberHooks'] = "{$extDir}/Tabber.hooks.php";
|
||||
|
||||
$wgAutoloadClasses['TabberHooks'] = "{$extDir}/Tabber.hooks.php";
|
||||
$wgHooks['ParserFirstCallInit'][] = 'TabberHooks::onParserFirstCallInit';
|
||||
|
||||
$wgHooks['ParserFirstCallInit'][] = 'TabberHooks::onParserFirstCallInit';
|
||||
|
||||
$wgResourceModules['ext.Tabber'] = [
|
||||
$wgResourceModules['ext.Tabber'] = [
|
||||
'localBasePath' => __DIR__,
|
||||
'remoteExtPath' => 'Tabber',
|
||||
'styles' => ['css/tabber.css'],
|
||||
'scripts' => ['js/tabber.js']
|
||||
];
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue