[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * MonoBook nouveau. 4 * 5 * Translated from gwicke's previous TAL template version to remove 6 * dependency on PHPTAL. 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License along 19 * with this program; if not, write to the Free Software Foundation, Inc., 20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * http://www.gnu.org/copyleft/gpl.html 22 * 23 * @file 24 * @ingroup Skins 25 */ 26 27 $wgExtensionCredits['skin'][] = array( 28 'path' => __FILE__, 29 'name' => 'MonoBook', 30 'namemsg' => 'skinname-monobook', 31 'descriptionmsg' => 'monobook-desc', 32 'url' => 'https://www.mediawiki.org/wiki/Skin:MonoBook', 33 'author' => array( 'Gabriel Wicke', '...' ), 34 'license-name' => 'GPLv2+', 35 ); 36 37 // Register files 38 $wgAutoloadClasses['SkinMonoBook'] = __DIR__ . '/SkinMonoBook.php'; 39 $wgAutoloadClasses['MonoBookTemplate'] = __DIR__ . '/MonoBookTemplate.php'; 40 $wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n'; 41 42 // Register skin 43 $wgValidSkinNames['monobook'] = 'MonoBook'; 44 45 // Register modules 46 $wgResourceModules['skins.monobook.styles'] = array( 47 'styles' => array( 48 'main.css' => array( 'media' => 'screen' ), 49 ), 50 'remoteSkinPath' => 'MonoBook', 51 'localBasePath' => __DIR__, 52 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |