Project:Village Pump/Flow/2023/10

This page is only for discussing issues related to MediaWiki.org site.
To get help with MediaWiki software, ask on Project:Support desk.
Category:MediaWiki.org website#Village%20Pump Category:Languages pagesCategory:MediaWiki.org website#Village%20Pump

Mediawiki.org gadget: Wrong Auto-number headings when using

**Steps to replicate the issue** (include links if applicable):
* I activate in my Preferences the numbering of sections to check right indentation -> https://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-gadgets:
[X] Heading Anchor: Adds section anchors to each wiki page heading. They become visible on hover. (Vector skin only)
[X] Auto-number headings
*  i open page -> https://www.mediawiki.org/wiki/Help:Controlling_search_engine_indexing

**What happens?**:
*  TOC is disabled there using **__NOTOC__** in the source, section numbering shows :


>     1 Software settings and robots.txt
>         1.1 Software settings
>         1.2 Robots.txt noindexing
>     2 NOINDEX magic word
>         2.3 Individual pages
>         2.4 Standard template noindexing
>     3 INDEX magic word
>         3.5 Individual pages
>         3.6 Current issues
>     4 Footnotes

**What should have happened instead?**:
* notice that headers == follow logical numbering, -> ok
* notice that headers === are cumulated, they do not restart from 1 each time we change the parent
* notice that once TOC is reenabled (deleting the tag line), the section numbering is correct : 
>     1 Software settings and robots.txt
>         1.1 Software settings
>         1.2 Robots.txt noindexing
>     2 NOINDEX magic word
>         2.1 Individual pages
>         2.2 Standard template noindexing
>     3 INDEX magic word
>         3.1 Individual pages
>         3.2 Current issues
>     4 Footnotes
* so i ask section numbering to be realigned such as to display this last format and be independant from the presence of tag __NOTOC__

Christian 🇫🇷 FR 🚨 (talk) 13:37, 5 October 2023 (UTC)

This needs to be posted on Phabricator. ディノ千?!☎ Dinoguy1000 16:25, 5 October 2023 (UTC)
Really funny ! it has just been rejected from there -> https://phabricator.wikimedia.org/T348221 --Christian 🇫🇷 FR (talk) 16:46, 5 October 2023 (UTC)
Oh! Sorry about that, I forgot that heading auto-numbering had been removed from MW core. ディノ千?!☎ Dinoguy1000 01:06, 6 October 2023 (UTC)
I'll try and take a look at the problem —TheDJ (Not WMF) (talkcontribs) 17:52, 5 October 2023 (UTC)
The logic (MediaWiki:Gadget-autonum.css) seems fine---higher levels reset lower level counters, and each heading increments its corresponding counter. From playing around in inspect-mode a bit it seems that the counter-reset operations are not working on the higher number counters: counter-reset: autonum-h3 autonum-h4... in an h2 isn't doing anything. I suspect a scoping/shadowing issue due to the use of reset (changing to set instead of reset, like counter-set: autonum-h3 0 autonum-h4 0.. seems to fix it on that page at least). Clump (talk) 19:44, 5 October 2023 (UTC)

Opportunities open for the Affiliations Committee, Ombuds commission, and the Case Review Committee

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.


You can find this message translated into additional languages on Meta-wiki.

More languagesPlease help translate to your language

Hi everyone! The Affiliations Committee (AffCom), Ombuds commission (OC), and the Case Review Committee (CRC) are looking for new members. These volunteer groups provide important structural and oversight support for the community and movement. People are encouraged to nominate themselves or encourage others they feel would contribute to these groups to apply. There is more information about the roles of the groups, the skills needed, and the opportunity to apply on the Meta-wiki page.

On behalf of the Committee Support team,

~ Keegan (WMF) (talk) 16:40, 9 October 2023 (UTC)

MediaWiki message delivery (talk) 16:40, 9 October 2023 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Renaming page

Hello everyone!

I can't rename:

[Wikimedia Apps/Suggested edits] to [Wikimedia Apps/Android Suggested edits].

It's giving me the next error:

This translatable page consists of over 500 pages. Moving this many pages has been found to be unreliable. Please contact a system administrator to do this via a maintenance script.


Can someone help me with this, please? ARamadan-WMF (talk) 14:55, 12 October 2023 (UTC)

Request it on Phabricator. * Pppery * it has begun 14:56, 12 October 2023 (UTC)
Thanks for your reply, which tag or board should I add to the ticket? ARamadan-WMF (talk) 14:58, 12 October 2023 (UTC)
Generally #Wikimedia-maintenance-script-run and/or #Wikimedia-site-requests. See T317554 for an example. * Pppery * it has begun 15:05, 12 October 2023 (UTC)

Review and comment on the 2024 Wikimedia Foundation Board of Trustees selection rules package

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.


You can find this message translated into additional languages on Meta-wiki.

Dear all,

Please review and comment on the Wikimedia Foundation Board of Trustees selection rules package from now until 29 October 2023. The selection rules package was based on older versions by the Elections Committee and will be used in the 2024 Board of Trustees selection. Providing your comments now will help them provide a smoother, better Board selection process. More on the Meta-wiki page.

Best,

