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' => [ 'data-footer' => [
'html-userlangattributes' => $this->get( 'userlangattributes', '' ), 'html-userlangattributes' => $this->get( 'userlangattributes', '' ),
'html-lastmodified' => $this->getLastMod(), 'html-lastmodified' => $this->getLastMod(),
'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(),
'msg-citizen-footer-desc' => $this->getMsg( 'citizen-footer-desc' )->text(), 'msg-citizen-footer-desc' => $this->getMsg( 'citizen-footer-desc' )->text(),
'array-footer-rows' => $this->getFooterRows(), 'array-footer-rows' => $this->getFooterRows(),
'msg-citizen-footer-tagline' => $this->getMsg( 'citizen-footer-tagline' )->text(), 'msg-citizen-footer-tagline' => $this->getMsg( 'citizen-footer-tagline' )->text(),
@ -71,7 +72,6 @@ class CitizenTemplate extends BaseTemplate {
'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(), 'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(),
'main-page-href' => Skin::makeMainPageUrl(), 'main-page-href' => Skin::makeMainPageUrl(),
'main-page-tooltip' => Linker::tooltipAndAccesskeyAttribs( 'p-logo' ),
]; ];
// TODO: Convert the header to Mustache // 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-sitetitle" class="mw-wiki-title">{{{msg-sitetitle}}}</div>
<div id="footer-desc">{{{msg-citizen-footer-desc}}}</div> <div id="footer-desc">{{{msg-citizen-footer-desc}}}</div>
{{#array-footer-rows}} {{#array-footer-rows}}
<ul id="{{id}}" class="{{className}}"> <ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
{{#array-items}} {{#array-items}}
<li id="{{id}}">{{{html}}}</li> <li id="{{id}}">{{{html}}}</li>
{{/array-items}} {{/array-items}}
@ -41,7 +41,7 @@
<div id="footer-bottom-content"> <div id="footer-bottom-content">
<div id="footer-tagline">{{{msg-citizen-footer-tagline}}}</div> <div id="footer-tagline">{{{msg-citizen-footer-tagline}}}</div>
{{#array-footer-icons}} {{#array-footer-icons}}
<ul id="{{id}}" class="{{className}}"> <ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
{{#array-items}} {{#array-items}}
<li id="{{id}}">{{{html}}}</li> <li id="{{id}}">{{{html}}}</li>
{{/array-items}} {{/array-items}}

View file

@ -52,7 +52,7 @@
</main> </main>
{{#data-footer}}{{>Footer}}{{/data-footer}} {{#data-footer}}{{>Footer}}{{/data-footer}}
<div class="mw-sidebar-sitename" role="banner"> <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> </div>
{{{html-unported}}} {{{html-unported}}}
{{{html-printtail}}} {{{html-printtail}}}