r86785 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86784‎ | r86785 | r86786 >
Date:18:08, 23 April 2011
Author:krinkle
Status:deferred
Tags:
Comment:
add class to groupstatistics tables. Enables (local) scripts and stylesheets to target them
Modified paths:
  • /trunk/extensions/Translate/scripts/groupStatistics.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/groupStatistics.php
@@ -190,11 +190,11 @@
191191 */
192192 class TranslateStatsOutput extends wikiStatsOutput {
193193 function heading() {
194 - echo '{| class="sortable wikitable" border="2" cellpadding="4" cellspacing="0" style="background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear:both;" width="100%"' . "\n";
 194+ echo '{| class="mw-ext-translate-groupstatistics sortable wikitable" border="2" cellpadding="4" cellspacing="0" style="background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear:both;" width="100%"' . "\n";
195195 }
196196
197197 function summaryheading() {
198 - echo "\n" . '{| class="sortable wikitable" border="2" cellpadding="4" cellspacing="0" style="background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear:both;"' . "\n";
 198+ echo "\n" . '{| class="mw-ext-translate-groupstatistics sortable wikitable" border="2" cellpadding="4" cellspacing="0" style="background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear:both;"' . "\n";
199199 }
200200
201201 function addFreeText( $freeText ) {

Status & tagging log