Gentlemen:
This might seem a strange request, but I think about it every time I
write a query (with #ask and now with #show) with a non-linear data
type, either Temperature or my new Historical Date.
I would like to be able to specify, in the query, which unit (as kelvins
or degrees Celsius, Fahrenheit, or Rankine) or which calendar (as
Gregorian, Hillel, or AM) should display in query output. For example,
say I wanted to write a biographical article on David ben-Gurion. Now as
it stands, I can /annotate/ his dates of birth and death (or any other
event in his life) in the Hillel II calendar. But if I write a query,
I'm going to get it in the Gregorian calendar, and I'm pretty much stuck
with that.
How do I enable my custom script (SMW_DV_HxDate.php) to support
specified calendar formats for query processing?
What output does the query processor even ask for? I think it's
ShortWikiText, because I get the tooltip dialog balloon.
But how do I get the baseline value to display according to a calendar
other than the Julio-Gregorian calendar (that is, BC/AD)? In short, how
do I get this:
{{#show: David ben Gurion|?Born#H}}
to display "17 Tishrei 5647" instead of "16 October 1886"?
Or how would I get
{{#show: Exodus of Israel|?Date#AM}}
to display "15 Abib 2513 AM" instead of "12 April 1491 BC"?
I would welcome any assistance.
Temlakos
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel