Template talk:Main page

About this board

Not editable

Archives: 1 · 2 · 3 · 4 · 5 · 6

Previous page history was archived for backup purposes at Talk:MediaWiki/LQT Archive 1 on 2015-07-10

 

Add link to Developer hub

4
Summary by APaskulin (WMF)

Link added

APaskulin (WMF) (talkcontribs)

Although the Wikimedia Developer Portal is a great entry point for people interested in Wikimedia technical projects in general, this page should also provide a link to the developer documentation specific to MediaWiki. Instead of linking to both Manual:Contents and Developer hub, as this page did previously, I'd suggest linking to just Developer hub since it is more comprehensive and includes a link to Manual:Contents.

Proposed change:

		<h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon chem.svg|20px|middle|link=]]</span><span><translate><!--T:3--> Develop and extend code</translate></span></h3>
		<div id="mainpage-devs" title="<translate nowrap><!--T:15--> Developers</translate>" class="items">
* <translate>Read the MediaWiki [[<tvar name=1>Special:MyLanguage/Developer hub</tvar>|developer documentation]]</translate>
* <translate><!--T:41--> Visit the [<tvar name=1>https://developer.wikimedia.org</tvar> Wikimedia Developer Portal]</translate>
AKlapper (WMF) (talkcontribs)

Sounds good to me

Quiddity (WMF) (talkcontribs)
APaskulin (WMF) (talkcontribs)

Blanking the title w/o the hack is now possible?

1
Lens0021 (talkcontribs)

Please add link to Develop and extend code

5
Jdlrobson (talkcontribs)
Ammarpad (talkcontribs)

Done

Jdforrester (WMF) (talkcontribs)

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…

Jdlrobson (talkcontribs)

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... :-)

Jdforrester (WMF) (talkcontribs)

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.

Couple of issues impacting mobile display/discussion

8
Jdlrobson (talkcontribs)

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>}}

AKlapper (WMF) (talkcontribs)

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.

Krinkle (talkcontribs)

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?

Jdlrobson (talkcontribs)

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).

Taavi (talkcontribs)

1) is now Yes Done. 2) needs an IAdmin to complete, maybe @DannyS712 can help us here?

DannyS712 (talkcontribs)

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

Taavi (talkcontribs)

Uhhh, not sure if that's enough. The same treatment should be applied to all translated versions.

DannyS712 (talkcontribs)

Then I'll also apply it to .rootpage-Template_Main_page which will cover the translations

Broken transclusion of news

7
Tacsipacsi (talkcontribs)
Shirayuki (talkcontribs)
Tacsipacsi (talkcontribs)

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.

Shirayuki (talkcontribs)

Sorry.

Quiddity (WMF) (talkcontribs)
Base (talkcontribs)

Fixed. --Base (talk) 17:14, 14 September 2020 (UTC)

Quiddity (WMF) (talkcontribs)

Thank you!

When will there be support for php7.4?

2
Nsturtz2 (talkcontribs)

Php7.4 is what I use so is there a beta version for mediawiki compatible with php 7.4

BDavis (WMF) (talkcontribs)

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. :)

Main page translations don't show

5
Sycaton (talkcontribs)

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.)

Shirayuki (talkcontribs)

Yes Done

Sycaton (talkcontribs)

Thank you!

Pppery (talkcontribs)
Shirayuki (talkcontribs)

Latest Stable Builds Conveniently on the Main Page

11
Lyrixn (talkcontribs)

Is there a good convincing reason as to why the latest stable builds are no longer listed on mediawiki wiki's main page?

AKlapper (WMF) (talkcontribs)

Why is it important to you to see the specific numbers of the latest stable builds on the main page?

Lyrixn (talkcontribs)

It was both convenient to download and track the latest stable and LTS builds. By the way I'm talking about this box: https://i.imgur.com/7WNmVzY.png that was still there not long ago (a few months ago at most).

AKlapper (WMF) (talkcontribs)

If you want to download and track latest builds, feel free to bookmark Download.

I see no reason for such information to waste space on the front page. See "If people want to download MediaWiki they should go to the Download page" on MediaWiki/Homepage improvements 2018.

Lyrixn (talkcontribs)

Who decides what wastes space on the main page and what doesn't? Was there a discussion where the majority agreed that the box that's been there for years is no longer relevant? All I see on the project you linked that it was decided (probably by you) that the box should be removed and that's that. The discussion page on that same project has little to no reference or actual discussion on this topic.

