blob: cbeea17607c7de82fabd0c687f2e60c6ccd04526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
/**
* Provides heading, summaryheading and free text addition for stats output in
* wiki format.
*
* @ingroup Stats
*/
class TranslateStatsOutput extends WikiStatsOutput {
public function heading() {
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";
}
public function summaryheading() {
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";
}
public function addFreeText( $freeText ) {
echo $freeText;
}
}
|