Template talk:Geograph

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


Taking http://www.geograph.org.uk/photo/82398 as an example geograph, this template is used like; and produces:

You type Result
{{geograph|82398|Lee Kindness}}
Geograph depth small.png
This image was taken from the Geograph project collection. See this photograph's page on the Geograph website for the photographer's contact details. The copyright on this image is owned by Lee Kindness and is licensed for reuse under the Creative Commons Attribution-ShareAlike 2.0 license.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
Attribution: Lee Kindness
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • share alike – If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

CC template[edit]

I wanted to put the source note into {{Information}} while keeping the CC template in a separate licence section, so I added a nocc parameter. {{geograph|…|…|nocc= }} (note the space after the last ‘=’) yields

Geograph depth small.png
This image was taken from the Geograph project collection. See this photograph's page on the Geograph website for the photographer's contact details. The copyright on this image is owned by and is licensed for reuse under the Creative Commons Attribution-ShareAlike 2.0 license.

Of course the licence has then to be provided separately. —xyzzyn 16:09, 6 March 2007 (UTC)

Category sorting[edit]

I just changed the sorting of Category:Geograph images to be by Geograph image number rather than by Commons filename. My hope here is that this will make spotting duplicates easier, but if it turns out to be a bad idea for some reason I shan't be offended if the change gets reverted. --bjh21 15:34, 15 June 2007 (UTC)


I am proposing to rename this template to {{geograph-bi}} in order to distinguish images from the Geograph British Isles project from those from the Geograph Deutschland project. I've recently created {{geograph-de}} for images from the latter. It seemed to make sense to create a separate template rather than try to add additional parameters to this template which would be more complicated.

After renaming, the intention then would be to run my bot flagged account AdambroBot (talk · contribs) through the approximately 13,000 uses of the template to skip the redirect to the old name so that {{geograph}} can be deleted if appropriate to reduce the potential for confusion.

I've been in contact with administrators from the two Geograph projects and found them happy to assist with these changes. Geograph Deutschland are now outputting Wiki markup using the {{geograph-de}} template rather than {{geograph}} so no further changes are expected to be necessary there. I've made the administrators of the Geograph British Isles project aware of the potential for some further minor changes to accommodate the new project. I'm informed that further Geograph projects could be introduced and so these changes could make it easier in the future. Adambro (talk) 10:10, 31 March 2009 (UTC)

I see where you're going; but "bi" really isn't the right suffix, is it? /wangi (talk) 20:57, 2 April 2009 (UTC)
I'm struggling to come up with any other suitable alternatives. The obvious options could include "en" or "uk" but neither are accurate since the project doesn't cover just England or the United Kingdom. What specifically is the problem with "bi"? Adambro (talk) 14:21, 3 April 2009 (UTC)
Main one is it doesn't mean "British Isles" under any use I'm aware of... And technically it's the ISO code for Burundi. Just use {{geograph}} for the original project, and disambiguated template names for any other. Thanks/wangi (talk) 15:50, 5 April 2009 (UTC)
When I suggested "bi" I was simply looking for some initials to refer to the Geograph project for the British Isles, not necessarily an official code since of course there isn't an ISO code for the group of islands referred to as the British Isles. Whilst bi is the ISO code for the Republic of Burundi, I doubt there is going to be a Geograph project for that country any time soon and so the conflict is not really a problem. I think it is more likely to be confusing to have a {{geograph}} template for the British Isles project and then adopt different names for any others. For consistency it is preferable to try adopt some kind of naming scheme. In the absence of any better alternatives to "bi", I'm inclined to go with that. Adambro (talk) 21:36, 5 April 2009 (UTC)
Sorry, but "bi" is not intuitive and not used commonly. Therefore it only serves to confuse the matter for the primary and far far larger set of photos from the original Geograph website. Yes, there is now a German version, but it only has a handful of contributions (1500 or so) and there is no other scountry version that I'm aware of. In light of that why bother with a generic solution when there's no need currently? More constructively - if there ever is a large amount of related per-contry projects in the future then consider names such as {{Geograph Germany}}, {{Geograph UK and Ireland}}, ... /wangi (talk) 13:04, 6 April 2009 (UTC)
  • Thanks to the GeographBot, {{geograph}} is now used by more than 250,000 images and is set to go up to 1.7 million or more. — RHaworth (Talk | contribs) 16:29, 21 February 2010 (UTC)


Please remove [[en:Image:{{PAGENAME}}]]. Some time ago, we agreed that file description pages shouldn't have such interwikis. -- User:Docu at 05:16, 4 December 2009 (UTC)

Done. --Slomox (talk) 11:45, 4 December 2009 (UTC)

File:British_Isles_all.svg on Template:Geograph/layout[edit]

The vertical size of the image is currently 175px (for a width of 100px). With most screen sizes, this is much more than the text of the tag. Could it be reduced to, e.g. 70px? -- User:Docu at 00:28, 11 December 2009 (UTC)


Not really a massive problem, but the en.wiki page about the project is now located at Geograph Britain and Ireland, so it currently redirects. Don't know if it's worth correcting? Bob Castle (talk) 15:02, 19 July 2010 (UTC)