I quote from the source you linked: "I doubt anyone informs themselves about a need for an upgrade of their installation by visiting the front page and then manually comparing with their version."

"I doubt" - you doubt so that automatically means that no one does that. Well I did exactly that and I'm more than confident that there were a lot of people who did exactly that as well, but obviously they aren't being so vocal about it. For most of the people this wiki is a resource for the software.

AKlapper (WMF) (talkcontribs)
Lyrixn (talkcontribs)

I do see you being the only participant in these, unless I'm missing something.

AKlapper (WMF) (talkcontribs)
X-Savitar (talkcontribs)
Gerdesj (talkcontribs)

I have the following table on my corp wiki - use the source editor to actually read it:

{{#get_web_data:url=https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&format=json
|format=JSON
|data=wp_servername=servername,wp_generator=generator
|cache seconds=21600}}
 {{#get_web_data:url=https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&format=json
|format=JSON
|data=mw_servername=servername,mw_generator=generator
|cache seconds=21600}}
{{#external_value:mw_servername}}: {{#external_value:mw_generator}} {{#external_value:wp_servername}}: {{#external_value:wp_generator}} www.mediawiki.org: 1.35.0-wmf.30 (765c95b)

It might come in handy.

Wording and style suggestions for frontpage

9
JCrespo (WMF) (talkcontribs)

I have some suggestions of minor changes to the frontpage:

https://www.mediawiki.org/w/index.php?title=User%3AJCrespo_%28WMF%29%2Fmain_page&type=revision&diff=3550799&oldid=3550760

Mine are not that great, and very open to discussion, but I think it improves a bit the searching of information (what I think is important can be certainly argued against, and I may be showing my biases, despite trying to think on "new users first"). As a problem I had, I tried to look for "how to start coding?" link and was unable to find it, despite knowing it was here.

CC @AKlapper (WMF).

AKlapper (WMF) (talkcontribs)

@JCrespo (WMF): Thanks! I can offer my feedback but note that I don't see myself as some gatekeeper or maintainer here. I agree with nearly all changes, except for the last one where I'm not sure if "How to start contributing to Wikimedia" is more guiding: My main intention might not be to "contribute" something, but to get hands on some code and find a project for that. ("Contribute" always felt vague to me as it can mean so many things - contribute food? thoughts? money? code?)

AKlapper (WMF) (talkcontribs)

(Oh wait, I realize that maybe editing that page requires some special permissions maybe?)

JCrespo (WMF) (talkcontribs)

> requires some special permissions maybe

Indeed it does, I cannot edit it directly.

> Choose a software project to hack on

That is confusing to me. I agree my suggestion is not ok either. I would be happy to have a better 3 option. Something in the vein of "Start coding <something>" or something that doesn't include "hack" (no problem for me with it, but I think its confusing for newcomers) and that is not "choose", something more explicit in a couple of words.

AKlapper (WMF) (talkcontribs)

@JCrespo (WMF) "Start working on the code of a project", maybe? (I don't dare currently to make the other edits because as usual, I don't understand all that <translate> markup, sigh.)

JCrespo (WMF) (talkcontribs)

"Start coding for a Wikimedia project"? (shorter)

Quiddity (WMF) (talkcontribs)

I've added the bolding and the link-label change.

However changing the 3 "Learn ..." links is much more complicated, because currently the existing translations are embedded within link-syntax, hence if we did something like this, then the previously translated text would end up without any links until a translator noticed the problem (in each language). [IIUC]. -- It's especially problematic here because the system doesn't seem to be rendering the pink-background color for outdated sections, as it's meant to.

AKlapper (WMF) (talkcontribs)

Thanks for your help, Quiddity! (And JCrespo for the improvements!)

JCrespo (WMF) (talkcontribs)

Thanks, I am happy as it is now! Thanks both!

Ranjithsiji (talkcontribs)

If we have a good big download button on the home page to download mediawiki then that will be better. The link is OK. But If we can have a button then it is great.

AKlapper (WMF) (talkcontribs)

@Ranjithsiji: No I disagree. Most people do not come for "downloading". No problem is solved if you click a big download button and then cannot find what to do with that downloaded file.

Ranjithsiji (talkcontribs)

@AKlapper (WMF) I think the primary subject of this website is mediawiki. That is why I suggested this. I completely agree with you that most people may not here for downloading. But I think that the main subject of this website is to popularize or solve problems related to mediawiki. So in the first point download must be notable. One more the download button must not start the download instantly instead redirect it to the download and install instructions page.

AKlapper (WMF) (talkcontribs)