r112135 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112134‎ | r112135 | r112136 >
Date:19:07, 22 February 2012
Author:wikinaut
Status:deferred
Tags:
Comment:
removed spurious yellow line in css stylesheet (display:none on load)
Modified paths:
  • /trunk/extensions/AJAXPoll/AJAXPoll.css (modified) (history)
  • /trunk/extensions/AJAXPoll/AJAXPoll.php (modified) (history)
  • /trunk/extensions/AJAXPoll/AJAXPoll_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AJAXPoll/AJAXPoll.php
@@ -31,7 +31,7 @@
3232 $wgExtensionCredits['parserhook'][] = array(
3333 'path' => __FILE__,
3434 'name' => 'AJAX Poll',
35 - 'version' => '1.603 20120219',
 35+ 'version' => '1.604 20120222',
3636 'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries' ),
3737 'descriptionmsg' => 'ajaxpoll-desc',
3838 'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll',
Index: trunk/extensions/AJAXPoll/AJAXPoll.css
@@ -83,6 +83,7 @@
8484 width: 200px;
8585 border-radius: 0.5em;
8686 -moz-border-radius: 0.5em;
 87+ display: none;
8788 }
8889
8990 .ajaxpoll .ajaxpoll-info {
Index: trunk/extensions/AJAXPoll/AJAXPoll_body.php
@@ -265,10 +265,10 @@
266266
267267 if ( is_object( $wgTitle ) ) {
268268 if( !empty( $extra_from_ajax ) ) {
269 - $attributes = ' style="display: block;"';
 269+ $attributes = ' style="display:block;"';
270270 $ajaxMessage = wfMsg( $extra_from_ajax );
271271 } else {
272 - $attributes = '';
 272+ $attributes = ' style="display:none;"';
273273 $ajaxMessage = '';
274274 }
275275 // HTML output has to be on one line thanks to a MediaWiki bug

Status & tagging log