r114086 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r114085
|
r114086
|
r114087
>
Date:
22:47, 17 March 2012
Author:
reedy
Status:
reverted
Tags:
gerritmigration
Comment:
Noralise a few of the magic numbers used in
r114084
Modified paths:
/trunk/phase3/tests/phpunit/languages/LanguageTest.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/tests/phpunit/languages/LanguageTest.php
—
—
@@ -705,7 +705,7 @@
706
706
"2 days",
707
707
),
708
708
array(
709
- 365.25 * 86400,
709
+ 365.25 * 86400, // 365.25 * 86400 = 31557600
710
710
"1 year",
711
711
),
712
712
array(
—
—
@@ -717,7 +717,7 @@
718
718
"1 decade",
719
719
),
720
720
array(
721
- 2 * 10 * 31557600,
721
+ 20 * 31557600,
722
722
"2 decades",
723
723
),
724
724
array(
—
—
@@ -733,7 +733,7 @@
734
734
"1 millennium",
735
735
),
736
736
array(
737
- 2 * 1000 * 31557600,
737
+ 2000 * 31557600,
738
738
"2 millennia",
739
739
),
740
740
);
Follow-up revisions
Revision
Commit summary
Author
Date
r114326
Revert
r114067
,
r114071
,
r114075
,
r114079
,
r114081
,
r114082
,
r114084
,
r114086...
...
catrope
23:03, 20 March 2012
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r114084
Unit tests for
r114067
reedy
22:39, 17 March 2012
Status & tagging log
23:04, 20 March 2012
Catrope
(
talk
|
contribs
)
changed the
status
of r114086
[
removed:
ok
added:
reverted]
22:12, 20 March 2012
Catrope
(
talk
|
contribs
)
changed the
tags
for r114086
[
added:
gerritmigration]
01:03, 20 March 2012
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r114086
[
removed:
new
added:
ok]