The vexed question may be solved by technical means!
- d.
---------- Forwarded message ---------- From: Neil Harris neil@tonal.clara.co.uk Date: 05-Sep-2006 08:41 Subject: Re: [Wikitech-l] BC vs BCE era names To: Wikimedia developers wikitech-l@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@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l