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.

Fake machine readable data[edit]

Yes check.svg Resolved

The template uses the machine readable format defined at COM:MRD to mark author and source. When no value is supplied to the template, these fields contain a warning text, but still use the machine-readable markup, so a machine has no way of knowing that what it sees is not the author name / source. This results in strange attribution (see e.g. [1]) and makes it impossible to automatically exclude images with missing author/source from, say, article extracts.

Machine-readable markup should only be included when there is information to be read. For example, the author field could look like this:

<td {{ #if: {{{source|{{{Source|}}} }}} | id="fileinfotpl_aut" }} class="fileinfo-paramfield">{{int:wm-license-information-author}}</td>

--Tgr (WMF) (talk) 19:42, 5 December 2014 (UTC)

I thought we already did this, but apparently it's only for Permission. I'll go ahead and do it unless someone objects. Guillaume (WMF) (talk) 00:46, 10 December 2014 (UTC)
No objections. --Jarekt (talk) 02:14, 10 December 2014 (UTC)
Done in the sandbox for now. Guillaume (WMF) (talk) 18:49, 10 December 2014 (UTC)
Tgr: I was about to do this, then I wondered if we wanted to do the same for the description field as well. I think it makes sense, and we might as well do everything at once to spare the job queue. Thoughts? Guillaume (WMF) (talk) 21:44, 12 December 2014 (UTC)
I see no reason not to. A warning about the lack of description is not a description. --Tgr (WMF) (talk) 23:40, 12 December 2014 (UTC)
Done in the sandbox. Guillaume (WMF) (talk) 19:37, 17 December 2014 (UTC)

The author uses {{Information/author processing}}. The ID shouldn't be used also if it adds {{Author missing}}. --Tacsipacsi (talk) 11:17, 13 December 2014 (UTC)

I'm unsure what {{Information/author processing}} does. We're already checking if the parameter is empty; What else can we do? I don't want to complicate the template too much. Guillaume (WMF) (talk) 19:11, 15 December 2014 (UTC)
In this case we only need that if the parameter is one or two hyphens, it adds {{author missing}}. It does other magic, but that's irrelevant here. --Tacsipacsi (talk) 20:05, 15 December 2014 (UTC)
Tacsipacsi: Done in the sandbox, using these examples as test cases. It looks good to me now. Guillaume (WMF) (talk) 19:37, 17 December 2014 (UTC)
I simplified a bit, and it still seems to work. --Tacsipacsi (talk) 19:47, 17 December 2014 (UTC)
Good catch! Thank you. I've gone ahead and updated the main template. Guillaume (WMF) (talk) 20:15, 17 December 2014 (UTC)

Discussion of formatting for Description field[edit]

There is a proposal for a style guideline that would affect the Description field of this template. Please feel free to join in the discussion at Commons:Village_pump/Proposals#Formatting_of_image_or_media_descriptions. Thanks! — hike395 (talk) 18:06, 18 February 2015 (UTC)

'Editing undertaken' parameter[edit]

I'm uploading a large number (~500, maybe more later) images with metadata including phrases like "Editing undertaken: Unsharp Mask, Shadows/Highlights". Please add an |editing= parameter, so that this can be recorded searpately from the desciption of the subject. Andy Mabbett (talk) 10:37, 27 March 2015 (UTC)

There already is {{retouched picture}} for such cases.    FDMS  4    12:38, 29 March 2015 (UTC)