Template talk:Other date/2014

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

Beginning or first half of a century ?

Hello. Is it possible to use this template for a date like that : «beginning of the 15th century» or «second half of the 15th century» ? Could it be possible to explain how ? Thanks. Mel22 (talk) 18:47, 26 October 2012 (UTC)

Just use nested templates e.g. {{Other date|2half|{{Other date|century|15}}}}. Should work. /André Costa (WMSE) (talk) 14:22, 28 January 2013 (UTC)
I think it sort of work in most languages, but sometimes it can be grammatically awkward. Beside, nested templates are a bit esoteric and can be problematic because of depth limit, so I think it is better to use an equivalent numerical range when possible, in this case {{other date|between|1450|1500}}.--Zolo (talk) 17:05, 28 January 2013 (UTC)

I have used the same trick on File:Yvonne do Amaral Pereira.jpg for mid-decade: {{otherdate|mid|{{otherdate|decade|1980}}}}. I think this should be documented. John Vandenberg (chat) 03:54, 24 December 2013 (UTC)

Documentation of parameters changed to reflect this. Jheald (talk) 21:09, 23 February 2014 (UTC)

Conjectural dates?

What to do with a date that is precise, but conjectural? -- eg: '1897 (?)'

Circa is wrong, because the source is not saying "roughly the year x"; rather it is saying there is a very strong chance that the year actually was x, but it cannot be sure that this is correct.

What is the best way to deal with such a case? Is it worth adding an option "conjectured" ? Jheald (talk) 15:24, 23 February 2014 (UTC)

I would just add a "(?)" on the outside of the template. I would prefer not to complicate it to much. It is already too messy and really needs to be moved to a module. --Jarekt (talk) 03:11, 24 February 2014 (UTC)

Middle of a century

Hi,

Is there a way to indicate « middle of the 15th century » ? I've tried {{other date|middle|{{other date|century|15}}}} which give: mid 15th century

date QS:P,+1450-00-00T00:00:00Z/7

