Template talk:Main Page Template
“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)
[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)
- 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)
The link to Category:Sound at the top should be replaced by a link to Category:Audio files. --Reinhard Müller (talk) 07:48, 30 September 2018 (UTC)
Not done for now. Reinhard Müller, please get some additional input at either Talk:Main Page or at the village pumps regarding this change. I feel like any changes to the main page should probably have a little bit of input before changes are made. If no one objects within a reasonable timeframe I'll make the change. --Majora (talk) 03:10, 5 October 2018 (UTC)
Edit request: allowing full page width[edit]
Hi,
At line 2, there is the CSS property max-width: 1040px;
. I think it can be a good idea to remove this style attribute to allow the template to use the full width of the page (like almost all others main pages on wikis).
Cordally. --Niridya (talk) 21:04, 7 February 2019 (UTC)
Already done by 4nn1l2 MorganKevinJ(talk) 18:24, 19 August 2019 (UTC)
Responsive design[edit]
The sandbox should be synced into the master version. It looks fine both in Firefox and Chrome, both on desktop and mobile; I could not test it, however, on the mobile main page, which displays content in a quite unique way: it only shows certain elements. So the fulfilling admin should check https://commons.m.wikimedia.org/ after doing the change to see if it displays correctly. (Or the special casing may be disabled before syncing like in this Phabricator task, but that step will certainly make the main page ugly, so it should be done just before publishing the new main page version.) Thanks in advance! —Tacsipacsi (talk) 00:18, 7 June 2019 (UTC)
Support --Niridya (talk) 19:50, 8 June 2019 (UTC)
Done I also checked the mobile version, and it looked OK. 4nn1l2 (talk) 06:11, 9 June 2019 (UTC)
Let's tweet MOTD as well[edit]
{{Edit request}} Add
* [https://twitter.com/share?url=http:{{fullurl:File:{{Motd/{{formatnum:{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|R}}}}}}&via=WikiCommons&text={{urlencode:{{{Tweet text motd|Check out today's #MediaOfTheDay on Wikimedia Commons at}}}}}&related=WikiCommons,Wikipedia '''{{{Tweet|Tweet}}}''']
just like Potd above it.--Roy17 (talk) 22:10, 27 September 2019 (UTC)
Another thing. ;and more!
is probably placed in the wrong line. It should be below {{{Explore|
.--Roy17 (talk) 22:10, 27 September 2019 (UTC)
- Hey Roy, it would be a bit easier if you edit the sandbox for your request. -- User: Perhelion 17:58, 29 September 2019 (UTC)
- @Tacsipacsi: you reverted partially, can you explain this more detailed, as I mean Roys suggestion was right. -- User: Perhelion 18:36, 29 September 2019 (UTC)
- I explained the revert entirely: there was no explanation for the original change in the first place. The edit summary contained no information about the intents of the edit, and this talk page had only a section about the Twitter link change. (This is the problem of the entirely unrelated by-the-ways: I just haven’t noticed that single sentence on this talk page.) Although this change is likely to not cause any problems, I think all usages should get a sight. @Perhelion, I see you’re an AWB user on Commons. Can you go through them? It’s far faster than manually, but I can’t use it even read-only as I’m not authorized on Commons. —Tacsipacsi (talk) 19:21, 29 September 2019 (UTC)
- @Tacsipacsi: Ok, what do you want exactly? -- User: Perhelion 17:40, 1 October 2019 (UTC)
- @Perhelion: At least a spot check that nothing breaks (e.g. one parameter is specified, other isn’t, or the change breaks wiki markup somehow), but ideally the parameters should have the translated content of the English default (i.e. all main pages migrated where the translation of “and more!” is in the previous parameter). Even more ideally, main pages would be translated using the Translate extension, and this template would not be needed in the first place, but that goes far from this particular change… —Tacsipacsi (talk) 19:43, 4 October 2019 (UTC)
- @Tacsipacsi: Ok, what do you want exactly? -- User: Perhelion 17:40, 1 October 2019 (UTC)
- I explained the revert entirely: there was no explanation for the original change in the first place. The edit summary contained no information about the intents of the edit, and this talk page had only a section about the Twitter link change. (This is the problem of the entirely unrelated by-the-ways: I just haven’t noticed that single sentence on this talk page.) Although this change is likely to not cause any problems, I think all usages should get a sight. @Perhelion, I see you’re an AWB user on Commons. Can you go through them? It’s far faster than manually, but I can’t use it even read-only as I’m not authorized on Commons. —Tacsipacsi (talk) 19:21, 29 September 2019 (UTC)
Not done Sandbox first. --Hedwig in Washington (mail?) 09:21, 2 December 2019 (UTC)
Remove Special:MyLanguage/[edit]
There are two Special:MyLanguage/
, but the pages are not translatable. I asked for a fix, but User:Tacsipacsi turned it down: special:permalink/368537114.--Roy17 (talk) 17:16, 28 September 2019 (UTC)
- These pages should be changed to use the Translate extension in the long run (I don’t want to prevent this change, only warned that it’s likely not to be done in the near future), and, as I mentioned, Special:MyLanguage causes no harm until then. I don’t think anything should be changed in this template. —Tacsipacsi (talk) 21:16, 28 September 2019 (UTC)
- The decoy is useless and wastes template translators' time. There is not a single page here or on mediawiki that explains what MyLanguage is and how it works (or does not work in this case). It took me some time to realise that those two pages have to be translatable. Since they are not and will not be, do not keep this decoy and waste volunteers' time.--Roy17 (talk) 22:10, 28 September 2019 (UTC)
- How does it waste translators’ time? What wastes time is this debate about removing the prefixes. And, as I already mentioned, the feature does not require the page being translatable: just click https://commons.wikimedia.org/w/index.php?title=Special:MyLanguage/Commons:Picture_of_the_day&uselang=de – the page still doesn’t use the Translate extension, but the link goes to the right place (because I’ve just created Commons:Picture of the day/de as a redirect). And I made clear several times that nothing prevents the page from being made translatable, it’s just a huge amount of work, so it’s not likely to happen shortly—but it may; the only thing that makes it sure not to happen is that nobody raises it at the right place. —Tacsipacsi (talk) 22:33, 28 September 2019 (UTC)
- @Tacsipacsi: thank you for just creating the redirect. That trick is not explained anywhere though.--Roy17 (talk) 22:41, 28 September 2019 (UTC)
- How does it waste translators’ time? What wastes time is this debate about removing the prefixes. And, as I already mentioned, the feature does not require the page being translatable: just click https://commons.wikimedia.org/w/index.php?title=Special:MyLanguage/Commons:Picture_of_the_day&uselang=de – the page still doesn’t use the Translate extension, but the link goes to the right place (because I’ve just created Commons:Picture of the day/de as a redirect). And I made clear several times that nothing prevents the page from being made translatable, it’s just a huge amount of work, so it’s not likely to happen shortly—but it may; the only thing that makes it sure not to happen is that nobody raises it at the right place. —Tacsipacsi (talk) 22:33, 28 September 2019 (UTC)
- The decoy is useless and wastes template translators' time. There is not a single page here or on mediawiki that explains what MyLanguage is and how it works (or does not work in this case). It took me some time to realise that those two pages have to be translatable. Since they are not and will not be, do not keep this decoy and waste volunteers' time.--Roy17 (talk) 22:10, 28 September 2019 (UTC)
Edit request: Add link to Commons:Featured videos[edit]
Hi there,
Please add a link to Commons:Featured videos in the highlights section if it can be done easily. It should show If you are browsing Commons for the first time, you may want to start with Featured pictures, Quality images, Valued images or Featured videos.
Best, Eatcha (talk) 14:18, 15 October 2019 (UTC)
Done Awesome! Thank you! Hedwig in Washington (mail?) 08:25, 17 October 2019 (UTC)
Featured videos to Featured media[edit]
Please change [[Commons:Featured videos|Featured videos]]
to [[Commons:Featured media|Featured media]]
. Featured videos renamed/merged to/with Featured media per this discussion. // Eatcha (talk) 08:51, 17 June 2020 (UTC)
Done Awesome! Thank you! 4nn1l2 (talk) 02:48, 19 June 2020 (UTC)
List of discussion pages[edit]
Please add this (or similar) to the top (or near the top) of the "Participating" section:
- Discussion?
- See the list of discussion pages.
{{{Discussion| ;Discussion? : See the [[Commons:Discussion pages|list of discussion pages]].}}}
--Timeshifter (talk) 03:05, 13 February 2023 (UTC)
- Timeshifter,
Done --Jarekt (talk) 03:25, 22 May 2024 (UTC)
- Thanks Jarekt! --Timeshifter (talk) 15:17, 22 May 2024 (UTC)