r77510 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77509‎ | r77510 | r77511 >
Date:21:01, 30 November 2010
Author:aaron
Status:ok
Tags:
Comment:
(bug 14128) Made icon-box start off hidden to make non-JS browsing avoid overlap problems
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevsXML.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/client/flaggedrevs.js (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -255,7 +255,7 @@
256256 $wgAvailableRights[] = 'stablesettings';
257257
258258 # Bump this number every time you change flaggedrevs.css/flaggedrevs.js
259 -$wgFlaggedRevStyleVersion = 81;
 259+$wgFlaggedRevStyleVersion = 82;
260260
261261 $wgExtensionFunctions[] = 'efLoadFlaggedRevs';
262262
Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php
@@ -267,7 +267,7 @@
268268 array(
269269 'id' => 'mw-fr-revisiondetails',
270270 'class' => 'flaggedrevs_short_details',
271 - )
 271+ 'style' => 'display:none' )
272272 );
273273 $box .= $html; // details text
274274 # Add any rating tags as needed...
Index: trunk/extensions/FlaggedRevs/client/flaggedrevs.js
@@ -21,10 +21,6 @@
2222 var toggle = document.getElementById('mw-fr-revisiontoggle');
2323 if( toggle ) {
2424 toggle.style.display = 'inline';
25 - var ratings = document.getElementById('mw-fr-revisiondetails');
26 - if( ratings ) {
27 - ratings.style.display = 'none';
28 - }
2925 }
3026 // Diff detail box
3127 toggle = document.getElementById('mw-fr-difftoggle');

Follow-up revisions

RevisionCommit summaryAuthorDate
r78538Merged r77510 from trunk. (bug 14128)pdhanda18:18, 17 December 2010

Status & tagging log