Attribution-ShareAlike 2.0 license should be linked[edit]

"Attribution-ShareAlike 2.0 license" should be linked as in the normal Cc-by-sa-2.0 template. Jason Quinn (talk) 23:47, 18 November 2010 (UTC)

Parameter documentation[edit]

Added a brief parameter list to the templatebox. My first try, so no "professional" docu by any means. GermanJoe (talk) 15:59, 20 November 2012 (UTC)

Spaces at the start of sort keys[edit]

Is it intentional that the sort keys in Category:Images from the Geograph British Isles project generated by this template all have spaces at the start? For instance, the sort key for File:Coire Toaig - geograph.org.uk - 12345.jpg is ␣00012345 (where represents a space). This confused me quite a lot when I was trying to get Geograph Update Bot to start processing the category at a particular image number. If it's not intentional, I'd like to remove that space. This would confuse any existing tools that depend on the precise format of the sort key. --bjh21 (talk) 13:42, 21 August 2017 (UTC)

@Bjh21: it's intentional. We have it this way for most tracker templates where we use the id in the sortkey (for example {{Rijksmonument}}). I remember trying to switch it to without spaces on one of these templates and undoing that because something broken. Not sure what it was again, I think some MediaWiki logic kicked in that messed up the sortkey. I would just keep it this way, it's only cosmetic to change.
I see you are starting up user:Geograph Update Bot. That's very nice! It's a long time since I did the original mass upload with User:GeographBot. My ancient code is in https://github.com/multichill/toollabs/tree/master/bot/geograph , you might find something useful in there. Multichill (talk) 16:38, 21 August 2017 (UTC)
@Multichill: Since it's intentional and consistent across templates, I'm happy for the sort keys to stay as they are. Thanks for your help --bjh21 (talk) 16:56, 21 August 2017 (UTC).


{{edit request}} can someone please change all http to https? geograph supports TLS now TemTem (talk) 02:35, 12 September 2017 (UTC)

Note that the only protected template affected by this is {{Geograph/en}}. All of the other languages are unprotected and can be edited by normal users. --bjh21 (talk) 11:55, 13 September 2017 (UTC)
i have edited the subtemplates except the english version. i am going to the admin noticeboard to ping them to this TemTem (talk) 11:06, 14 September 2017 (UTC)
I'm coming here to make the same request, having just made a bot suggestion to deal with all the many non-template links to Geograph. I have also mentioned this at Template talk:Geograph/en as is the talk page of the actual page still to be edited. Let's hope someone actions it soon. Beorhtwulf (talk) 23:48, 20 September 2017 (UTC)

✓ Done -- User: Perhelion 20:04, 27 September 2017 (UTC)

Replace map with correct one[edit]

{{edit request}}

While we're re-rendering 1.8 million pages, could I request that the map in {{geograph/layout}} be changed from File:British Isles all.svg to File:Geograph Britain and Ireland scope.svg? The current map has the Channel Islands filled in red, but they're not part of the scope of Geograph Britain and Ireland. --bjh21 (talk) 13:45, 12 September 2017 (UTC)

Superseded by edit request below --bjh21 (talk) 10:01, 27 September 2017 (UTC)

... or replace map with a better one[edit]

Inspired by the comment "Should find a better image" in {{geograph/layout}}, I'd like to propose replacing the map image with File:Geograph depth small.png. This is the depth map from Geograph, and is sensibly licensed (unlike the Geograph logo). It's got squares and maps and green and red, and is prettier than the coverage map. Any objections? Here's what it would look like:

Geograph depth small.png
This image was taken from the Geograph project collection. See this photograph's page on the Geograph website for the photographer's contact details. The copyright on this image is owned by {{{2}}} and is licensed for reuse under the Creative Commons Attribution-ShareAlike 2.0 license.

--bjh21 (talk) 12:18, 13 September 2017 (UTC) {{edit request}} In the absence of complaints, please could an admin modify {{geograph/layout}} to replace the whole of the second line. It is currently:

 | [[File:British Isles all.svg|50px|link={{Smartlink|Commons:Geograph Britain and Ireland|{{{lang}}}}}]]<!-- Should find a better image -->

and it should become:

| [[File:Geograph depth small.png|50px]]

Note that I've removed the link override because the new image is CC-BY-SA-2.5 licensed and I think we thus need a working link to its file page for attribution. --bjh21 (talk) 10:01, 27 September 2017 (UTC)

✓ Done -- User: Perhelion 20:05, 27 September 2017 (UTC)

Category renaming[edit]

{{edit request}} Please could all instances of Images from the Geograph British Isles project in {{geograph}} be replaced by Images from Geograph Britain and Ireland? There are four such replacements to make. This implements the unopposed proposal at Commons:Categories for discussion/2017/08/Category:Images from the Geograph British Isles project and the obvious consequent change to Category:Images from the Geograph British Isles project with broken templates. --bjh21 (talk) 10:10, 27 September 2017 (UTC)

✓ Done bjh21 -- User: Perhelion 16:56, 27 September 2017 (UTC)