mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 08:00:32 +00:00
[refactor] Use core template variable for subtitle
Avoid indirection to QuickTemplate variable by using SkinMinerva (SkinMustache) version. To test: * Create User:Admin/sandbox * Create User:Admin * Visit User:Admin/sandbox to see the breadcrumb "< User:Admin" Change-Id: Icdd10bd1406ea047097309b6fcafba399170d019
This commit is contained in:
parent
46ac6048d7
commit
e42bfd1e96
|
@ -225,7 +225,6 @@ class MinervaTemplate extends BaseTemplate {
|
|||
'postheadinghtml' => $data['postheadinghtml'] ?? '',
|
||||
'pageactionshtml' => $hasPageActions ? $this->getPageActionsHtml() : '',
|
||||
'userMenuHTML' => $data['userMenuHTML'],
|
||||
'subtitle' => $data['subtitle'],
|
||||
'contenthtml' => $this->getContentHtml( $data ),
|
||||
'secondaryactionshtml' => $this->getSecondaryActionsHtml(),
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
{{{pageactionshtml}}}
|
||||
{{{postheadinghtml}}}
|
||||
{{{internalBanner}}}
|
||||
<div class="minerva__subtitle">{{{subtitle}}}</div>
|
||||
<div class="minerva__subtitle">{{{html-subtitle}}}</div>
|
||||
</div>
|
||||
{{/hasheadingholder}}
|
||||
{{{contenthtml}}}
|
||||
|
|
Loading…
Reference in a new issue