Template talk:Main page/2023
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
Add link to Developer hub
[edit]RESOLVED | |
Link added |
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.
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>Develop and extend code</span></h3> <div id="mainpage-devs" title="Developers" class="items"> * Read the MediaWiki [[Special:MyLanguage/Developer hub|developer documentation]] * Visit the [https://developer.wikimedia.org Wikimedia Developer Portal]APaskulin (WMF) (talk) 19:33, 11 January 2023 (UTC)
- Sounds good to me AKlapper (WMF) (talk) 20:20, 11 January 2023 (UTC)
- IIUC, this is what was wanted? https://www.mediawiki.org/w/index.php?title=Template%3AMain_page&diff=5712915&oldid=5301280&diffmode=source
- (I boldly edited, as the page is fully-protected, and APaskulin is not currently an admin. :) ) Quiddity (WMF) (talk) 21:01, 11 January 2023 (UTC)
- Perfect. Thank you, @Quiddity (WMF)! APaskulin (WMF) (talk) 23:14, 11 January 2023 (UTC)
Update mainpage to add support for rtl languages on the mainpage
[edit]{{Edit Protected }} Done
Hello, currently rtl (right to left) languages display as ltr (left to right) on the main page (See lang=he) Can the changes I have made at MediaWiki/sandbox and Template:Main page/sandbox be implemented so that these languages can display as rtl.
Thanks, Terasail Terasail 17:01, 24 October 2023 (UTC)
- Ping @Quiddity as they originally asked about this. Terasail 17:03, 24 October 2023 (UTC)
- Implemented! It looks like that's fixed it. Thanks again for noticing, researching, and preparing the fixes, both here and at Wikifunctions. –Quiddity (talk) 17:24, 24 October 2023 (UTC)
- What is the
id="lang_dir"
bit for? - Instead of
{{{1|{{PAGELANGUAGE}}}}}
, you could use{{#invoke:Caller title|lang|base=Template:Main page}}
(see Module:Caller title), avoiding the need for passing the language code from MediaWiki. Tacsipacsi (talk) 21:02, 24 October 2023 (UTC) - The id has no real use, it comes from when I copied the solution from the Wikifunctions main page. I personally know nothing about Module:Caller title, if it is a better way of doing things then I support it being used. I just made the edit request with the solution that I had originally found for this problem so that it might stop being a problem. (There are many ways to cook an egg and all that). Terasail 01:57, 25 October 2023 (UTC)
- I believe Module:Caller title is better, although I have to add the disclaimer that I’m the original author it (I think I originally authored it on Commons), so it’s not surprising. 🙂 (I seem not to have been attributed on mediawiki.org.) Now MediaWiki tells Template:Main page in which language the latter will appear in, but Template:Main page decides the language it will actually appear in, which can easily lead to inconsistencies. Tacsipacsi (talk) 15:14, 28 October 2023 (UTC)