Template talk:ImageNote

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

Used by the ImageAnnotator gadget. Lupo 10:11, 18 June 2009 (UTC)

Category[edit]

{{editprotected}} Would you add:

{{#ifeq:{{{id}}}|10|[[Category:Images with 10+ annotations]]}}

to the template? Thanks. -- User:Docu at 17:02, 26 August 2009 (UTC)

✓ Done --Mormegil (talk) 20:14, 26 August 2009 (UTC)
That way of counting image notes is approximate only. Note numbering need not be contiguous, and need not start at 1 either. See e.g. File:A. Nevsky Cathedral in Warsaw (Aerial).jpg, which doesn't turn up in that category. With {{#ifexpr: {{{id|{{{1}}}}}} >= 10|[[Category:Images with 10+ annotations]]}} you'd catch more of these, but you'd also catch any image with a single note that has an id greater than or equal to 10. (If the same category is added several times to a page, the servers collapse that to one single category membership.) Lupo 20:44, 26 August 2009 (UTC)
Thanks Mormegil.
Lupo, I'm aware of that, but the current solution might be easier to evaluate. I don't mind if you change it though. -- User:Docu at 22:29, 26 August 2009 (UTC)

Sort order[edit]

{{editprotected}} Can we add |{{PAGENAME}} to Category:Images with 10+ annotations and Category:Images with annotations ? --Jarekt (talk) 18:21, 8 September 2009 (UTC)

And why that? ImageNote is used only on image description pages, and images are displayed on category pages without the initial letter, so that there is no difference, AFAICT. --Mormegil (talk) 14:15, 20 September 2009 (UTC)
I do some monitoring of Category:Images with annotations for annotation vandalism. The category has {{CategoryTOC}} but at the moment all images are under letter F (for File:) I would like to fix that. --Jarekt (talk) 02:07, 21 September 2009 (UTC)
Oh, I see! ✓ Done --Mormegil (talk) 17:49, 21 September 2009 (UTC)

Visible at Wikipedia ?[edit]

Could we make {{ImageNote}} with ID=1 visible displaying something like "This image has annotations visible at Commons"? Obviously, this doesn't make much sense at Commons, but everywhere else the image is being displayed. --  Docu  at 15:04, 10 April 2011 (UTC)

Here we go:
Please add:
{{#ifeq:{{{id|{{{1}}}}}}|1|<!-- -->{{Iffile|1={{/header}}}}<!-- -->}}
at the beginning of the template. Template:ImageNote/header should be protected. --  Docu  at 05:47, 12 April 2011 (UTC)
I don’t know… It seems to me this note would this be visible at Commons, which I think would be annoying. At least, it would need to be hidden on Commons by MediaWiki:Common.css, but wouldn’t it be better to arrange for a mechanism so that the image notes could be displayed on other wikis? (By using the respective JS on other wikis, or, even better, by integrating the annotation feature into MediaWiki proper (via some extension, possibly).) --Mormegil (talk) 14:28, 2 May 2011 (UTC)
See en:Wikipedia_talk:Village_pump_(technical)/Annotate, here and here. --Jarekt (talk) 15:49, 2 May 2011 (UTC)
@Mormegil: good idea. I added a class to the style part. If we define .annotationboxforwikipedia {display: none;}
in MediaWiki:Common.css, this wouldn't be visible here. --  Docu  at 19:29, 2 May 2011 (UTC)
Is there anything else that should be considered before we implement this? --  Docu  at 07:31, 29 May 2011 (UTC)
You haven't addressed the issue of translations. – Adrignola talk 13:52, 9 June 2011 (UTC)
It can be added later. --  Docu  at 17:01, 9 June 2011 (UTC)

✓ Done. – Adrignola talk 18:08, 16 June 2011 (UTC)

Thanks, but it seems it should be:

{{Iffile|1={{ImageNote/header}}}}

instead of:

{{Iffile|1={{/header}}}}

Sorry about that. --  Docu  at 18:19, 16 June 2011 (UTC)

✓ Done. – Adrignola talk 12:08, 17 June 2011 (UTC)

Seems to work fine. Thanks. --  Docu  at 07:15, 18 June 2011 (UTC)

Category:ImageAnnotator[edit]

{{edit protected}}

Please add <noinclude>[[Category:ImageAnnotator]]</noinclude>. (Or perhaps {{documentation}}.) Thanks. Rd232 (talk) 13:26, 26 June 2011 (UTC)

Also, entries 9-21 at Special:UncategorizedTemplates could use the same - templates related to the imageannotator. Rd232 (talk) 13:31, 26 June 2011 (UTC)
✓ Done. Please update the documentation. – Adrignola talk 19:23, 26 August 2011 (UTC)

"Esta imagen tiene notas..."[edit]

Hi. Since some days ago, images with notes show an ugly message. I use an image in my credit template. How can I use the image and hide the message?

Vaporcito de El Puerto.jpg
This file is a work by Emilio J. Rodríguez-Posada. Please, credit this: emijrp (CC-BY-SA)

UserIconMail.svg I would appreciate being notified (emijrp@gmail.com) if you use it outside Wikimedia

More of my work can be found in my wikigallery (category) and on Flickr

emijrp (talk) 07:55, 10 September 2011 (UTC)

See Help:Gadget-ImageAnnotator#Settings for a particular image use: use {{ImageNoteControl}}. Lupo 10:05, 10 September 2011 (UTC)

Category:Images with 10+ annotations[edit]

If an image has 10+ annotations it's in this cat but it's also in the standard cat Category:Images with annotations. Shouldn't it be either or? --Denniss (talk) 10:19, 14 June 2013 (UTC)

Category:Images with annotations is a maintenance category and they are usually "flat" categories. Category:Images with 10+ annotations was created to watch over most heavily annotated images; however although I created it I have not used it for monitoring for years. Do we still need it? The only purpose for it I can think of is to find good examples of well annotated images. --Jarekt (talk) 12:33, 14 June 2013 (UTC)

Test[edit]

{{Edit request}}

Please add

{{#ifeq:{{{es|}}}|y|{{Equestrian statue|w={{{w|}}}|h={{{h|}}}|dimx={{{dimx|}}}|dimy={{{dimy|}}}}}|}}

to the template. Just before the </includeonly> tag. This should generate experimental categories as on this file. Depending on how it works out, we can keep it or remove it again. --  Docu  at 05:25, 6 December 2013 (UTC)

Docu, this is generic annotation template added by a java script. There must be a better way to add "experimental categories" like Category:Equestrian statue (pixels: 378200) than adding to this generic template parameters only related to equestrian statues. May be a bot run that looks for ImageNotes with {{Equestrian statue}} template inside and adds appropriate categories? --Jarekt (talk) 12:59, 6 December 2013 (UTC)
Before even evaluating how useful this could be, I wonder about {{{es|}}}, which is not passed to this template by your sample file. How is this supposed to work? And I am not sure what will happen when changing the image note, e.g. adding translations. -- Rillke(q?) 16:21, 6 December 2013 (UTC)
Indeed, changing the imagenote removes the parameter "es=y". If we keep the feature, we would need to fix that. --  Docu  at 12:20, 7 December 2013 (UTC)
The sample file just shows the categories. this second file would make use of the above addition. I think you need the annotation script to select the image reasonably efficiently, but if there is a way to do the same by bot, all the better. I just don't quite see how. --  Docu  at 19:21, 6 December 2013 (UTC)
I also added to the second file a test template (Template:Equestrian statue/ImageNote test) which works in the same way the revised {{ImageNote}} will work. --  Docu  at 05:59, 7 December 2013 (UTC)
  •  Not done . Lupo 12:14, 27 April 2014 (UTC)