mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 10:46:54 +00:00
361e0d6f71
A Portal (or portlet) in the Vector context is a section of the sidebar menu (e.g. Tools, Languges etc.). The hook that places content between the portals (or portlets?) such as `SkinTemplateToolboxEnd` and `otherlanguages` has been enclosed inside of an output buffer so that any content it produces can be passed to a template. Bug: T239248, T240062 Change-Id: I882db161e5462cf88aa48c9cfd91448eb97a4a77
20 lines
465 B
Plaintext
20 lines
465 B
Plaintext
{{!
|
|
string portal-id
|
|
string html-tooltip
|
|
string msg-label-id
|
|
string|null html-userlangattributes
|
|
string msg-label}
|
|
string html-portal-content
|
|
string|null html-after-portal
|
|
}}
|
|
|
|
<div class="portal" role="navigation" id="{{portal-id}}" {{{html-tooltip}}} aria-labelledby="{{msg-label-id}}">
|
|
<h3 {{{html-userlangattributes}}} id="{{msg-label-id}}">
|
|
{{msg-label}}
|
|
</h3>
|
|
<div class="body">
|
|
{{{html-portal-content}}}
|
|
{{{html-after-portal}}}
|
|
</div>
|
|
</div>
|