MYSTlore talk:Date input

From MYSTlore

Jump to: navigation, search

<hahr>7656</hahr> displays 0 as the Gregorian year. There is no year 0. Also there should be something like <hahr2></hahr2> that is the same as <hahr></hahr> except without the "DE". That way "three years later" could be written three years later (925 BC) instead of three years later DE|6731 DE|three years later DE (925 BC). Gorobay 18:26, 8 September 2007 (CDT)

Lack of year zero: heh, good point, will fix as soon as I can.
On the second point: you're actually requesting two things; an option for no suffixes as well as one for a different label. I'll add a suffixes attribute that takes the values both, hahr, year and none, so in your above example, you'd write <hahr suffixes="year">6731</hahr> (i.e., still display the year suffix, but not the hahr one. A label attribute should take care of the other thing. So you'd do <hahr suffixes="year" label="three years later">6731</hahr>, and get your desired three years later (925 BC). Chucker 18:36, 8 September 2007 (CDT)

Now seems to do the right thing: 7655 DE (1 BC) and 7656 DE (1 AD). Also: <hahr label="three years later">6731</hahr> now becomes three years later (925 BC). I've also implemented suffix as described above, but I realized it's superfluous in your particular example; if you customize the label, the suffix is dropped automatically. Both attributes are currently exclusive for <hahr>; neither <year> nor <hahrtee> support them at this point. I'm not entirely positive if <year> behaves correctly wrt/ year 0. Chucker 22:36, 8 September 2007 (CDT)

There should be a way of telling <hahr> that the year should be the previous one. So, <hahr year="previous">6731</hahr> would be 926 BC instead of 925 BC as it is now. Gorobay

I assume this is to work around current inaccuracies with the conversion? Either way, not hard to add. Should be done by tonight. Chucker 14:17, 13 September 2007 (CDT)
  • <hahr>6731</hahr>: 6731 DE (925 BC)
    <hahr year="previous">6731</hahr>: 6731 DE (926 BC)
  • <hahrtee>6731-6749</hahrtee>: 6731 - 6749 DE (925 - 907 BC)
    <hahrtee years="previous">6731-6749</hahrtee>: 6731 - 6749 DE (926 - 908 BC)

Like this? Chucker 21:48, 13 September 2007 (CDT)

[edit] Using<year>

When should these tags be used? I think <hahr> should always be used, but when would <year> be appropriate? Should I edit Reepah to be "In a short exploratory trip into Negilahn on March 21, 2007 AD (9663 DE), Douglas Sharper, Nick White and Rils discovered the carcass of a reepah", for instance?

I suppose you could. Right now, I've only used <year> when I wasn't sure of the hahr, but was of the year. Since the conversion isn't 100% accurate, this put more focus on the information I knew. I wouldn't recommend filling all current events (e.g., the episode pages) with year tags all over the place, but when you have an article where there's only a handful of years, it sounds like a decent idea. Chucker 02:30, 13 September 2007 (CDT)

I think that "AD" after the year number is unnecessary. When there are a lot of years near each other, it gets too repetitive. It should be kept for<hahr>, but not for<year>. Gorobay 14:50, 16 November 2007 (CST)

Been thinking along similar lines. Perhaps I can come up with an algorithm that only adds it when some dates in the article aren't AD. Chucker 15:53, 16 November 2007 (CST)
I think that it would be fine never to say AD at all, and only to have BC. Gorobay 16:37, 16 November 2007 (CST)

[edit] BE

<hahrtee> can now accept negative values for BE; see Ri'neref and Ailesh. As you'd probably expect, just prefix a hahr with a minus. <hahr> does not support this yet. Chucker 14:24, 28 September 2007 (CDT)

<hahr> now does, too. Chucker 11:11, 29 September 2007 (CDT)

[edit] <date>

April 21, 1806 ( 290, 9625): This doesn't work for early dates.
August 7, 2007 (Leesahn 28, 9663): The extra zero looks silly. Gorobay 12:47, 10 November 2007 (CST)

I've changed the default format from 'F d, Y' to 'F j, Y' (so your above is already fixed), which differs in that there's no more leading zero. (I'd actually like to use 'F jS, Y', which would add an ordinal suffix, like "3rd" or "4th". However, I don't know if there are any equivalents in D'ni, and it would look weird if the English side did show them and the D'ni one did not.)
As for early dates: working on it. Anything before the rosetta date (in 1991) won't work right at this point. Chucker 12:53, 10 November 2007 (CST)

January 3, 2007 (Leevosahn 1, 9662) is messed up. There is no Leevosahn 0. Gorobay 14:47, 18 November 2007 (CST)

There goes my next weekend. ;-) Chucker 14:51, 18 November 2007 (CST)
Perhaps it's correct now. Chucker 17:06, 18 November 2007 (CST)
It isn't: there's no Leevosahn -289. Gorobay 05:42, 19 November 2007 (CST)
Where do you see that? Cate Alexander shows Leevosahn 1 for me. Chucker 05:44, 19 November 2007 (CST)

(Try purging a page, like http://en.mystlore.com/wiki/Cate_Alexander?action=purge. Sometimes excessive caching messes things up. Chucker 15:24, 19 November 2007 (CST))

Yeah, that worked. Thanks. Gorobay 15:49, 19 November 2007 (CST)

There is no Leevotar 0 as February 8, 2007 (Leevotar 1, 9662) says. I tried http://en.mystlore.com/wiki/Tweek?action=purge, but it did not work. Gorobay 05:40, 29 November 2007 (CST)

Yep, I already saw. I'll hopefully be able to check later today. :\ Chucker 05:58, 29 November 2007 (CST)
Personal tools