r24236 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24235‎ | r24236 | r24237 >
Date:10:11, 18 July 2007
Author:robchurch
Status:old
Tags:
Comment:
No reason for the sizes to be tiny...
Modified paths:
  • /branches/robchurch/pr_timestamp/includes/ProtectedPagesPager.php (modified) (history)

Diff [purge]

Index: branches/robchurch/pr_timestamp/includes/ProtectedPagesPager.php
@@ -78,7 +78,7 @@
7979
8080 # Size indicator
8181 $size = $row->page_len
82 - ? '<small>' . wfMsgHtml( 'historysize', $wgLang->formatNum( $row->page_len ) ) . '</small> '
 82+ ? $skin->formatSize( $row->page_len )
8383 : '';
8484
8585 # Protection level
@@ -92,7 +92,7 @@
9393 }
9494
9595 wfProfileOut( __METHOD__ );
96 - return "<li>{$timestamp} {$page} {$size}({$level}{$expire})</li>";
 96+ return "<li>{$timestamp} {$page} [{$size}] ({$level}{$expire})</li>";
9797 }
9898
9999 /**

Status & tagging log