MediaWiki talk:Sharedupload-desc-here

Which version
What i liked about the new version of the shared upload notice was that it didn't place such an emphasis on who hosted the content (largely irrelevant), that it was free content and so on, it was just a short, to the point notice with two links, one bold which pointed you to the image description page on the commons.

I feel that the user interface here in general is a bit to prone to creeping featurism, the longer this message is the less efficient it can be at its original purpose, to direct whoever goes to an image page to its description page on the commons.

For reference here are the two versions of the message: —Ævar Arnfjörð Bjarmason 09:38, 2005 Mar 1 (UTC)

See Wikipedia:Village pump (policy)#Tag for images on commons. Basically someone was concerned that the message didn't indicate that Commons was all free content and didn't indicate where licensing and authorship information might be found. "Image description page" is, after all, a bit of Wikipedia jargon that the average reader might or might not figure out. If it's necessary to keep it short and sweet, while still incorporating these vital points, I'd suggest:

This omits the fact that the Commons is a Wikimedia project, which isn't essential, but keeps the two important points: the content is free, and the important information is on the Commons page. &mdash;Charles P. (Mirv) 18:31, 1 Mar 2005 (UTC)


 * I think the link Free content is not needed. Every additional link distracts from the really important one to the image description page. The details of free is described there anyway. -- Chris 73 Talk 13:31, Mar 2, 2005 (UTC)


 * The current version is fine. --Meno25 02:00, 15 December 2006 (UTC)

Image description page -> file description page
Would it not be better (for instance, for ) to have the text reading file description page rather than image description page? I know the namespace is currently, although I hope this might, in the future, change to. Cheers, Smoddy (tgec) 18:17, 14 Mar 2005 (UTC)

Proposed updates

 * 1) I think "its" should not be part of the link to the image description page. If i wasn't here for #2 anyway, I would have just been bold and done it..
 * 2) The word "copied" should be changed to "shown". I remember, when I was newer, this made me think that someone manually copied the page, and that it may be out dated.

What do you all think of that? -- Phroziac (talk) 23:07, 24 September 2005 (UTC)
 * Sounds good to me... especially #2 as it makes more sense than the current message.  Sasquatch  t|c 23:22, 24 September 2005 (UTC)
 * Sounds good to me as well. -- S iva1979 Talk to me  18:26, 31 July 2006 (UTC)

please change to:
Image:Commons-logo.svg --Paddyez 16:24, 7 October 2005 (UTC)

trying to raise proife of commons
editprotected

change the thing to this User:Geni/temp so that people relise there is a project they can contributr to.Geni 23:34, 19 March 2007 (UTC)


 * I agree that something along those lines (maybe a slight rewording) would be useful. The current notice links to the Commons but doesn't actually say what it is; many Wikipedia readers don't even know there are other Wikimedia projects. Sure, there are the sister project links at the bottom of the Main Page and in other places, but people often don't notice them. Being as it is directly relevant to the Commons, this is a good place to have such a message – Qxz 23:37, 19 March 2007 (UTC)


 * Has been done (by Raul654, he forgot to remove the – Qxz 02:46, 20 March 2007 (UTC)

correction on the link it should point to commons:Commons:Upload/en rather than Upload/en.Geni 03:06, 20 March 2007 (UTC)
 * ✅ Cbrown1023 talk 22:46, 20 March 2007 (UTC)

Commons:Commons:Welcome would be a better page for a "You can help" link, really - David Gerard 16:03, 7 September 2007 (UTC)


 * Tl:dr. Just too much text there. commons:Commons:Upload/en at least gets yu dirrectly into things.Geni 17:13, 7 September 2007 (UTC)
 * I doubt people will just upload something if they don't first have some idea of what the Commons is. Also, there are ways of helping Commons other than uploading images. Commons:Welcome mentions those ways, Commons:Upload does not. ssepp(talk) 23:33, 7 September 2007 (UTC)

"Please do not categorize this file locally"
"Please do not categorize this file locally"

The above addition to the template was not discussed before being added recently by Yonatan. Please see this diff: 

The edit summary was: "files should be categorized on commons, not locally in 99.9% of cases (ie. every case except for en.wp featured images"

This is incorrect. This addition should be removed pending discussion. I have started a discussion here:
 * commons:Commons:Administrators%27_noticeboard

Please continue discussion there mostly, in order to avoid duplication and confusion in the talk threads.--Timeshifter 13:52, 2 September 2007 (UTC)
 * [[Image:Yes check.svg|20px]] Done. I undid the edit while discussion continues. Cheers. --MZMcBride 02:51, 3 September 2007 (UTC)
 * Thanks. --Timeshifter 03:09, 3 September 2007 (UTC)

Link to Wikimedia Commons
I want to suggest that instead of linking to the home page, we link to Wikimedia Commons. --Steinninn 01:57, 8 September 2007 (UTC)

protected edit request
Apply the "plainlinks" class to this message, to hide the external link icon on the "edit" link, which is actually an inter-project link, thus:

-- Gurch (talk) 21:21, 27 August 2008 (UTC)
 * [[Image:Yes check.svg|20px]] Done. Though I didn't use your code, as it was broken. Cheers. --MZMcBride (talk) 23:32, 27 August 2008 (UTC)

Imbox
editprotected Please replace the page with the following code: Thanks. —Ms2ger (talk) 17:25, 26 September 2008 (UTC)
 * ✅ X clamation point  03:46, 27 September 2008 (UTC)

Oh no no. The loss of complete screen width means that you lose the commons as sort of elsewhere vibe. The extra high is bad the stronger colours distact from the other stuff on the page and the extra hight is undesirable. The tex formating also becomes an issue.Geni 04:51, 27 September 2008 (UTC)


 * Huh? I know you're a fair site more intelligible on IRC. --Izno (talk) 04:57, 27 September 2008 (UTC)


 * Sort version the graphic design on the new version sucks and the change should not have been made without debate first.Genisock2 (talk) 05:01, 27 September 2008 (UTC)


 * I reverted the edit, since this needs more discussion.
 * For reference, here is how this message looked with the imbox code:


 * And here is how this message used to look and how it now looks again since I reverted:


 * I agree with Geni here. I don't think this message should use the imbox (even though I was the one who designed the imbox). The imbox was designed for "image message boxes" that are placed on image pages, usually by humans. But the sharedupload message is an automatic system message and is placed at the very top, something I call a "header message box". Header and footer message boxes usually use 100% width and the table of content colours. See for instance MediaWiki:Sp-contributions-footer, MediaWiki:Sp-contributions-footer-anon, MediaWiki:Anontalkpagetext and the automatic category footer box at the bottom of pages who have some category.
 * However, this message currently uses somewhat clumsy code. I would like to update it to use the mbox compatible fmbox instead. That is the "footer and header message box" and it was designed especially for this kind of messages. It is mbox compatible in the sense that it uses the same padding and the same parameters as the other mboxes do, like for instance the ambox and the imbox. Then it would look for instance like this:


 * Note that these examples look very different depending on screen resolution. So to get the complete picture you need to try it in some different screen resolutions.
 * --David Göthberg (talk) 08:22, 27 September 2008 (UTC)


 * ✅ Done - I finally got around to do this update. This message now uses the fmbox, so it now matches the other system messages. But I added a &lt;div>&lt;/div> around the text inside it, to give it more top and bottom text padding, so it looks a bit more like the old version.
 * --David Göthberg (talk) 10:58, 26 November 2009 (UTC)

Icon
I've placed a small Commons icon on the template, that appears in the top right corner for every image that is being pulled from Commons. This makes it much more readily apparent what the source is. Ideally, it would link to the Commons File: page, but I couldn't get the magic words to work with the image map. *shrug*

Anyway, I realize I'm implementing it without much discussion. WP:BOLD and all that jazz. Feel free to revert, discuss, or heap praise upon me as the spirit moves you (the third is my personal preference). EVula // talk // &#9775;  // 21:18, 31 December 2008 (UTC)

Sparely documented image syntax. — Dispenser 18:22, 11 January 2009 (UTC)
 * Fantastic, thank you. I'd never seen "link" be used in an image tag... very handy. EVula // talk // &#9775;  // 18:27, 11 January 2009 (UTC)
 * It's new. I can't find the documentation, there's also alt=. The other way is to use  .  — Dispenser 18:57, 11 January 2009 (UTC)

Link to secure server
editprotected

I log in to Wikipedia via the secure server and unfortunately this template liks me to the unsecure page on Commons. I would like to change



to



(or something smarter using and/or  so that the one link that is used points to the unsecure Commons-site for users coming from an unsecure login from Wikipedia, and points to the secure Commons-site for users coming from a secure login from Wikipedia). --Bensin (talk) 21:50, 24 July 2009 (UTC)


 * I have been looking for a day to find a method to keep a commons interwiki link on the secure server, but it's just not working. I don't think it's a good idea to provide two links either. It might be confusing to other users. There are scripts that can help you keep on the secure server, automatically translating http:// links to wikimedia servers to https secure links. User:Anakin101/alwayssecurewikipedia.js for instance does this. —Th e DJ (talk • contribs) 10:23, 25 July 2009 (UTC)


 * Thanks for the tip! What if we put the link in the bottom right corner and specify that is leads to the secure server? --Bensin (talk) 13:20, 25 July 2009 (UTC)


 * This would be a great feature to request at bugzilla. Making all interwiki links automatically link to the secure server would be awesome. --- RockMFR 16:42, 25 July 2009 (UTC)

Of course you should still file a bug. — Dispenser 18:18, 25 July 2009 (UTC)


 * Done. Good work Dispenser ! BTW the bug for this is 5440. —Th e DJ (talk • contribs) 18:57, 25 July 2009 (UTC)


 * Thank you! --Bensin (talk) 02:52, 26 July 2009 (UTC)


 * Dispenser: Thanks for the code you showed here. It inspired me to make the template sec link auto and write Secure server. And now I have applied to the rest of the links in this interface message. I am also applying it to many other places, like the Main Page. See Wikipedia talk:Secure server.
 * --David Göthberg (talk) 02:47, 24 December 2009 (UTC)


 * Today Docu made several experimental edits to this interface message. His final version was using sec link image in a way it is not intended to and which removed the padlock from the link to the image on Commons. I reverted his edits.
 * I have asked him to come here to explain what he tried to achieve. And Docu: Don't do experimental edits on live interface messages, since any mistakes you do are instantly visible to all users. Instead you could have copied the code of this message to any image description page, edited it, and previewed it as much as you wanted.
 * --David Göthberg (talk) 20:45, 24 January 2010 (UTC)


 * Your version had generated broken links. Please don't do experimental edits to the interface. If you edit the interface, please make sure to test the changes before and after doing them. -- 签名 sig  at  20:53, 24 January 2010 (UTC)


 * sec link auto and sec link image for the most part internally use the same sub-templates to generate the actual links, so most likely also your version of MediaWiki:Sharedupload-desc-here would be broken. But I have done extensive testing, as far as I can see works very well and handles page names with special characters and spaces etc fine. And I have tested MediaWiki:Sharedupload-desc-here with such image names, it seems to work fine.
 * Docu: Can you describe in what way the links were broken? And can you point to some examples?
 * --David Göthberg (talk) 21:49, 24 January 2010 (UTC)
 * I second David's opinion. —Th e DJ (talk • contribs) 00:10, 25 January 2010 (UTC)


 * David's last edit seems to have fixed the problem with his previous version. It might help if less sub-template calls were used to create the links in this template. -- 签名 sig  at  14:21, 26 January 2010 (UTC)
 * I managed to re-create the bug with his previous version on test. It happens with file names including a comma (","). -- 签名 sig  at  14:55, 26 January 2010 (UTC)


 * Ah, thanks for the bug report. I'll investigate that. Strange. And regarding the sub-templates: Right, sec link auto has several sub-templates. But on each usage it only calls two of them, one to create the link, and one to handle the link text. The reasons I broke out that functionality to sub-templates is that belongs to a family of templates which includes sec link and sec link image. Having those parts in sub-templates means those templates can use the same sub-templates, which means when they add another Wikimedia project we only need to do each edit in one place, not do the same update to all three of,  and . And it meant it was easier to properly debug each part.
 * --David Göthberg (talk) 08:34, 27 January 2010 (UTC)


 * If you want to experiment, I left them on Test for now. Eventually, I should delete them there though. It took quite a few imports to get all of them ;). -- 签名 sig  at  10:42, 27 January 2010 (UTC)

