Prtksxna has uploaded a new change for review.
https://gerrit.wikimedia.org/r/227685
Change subject: Remove redundant div.pritnfooter
......................................................................
Remove redundant div.pritnfooter
Bug: T107234
Change-Id: I65073b49f06913f2d4fedd446dd8646f387d37d4
---
M templates/Skin.php
M templates/Skin.template
2 files changed, 3 insertions(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Blueprint
refs/changes/85/227685/1
diff --git a/templates/Skin.php b/templates/Skin.php
index 0035c42..438c41c 100644
--- a/templates/Skin.php
+++ b/templates/Skin.php
@@ -29,6 +29,7 @@
'partials' => array(),
'scopes' => array(),
'sp_vars' => array('root' => $in),
+ 'lcrun' => 'LCRun3',
'funcs' => array(
'v' => function ($cx, $base, $path) {
$count = count($cx['scopes']);
@@ -63,7 +64,7 @@
case -1:
$base = $cx['sp_vars']['root'];
break;
- case -2;
+ case -2:
return null;
default:
$base = $cx['scopes'][$count];
@@ -281,10 +282,7 @@
' : '').' <div class="mw-body-content" id="bodyContent">
'.$cx['funcs']['v']($cx, $in, array('bodytext')).'
</div>
-'.(($cx['funcs']['ifvar']($cx, $cx['funcs']['v']($cx, $in,
array('printfooter')))) ? ' <div class="printfooter">
- '.$cx['funcs']['v']($cx, $in,
array('printfooter')).'
- </div>
-' : '').' </div>
+ </div>
</body>
'.$cx['funcs']['v']($cx, $in, array('debughtml')).'
diff --git a/templates/Skin.template b/templates/Skin.template
index bf62a20..0eaee20 100755
--- a/templates/Skin.template
+++ b/templates/Skin.template
@@ -69,11 +69,6 @@
<div class="mw-body-content" id="bodyContent">
{{{bodytext}}}
</div>
- {{#if printfooter}}
- <div class="printfooter">
- {{{printfooter}}}
- </div>
- {{/if}}
</div>
</body>
--
To view, visit https://gerrit.wikimedia.org/r/227685
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I65073b49f06913f2d4fedd446dd8646f387d37d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Blueprint
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits