r70533 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70532‎ | r70533 | r70534 >
Date:00:37, 6 August 2010
Author:mah
Status:reverted
Tags:
Comment:
Fix failing parserTests by defineing wgUseDynamicDates=1 as required by r70501
(Without these mods later unrelated tests also fail… needs checking)
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -7792,6 +7792,8 @@
77937793
77947794 !!test
77957795 formatdate parser function
 7796+!! config
 7797+wgUseDynamicDates=1
77967798 !!input
77977799 {{#formatdate:2009-03-24}}
77987800 !! result
@@ -7801,6 +7803,8 @@
78027804
78037805 !!test
78047806 formatdate parser function, with default format
 7807+!! config
 7808+wgUseDynamicDates=1
78057809 !!input
78067810 {{#formatdate:2009-03-24|mdy}}
78077811 !! result
@@ -7821,6 +7825,8 @@
78227826
78237827 !! test
78247828 Spacing of numbers in formatted dates
 7829+!! config
 7830+wgUseDynamicDates=1
78257831 !! input
78267832 {{#formatdate:January 15}}
78277833 !! result

Follow-up revisions

RevisionCommit summaryAuthorDate
r70651Revert r70533 and the piece of r70501 that it tried to fix. Note and open bug...platonides21:21, 7 August 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70501Move the math option inside ParserOptions instead of having Math.php directly...platonides15:24, 5 August 2010

Status & tagging log