Ah. Always seperate link cases from usecases. The first uses PAGENAME, the second uses PAGENAMEE (extra e for 'encoded'). Double encoding is as bad as no encoding. —Th e DJ (talk • contribs) 12:26, 27 January 2010 (UTC)


 * Docu: You are not very clear. What do you mean by "I left them on Test"?
 * TheDJ: Right, sec link auto internally does the "EE" conversion when needed. We should not feed "" to that template, instead we should feed "" without the "EE" part. It was my mistake, I reused parts of the old code in this system message when I added.
 * A simple test here shows the problem that Docu has discovered:

1: ++

2: ++

3: ++

4: ++


 * 1: ++


 * 2: ++


 * 4: ++


 * 5: ++


 * Oddly enough a double "EE" conversion of special characters like "ö" causes an empty string. But it doesn't seem to choke on comma or space.
 * Docu: So I am guessing that the image page you saw that had problems contained some special character in the image name. Could you please tell us what image it was?
 * --David Göthberg (talk) 15:28, 27 January 2010 (UTC)

Suggested improved wording
editprotected Something always niggled me about the use of the same word in quick succession... Suggest changing it to ..

'This is a file from the Wikimedia Commons. Information from its description page there is shown below. '

I.e. change 'The description on' to 'Information from' since it is actually more than the description that is included ... Lee&there4;V (talk  •  contribs)  23:33, 25 August 2010 (UTC)
 * Done. I agree on all accounts, as reflected in my edit summary. I thought of changing "shown" to "reproduced" as well but I don't want to mess with it too much.--Fuhghettaboutit (talk) 00:57, 26 August 2010 (UTC)

