Merge "Add DataAfterContent to footer (SkinAfterContent hook)"

This commit is contained in:
jenkins-bot 2019-06-28 12:20:27 +00:00 committed by Gerrit Code Review
commit a06df4ec9b
3 changed files with 3 additions and 1 deletions

View File

@ -264,6 +264,7 @@ class MinervaTemplate extends BaseTemplate {
'subtitle' => $data['subtitle'], 'subtitle' => $data['subtitle'],
'contenthtml' => $this->getContentHtml( $data ), 'contenthtml' => $this->getContentHtml( $data ),
'secondaryactionshtml' => $this->getSecondaryActionsHtml(), 'secondaryactionshtml' => $this->getSecondaryActionsHtml(),
'dataAfterContent' => $this->get( 'dataAfterContent' ),
'footer' => $this->getFooterTemplateData( $data ), 'footer' => $this->getFooterTemplateData( $data ),
'isBeta' => $skinOptions->get( SkinOptions::OPTIONS_MOBILE_BETA ), 'isBeta' => $skinOptions->get( SkinOptions::OPTIONS_MOBILE_BETA ),
'tabs' => $this->showTalkTabs( $hasPageActions, $skinOptions ) && 'tabs' => $this->showTalkTabs( $hasPageActions, $skinOptions ) &&

View File

@ -2,6 +2,7 @@
<footer class="minerva-footer"> <footer class="minerva-footer">
{{{lastmodified}}} {{{lastmodified}}}
<div class="post-content footer-content"> <div class="post-content footer-content">
{{{dataAfterContent}}}
<h2>{{{headinghtml}}}</h2> <h2>{{{headinghtml}}}</h2>
<div class="license">{{{licensehtml}}}</div> <div class="license">{{{licensehtml}}}</div>
{{#lists}} {{#lists}}

View File

@ -56,4 +56,4 @@
</div> </div>
</div> </div>
<div class="mw-notification-area" data-mw="interface"></div> <div class="mw-notification-area" data-mw="interface"></div>
<!-- v:8.1.6 --> <!-- v:8.1.7 -->