r110408 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110407‎ | r110408 | r110409 >
Date:17:01, 31 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Use class which allows customizing styling
Modified paths:
  • /trunk/extensions/Translate/resources/ext.translate.css (modified) (history)
  • /trunk/extensions/Translate/tag/PageTranslationHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/PageTranslationHooks.php
@@ -452,7 +452,7 @@
453453
454454 $legend = Html::rawElement(
455455 'div',
456 - array( 'style' => 'font-size: x-small; text-align: center;' ),
 456+ array( 'class' => 'mw-pt-translate-header' ),
457457 $wgLang->semicolonList( $actions )
458458 ) . Html::element( 'hr' );
459459
Index: trunk/extensions/Translate/resources/ext.translate.css
@@ -27,3 +27,8 @@
2828 .mw-pt-languages-list {
2929 padding: 0.5em;
3030 }
 31+
 32+.mw-pt-translate-header {
 33+ font-size: x-small;
 34+ text-align: center;
 35+}

Follow-up revisions

RevisionCommit summaryAuthorDate
r110738MFT 1.18wmf1 r110309 r110364 r110408 r110471 r110475nikerabbit11:00, 6 February 2012

Status & tagging log