diff options
author | 2015-08-14 21:20:23 +0200 | |
---|---|---|
committer | 2015-08-14 21:20:23 +0200 | |
commit | c9ae68fab928225cf80ebdcef32b78cb4f0cf873 (patch) | |
tree | 0926f9e9799352024d4e6c5ec048cff1bcfeb3da /Tyrian.php | |
parent | Add GPLv2 (diff) | |
download | skin-tyrian-c9ae68fab928225cf80ebdcef32b78cb4f0cf873.tar.gz skin-tyrian-c9ae68fab928225cf80ebdcef32b78cb4f0cf873.tar.bz2 skin-tyrian-c9ae68fab928225cf80ebdcef32b78cb4f0cf873.zip |
Clean up indenting, licenses, various other bits
Diffstat (limited to 'Tyrian.php')
-rw-r--r-- | Tyrian.php | 36 |
1 files changed, 9 insertions, 27 deletions
@@ -1,27 +1,9 @@ <?php /** - * MonoBook nouveau. + * Tyrian -- the new look of gentoo.org + * MediaWiki implementation based on MonoBook nouveau. * - * Translated from gwicke's previous TAL template version to remove - * dependency on PHPTAL. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * http://www.gnu.org/copyleft/gpl.html - * - * @file - * @ingroup Skins + * Copyright (C) 2014-2015 Alex Legler <a3li@gentoo.org> */ $wgExtensionCredits['skin'][] = array( @@ -30,8 +12,8 @@ $wgExtensionCredits['skin'][] = array( 'namemsg' => 'skinname-tyrian', 'descriptionmsg' => 'tyrian-desc', 'url' => 'http://www.gentoo.org/', - 'author' => array( 'Alex Legler' ), - 'license-name' => 'GPLv3+', + 'author' => array('Alex Legler'), + 'license-name' => 'GPLv2', ); // Register files @@ -45,7 +27,7 @@ $wgValidSkinNames['tyrian'] = 'Tyrian'; // Register modules $wgResourceModules['skins.tyrian.styles'] = array( 'styles' => array( - 'main.css' => array( 'media' => 'screen' ), + 'main.css' => array('media' => 'screen'), ), 'remoteSkinPath' => 'Tyrian', 'localBasePath' => __DIR__, @@ -53,8 +35,8 @@ $wgResourceModules['skins.tyrian.styles'] = array( $wgHooks['OutputPageBeforeHTML'][] = 'injectMetaTags'; -function injectMetaTags( $out ) { - $out->addMeta( 'viewport', 'width=device-width, initial-scale=1.0' ); - $out->addMeta( 'theme-color', '#54487a' ); +function injectMetaTags($out) { + $out->addMeta('viewport', 'width=device-width, initial-scale=1.0'); + $out->addMeta('theme-color', '#54487a'); return true; } |