[WikiEN-l] Fwd: [Wikitech-l] BC vs BCE era names

David Gerard dgerard at gmail.com
Tue Sep 5 07:48:39 UTC 2006


The vexed question may be solved by technical means!


- d.


---------- Forwarded message ----------
From: Neil Harris <neil at tonal.clara.co.uk>
Date: 05-Sep-2006 08:41
Subject: Re: [Wikitech-l] BC vs BCE era names
To: Wikimedia developers <wikitech-l at wikimedia.org>


Bill Clark wrote:
> I've added the ability to specify a preference (or no preference) for
> era names in dates (BC vs. BCE).  I've also fixed a couple bugs in the
> regular expressions that match for dates, that were preventing the
> parser from recognizing (and converting) dates that ended in BCE or
> which were written in ISO format and fell between -999-01-01 and
> 999-12-31 (i.e. had a one-, two-, or three-digit year).
>
> I'm not an actual committer so I'm submitting this as a diff -ru to
> the mailing list.  I'm sure that's the wrong procedure and I'll be
> scolded for it, but hey I'll learn.
>
> I've tested this and it works on my local version (checked out of svn
> a few hours ago) but I imagine it should be tested more.
>
> -Bill Clark
>
>
That's a great idea. It might also be useful to make the code also
switch 'AD' and 'CE', for dates such as, for example, 4 AD / 4 CE.

-- Neil

_______________________________________________
Wikitech-l mailing list
Wikitech-l at wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l



More information about the WikiEN-l mailing list