Fixed missing footer sitetitle

This commit is contained in:
alistair3149 2020-06-02 23:22:09 -04:00
parent a039f02bed
commit f0da589b52
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
3 changed files with 4 additions and 4 deletions

View file

@ -63,6 +63,7 @@ class CitizenTemplate extends BaseTemplate {
'data-footer' => [
'html-userlangattributes' => $this->get( 'userlangattributes', '' ),
'html-lastmodified' => $this->getLastMod(),
'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(),
'msg-citizen-footer-desc' => $this->getMsg( 'citizen-footer-desc' )->text(),
'array-footer-rows' => $this->getFooterRows(),
'msg-citizen-footer-tagline' => $this->getMsg( 'citizen-footer-tagline' )->text(),
@ -71,7 +72,6 @@ class CitizenTemplate extends BaseTemplate {
'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(),
'main-page-href' => Skin::makeMainPageUrl(),
'main-page-tooltip' => Linker::tooltipAndAccesskeyAttribs( 'p-logo' ),
];
// TODO: Convert the header to Mustache

View file

@ -30,7 +30,7 @@
<div id="footer-sitetitle" class="mw-wiki-title">{{{msg-sitetitle}}}</div>
<div id="footer-desc">{{{msg-citizen-footer-desc}}}</div>
{{#array-footer-rows}}
<ul id="{{id}}" class="{{className}}">
<ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
{{#array-items}}
<li id="{{id}}">{{{html}}}</li>
{{/array-items}}
@ -41,7 +41,7 @@
<div id="footer-bottom-content">
<div id="footer-tagline">{{{msg-citizen-footer-tagline}}}</div>
{{#array-footer-icons}}
<ul id="{{id}}" class="{{className}}">
<ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
{{#array-items}}
<li id="{{id}}">{{{html}}}</li>
{{/array-items}}

View file

@ -52,7 +52,7 @@
</main>
{{#data-footer}}{{>Footer}}{{/data-footer}}
<div class="mw-sidebar-sitename" role="banner">
<a class="mw-wiki-title" href="{{{main-page-href}}}" {{{main-page-tooltip}}}>{{{msg-sitetitle}}}</a>
<a class="mw-wiki-title" href="{{{main-page-href}}}">{{{msg-sitetitle}}}</a>
</div>
{{{html-unported}}}
{{{html-printtail}}}