jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/328295 )
Change subject: Only output div#new-talk when it makes sense
......................................................................
Only output div#new-talk when it makes sense
Bug: T153625
Change-Id: I06dfe3667d0b0f8ad8205a5cd40dbf2678b9ddeb
---
M Refreshed.skin.php
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Jack Phoenix: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Refreshed.skin.php b/Refreshed.skin.php
index 457507f..80ee2f5 100644
--- a/Refreshed.skin.php
+++ b/Refreshed.skin.php
@@ -458,10 +458,13 @@
</div>
<?php
}
+ // Only output this if we need to (T153625)
+ if ( $this->data['newtalk'] ) {
?>
<div id="new-talk">
<?php $this->html( 'newtalk' ) ?>
</div>
+ <?php } ?>
<main id="content">
<article>
<header id="content-heading">
--
To view, visit https://gerrit.wikimedia.org/r/328295
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I06dfe3667d0b0f8ad8205a5cd40dbf2678b9ddeb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Refreshed
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits