jenkins-bot has submitted this change and it was merged.
Change subject: Add support for page status indicators
......................................................................
Add support for page status indicators
Corresponding patch in core: I2389ff9a5332a2b1d033eb75f0946e5241cfaaf4.
Bug: 23796
Change-Id: I62c33ebf8a2cb9838f922f53778696954889f9c1
---
M SkinModern.php
M resources/main.css
2 files changed, 16 insertions(+), 5 deletions(-)
Approvals:
Jforrester: Looks good to me, approved
jenkins-bot: Verified
diff --git a/SkinModern.php b/SkinModern.php
index e12ad35..3321e2d 100644
--- a/SkinModern.php
+++ b/SkinModern.php
@@ -66,10 +66,13 @@
?>
<!-- heading -->
- <div id="mw_header"><h1 id="firstHeading" lang="<?php
+ <div id="mw_header">
+ <?php echo $this->getIndicators(); ?>
+ <h1 id="firstHeading" lang="<?php
$this->data['pageLanguage'] =
$this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();
$this->text( 'pageLanguage' );
- ?>"><span dir="auto"><?php $this->html( 'title' )
?></span></h1></div>
+ ?>"><span dir="auto"><?php $this->html( 'title' )
?></span></h1>
+ </div>
<div id="mw_main">
<div id="mw_contentwrapper">
diff --git a/resources/main.css b/resources/main.css
index 1ce8ada..8c8ce3c 100644
--- a/resources/main.css
+++ b/resources/main.css
@@ -27,9 +27,19 @@
border: none;
height: 2em;
width: 100%;
-
background-color: #003366;
color: white;
+}
+
+.mw-indicators {
+ float: right;
+}
+
+.mw-indicator {
+ display: -moz-inline-block;
+ display: inline-block;
+ zoom: 1;
+ *display: inline;
}
#mw_header h1 {
@@ -47,7 +57,6 @@
margin: 0 0 0 0;
padding: 0 0 0 0;
width: 100%;
-
}
#p-personal div.pBody {
@@ -649,7 +658,6 @@
margin: 0 0 0 0;
}
-#mw_header h1,
#p-personal,
#p-cactions {
overflow: hidden;
--
To view, visit https://gerrit.wikimedia.org/r/163559
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I62c33ebf8a2cb9838f922f53778696954889f9c1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Modern
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoĆski <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Trevor Parscal <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits