From 14ffe3143e36d79ef7054b293e51f3fb4b658224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Wed, 19 Apr 2017 00:16:28 +0200 Subject: Remove all to rebase on new mw --- skins/Modern.php | 338 ------------------------------------------------------- 1 file changed, 338 deletions(-) delete mode 100644 skins/Modern.php (limited to 'skins/Modern.php') diff --git a/skins/Modern.php b/skins/Modern.php deleted file mode 100644 index ef1b1a1..0000000 --- a/skins/Modern.php +++ /dev/null @@ -1,338 +0,0 @@ -Powered by MediaWiki $wgVersion"; - } - - function setupSkinUserCss( OutputPage $out ){ - global $wgStyleVersion, $wgJsMimeType, $wgStylePath; - - // Do not call parent::setupSkinUserCss(), we have our own print style - $out->addStyle( 'common/shared.css', 'screen' ); - $out->addStyle( 'modern/main.css', 'screen' ); - $out->addStyle( 'modern/print.css', 'print' ); - $out->addStyle( 'modern/rtl.css', 'screen', '', 'rtl' ); - } -} - -/** - * @todo document - * @ingroup Skins - */ -class ModernTemplate extends QuickTemplate { - var $skin; - /** - * Template filter callback for Modern skin. - * Takes an associative array of data set from a SkinTemplate-based - * class, and a wrapper for MediaWiki's localization database, and - * outputs a formatted page. - * - * @access private - */ - function execute() { - global $wgRequest, $wgOut; - $this->skin = $skin = $this->data['skin']; - $action = $wgRequest->getText( 'action' ); - - // Suppress warnings to prevent notices about missing indexes in $this->data - wfSuppressWarnings(); - - $this->html( 'headelement' ); -?> - - -

html('title') ?>

- -
-
- -
-
msg('views') ?>
- -
- - -
- -
html("specialpageattributes") ?>> -
- -
msg('tagline') ?>
- data['newtalk'] ) { - ?>
html('newtalk') ?>
- - data['sitenotice']) { - ?>
html('sitenotice') ?>
- -
- -
html('userlangattributes') ?>>html('subtitle') ?>
- - data['undelete']) { ?>
html('undelete') ?>
- data['showjumplinks']) { ?> - - html('bodytext') ?> -
- data['catlinks']) { $this->html('catlinks'); } ?> - html ('dataAfterContent') ?> -
-
-
- -
html("userlangattributes") ?>> - - - data['sidebar']; - if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true; - if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; - if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; - - foreach ($sidebar as $boxName => $cont) { - if ( $boxName == 'SEARCH' ) { - $this->searchBox(); - } elseif ( $boxName == 'TOOLBOX' ) { - $this->toolbox(); - } elseif ( $boxName == 'LANGUAGES' ) { - $this->languageBox(); - } else { - $this->customBox( $boxName, $cont ); - } - } - ?> - -
- - -
- -
- - -
-
msg('personaltools') ?>
-
- -
-
- - - - - - html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?> -html('reporttime') ?> -data['debug'] ): ?> - - - - - - - - -
-
msg('toolbox') ?>
-
- -
-
-data['language_urls'] ) { -?> -
-
msg('otherlanguages') ?>
-
-
    -data['language_urls'] as $langlink) { ?> -
  • - -
-
-
- -
skin->tooltip('p-'.$bar) ?>> -
-
- - - -
-
-