Jump to content

Project:Village Pump

Add topic
From mediawiki.org
Latest comment: 6 hours ago by Speravir in topic Gadget for auto numeration and Vector-2022
This page is only for discussing issues related to MediaWiki.org site.
To get help with MediaWiki software, ask on Project:Support desk.

Report not spam for Meetings/2013-04-18 on edit filter

[edit]

It's not spam and this IP address have been blocked by abuse filter because, technetial blocking is wrong. Please fix for edit filter. JustAces (talk) 00:52, 27 April 2025 (UTC)Reply

Yes, blocking the IP fixing the previous IP's vandalism was a false positive. YesDone. --Clump (talk) 11:08, 27 April 2025 (UTC)Reply
Yeah, indeed. We get so many IPs spamming their email address where they don't belong that a fairly harsh filter is necessary, and has occasional false positives. * Pppery * it has begun 20:56, 27 April 2025 (UTC)Reply

Gadget for auto numeration and Vector-2022

[edit]

I’ve asked this first at the Support Desk, but because I request in effect for editing of one or two gadgets this seems to belong at the Village Pump.
First a copy of my Support Desk question:

Hello, the auto numeration activated with MediaWiki:Gadget-autonum.css and MediaWiki:Gadget-autonum.js (I load them in my global.js) does not work well together with Vector-2022 skin, because the counter reset does not work, and so all lower sections are just counted up. Note, that in vector-2022 only the else tree of the script is active and the code of the CSS is used. If you think, why I do not just ask the author Krinkle – well he wrote almost a year ago “I do not use the autonum gadget myself. For now, I have exceed the time I'm willing to spend on this gadget. I suggest gathering support and awareness of other people in the community, to hopefully find someone who is able and willing to maintain this JS/CSS snippet for further modifications.” (Krinkle’s user talk page on meta, cf. meta:Special:Diff/26715423 or the full conversation at m:Special:PermaLink/26721127#Section autonumeration with Parsoid). As an example: Manual:FAQ (itself not ready for vector-2022, at least the toc part I looked for) has 12 sections, and the latest one has 6 subsections which is fine displayed in (legacy) Vector from 2010, but with Vector 2022 I see the count 12.107.

End of copy

I was meanwhile able to fix this locally. This works only for the new DOM structure for the sections active in Wikimedia universe since last year (I’ve added a regarding note also to Krinkle, but did not remember that this is, of course, also active in Vector-2022). Since the gadgets are only for internal use this should be OK; the question is, though, how to alter Snippets/Auto-number headings, then. The CSS does not even need the selector added by the script, so it could be considered to delete this. But then all users who imported it need to get an information.
So, long story short, could one of the interface admins, please, replace the active MediaWiki:Gadget-autonum.css with the following style code:

.mw-parser-output {
  counter-reset: autonum-h2 autonum-h3 autonum-h4 autonum-h5 autonum-h6;
}
.mw-parser-output .mw-heading2 {
  counter-increment: autonum-h2;
  counter-reset: autonum-h3 autonum-h4 autonum-h5 autonum-h6;
}
.mw-parser-output .mw-heading3 {
  counter-increment: autonum-h3;
  counter-reset: autonum-h4 autonum-h5 autonum-h6;
}
.mw-parser-output .mw-heading4 {
  counter-increment: autonum-h4;
  counter-reset: autonum-h5 autonum-h6;
}
.mw-parser-output .mw-heading5 {
  counter-increment: autonum-h5;
  counter-reset: autonum-h6;
}
.mw-parser-output .mw-heading6 {
  counter-increment: autonum-h6;
}
.mw-parser-output .mw-heading h2::before {
  content: counter(autonum-h2) " ";
}
.mw-parser-output .mw-heading h3::before {
  content: counter(autonum-h2) "." counter(autonum-h3) " ";
}
.mw-parser-output .mw-heading h4::before {
  content: counter(autonum-h2) "." counter(autonum-h3) "." counter(autonum-h4) " ";
}
.mw-parser-output .mw-heading h5::before {
  content: counter(autonum-h2) "." counter(autonum-h3) "." counter(autonum-h4) "." counter(autonum-h5) " ";
}
.mw-parser-output .mw-heading h6::before {
  content: counter(autonum-h2) "." counter(autonum-h3) "." counter(autonum-h4) "." counter(autonum-h5) "." counter(autonum-h6) " ";
}

