[WIKI] Port our ReactOS customizations to the unmodified Vector skin of MediaWiki 1.30.0.

This commit is contained in:
Colin Finck 2018-05-14 19:00:31 +02:00
parent 14b3d8964a
commit c9f98c0d69
4 changed files with 14 additions and 7 deletions

View File

@ -66,6 +66,7 @@ class VectorTemplate extends BaseTemplate {
// Output HTML Page
$this->html( 'headelement' );
?>
<link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic" media="all" />
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body" role="main">
@ -150,6 +151,11 @@ class VectorTemplate extends BaseTemplate {
<h2><?php $this->msg( 'navigation-heading' ) ?></h2>
<div id="mw-head">
<div id="reactos-head">
<a href="/"><img id="homelogo" src="/sites/default/files/ReactOS_logo_aligned-200x48_0_0.png"></a>
<a id="homebutton" href="/">Back to Website</a>
</div>
<?php $this->renderNavigation( 'PERSONAL' ); ?>
<div id="left-navigation">
<?php $this->renderNavigation( [ 'NAMESPACES', 'VARIANTS' ] ); ?>
@ -159,11 +165,6 @@ class VectorTemplate extends BaseTemplate {
</div>
</div>
<div id="mw-panel">
<div id="p-logo" role="banner"><a class="mw-wiki-logo" href="<?php
echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] )
?>" <?php
echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) )
?>></a></div>
<?php $this->renderPortals( $this->data['sidebar'] ); ?>
</div>
</div>

View File

@ -46,6 +46,12 @@
},
"screen-hd.less": {
"media": "screen and (min-width: 982px)"
},
"reactos.css": {
"media": "screen"
},
"../../../rosweb/css/static-header.css": {
"media": "screen"
}
}
},

View File

@ -2,8 +2,8 @@
@html-font-size: 100%;
@font-family-serif: 'Linux Libertine', 'Georgia', 'Times', serif;
@font-family-sans-serif: sans-serif;
@font-family-serif: 'Open Sans', 'Linux Libertine', 'Georgia', 'Times', serif;
@font-family-sans-serif: 'Open Sans', sans-serif;
// Page content
// FIXME: Use global variable since Echo and CentralNotice use this variable