hi, please convert " " to " File: ", may this is not important for enwiki but is important for wikis that have not same namespace for files with commons and want copy from this template. thanks.--ebraminiotalk 21:51, 2 January 2011 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 16:09, 4 January 2011 (UTC)

MediaWiki:Sharedupload
copied from User talk:TheDJ:

Hi,

You are the last one who edited MediaWiki:Sharedupload. When i see it at Special:AllMessages, it is identical to the source - "This file is from $1 and may be used by other projects.". But when go to the actual page, i see #REDIRECT MediaWiki:Sharedupload-desc-here. Can you explain this?

Thank you. --Amir E. Aharoni (talk) 20:04, 19 June 2011 (UTC)
 * MediaWiki:Sharedupload is not actually used by the MediaWiki software anymore. Instead MediaWiki:Sharedupload-desc-here and MediaWiki:Sharedupload-desc-there are used instead. I made it a redirect because there were many inbound links towards it from older discussions. —Th e DJ (talk • contribs) 21:33, 19 June 2011 (UTC)

Edit request from LikeLakers2
editprotected

I see no reason to need the padlock.

LikeLakers2 (talk &#124; Sign my guestbook!) 21:20, 1 October 2011 (UTC)
 * Done. It's funny I never noticed those were there despite seeing this displayed on image pages thousands of times and having edited this page in the past.--Fuhghettaboutit (talk) 21:34, 1 October 2011 (UTC)
 * Actually, caused by a rewrite of sec link auto. We are going through an https:// setup change, so expect to see more of these 'weird' things the coming days that need to be sorted out. We used a lot of hacks in the past to workaround much of these issues. Those hacks will need to be adapted or removed altogether. And at which specific points might take a few days to figure out. —Th e DJ (talk • contribs) 22:18, 1 October 2011 (UTC)

Unlinking of Commons-logo.svg
What do you think about unlinking the Commons logo or making the link point to the file on Commons like pt:MediaWiki:Sharedupload-desc-here? I can imagine that a great deal of the the logo gets are from people looking for the Commons file, not the 1,024×1,376 version of the logo. jonkerz♠ 15:52, 25 November 2011 (UTC)


 * No answers since November; edit request added.
 * Can someone please add  to the image in the |image parameter. This will link the Commons logo to the file on Commons. Or, add   to disable the link (this is how it is done on ). Not linking the Commons logo should not be a copyright/attribution issue, since it's not CC-licenced and The Foundation owns the copyright. jonkerz ♠talk 13:04, 10 February 2012 (UTC)
 * Hi, could you please clarify it? Looking on the version on pt.wikipedia rather appears it's broken there and not here. Did you mean to fix the version on pt wiki? Petrb (talk) 13:27, 10 February 2012 (UTC)
 * Ah, hi again :)
 * I'm referring to the English version, MediaWiki:Sharedupload-desc-here. pt is only used as an example.
 * The link does only not work on pt:MediaWiki:Sharedupload-desc-here when you are viewing the interface page directly, because it needs parameters that only are available when the interface is transcluded. Take a look at any image, such as pt:Ficheiro:Kiwi_(Actinidia_chinensis)_1_Luc_Viatour.jpg, to see it in action. On the pt version, the Commons logo is linking the file on Commons. Compare it to our local version, File:Kiwi_(Actinidia_chinensis)_1_Luc_Viatour.jpg, here the logo is linking a larger version of the logo itself. jonkerz ♠talk 13:43, 10 February 2012 (UTC)
 * Yes I understand it now. Please start a request for comment / try to get a consensus so that we can get a feedback from community to see if this change is required or not, I don't really think this is a bug or something what needs to be urgently fixed. Thank you Petrb (talk) 14:02, 10 February 2012 (UTC)


 * Village pump (technical). XXN, 10:30, 5 April 2017 (UTC)

