Template talk:Era

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Correction for sl

[edit]

{{Editprotected}} In the section |bp|before present|, please replace the second (redundant) occurrence of 'cs' with sl={{{2|}}} [[:sl:pred sedanjostjo|p. s.]] (per [1]). Thank you. --Eleassar (t/p) 12:37, 12 October 2012 (UTC)[reply]

✓ Done--Jarekt (talk) 13:35, 12 October 2012 (UTC)[reply]

Adding BC/AD in Norwegian

[edit]

{{Editprotected}} Please copy the content in Template:Era/sandboxTemplate:Era (diff) – Danmichaelo (δ) 21:34, 23 October 2012 (UTC)[reply]

✓ Done--Jarekt (talk) 01:53, 24 October 2012 (UTC)[reply]

Correction for de

[edit]

{{Editprotected}} Please correct the german translation in section

  • |bc|bce= to
    |de={{{2|}}} v. Chr.
    
  • |ce|ad= add
    |de={{{2|}}} n. Chr.
    

see de:Wikipedia:Datumskonventionen --MatthiasDD (talk) 18:16, 1 November 2013 (UTC)[reply]

✓ Done, thanks. --Zolo (talk) 08:54, 2 November 2013 (UTC)[reply]

With mistake... v. Chr. is correct. --MatthiasDD (talk) 13:00, 3 November 2013 (UTC)[reply]

Oops, fixed. --Zolo (talk) 13:49, 3 November 2013 (UTC)[reply]

Russian translation for AH

[edit]

{{Editprotected}} Please add |ru={{{2|}}} хиджры after |pl={{{2|}}} [[:pl:Kalendarz muzułmański|A.H.]]. Thanks in advance. Ain92 (talk) 11:30, 12 April 2014 (UTC)[reply]

Fixed see "1486 н. э. (891 хиджры)" --Jarekt (talk) 14:17, 14 April 2014 (UTC)[reply]

bn

[edit]

{{Edit request}} please add

|ah =
 |bn={{{2|}}} [[:bn:ইসলামি বর্ষপঞ্জি|হিজরী]]
|bc|bce=
 |bn={{{2|}}} খ্রিস্টপূর্ব
|bp|before present=
 |bn=বর্তমানের আগে {{{2|}}}
|ce|ad=
 |bn={{{2|}}} খ্রিস্টাব্দ

--Aftab1995 (talk) 17:04, 16 April 2014 (UTC)[reply]

✓ Done--Jarekt (talk) 01:05, 17 April 2014 (UTC)[reply]

Vietnamese

[edit]

{{Edit protected}}

Please add Vietnamese to this template. Thank you! – Minh Nguyễn (talk, contribs) 09:30, 25 April 2014 (UTC)[reply]

✓ Done  Thank you. --Jarekt (talk) 12:19, 25 April 2014 (UTC)[reply]

Swedish translation

[edit]

{{Editprotected}} Please add these:

ah
|sv={{{2|}}} [[:sv:Muslimska kalendern|A.H.]]
bc|bce
|sv={{{2|}}} [[:sv:Före Kristus|f.Kr.]]
ce|ad
|sv={{{2|}}} [[:sv:Efter Kristus|e.Kr.]]

Thanks in advance! // WikiPhoenix [Talk] 21:22, 1 June 2014 (UTC)[reply]

✓ Done --Jarekt (talk) 16:37, 2 June 2014 (UTC)[reply]

Lua version

[edit]

I think the Lua version is ready, see Module talk:Era/testcases. It does the same thing as the template, except that when the era is not recognized, it returns date .. eraname .. category:Incorrect usage of Template:Era rather than just date, and when the date is empty it returns nil rather than the era name "|date=1922|era=BC)" returns nil rather than "BC". It may be better if want to put the template in some field where we do not know if there will really be a date provided. --Zolo (talk) 14:41, 1 October 2014 (UTC)[reply]

It looks fine. I would just deploy it and adjust the documentation. I started working on function p.ISOdate_extended in Module:Date/sandbox, which would be able o handle date formats beyond the ISO format, dates with era and handle simple cases of {{Other date}}. Feel free to expand that function to handle eras, as long as you preserve current capabilities. --Jarekt (talk) 15:21, 1 October 2014 (UTC)[reply]
I will have a look at ISOdate. Actually, I just saw that the error handling in Module:Era is not compatible with the current {{Other date}} (the template sends parameter 3 as an era name, which is problematic for cases like {{other date|-|1900|1902}}). I could just disable error checking in the module, but it sounds better to rewrite {{Other date}} in Lua instead. --Zolo (talk) 13:22, 2 October 2014 (UTC)[reply]