Template talk:Information

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Info non-talk.svg Template:Information has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.
Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them.

Troubles with DATE[edit]

As soon as the Date contains not only the yyyy[-mm[-dd]] value, may be also a time, but has additionally the string (UTC) generated, the date conversion fails. The (UTC) is contained rather often. How about treating the date nevertheless? sarang사랑 09:33, 17 April 2014 (UTC)

Date is treated by {{ISOdate}} one of the most complicated and unreadable template we have. It is also very rarely touched in last 4 years, since it last maintainer user:Slomox semi-retired. The template needs to be rewritten as Module:Date but so far nobody tackled it. --Jarekt (talk) 02:20, 18 April 2014 (UTC)
@Jarekt: Why not use {{#time:}} instead? {{ISOdate}} treats only date strings in ISO format, while {{#time:}} treats both. --Zhuyifei1999 (talk) 11:41, 18 April 2014 (UTC)
@Zhuyifei1999: {{ISOdate}} shows the date in the language of the viewer and at the time the template was written only showed the date in the default language of the Commons (English?). It also had a lot of issues with some years (many before 1000) showing up incorectly. {{ISOdate}} is a giant case statement with different years and date formats being treated differently, with many calls to . Much of the complexity of {{ISOdate}} is likely no longer needed. --Jarekt (talk) 12:22, 18 April 2014 (UTC)

Thank you. I knew that the final treatment of Date is not done by Information itself, but did not look where it happens. We have skilled module writers, haven't we? They need to know about this challenge. Users often write dates in wrong formats, that can be resolved, if not corrected or tagged with an error msg. Would be nice, even if not such an urgent must. sarang사랑 10:25, 18 April 2014 (UTC)

This template at the English Wikipedia[edit]

The current version of this template at the English Wikipedia may be of interest. Sardanaphalus (talk) 19:23, 19 September 2014 (UTC)

In which sense? --Leyo 20:50, 19 September 2014 (UTC)
It uses {{navbox}} (but I don't think it's a better way). --Tacsipacsi (talk) 21:35, 19 September 2014 (UTC)
I agree. --Leyo 21:51, 19 September 2014 (UTC)
This is a template used on a LOT of file-pages and so far we keep it as bare-bones and low level as possible. I am not sure if it is required but I do not see a need to make templates more complicated unless we are trying to improve something. --Jarekt (talk) 03:45, 20 September 2014 (UTC)

Author field[edit]

That template also uses the word "Author" which is a bit confusing. In fact, we need a caption like "copyright", "credits" or some thing like that which cover all CMI. Many times "Author" != "copyright holder" != "preferred credits". So people use otherplaces to mention "actual credits"; but unfortunately MV and other tools only look on "Author" field. Off wiki applications like eol.org also look only on author field. What about renaming that field and insist people to provide "credits" there instead of many other places like "credit line", license tags, permission field, etc.? Jee 05:37, 20 September 2014 (UTC)