Template talk:Photo requested

Latest comment: 21 days ago by MSGJ in topic Vertical space

Free parameter

edit

The |free= parameter is documented as "if free=yes, the substituted text will explicitly request a freely-licensed photograph" but actually it requests replacement of a non-free image with a free image, something different. I think having |free= and |replace= parameters are needed. Jason Quinn (talk) 08:03, 5 August 2016 (UTC)Reply

in = Countyname, Statename

edit

See Wikipedia:Help desk#Photo Request Template for details. I believe I've coded this at Template:Photo requested/sandbox, with test cases at Template:Photo requested/testcases. Could an admin or another template editor check my work and copy it to the main template? -- John of Reading (talk) 12:18, 10 August 2016 (UTC)Reply

If the changes are synced, I'd like to suggest that perhaps Template:Last word is at least semiprotected. — Andy W. (talk ·ctb) 14:00, 10 August 2016 (UTC)Reply
@John of Reading: Did a sync with tweaks. This version uses Module:String directly (which is protected) rather than {{Last word}}. (Maybe it was a bit fussy, but I think it's safer...) Let me know if we should fix anything else correction, my bad — Andy W. (talk ·ctb) 23:49, 10 August 2016 (UTC) 00:05, 11 August 2016 (UTC)Reply
@Andy M. Wang: Thank you, using Module:String directly is a good idea. -- John of Reading (talk) 05:59, 11 August 2016 (UTC)Reply

subject category example not showing up correctly?

edit

As near as I can tell the basic example of the template and the one "with subject category parameter" example are the same. Not sure what the subject category example should look like but maybe the wikitext needs to be altered? Thanks Jessamyn (talk) 16:40, 10 March 2019 (UTC)Reply

Can we make this template emit coords?

edit

Can we make this template emit coordinates through a parameter so that it is listed on maps with requested photographs even if the article it is attached to has no coordinates set? E.g., to request an image of a statue of a person in their biographical article. Sandstein 06:58, 18 June 2019 (UTC)Reply

More specific media request template?

edit

The second sentence: "Please replace this template with a more specific media request template where possible." should be removed or replaced becauase there is no more specific media request template. The sentence seems to have been copied from Template:Image_requested.--SaskatchewanSenator (talk) 18:48, 9 October 2019 (UTC)Reply

  DoneJonesey95 (talk) 20:02, 9 October 2019 (UTC)Reply

Template-protected edit request on 8 July 2020

edit

The link to the Free Image Search Tool is broken (404 error). I found the new link: [1]. Please update the template with it. Thanks. — Tartan357  (Talk) 04:00, 8 July 2020 (UTC)Reply

  Done Nardog (talk) 04:13, 8 July 2020 (UTC)Reply
@Nardog and Tartan357: seems to have moved to https://fist.toolforge.org/fist.php — this template is broken again. DemonDays64 (talk) 06:20, 8 October 2020 (UTC)Reply
@DemonDays64: Thanks for notifying me, I've fixed it as far as I could find. Nardog (talk) 06:39, 8 October 2020 (UTC)Reply

argument in should be an alias to argument in1

edit

Currently, if you type {{Photo requested|in1=place 1|in2=place 2}}, in1 will not work. I think this should be fixed so that it can be consistent with other templates such as citation templates, where {{Cite book|author=person}} and {{Cite book|author1=person}} works the same. – Ase1estet@lkc0ntribs 04:26, 23 January 2021 (UTC)Reply

The header has been changed from argument <code>in1</code> should be an alias to argument <code>in</code> to argument <code>in</code> should be an alias to argument <code>in1</code>. – Ase1estet@lkc0ntribs 00:40, 28 January 2021 (UTC)Reply

Template-protected edit request on 28 January 2021

edit

Copy this diff in the sandbox to the main template. The documentation should be updated as well.

The change makes it so that the template accepts in1 as an argument, and in becomes an alias to in1. If both arguments are present, in1 is used.

Two new test cases are added to test this change.

I think the change is not controversial because the change should not break any existing proper usages of the template and does not add any new content to the template. I could be wrong about this though... – Ase1estet@lkc0ntribs 00:57, 28 January 2021 (UTC)Reply

  Done * Pppery * it has begun... 19:14, 31 January 2021 (UTC)Reply

CC Search name change to Openverse

edit

CC Search was renamed to Openverse, and began redirecting visitors to a new location in December 2021. The link currently in use redirects to the right place, but we might as well fix the name and use the new URL.

I request to change this (within the small text at the bottom of the box):

[https://search.creativecommons.org/search?{{#if:{{{of|}}}|q={{urlencode:{{{of}}} }}&}}license=cc0,pdm,by,by-sa Creative Commons Search]

to this:

[https://wordpress.org/openverse/search/?{{#if:{{{of|}}}|q={{urlencode:{{{of}}} }}&}}license=cc0,pdm,by,by-sa Openverse]

This changes the first part of the URL and the link display text; the URL parameter syntax appears to have stayed the same.

Thank you! Bsoyka (talk) 00:14, 12 April 2022 (UTC)Reply

@Bsoyka: thank you for the note, while that should be an improvement I'm wondering if we should be linking in to wordpress.org - has anyone reviewed their privacy policy? For note, this appears to be the announcement. — xaosflux Talk 01:05, 12 April 2022 (UTC)Reply
@Xaosflux: I'm not familiar with their privacy policy. I assume, like all major websites, it's full of sneaky legalese to collect personal information. However, I will note the 60k times we already link to WordPress in the article space. Bsoyka (talk) 01:11, 12 April 2022 (UTC)Reply
@Bsoyka we link to all sorts of things from articles, as references can be anywhere and there is some expectation that readers understand that - we are a bit more cautious with links in our interface (note the distinct lack of these in a similar search. How about if the label says "WordPress Openverse" instead of just "Openverse" to make that more clear? — xaosflux Talk 01:26, 12 April 2022 (UTC)Reply
@Xaosflux: Fair enough. WordPress Openverse works for me. Bsoyka (talk) 01:32, 12 April 2022 (UTC)Reply
  Donexaosflux Talk 01:56, 12 April 2022 (UTC)Reply
edit

If there is "in2" and more there is no link for "Category:Wikipedians in...." Eurohunter (talk) 17:17, 21 June 2022 (UTC)Reply

Template-protected edit request on 18 February 2023

edit

Change web sites to websites per website.

Line 38: Line 38:
| {{#ifexist:Category:Wikipedians in {{#invoke:String|replace|source={{{in1|{{{in}}}}}}|pattern=.*,|replace=|plain=false}} | {{#ifexist:Category:Wikipedians in {{#invoke:String|replace|source={{{in1|{{{in}}}}}}|pattern=.*,|replace=|plain=false}}
|'''[[:Category:Wikipedians in {{#invoke:String|replace|source={{{in1|{{{in}}}}}}|pattern=.*,|replace=|plain=false}}|Wikipedians in {{#invoke:String|replace|source={{{in1|{{{in}}}}}}|pattern=.*,|replace=|plain=false}}]]''' may be able to help!}} }} }} }} |'''[[:Category:Wikipedians in {{#invoke:String|replace|source={{{in1|{{{in}}}}}}|pattern=.*,|replace=|plain=false}}|Wikipedians in {{#invoke:String|replace|source={{{in1|{{{in}}}}}}|pattern=.*,|replace=|plain=false}}]]''' may be able to help!}} }} }} }}
<br><small>The [{{fullurl:toollabs:fist/fist.php|doit=1&language=en&project=wikipedia&data={{urlencode:{{PAGENAME}}}}&datatype=articles&params%5Bcatdepth%5D=0&params%5Brandom%5D=50&params%5Bll_max%5D=5&params%5Bcommons_max%5D=5&params%5Bflickr_max%5D=5&params%5Binclude_flickr_id%5D=1&params%5Bwts_max%5D=5&params%5Bgimp_max%5D=5&params%5Besp_max%5D=5&params%5Besp_skip_flickr%5D=1&params%5Bgeograph_max%5D=5&params%5Bforarticles%5D=noimage&params%5Blessthan_images%5D=3&params%5Bdefault_thumbnail_size%5D=&params%5Bjpeg%5D=1&params%5Bpng%5D=1&params%5Bgif%5D=1&params%5Bsvg%5D=1&params%5Bogg%5D=1&params%5Bmin_width%5D=80&params%5Bmin_height%5D=80&sources%5Blanguagelinks%5D=1&sources%5Bcommons%5D=1&sources%5Bflickr%5D=1}} Free Image Search Tool] or [https://wordpress.org/openverse/search/?{{#if:{{{of|}}}|q={{urlencode:{{{of}}} }}&}}license=cc0,pdm,by,by-sa WordPress Openverse] may be able to locate suitable images on [[Flickr]] and other web sites.</small> <br><small>The [{{fullurl:toollabs:fist/fist.php|doit=1&language=en&project=wikipedia&data={{urlencode:{{PAGENAME}}}}&datatype=articles&params%5Bcatdepth%5D=0&params%5Brandom%5D=50&params%5Bll_max%5D=5&params%5Bcommons_max%5D=5&params%5Bflickr_max%5D=5&params%5Binclude_flickr_id%5D=1&params%5Bwts_max%5D=5&params%5Bgimp_max%5D=5&params%5Besp_max%5D=5&params%5Besp_skip_flickr%5D=1&params%5Bgeograph_max%5D=5&params%5Bforarticles%5D=noimage&params%5Blessthan_images%5D=3&params%5Bdefault_thumbnail_size%5D=&params%5Bjpeg%5D=1&params%5Bpng%5D=1&params%5Bgif%5D=1&params%5Bsvg%5D=1&params%5Bogg%5D=1&params%5Bmin_width%5D=80&params%5Bmin_height%5D=80&sources%5Blanguagelinks%5D=1&sources%5Bcommons%5D=1&sources%5Bflickr%5D=1}} Free Image Search Tool] or [https://wordpress.org/openverse/search/?{{#if:{{{of|}}}|q={{urlencode:{{{of}}} }}&}}license=cc0,pdm,by,by-sa WordPress Openverse] may be able to locate suitable images on [[Flickr]] and other websites.</small>
|imageright={{Clickable button 2|Upload|url={{fullurl:commons:special:uploadWizard|&descriptionlang=en&description={{urlencode:[[:en:{{PAGENAME}}|{{PAGENAME}}]]}}&categories={{#if:{{{1|}}}|{{urlencode:{{{1}}}}}|{{urlencode:{{{in1|{{{in}}}}}}}}}}}}|class=mw-ui-progressive}} |imageright={{Clickable button 2|Upload|url={{fullurl:commons:special:uploadWizard|&descriptionlang=en&description={{urlencode:[[:en:{{PAGENAME}}|{{PAGENAME}}]]}}&categories={{#if:{{{1|}}}|{{urlencode:{{{1}}}}}|{{urlencode:{{{in1|{{{in}}}}}}}}}}}}|class=mw-ui-progressive}}
}}{{category handler }}{{category handler

— Qwerfjkltalk 10:35, 18 February 2023 (UTC)Reply

  Not edited. From the article's lede sentence: "A website (also written as a web site) is a..." – these alternative spellings are both acceptable. Thank you very much! P.I. Ellsworth , ed. put'er there 16:50, 18 February 2023 (UTC)Reply

Template-protected edit request on 30 May 2023

edit

The Openverse URL currently used here (https://wordpress.com/openverse/) now redirects to https://openverse.org/. Please change accordingly. Slgrandson (How's my egg-throwing coleslaw?) 04:21, 30 May 2023 (UTC)Reply

  Completed. P.I. Ellsworth , ed. put'er there 09:49, 30 May 2023 (UTC)Reply
edit

Please change the beginning of the FIST link from [{{fullurl:toollabs:fist/fist.php|doit=1& to [https://fist.toolforge.org/fist.php?doit=1&, and the end from %5Bflickr%5D=1}} Free Image Search Tool] to %5Bflickr%5D=1 Free Image Search Tool] (i.e. remove the double closing braces), so that the resulting link points directly to fist.toolforge.org, rather than going through the iw.toolforge.org/fist redirect. This should be slightly faster for users and also plays much nicer with Special:LinkSearch. Lucas Werkmeister (talk) 17:49, 27 September 2023 (UTC)Reply

  Done Elli (talk | contribs) 18:12, 27 September 2023 (UTC)Reply

Bot to automatically remove outdated instances

edit

Just wanted to flag that I opened in Wikipedia:Bot requests a discussion about creating a bot to remove the outdated instances of this template. 7804j (talk) 18:33, 19 September 2024 (UTC)Reply

"the"

edit

I keep coming across redlinked categories at Special:WantedCategories, which were autogenerated by this template because somebody coded a requested photo template for a location that does have a category, but the category requires the word "the" and the person didn't include it — today's example being Category:Wikipedia requested photographs in Czech Republic, because somebody had typed {{photoreq|in=Czech Republic}} instead of {{photoreq|in=the Czech Republic}} on a page. (And this was not the first time I've seen that, either.)

This is a remarkably trivial waste of my time to have to fix such things, given that the template could easily be coded to accept either "Czech Republic" or "the Czech Republic" (and probably "Czechia" as well) as alternative ways of getting a page into the same category. So is there any way that this template could have some sort of "if in= is set as just Czech Republic, then file it as 'the Czech Republic' instead of generating a stupid redlink" code added to it? Bearcat (talk) 13:08, 22 October 2024 (UTC)Reply

Vertical space

edit

The template currently takes up a lot of vertical space if the |in= parameter is used. For example:

— Martin (MSGJ · talk) 14:49, 30 October 2024 (UTC)Reply