r56077 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r56076
|
r56077
|
r56078
>
Date:
23:32, 8 September 2009
Author:
werdna
Status:
ok
Tags:
Comment:
Add number formatting for numeric limits, regression in
r55692
Modified paths:
/trunk/phase3/includes/Pager.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Pager.php
—
—
@@ -884,7 +884,8 @@
885
885
# will be numeric, or $limit => $text, in which case the $value
886
886
# will be a string.
887
887
if( is_int( $value ) ){
888
- $limit = $text = $value;
888
+ $limit = $value;
889
+ $text = $wgLang->formatNum( $limit );
889
890
} else {
890
891
$limit = $key;
891
892
$text = $value;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r55692
Reimplement
r55685
,
r55686
,
r55687
, with correct parsing of the associative a...
happy-melon
11:30, 31 August 2009
Status & tagging log
23:44, 8 September 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r56077
[
removed:
new
added:
ok]