Page MenuHomePhabricator

preference settings for ''2001-01-15" dates for negative years incorrectly implemented
Closed, ResolvedPublic

Description

Author: gnygaard

Description:
This is a problem involving signs of numbers, with a major mistake in
implementation.

<nowiki>[[15 March]] [[44 BC]] </nowiki> ([[15 March]] [[44 BC]]) displays as
-0043-03-15 (correct) and 15 March 44 BC (correct)

<nowiki>[[-0044-03-15]] </nowiki> ([[-0044-03-15]]) displays as -0044-03-15
(correct) and 15 March 43 BC (incorrect, should be 15 March 45 BC).

When BC dates are converted to negative numbers, you need to subtract one from
the [[absolute value]] of the BC date. Don't convert to 44 BC to a negative
number -44 and then subtract one. The year 44 BC corresponds to -43, not to
-45. The year -44 (-0044) corresponds to 45 BC, not 43 BC. If you get lost,
just go back to the beginning and figure out that zero is 1 BC, -1 is 2 BC, etc.

This has been discussed a long time ago on [[Wikipedia talk:Manual of Style
(dates and numbers)]]
~~~~


Version: unspecified
Severity: normal

Details

Reference
bz2217

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:28 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz2217.
bzimport added a subscriber: Unknown Object (MLST).

wegge wrote:

Fixed in REL1_4 and HEAD.

gnygaard wrote:

Unless there is a considerable delay time between fixing and implementation, this still
isn't fixed: <nowiki>[[-0044-03-15]] </nowiki> ([[-0044-03-15]]) still displays as 15
March 43 BC which is incorrect, it should be 15 March 45 BC.

wegge wrote:

The syncing to the live sites are a manual process, and in this case it
obviously hasn't been done yet. Right now, there are more pressing task with the
upcoming 1.5 release, so please be patient.