Italian version
Could you please edit the Italian version of Sharedupload-desc-here with this box?

Thanks in advance.--Carnby (talk) 14:34, 9 April 2012 (UTC)
 * Surely this should be requested at it:Discussioni MediaWiki:Sharedupload-desc-here? Admins on English Wikipedia don't necessarily have admin rights on Italian Wikipedia. I'm certain that I haven't got them. -- Red rose64 (talk) 15:59, 10 April 2012 (UTC)
 * When I browse an image on English Wikipedia with Italian language interface there's a unpleasant text, when I browse the same page on Italian Wikipedia or English Wikipedia with English language interface there's a nice infobox. Check here --Carnby (talk) 15:58, 12 April 2012 (UTC)
 * Where did the Italian text come from? It doesn't read well. What's wrong with "Questo file e la sua pagina di descrizione si trovano su Wikimedia Commons"? Justlettersandnumbers (talk) 01:24, 2 January 2014 (UTC)
 * If you switch to Italian language interface in English language Wikipedia (en.wiki) you'll get an ugly line of text, whereas the English, Dutch, German, Norwegian interfaces of en.wiki (see above) have all a nice box. I would like to get a nice info box also for Italian language (in en.wiki, not in it.wiki where it's OK).--Carnby (talk) 12:47, 2 January 2014 (UTC)

When logged in I see a different (inferior) version of this
I see a line of text only that appears like this:

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

There's no pretty box around it, and the link is not a cross-wiki link, so it opens a new window every time. Annoying. Can anyone figure out where this is from? --99of9 (talk) 04:37, 17 January 2013 (UTC)
 * Your language is probably set to en-gb or en-ca instead of en. Legoktm (talk) 04:18, 14 June 2014 (UTC)

Marking the Commons icon as metadata
The Commons icon is picked up by Media Viewer as a second image on the page. It should have a  or   class. (Ideally, it should be unlinked / linked to Commons as proposed above, but the logo appearing in the Media Viewer image sequence is a bug so we should fix it by other means if there is no consensus for unlinking.) --Tgr (WMF) (talk) 00:34, 24 February 2015 (UTC)
 * Yes check.svg Done I gave it the  class. — Mr. Stradivarius  ♪ talk ♪ 02:06, 2 March 2015 (UTC)

Protected edit request on 4 May 2021
Add alt text to the indicator (and maybe add something like this to the tooltip). Something like this:

"This file is hosted on the Wikimedia Commons. Click here to go to the file page at the Wikimedia Commons." Remagoxer (talk) 18:21, 4 May 2021 (UTC)
 * ❌ not needed, basically this same message is already right in the banner, with the link. Alt text is supposed to describe an indicator, and this is only decorative. —  xaosflux  Talk 00:46, 5 May 2021 (UTC)