Katie Chan Chair of the Elections Committee

01:12, 17 October 2023 (UTC) MediaWiki message delivery (talk) 01:12, 17 October 2023 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Proposal: Add Extensions/Skins as namespace aliases of Extension/Skin

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.


Proposed on IRC. Sounds Logical.

T349970

Please comment with any support / objections. RhinosF1 (talk) 10:22, 29 October 2023 (UTC)

+1 P858snake (talk) 11:22, 29 October 2023 (UTC)
+1 --~aanzx · · © 13:16, 29 October 2023 (UTC)
I cannot find any context. What's the logic behind it? Clump (talk) 13:20, 29 October 2023 (UTC)
https://wm-bot.wmcloud.org/logs/%23mediawiki/20231029.txt --~aanzx · · © 13:27, 29 October 2023 (UTC)
Basically it's a common misspelling and I can't see a reason why not RhinosF1 (talk) 13:45, 29 October 2023 (UTC)
+1 * Pppery * it has begun 15:09, 29 October 2023 (UTC)
Thanks for the extra info. Is it only the English space or would other languages need plural forms too? Do you envision doing the same for Template(s), User(s) etc?
I'm not sure how the aliasing would work---like a redirect, just sending you to the correct namespace? Or would it change appearance, so some new extensions end up being put in Extensions: and some are in Extension:? (The latter would be messy.)
In itself perhaps benign, but creating variation in namespace names also feels like a counter-product solution to a problem with remembering namespace names. Clump (talk) 15:19, 29 October 2023 (UTC)
Aliasing is straightforward, see Manual:$wgNamespaceAliases (this is how e.g. the "WP" → "Wikipedia" namespace alias is set up for en.WP). ディノ千?!☎ Dinoguy1000 16:57, 29 October 2023 (UTC)
Hi,
Only for the English name of the namespace and only applying to Extension/Skin.
Changes to the core namespaces would be better agreed for all wikis.
It would act like a redirect. Similar to the WP shortcut to Wikipedia on the Wikipedia projects.
You can see the patch proposed to implement the change attached to the bug report. RhinosF1 (talk) 16:10, 29 October 2023 (UTC)
Ok I see; thanks. No objections then. Clump (talk) 19:05, 29 October 2023 (UTC)
I’m ok with this. I think it’s encouraged to have a common misspelling as an alias anyway (for this particular word). Tropicalkitty (talk) 23:31, 29 October 2023 (UTC)
I’ve edited the thread title to make the scope clearer. There are many things that can have aliases: namespaces, templates, categories etc.
I find it weird to have plural in a namespace name (Gadgets is one extension, not extensions), but if it helps other people, I won’t object it. Tacsipacsi (talk) 08:05, 30 October 2023 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Update for the main page

Posting this here so it is more visible, with this being a significant change to the way the main page works.

The Main page currently does not switch Chinese language versions correctly. Where all Chinese variants should be switched to /zh, currently only users who select zh will see the Chinese translation and all varients will see the english page. For example see MediaWiki/zh compared with MediaWiki/zh-Hans. I originally noticed this on Wikifunctions, and since the Wikifunctions main page was based on the one here I also checked and it is also an issue here. I recently proposed and edit to fix right-to-left on the main page after discussion with User:Quiddity on the issue at Wikifunctions.

The changes: I have updated MediaWiki/sandbox and Template:Main_page/sandbox and as you can see by sandbox/zh and sandbox/zh-Hans this correctly switches the language, I also removed the language switch from the template and moved it to the main page as this is the way I found that worked. After discussing with User:Tacsipacsi, I also changed Template:Main_page to use Module:Caller title as this appears to be the better approach, instead of my original solution to the problem.

Overall I am looking for this update to be added by an administrator so that Chinese language switching can be fixed as well as using the caller title module but also for it to be checked since I can't preview the change. I have already added it to Wikifunctions if you want to check it there, but there may be issues that I have missed with this change. Terasail 01:47, 30 October 2023 (UTC)

It feels utterly stupid to me that we have to add special-case code for Chinese for the generic pattern "show a page in the user language". But whatever. (Not an objection to another admin doing this) * Pppery * it has begun 01:48, 30 October 2023 (UTC)
Maybe the translation extension should follow File:MediaWiki fallback chains.svg. Not sure if there is a ticket for this. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 16:39, 31 October 2023 (UTC)
Thanks for proposing this change.
For confirmation, should we replace MediaWiki with the following (by removing sandbox/)?
{{#if:{{#invoke:String|match|s={{int:lang}}|pattern=zh-|plain=true|nomatch= }}<!--IF: Chinese variants
-->|{{Main page/zh}}<!--/zh
-->|{{Main page/{{#ifexist:Template:Main page/{{int:lang}}|{{int:lang}}|en}}}}<!--/language or /en
-->}}{{NOEXTERNALLANGLINKS}}<!--
-- To edit what appears on this page,
-- please see [[Template:Main_page]] 
-- https://www.mediawiki.org/wiki/Template:Main_page
-->
And for Template:Main page, do we just apply the exact same content in Template:Main_page/sandbox? 94rain Talk 06:33, 30 November 2023 (UTC)
Category:Languages pages Category:MediaWiki.org website