Template talk:M1 year in topic

Untitled
I don't get it, how is this built? --Striver 23:47, 21 September 2006 (UTC)

Byzantine calendar
Copied from Talk:Byzantine calendar:


 * As the article notes, the so-called "Byzantine calendar" is a calendar traditionally used by Eastern Orthodox Christians. One finds this usage currently as well - cf. for instance the website on "Orthodoxy in China" - . In addition, plotting the correspondence of dates with the standard C.E. calendar would be a supremely useful tool for a historian, since, at least in Byzantine, Russian, Romanian et.al. history the "year of creation" dates continued to be widely used at least to late 17th century. For this reason, I would like to request that this dating system be placed into the calendrical correspondence charts which are provided for each article dealing with a given year. Thank you. 140.180.139.102 22:48, 21 June 2007 (UTC)

The Byzantine calendar is identical to the Julian calendar except that its year begins September 1, with its Anno Mundi year being AD/CE + 5509 from September 1 to December 31 and AD/CE + 5508 from January 1 to August 31. However, I do not see any use of AM years in the citation after a cursory check. — Joe Kress 22:07, 23 June 2007 (UTC)

A mistake in the Islamic calendar?
I feel that a "conceptual" mistake concerns the Islamic years: before 622 they are written with digits + BH (I supppose "Before Hijra"). But as far as I know, in the Islamic world there does not exist anything like the Christian "BC". Even in historical texts written by muslims I only find dates according to the Common Era, but never "Before Hijra". For Muslims, the time before Hijra is jahiliyyah ("ignorance [of the revelation]"), and it has no sense to speak of such times in a historical way. So, I feel that for every year preceding 62 this template should not calculate negative dates, but simply show one and the same word jahiliyyah. --Vermondo (talk) 19:55, 17 March 2009 (UTC)

incorrect mathematical notation
This template causes hyphens to appear where minus signs should be! There is a difference between
 * 5 - 3

and
 * 5 – 3

Negative numbers in Wikipedia (except where this template creates them) are written with a minus sign without the spacing that you see above. Thus: –3. This is not a stubby little hyphen.

Just when you thought this bit of basic literacy, codified in WP:MOSMATH, had been successfully implemented throughout Wikipedia about five or six years ago (except by newbie editors, to whom one points it out), one finds something like this. Michael Hardy (talk) 22:41, 4 July 2011 (UTC)

No documentation
This template has no documentation. Thus there is no way for someone who is not a template programmer to know that most of the work is done by other templates that are called, what those other templates are, or how this template, together with the templates being called, figure out what the year is. Jc3s5h (talk) 16:54, 20 November 2016 (UTC)
 * OK, hopefully it's adequately documented now. wbm1058 (talk) 19:31, 22 November 2016 (UTC)
 * Thanks, that looks great. Jc3s5h (talk) 20:00, 22 November 2016 (UTC)

Commons box
This template adds a Commons box template to the top section of the article. Such behavior violates WP:MOSSIS. I suggest the Commons box to be removed from this template. Commons templates can be added manually to the correct section. – Finnusertop (talk ⋅ contribs) 20:43, 9 August 2017 (UTC)
 * moreover it creates links commons cate3gories which either do not exist or which have already been deleted on Commons. So I support the request to remove the commons category link from this template.Robby (talk) 21:14, 5 August 2018 (UTC)

Help with templates
We need, either for this template to take a parameter, or for a more complicated extraction method in the call to Year in various calendars, or IN Year in various calendars. Since the number of people who watch this template is probably less than 1, I'm not sure this is the proper place to ask for help. — Arthur Rubin (talk) 02:51, 9 July 2019 (UTC)
 * Hi Arthur Rubin, I see you called 911. At least one guy watches this page (sometimes). Given that the (year) parenthetical is a common redirect, (we can probably thank the zealots who want to make numbers the primary topic everywhere) I think it should be easy enough to automatically screen that out of the title on any page where it appears. – wbm1058 (talk) 21:35, 9 July 2019 (UTC)


 * So on 911 (year) we just need to take the two instances of  in the template and strip the   off of them. wbm1058 (talk) 21:59, 9 July 2019 (UTC)
 * Template:Year nav has the opposite problem. See Template talk:Year nav. There we need to add  when   includes it. – wbm1058 (talk) 22:14, 9 July 2019 (UTC)
 * I'm working on year nav At present, the problem lives in drep, where I've requested a patch. — Arthur Rubin  (talk) 22:32, 9 July 2019 (UTC)
 * No, drep is fine – if good parameters are passed to it – but year nav will fail on the #ifexpr: if " (year)" isn't stripped off the { {PAGENAME}}. – wbm1058 (talk) 00:37, 10 July 2019 (UTC)
 * The linking function seems to be split between dr-make and drep; before the 911 move, most of the link naming was done in dr-make (although some is done by format tag rather than by name), except for years 1–100 CE, where it is done in drep. We should move it all to dr-make, I suppose....
 * On the other hand, year nav didn't fail when 911 was moved, because it was already fed the parameter 911 — Arthur Rubin  (talk) 08:07, 10 July 2019 (UTC)
 * Right, on closer look I found that is virtually always supplied in calls to year nav... so   is rarely used. However, it will fail when  isn't supplied, which could happen if someone decided that 1 wasn't necessary, and let it default to the PAGENAME. wbm1058 (talk) 11:07, 10 July 2019 (UTC)
 * Right, on closer look I found that is virtually always supplied in calls to year nav... so   is rarely used. However, it will fail when  isn't supplied, which could happen if someone decided that 1 wasn't necessary, and let it default to the PAGENAME. wbm1058 (talk) 11:07, 10 July 2019 (UTC)

Lua error message
The template now causes a red error message, Lua error in Module:Year_in_various_calendars at line 903: assign to undeclared variable 'addtext'. . This can be seen in the wild at AD 1. Jc3s5h (talk) 13:40, 9 February 2023 (UTC)