Template talk:Main Page Template

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

“Updates”, Twitter, RSS[edit]

Why was RSS removed and replaced by a link to Twitter? While I consider discussions about social sharing buttons to be sometimes funny, adding only Twitter (why not Facebook? also, a feature used by ~1 person a day isn’t really necessary, is it), while also removing technology-neutral RSS feed seems quite wrong to me. --Mormegil (talk) 18:30, 2 September 2013 (UTC)

Translation for Upload button[edit]

{{editprotected}} Hi! Is it possible to change the Upload text of the Clickable button template to a parameter: {{{Upload|Upload}}}. I would like to localize it here. Would it work? Samat (talk) 22:19, 15 March 2014 (UTC)

Or maybe just use {{int:Upload}} (MediaWiki:Upload) as its text? --Tgr (talk) 05:32, 18 March 2014 (UTC)
It sounds perfect for me. But we need an administrator for this change :) Samat (talk) 17:01, 18 March 2014 (UTC)
I returned the {{{Upload|Upload}}} localization. I did not use int:Upload, as it is longer, “Upload file” instead of just “Upload”. --Mormegil (talk) 08:31, 31 March 2014 (UTC)
Maybe MediaWiki:Mwe-upwiz-step-file is more better for this? See all translations... --Kaganer (talk) 13:50, 11 August 2014 (UTC)
Example of code for 'Upload' button:
{{#if:MediaWiki:Mwe-upwiz-step-file/{{{langcode}}}|{{MediaWiki:Mwe-upwiz-step-file/{{{langcode}}}}}|{{int:MediaWiki:Mwe-upwiz-step-file}}}}
--Kaganer (talk) 13:59, 11 August 2014 (UTC)
@Kaganer: Can i close this request or is a edit needed? --Steinsplitter (talk) 12:12, 24 February 2015 (UTC)
Nothing changed :( Maybe apply my proposal and remove this parameter from template and translations? No needed custom translation if exist standard interface message with these same text.--Kaganer (talk) 22:55, 26 February 2015 (UTC)
Already ✓ Done. Adding the upload parameter to the main page template appears to have worked. The main page Kezdőlap correctly shows "Feltöltés" for the text of the upload button. The "nothing changed" error report above may have been a main page caching issue (see Commons:Village_pump/Archive/2015/10#.22Purge.22_the_Main_Page_once_an_hour_or_as_needed). —RP88 (talk) 05:45, 4 November 2015 (UTC)

Remove category[edit]

{{editprotected}} Can we have the category removed so that all the usages of the templates don't turn up in Category:Commons-en? Cheers. Alan Liefting (talk) 09:04, 19 December 2014 (UTC)

✓ Done Awesome! Thank you! Steinsplitter (talk) 12:10, 24 February 2015 (UTC)

Share to twitter (translation of tweet text)[edit]

In the paragraph "Picture of the day" you can share image to Twitter. In the code it looks like [https://twitter.com/share?url=http:{{fullurl:File:{{Potd/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}}}&via=WikiCommons&text={{urlencode:{{{Tweet text|Check out today's #PictureOfTheDay on Wikimedia Commons at}}}}}&related=WikiCommons,Wikipedia '''{{{Tweet|Tweet}}}''']. When you tweet the following text is "Check out today's #PictureOfTheDay on Wikimedia Commons at". You have no ability to change it to other language, so i think, that this discourages foreign users of the project to published POTD. Maybe its possible to change code to [https://twitter.com/share?url=http:{{fullurl:File:{{Potd/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}}}&via=WikiCommons&text={{urlencode:{{{Tweet text|{{{Tweet text|Check out today's #PictureOfTheDay on Wikimedia Commons at}}}}}}}}&related=WikiCommons,Wikipedia '''{{{Tweet|Tweet}}}'''], so on every language page this text can be translated. Ігор Пєтков (talk) 19:02, 7 March 2016 (UTC)

Remove center tag[edit]

Kinda shocked it is there to begin with. Please use margin: 0 auto; in the <div> instead, as I did here. -- [[User:Edokter]] {{talk}} 17:04, 17 April 2016 (UTC)

✓ Done Thanks. --Steinsplitter (talk) 18:28, 17 April 2016 (UTC)

Upload button in Romanian on mobile[edit]

At commons.m.wikimedia.org, the translated versions do not show the header containing the "Upload" button for Romanian. See Romanian Mobile vs. Romanian Desktop vs. English. The Romanian page uses this template, just like the English one, so I suspect the issue is here, but I can't seem to be able to pinpoint it.--Strainu (talk) 13:11, 20 November 2016 (UTC)

This seems to vary with no clear rules of reproduction, so I logged phab:T151170, perhaps the mobile team can come up with an idea.--Strainu (talk) 21:57, 20 November 2016 (UTC)

Main Page size[edit]

Why max-width: 1040px;? Why size of Main Page is not 100% of width? ← Alex Great talkrus? 11:08, 7 January 2017 (UTC)

I support deleting of max-width: 1040px;. Webpage would be good displayed in wide monitors. ← Alex Great talkrus? 11:11, 7 January 2017 (UTC)
Merely making the whole div width:100% would lead to lots of ugly white-space between the featured media and the visible borders – if the page layout is made responsive, that must include the media file inclusion syntax (which I guess is more complicated).    FDMS  4    12:14, 7 January 2017 (UTC)
I think this problem can be solved if community want to solve this. Or this (template)Main Page needed to be reconstruct fully. ← Alex Great talkrus? 05:11, 8 January 2017 (UTC)