Template talk:Main page/2020
Add topicThis page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Archives: Template talk:Main page: 1 (pre-2020), 2 (original Flow board), 2020, 2022, 2023, 2024
Talk:MediaWiki (wikitext): 1 · 2 · 3 · 4 · 5 · 6
Talk:MediaWiki (Flow/LQT exports): 2012, 2013, 2014, 2015, 2016, 2019
Hidden topics: see history
Main page translations don't show
[edit]The Main page template is used with the parameter 1
set to en
which prevents translated content from being shown on the Main Page. The parameter should be removed. (Invalid parameters will lead to the page being shown in English, so there wouldn't be a resulting problem.) Sycaton (talk) 13:10, 26 May 2020 (UTC)
Done Shirayuki (talk) 13:27, 26 May 2020 (UTC)
- Thank you! Sycaton (talk) 13:43, 26 May 2020 (UTC)
- I note that you performed that exact opposite edit at Template talk:Main page#Display preferred language due to a request by Wargo. A decision should be made here, rather than there being hodgepodge oscillations at the request of individual users. * Pppery * it has begun 14:34, 26 May 2020 (UTC)
- The edit at MediaWiki was wrong and unrelated to the request. At that time I should do this edit at Template:Main page. Shirayuki (talk) 21:18, 26 May 2020 (UTC)
When will there be support for php7.4?
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Php7.4 is what I use so is there a beta version for mediawiki compatible with php 7.4 Nsturtz2 (talk) 21:42, 17 June 2020 (UTC)
- Off topic for this page which is for discussion of the MediaWiki page content and not the general software product. Project:Support desk is potentially a better place to ask. I imagine the answer will be "we don't know", but I might be wrong. :) BDavis (WMF) (talk) 22:33, 17 June 2020 (UTC)
Couple of issues impacting mobile display/discussion
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
1) The entire content is collapsed under a single heading on the page "MediaWiki is a collaboration and documentation platform brought to you by a vibrant community.".
Solution: wrap the whole content in a DIV this will disable section collapsing on mobile and make the page more usable.
2) The talk button is inaccessible
The title is hacked with opacity:0;position:absolute; which impacts the talk tab. There should be no need to do this - the template is used on the main page not here.
Please remove this code:
{{DISPLAYTITLE:<span style="opacity:0;position:absolute;">{{FULLPAGENAME}}</span>}}
Jdlrobson (talk) 01:29, 16 July 2020 (UTC)
- Regarding: 2) Does (some of) the
| #default= {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Main page|noshift=1|uselang={{{1|{{int:lang}}}}}}}<!-- -->{{#ifeq:{{NAMESPACE}}||{{languages|Template:Main page}}}} }}
part at the bottom also need removal? I obviously have no idea why that's here or what needs to be done. - Someone feel free to go ahead. AKlapper (WMF) (talk) 07:39, 16 July 2020 (UTC)
- There should be no need to do this - the template is used on the main page not here.
- The displaytitle code exists to hide the page title on the main page. Removing this code would make it no longer do that. I'm not sure in what way Template vs Main page matters, except that the rendering of the main page seems more important than this individual template page, so let's not just remove this :) Perhaps you can suggest an alternative way instead? Krinkle (talk) 12:41, 16 July 2020 (UTC)
- The main page title can be hidden using MediaWiki:Common.css - that's how most of wikis tend to do it. Mobile doesn't render the heading on main pages (that should probably be the default on desktop too but it isn't). Jdlrobson (talk) 15:34, 16 July 2020 (UTC)
- 1) is now
Done. 2) needs an IAdmin to complete, maybe @DannyS712 can help us here? Taavi (talk!) 16:14, 16 July 2020 (UTC)
- Sure - do I understand correctly that the request (from me) is to use Common.css to hide the title from being displayed on the main page? If so, adding
.action-view.page-MediaWiki { display: none !important; }
- to common.css should be enough DannyS712 (talk) 16:23, 16 July 2020 (UTC)
- Uhhh, not sure if that's enough. The same treatment should be applied to all translated versions. Taavi (talk!) 16:44, 16 July 2020 (UTC)
- Then I'll also apply it to
.rootpage-Template_Main_page
which will cover the translations DannyS712 (talk) 16:49, 16 July 2020 (UTC)
Broken transclusion of news
[edit]This template tries to transclude Template:MediaWiki News when there’s no translation of that template in the desired language, which is broken because of the translate markup. Either this template should transclude Template:MediaWiki News/en instead, or Template:MediaWiki News should autotranslate itself. Tacsipacsi (talk) 14:30, 13 September 2020 (UTC)
- We should re-translate Template:MediaWiki News. Shirayuki (talk) 22:53, 13 September 2020 (UTC)
- I don’t understand you. What should we re-translate? How would that resolve this issue? As long as
<translate>
tags are transcluded, it will be broken. Tacsipacsi (talk) 23:03, 13 September 2020 (UTC) - Sorry. Shirayuki (talk) 11:06, 14 September 2020 (UTC)
- @Iniquity @Base Can you determine what the problem is here? See e.g. Template:Main_page/nl in contrast to Template:Main_page/de.
- (For others, see context at Talk:News/Archive 2/Flow export#h-Can_we_switch_on_translation_for_this_page?-2020-08-27T22:52:00.000Z) Quiddity (WMF) (talk) 16:14, 14 September 2020 (UTC)
- Fixed. --Base (talk) 17:14, 14 September 2020 (UTC)
- Thank you! Quiddity (WMF) (talk) 17:27, 14 September 2020 (UTC)
Please add link to Develop and extend code
[edit]Please add Manual:How_to_make_a_MediaWiki_skin to the develop and extend code section. It's a great way for volunteers to get involved! Jdlrobson (talk) 01:44, 31 December 2020 (UTC)
- Done – Ammarpad (talk) 09:51, 31 December 2020 (UTC)
- Hmm, I don't think we should link to this. Making skins is a very arduous and not very well supported area still, despite Jon's excellent work of late… Jdforrester (WMF) (talk) 01:21, 1 January 2021 (UTC)
- Could you be more specific here about what is arduous in the process? To be clear I think we are talking about creating a skin for fun, not for use on Wikimedia servers, which is a very different thing.
- I think creating a skin should be a lot easier now with the additional abstractions, and I want us to support it better to make it easier to maintain our own skins, and if it's not I'm keen to hear about what specifically doesn't make sense. I can't hear that feedback unless people are encouraged to develop skins... :-) Jdlrobson (talk) 23:10, 5 January 2021 (UTC)
- This is the very top level of prompts for something a new developer might want to do. Indeed, it was inserted above the previous single prompt of working on core itself, or on extensions; it should be added to that page, not re-prioritising such a thing so much. Jdforrester (WMF) (talk) 19:47, 6 January 2021 (UTC)