dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialMediaStatistics.php
diff --git
a/includes/specials/SpecialMediaStatistics.php
b/includes/specials/SpecialMediaStatistics.php
index
e591da0
..
a56a745
100644
(file)
--- a/
includes/specials/SpecialMediaStatistics.php
+++ b/
includes/specials/SpecialMediaStatistics.php
@@
-156,7
+156,10
@@
class MediaStatisticsPage extends QueryPage {
* Output closing </table>
*/
protected function outputTableEnd() {
* Output closing </table>
*/
protected function outputTableEnd() {
- $this->getOutput()->addHTML( Html::closeElement( 'table' ) );
+ $this->getOutput()->addHTML(
+ Html::closeElement( 'tbody' ) .
+ Html::closeElement( 'table' )
+ );
$this->getOutput()->addWikiTextAsInterface(
$this->msg( 'mediastatistics-bytespertype' )
->numParams( $this->totalPerType )
$this->getOutput()->addWikiTextAsInterface(
$this->msg( 'mediastatistics-bytespertype' )
->numParams( $this->totalPerType )
@@
-258,7
+261,10
@@
class MediaStatisticsPage extends QueryPage {
* @param string $mediaType
*/
protected function outputTableStart( $mediaType ) {
* @param string $mediaType
*/
protected function outputTableStart( $mediaType ) {
- $this->getOutput()->addHTML(
+ $out = $this->getOutput();
+ $out->addModuleStyles( 'jquery.tablesorter.styles' );
+ $out->addModules( 'jquery.tablesorter' );
+ $out->addHTML(
Html::openElement(
'table',
[ 'class' => [
Html::openElement(
'table',
[ 'class' => [
@@
-267,9
+273,10
@@
class MediaStatisticsPage extends QueryPage {
'sortable',
'wikitable'
] ]
'sortable',
'wikitable'
] ]
- )
+ ) .
+ Html::rawElement( 'thead', [], $this->getTableHeaderRow() ) .
+ Html::openElement( 'tbody' )
);
);
- $this->getOutput()->addHTML( $this->getTableHeaderRow() );
}
/**
}
/**