If you want to keep the script in use then prepend .mw-parser-output with .tpl-autonum (with a space in between, of course) like it is seen in the active version, and keep the existent last part for JS mode.

As a side note: Somewhere a notice could be added that the style is best loaded by user script (global/common.js) because then exceptions for pages could be added where the style should not be loaded. — Speravir (talk) – 00:10, 29 April 2025 (UTC)Reply

Done. I did the keep the script version on the principle of making the minimum possible change. * Pppery * it has begun 01:26, 10 May 2025 (UTC)Reply
Thank you! I just now wanted to update the Snippets, but noticed that Krinkle has added the code there as transclusion of the gadgets, so the update has been done automatically. — Speravir (talk) – 23:32, 10 May 2025 (UTC)Reply

Vote on proposed modifications to the UCoC Enforcement Guidelines and U4C Charter

[edit]

The voting period for the revisions to the Universal Code of Conduct Enforcement Guidelines and U4C Charter closes on 1 May 2025 at 23:59 UTC (find in your time zone). Read the information on how to participate and read over the proposal before voting on the UCoC page on Meta-wiki.

The Universal Code of Conduct Coordinating Committee (U4C) is a global group dedicated to providing an equitable and consistent implementation of the UCoC. This annual review was planned and implemented by the U4C. For more information and the responsibilities of the U4C, you may review the U4C Charter.

Please share this message with members of your community in your language, as appropriate, so they can participate as well.

In cooperation with the U4C --

Should we move API:Main page to API:Action API

[edit]

Since Action API is not the only API of MediaWiki. GZWDer (talk) 10:13, 29 April 2025 (UTC)Reply

@GZWDer: That seems reasonable, though we of course have api.wikimedia.org as the main user-facing pages nowadays. I think this is something the MediaWiki Interfaces team owns, however, so I would want their opinion first. Jdforrester (WMF) (talk) 09:46, 4 May 2025 (UTC)Reply

Report concerning User:103.9.135.86

[edit]
YesDone --Clump (talk) 16:09, 29 April 2025 (UTC)Reply

Report concerning User:2806:268:1487:9B7:58B8:BA82:8B57:663B

[edit]
YesDone Deleted by Svartava; blocked now too. --Clump (talk) 11:05, 1 May 2025 (UTC)Reply

Report concerning User:Lucky7800

[edit]
Blocked by Clump and later globally locked. Pppery (alt) (talk) 18:14, 2 May 2025 (UTC)Reply

Unblock your block, please

[edit]

I got here because there is a sort of block that for sure I don't understand it. I am trying to register my personal open discussion or rehearsal or essay page here, that is all. Thank You. MarySol6192. MarySol6192 (talk) 18:32, 2 May 2025 (UTC)Reply

You are not blocked here. As for the content you were trying to create, please read Project:About. Note that you can also use the Project:Sandbox for simple testing. --Clump (talk) 18:46, 2 May 2025 (UTC)Reply

Report concerning User:2402:9D80:32B:80FB:0:0:3A55:3161

[edit]
YesDone --Clump (talk) 19:24, 2 May 2025 (UTC)Reply

Report concerning User:2403:6200:8881:34CF:6C23:167E:21CA:9C1D

[edit]
YesDone --Clump (talk) 11:59, 3 May 2025 (UTC)Reply

Report concerning User:2806:2F0:3360:FB80:C0BE:E8F4:BA1A:D39A

[edit]
YesDone --Clump (talk) 11:59, 3 May 2025 (UTC)Reply

Can't thank

[edit]

In the hirstory for a page, I only see "undo" and no "thank". I would like to be able to thank people, it's a nice and uncluttered way of expressing appreciation/understanding. Is there something I need to enable, or is it a priviliege that gets unlocked? Douginamug (talk) 17:30, 10 May 2025 (UTC)Reply

Improving "Download"

[edit]

I made some bold changes to Download recently. @Shirayuki and @Pppery suggested, based on the importance of that page, that it would be better to revert those changes and first draft in my userspace. Here is that draft: User:Douginamug/Draft:Download It makes some fairly dramatic changes to title, content and structure: I tried to group related changes into the same revision and give meaningful revision comments.

I trust people will have resistance to a lot of the changes! My hope would be to work forward gradually and step-wise, from strongest consensus backwards. Curious to hear your opinions. Cheers, Douginamug (talk) 21:21, 10 May 2025 (UTC)Reply