(on File:Livre d'heures de Catherine de Rohan et de Françoise de Dinan.jpg) but it's not really “clean” (I could have used {{other date|circa|1450}} or {{other date|s|1450}} but it's not exactly the same).

Cdlt, VIGNERON (talk) 09:39, 5 March 2014 (UTC)

I also could use "late decade" or "late centure". I'm sure there are also many other forms that use more than one option. I currently use the nested forms that display, but are incorrect in their language. Are extensions planned for the template? --Susannaanas (talk) 04:15, 4 October 2014 (UTC)
We are planning (me and user:Zolo at least talk about it) to rewrite this template in Lua. But it takes a long time. I just managed to rewrite {{Date}} and {{ISOdate}} and he worked on {{Era}}. This one will probably be next. However at the some point I volunteer for the job of uploading Category:Józef Piłsudski Institute of America collections, and it goes rather slowly, so this one went to the back burner. --Jarekt (talk) 02:07, 5 October 2014 (UTC)

Vietnamese

{{Edit protected}}

Please add Vietnamese from the sandbox. Thank you! – Minh Nguyễn (talk, contribs) 10:14, 25 April 2014 (UTC)

✓ Done Thank you.--Jarekt (talk) 12:23, 25 April 2014 (UTC)

Ukrainian

Hello. I have noticed that there are no Ukrainian translations for the language switch. Russian is used instead which is outrageous! Please add the following Ukrainian translations to the respective sections. I will translate the rest and post them here some time later. Please let me know if you need anything else.

   |-={{LangSwitch
      |uk=з {{ISOdate|1={{{2|}}}|2=uk|form=gen}} до {{ISOdate|1={{{3|}}}|2=uk|form=gen}} <!-- Need Genitive case -->

   |between={{LangSwitch
      |uk=між {{ISOdate|1={{{2|}}}|2=uk|form=ins}} та {{ISOdate|1={{{3|}}}|2=uk|form=ins}}

   |or={{LangSwitch
      |uk={{ISOdate|1={{{2|}}}|2=uk}} або {{ISOdate|1={{{3|}}}|2=uk}}

   |and|&={{LangSwitch
      |uk={{ISOdate|1={{{2|}}}|2=uk}} та {{ISOdate|1={{{3|}}}|2=uk}}

   |julian={{LangSwitch <!-- This is often used when talking about birth and death dates of Russians from 19th century -->
      |uk={{ISOdate|1={{{2|}}}|2=uk}} ({{ISOdate|1={{{3|}}}|2=uk}} [[w:uk:Юліанський календар|Юліанський календар]])

   |by={{LangSwitch
      |uk=до {{ISOdate|1={{{2|}}}|2=uk|form=dat}}

P.S. I am a native speaker of Ukrainian and guarantee the accuracy of the translations. Thanks -- Homme (talk) 15:08, 13 May 2014 (UTC)

✓ Done, thanks. --Zolo (talk) 11:20, 2 June 2014 (UTC)

Swedish translation

{{Editprotected}} Please add these:

1quarter|quarter1|1stquarter|1st quarter

|sv= första kvartalet av {{ISOdate|1={{{2|}}}|2=sv}}

2quarter|quarter2|2ndquarter|2nd quarter

|sv= andra kvartalet av {{ISOdate|1={{{2|}}}|2=sv}}

3quarter|quarter3|3rdquarter|3rd quarter

|sv= tredje kvartalet av {{ISOdate|1={{{2|}}}|2=sv}}

4quarter|quarter4|4thquarter|4th quarter

|sv= fjärde kvartalet av {{ISOdate|1={{{2|}}}|2=sv}}

millennium

|sv={{Ordinal|{{{2|}}}|lang=sv}} årtusendet

turn of the century|century turn

|sv={{{2|}}}/{{Ordinal|{{#expr:{{{2|}}}-1}} }} årtusendets sekelskifte

default
|sv={{#expr:{{{2|}}}-1}}/{{Ordinal|{{{2|}}} }} årtusendets sekelskifte
turn of the decade|decade turn

|sv=sena {{{2|}}}-talet och tidiga {{#expr:{{{2|}}}-10}}-talet

default
|sv=sena {{#expr:{{{2|}}}-10}}-talet och tidiga {{{2|}}}-talet
turn of the year|year turn

|sv=sena {{{2|}}} och tidiga {{#expr:{{{2|}}}-1}}

default
|sv=sena {{{2|}}} och tidiga {{#expr:{{{2|}}}-1}}
year unknown

|sv=Okänt år

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

✓ Done, thanks. --Zolo (talk) 11:20, 2 June 2014 (UTC)

These templates have been tagged for possible merger for about three years now (it appears that User:Jarekt tagged them in 2011), but I don't see a subsequent discussion. It's not clear to me what functionality that Circa has that Other date does not (or couldn't easily replicate) (maybe I am missing something). Could we discuss merging them? I'm the one who (possibly foolishly) created Circa several years ago, not knowing Other date even existed at that time, so I wouldn't mind some clarity as to why Circa still exists (or even if it needs to). Thanks. --Skeezix1000 (talk) 15:56, 13 June 2014 (UTC)

{{Circa}} and {{From until}} are subsets of {{Other date}} and have exactly the same capabilities. However there is one difference: sometimes when people nest {{Other date}} templates, like use {{Other date|-|{{Other date|ca|1500}} | {{Other date|beginning|{{Other date|century|17}}}} }} to get "from circa 1500
date QS:P,+1500-00-00T00:00:00Z/9,P1480,Q5727902
until early 17th century
date QS:P,+1650-00-00T00:00:00Z/7
" (which are than used in {{Creator}} which is used in {{Artwork}}, etc. ), then they hit template expansion depth limit. One way to fix that was (is?) to use simpler templates like {{Circa}} or {{From until}} instead of {{Other date}}. So before we get rid of them we should check if it is going to break any pages.
Also currently I (among others) work on rewriting most of the capabilities of {{ISOdate}} and {{Date}} templates using Lua, see Module:Date/sandbox and Module talk:Date/sandbox/testcases. Once that is done we will have significant simplification of the codes related to date and quite possibly our expansion limit issues might go away. So I would postpone this discussion until than. --Jarekt (talk) 17:14, 13 June 2014 (UTC)
Thanks for your response. Most of it went over my head, but I trust you know what you are talking about. Once the work you and others are doing is done, and you've had a chance to consider the expansion limit issues, please provide an update here. Many thanks. --Skeezix1000 (talk) 13:40, 20 June 2014 (UTC)

this template seems to be broken

Hi: {{otherdate|century|17) returns "0017. Jahrhundert" in German. Can someone repair it? Thx! Bukk (talk) 19:58, 15 July 2014 (UTC)

Bukk, Thanks for reporting it. It is related to testing of the future ISOdate and collecting testcases which new template will have to get correctly. I will correct it. --Jarekt (talk) 20:09, 15 July 2014 (UTC)
Thank you, Jarekt! Bukk (talk) 10:51, 17 July 2014 (UTC)

Lua version

User:Sn1per, was lately hard at work writing Lua version of this template, see Module:Other date, once it is ready and well tested we will deploy. One big change will be extended syntax. For example to get "from early 20th century

date QS:P,+1950-00-00T00:00:00Z/7

until mid 21st century

date QS:P,+2050-00-00T00:00:00Z/7

" at the moment one has to do {{other date|-|{{other date|early|{{other date|century|20}}}}|{{other date|mid|{{other date|century|21}}}}}}, but with the Lua's version extended syntax we will use {{other date|adj1=early|date1=20|junction=-|adj2=mid|date2=21|precision=century}} or something similar. it might be good to use this occasion to do some other changes. for example I never liked the name "other date", and would like to propose to change it to something else. May be: "Date phrase", "Complex date", "Expanded date", etc.? I think any one of those would be better than "other date" but none of them is a clear winner. Any other name ideas, or opions on the proposed names? Also the parameter names in the extended syntax might need some careful consideration. --Jarekt (talk) 17:00, 24 December 2014 (UTC)

Nice. I like "complex date" best (even though some of them are not really more complex than a standard iso date). --Zolo (talk) 20:17, 28 December 2014 (UTC)
Ok, I guess those are only votes we are going to get. I will start using "complex date" term for module and new template and eventually "Other date" will redirect to it. --Jarekt (talk) 16:43, 30 December 2014 (UTC)

Correction for Russian language

{{Editprotected}} |-={{LangSwitch … |ru=с {{ISOdate|1={{{2|}}}|2=ru|form=gen}} по {{ISOdate|1={{{3|}}}|2=ru|form=gen}} <!-- Need Genitive case --> … |julian={{LangSwitch <!-- This is often used when talking about birth and death dates of Russians from 19th century --> … |ru={{ISOdate|1={{{2|}}}|2=ru}} {{ISOdate|1={{{3|}}}|2=ru}} [[w:ru:Юлианский календарь|по ст. ст.]] Ain92 (talk) 21:55, 26 December 2014 (UTC)

✓ Done thanks for corrections. --Jarekt (talk) 22:57, 26 December 2014 (UTC)