r100964 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100963‎ | r100964 | r100965 >
Date:12:12, 27 October 2011
Author:petrb
Status:deferred
Tags:
Comment:
renamed so that it doesn't collide with existing css if there was a method to load style before it get parsed from globals like
mediawiki:vector.css
it would be better to have it overriden from that, but I don't know if it's possible
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php (modified) (history)
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.css (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php
@@ -21,7 +21,7 @@
2222 global $wgOnlineStatusBarColor, $wgOnlineStatusBarY;
2323 $color = $wgOnlineStatusBarColor[$mode];
2424 return <<<HTML
25 -<div style="right:0px; margin-top:-10px;" class="metadata topicon" id="status-top">
 25+<div style="right:0px; margin-top:-10px;" class="metadata topiconstatus" id="status-top">
2626 <div style="border: 0px solid black; background: transparent; float: right; position: relative; top: {$wgOnlineStatusBarY}px; padding: 5px">
2727 $text</div></div>
2828 HTML;
Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.css
@@ -2,7 +2,7 @@
33 This is a part of css used on english wp, it's needed for wikis
44 where topicon isn't defined
55 */
6 -div.topicon {
 6+div.topiconstatus {
77 position: absolute;
88 top: -2em;
99 margin-right: -10px;

Status & tagging log