Last modified: 2010-05-15 14:35:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4217, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2217 - preference settings for ''2001-01-15" dates for negative years incorrectly implemented
preference settings for ''2001-01-15" dates for negative years incorrectly im...
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-05-21 14:26 UTC by Gene Nygaard
Modified: 2010-05-15 14:35 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Gene Nygaard 2005-05-21 14:26:45 UTC
This is a problem involving signs of numbers, with a major mistake in

<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)]]
Comment 1 Anders Wegge Jakobsen 2005-05-22 12:50:09 UTC
Fixed in REL1_4 and HEAD.
Comment 2 Gene Nygaard 2005-05-23 14:08:31 UTC
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.
Comment 3 Anders Wegge Jakobsen 2005-05-23 14:14:17 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.