r62298 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62297‎ | r62298 | r62299 >
Date:08:47, 11 February 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Use consistent CSS class names and remove unused class in CSS file.
Modified paths:
  • /trunk/extensions/Translate/Translate.css (modified) (history)
  • /trunk/extensions/Translate/utils/MessageWebImporter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.css
@@ -154,7 +154,7 @@
155155 padding: 0.5em;
156156 }
157157
158 -.mw-tpt-sp-legend, .mw-translate-manage-legend {
 158+.mw-tpt-sp-legend {
159159 font-weight: bold;
160160 }
161161
Index: trunk/extensions/Translate/utils/MessageWebImporter.php
@@ -428,7 +428,7 @@
429429 */
430430 public static function makeSectionElement( $legend, $type, $content ) {
431431 $containerParams = array( 'class' => "mw-tpt-sp-section mw-tpt-sp-section-type-{$type}" );
432 - $legendParams = array( 'class' => 'mw-translate-manage-legend' );
 432+ $legendParams = array( 'class' => 'mw-tpt-sp-legend' );
433433 $contentParams = array( 'class' => 'mw-tpt-sp-content' );
434434
435435 return Xml::tags(

Status & tagging log