mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
3306124038
This follows up I4c1b15d90bacbc9b13782a1d8f52e838ce8ecd83 In that change, a new class for Vector specific styles should have been added and the existing CSS referenced. I could have sworn I did this, but obviously not (perhaps a git rebase or unstage change problem). We did it for the other skins e.g. Monobook (I90d85c21f4a62e6697f24e3ce388445a0a53c2b0) but evidently not Vector. We also have to worry about cached HTML now, the #bodyContent is the most reliable selector to use for before and after I4c1b15d90bacbc9b13782a1d8f52e838ce8ecd83 Additional: Remove the mixin-clearfix rule on bodyContent - this is now redundant with the changes in T279388 and should have been removed. Bug: T283206 Change-Id: I15103cea72c793589a03ab1a3e7f3b377acb287f
71 lines
2.7 KiB
Plaintext
71 lines
2.7 KiB
Plaintext
{{!
|
|
string|null html-site-notice the contents of a banner defined in MediaWiki:Sitenotice.
|
|
Also used by CentralNotice to inject banners into Vector.
|
|
Indicator[] array-indicators wiki-defined badges such as "good article",
|
|
"featured article". An empty array if none are defined.
|
|
string html-title
|
|
bool is-article
|
|
string msg-tagline
|
|
string html-subtitle
|
|
string html-undelete-link
|
|
string html-newtalk
|
|
string msg-vector-jumptonavigation
|
|
string msg-vector-jumptosearch
|
|
string html-body-content
|
|
string html-categories
|
|
string html-after-content
|
|
string msg-navigation-heading heading for entire navigation that is
|
|
usually hidden to screen readers
|
|
MenuDefinition data-portlets.data-personal
|
|
MenuDefinition data-portlets.data-namespaces
|
|
MenuDefinition data-portlets.data-variants
|
|
MenuDefinition data-portlets.data-views
|
|
MenuDefinition data-portlets.data-actions
|
|
object data-search-box. See SearchBox.mustache for documentation.
|
|
object data-portlets-sidebar. See Sidebar.mustache for documentation.
|
|
object data-footer for footer template partial. see Footer.mustache for documentation.
|
|
}}
|
|
<div id="mw-page-base" class="noprint"></div>
|
|
<div id="mw-head-base" class="noprint"></div>
|
|
<div id="content" class="mw-body" role="main">
|
|
<a id="top"></a>
|
|
<div id="siteNotice">{{{html-site-notice}}}</div>
|
|
{{>Indicators}}
|
|
<h1 id="firstHeading" class="firstHeading" {{{html-user-language-attributes}}}>{{{html-title}}}</h1>
|
|
<div id="bodyContent" class="vector-body">
|
|
{{#is-article}}<div id="siteSub" class="noprint">{{msg-tagline}}</div>{{/is-article}}
|
|
<div id="contentSub"{{{html-user-language-attributes}}}>{{{html-subtitle}}}</div>
|
|
<div id="contentSub2">{{{html-undelete-link}}}</div>
|
|
{{{html-user-message}}}
|
|
{{!
|
|
Keep this empty `div` for compatibility with gadgets and user scripts
|
|
using this place to insert extra elements before.
|
|
}}
|
|
<div id="jump-to-nav"></div>
|
|
<a class="mw-jump-link" href="#mw-head">{{msg-vector-jumptonavigation}}</a>
|
|
<a class="mw-jump-link" href="#searchInput">{{msg-vector-jumptosearch}}</a>
|
|
{{{html-body-content}}}
|
|
{{{html-categories}}}
|
|
</div>
|
|
</div>
|
|
{{{html-after-content}}}
|
|
<div id="mw-navigation">
|
|
<h2>{{msg-navigation-heading}}</h2>
|
|
<div id="mw-head">
|
|
{{#data-portlets}}
|
|
{{#data-personal}}{{>Menu}}{{/data-personal}}
|
|
<div id="left-navigation">
|
|
{{#data-namespaces}}{{>Menu}}{{/data-namespaces}}
|
|
{{#data-variants}}{{>Menu}}{{/data-variants}}
|
|
</div>
|
|
<div id="right-navigation">
|
|
{{#data-views}}{{>Menu}}{{/data-views}}
|
|
{{#data-actions}}{{>Menu}}{{/data-actions}}
|
|
{{#data-search-box}}{{>SearchBox}}{{/data-search-box}}
|
|
</div>
|
|
{{/data-portlets}}
|
|
</div>
|
|
{{#data-portlets-sidebar}}{{>legacy/Sidebar}}{{/data-portlets-sidebar}}
|
|
</div>
|
|
{{#data-footer}}{{>Footer}}{{/data-footer}}
|