Restore div wrapper around print footer
Div with a `printfooter` class that is hidden on normal page views
Bug: T257914
Change-Id: Ibd3e73076f290a92671c7cdd72672921fa64fc05
(cherry picked from commit 56dbfd9a46
)
This commit is contained in:
parent
b540dadfb3
commit
a6445a69c2
|
@ -102,6 +102,12 @@ class SkinVector extends SkinTemplate {
|
|||
];
|
||||
}
|
||||
|
||||
$printFooter = Html::rawElement(
|
||||
'div',
|
||||
[ 'class' => 'printfooter' ],
|
||||
$this->printSource()
|
||||
);
|
||||
|
||||
return [
|
||||
// Data objects:
|
||||
'array-indicators' => $indicators,
|
||||
|
@ -119,7 +125,7 @@ class SkinVector extends SkinTemplate {
|
|||
'html-undelete-link' => $this->prepareUndeleteLink() ?: null,
|
||||
// Result of OutputPage::addHTML calls
|
||||
'html-body-content' => $this->wrapHTML( $title, $out->mBodytext )
|
||||
. $this->printSource(),
|
||||
. $printFooter,
|
||||
'html-after-content' => $this->afterContentHook(),
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue