Page MenuHomePhabricator

PerfektesChaos
User

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • No visible events.

User Details

User Since
Mar 22 2015, 3:09 PM (585 w, 5 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
PerfektesChaos [ Global Accounts ]

Recent Activity

May 5 2026

PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

I did mention it several times now, but I feel urged to repeat: The “reauthentication” is entirely pointless and does not improve against attacks and worm proliferation.

  • I can wait and sleep, as long as no “reauthentication” did happen, and no critical resource edit has been seen.
  • As soon a vulnerable page is on editing, I set a cookie with a timestamp.
  • When that page has been saved, my cookie tells me that I have 14 or 59 minutes to do whatever I want, since the “reauthentication” gave unlimited green light. Go for it.

There are three actions that really help:

  1. Whenever a resource page is edited, safemode is to block any JavaScript.
  2. Launching an interactive edit via index.php does need some hidden random code field not available for page retrieval to avoid faked interaction, or similar methods.
  3. As soon as api.php is used, which might modify easily 50 pages per wiki, an individual access code for this run has to be provided, or block api.php entirely.
May 5 2026, 7:41 PM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Apr 28 2026

PerfektesChaos added a comment to T424772: Links to commons are missing in database table iwlinks.

Yes, it is.

Apr 28 2026, 8:19 PM

Apr 24 2026

PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

I do not understand how and why a repeated login should be a remedy against automatic malicious operations?

I can listen to the [publish] button when NAMESPACENUMBER is 8 and CONTENTMODEL is css or javascript.

  • If the button is pressed, I set a cookie yippie with current timestamp. Perhaps waiting for some approval etc., or check success of publishing when this page is rebuilt and got a new revision number.
  • On every visited page from now, if yippie is on time I can run a script with everything I want. I am a confirmed account less than a quarter old. I do not leave traces when bounced back, watched by some smart monitoring.
  • I have interface rights, otherwise I would not get a [publish] button in MediaWiki namespace for CSS or JavaScript.
Apr 24 2026, 7:43 AM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Apr 18 2026

PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

I think I haven't mentioned this, but you would not be able to POST to it from another page. You would not have a token. CSRF tokens are specifically designed to block forged requests. The important part here is that the token must be specific to that page and obviously(?) specific to a single user and obviously(?) just available on that special page.

I would retrieve that special page via $.ajax() and can read a CSRF token in the header via XMLHttpRequest. Then modifying the JS payload code and sending back the form.

Apr 18 2026, 9:08 AM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Apr 17 2026

PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.
Apr 17 2026, 3:53 PM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface
PerfektesChaos added a comment to T419265: CSP adjustments related to the 2026 user javascript incident.

CSP is an entirely pointless approach, and wasting staff resources.

Apr 17 2026, 12:57 PM · Sustainability (Incident Followup), User-notice, 2026-user-javascript-incident, Product Safety and Integrity, ContentSecurityPolicy
PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

There are three ways to modify a .js page under advanced restrictions:

  1. Interactively by some Special:SecureEdit or Special:EditResource etc. which is in safemode.
  2. HTTP POST to index.php a form with all field values from Special:SecureEdit including hidden special safety keys built in when this page is retrieved from wiki server.
  3. Change a set of pages via api.php and provide a special security code for one run only, for this account only, within some days.
Apr 17 2026, 12:24 PM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Apr 15 2026

PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

I still prefer the "disable execution of JS from wiki pages" approach (though would it be sufficient?), but if "re-auth" is kept, we could reduce its friction:

Apr 15 2026, 8:40 AM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface
PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

Or you can just click a button "yes I want to edit sitewide JS" on Special:QuickAuth. This adds a cookie token for an hour and you check that cookie upon editing of Mediawiki:*.js and redirect and done. Probably a one day of work, a bit more for translations.

Apr 15 2026, 8:32 AM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Apr 14 2026

PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

So who would approve the sitewide adjustments if they are already done by interface moderators, who are qualified to do so. Do we expect communities to have technical people higher up in the hierarchy?

Apr 14 2026, 3:12 PM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Apr 1 2026

PerfektesChaos added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

I do not understand how and why a repeated login should be a remedy against automatic malicious operations?

Apr 1 2026, 12:13 AM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Mar 31 2026

PerfektesChaos added a comment to T421654: Use HTTP Cookie to legitimate BETA cluster access.

My ISP are using frequently changing dynamic ranges. I do not have one particular IP range I could ask to be unblocked for an entire week.

Mar 31 2026, 6:09 AM · Beta-Cluster-Infrastructure

Mar 30 2026

PerfektesChaos added a comment to T421654: Use HTTP Cookie to legitimate BETA cluster access.

The canonical address used by Beta Cluster is beta.wmcloud.org since last year (T289318).

Sorry, but I have no access to BETA since March 2025. My regular environment is connected via a general ISP with >10 M customers in Europe, frequently changing dynamic IP ranges, all blocked.

  • Several weeks ago I succeeded to connect my desktop environment via smartphone and slow Bluetooth, but after one week my mobile provider has been blocked as well.
  • I gave up.
  • I discontinued both software testing and also development one year ago.

I do hate IP blocking. It is an approach of last century. In 1999 you knew that you are blocking a particular department of a certain university. Nowadays all mobiles and most desktop sites are using universal providers, including privacy protecting VPN offered by browsers and security tools and the ISP. It became pointless to identify a bad guy via one constant IP address.

Mar 30 2026, 7:51 AM · Beta-Cluster-Infrastructure

Mar 29 2026

PerfektesChaos added projects to T421654: Use HTTP Cookie to legitimate BETA cluster access: Beta-Cluster-Infrastructure, cloud-services-team.
Mar 29 2026, 9:22 PM · Beta-Cluster-Infrastructure
PerfektesChaos created T421654: Use HTTP Cookie to legitimate BETA cluster access.
Mar 29 2026, 9:19 PM · Beta-Cluster-Infrastructure

Mar 12 2026

PerfektesChaos added a comment to T419596: LintHint script output (via MediaWiki API database request) and "Page information" disagree on Linter errors.

If you are cleaning your wiki and visit all pages with a lint problem, on editing all “important” lint categories need to be highlighted (there are a few lint categories which should be ignored since they do not reflect real errors).

Mar 12 2026, 12:41 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), Content-Transform-Team (Work In Progress), MW-Interfaces-Team, MediaWiki-extensions-Linter
PerfektesChaos added a comment to T418329: Not scrolling to the lint error position when WikiEditor or CodeMirror is enabled.
Mar 12 2026, 12:40 PM · MW-1.46-notes (1.46.0-wmf.20; 2026-03-17), MediaWiki-extensions-CodeMirror, WikiEditor (2010), MediaWiki-extensions-Linter

Mar 6 2026

PerfektesChaos added a comment to T419196: Disable API editing of resource pages (Javascript/CSS).

A malicious script can submit changes like this by screenscraping the web UI with only slightly more effort.

Mar 6 2026, 2:17 AM · 2026-user-javascript-incident, MW-Interfaces-Team, JavaScript, MediaWiki-Action-API, Security
PerfektesChaos created T419196: Disable API editing of resource pages (Javascript/CSS).
Mar 6 2026, 1:58 AM · 2026-user-javascript-incident, MW-Interfaces-Team, JavaScript, MediaWiki-Action-API, Security

Feb 12 2026

PerfektesChaos added a comment to T363726: ?action=info should have a Table of Contents.

@cscott Yeah, fine, thank you.

Feb 12 2026, 1:19 PM · User-notice-archive, MW-1.46-notes (1.46.0-wmf.16; 2026-02-17), Patch-For-Review, good first task, Accessibility, MediaWiki-User-Interface (actions)

Jan 21 2026

PerfektesChaos added a comment to T414943: dewiki: Exclude paid editing accounts from editor/autoreview autopromotion.

Actually, I would be more happy to stop autopromotion for accounts in a certain category (per wiki, configured via system message) since that needs no maintenance efforts.

Jan 21 2026, 11:34 AM · Wikimedia-Site-requests

Jan 13 2026

PerfektesChaos added a comment to T413375: Create new {{#isbn}} parser function.

BTW, there is already code in current MW which can be shared:

  • Magic parser does perform correct rendered hyphenation, but is expecting hyphens or no separator.
  • Booksources special page already does a validity check.
Jan 13 2026, 6:20 PM · User-notice, MediaWiki-Parser
PerfektesChaos added a comment to T413375: Create new {{#isbn}} parser function.

to put in a Scribunto module

That would be required to be distributed to >1000 wikis. And maintained everywhere forever.

Jan 13 2026, 5:13 PM · User-notice, MediaWiki-Parser

Jan 12 2026

PerfektesChaos added a comment to T413375: Create new {{#isbn}} parser function.

I do expect that an {{#isbn:}} transcluded in wikitext will check validity of mandatory first parameter.

  • If optional second parameter is not 1 and the value is invalid, I want a maintenance category thrown and a small hint visible following every complaint:
Jan 12 2026, 5:00 PM · User-notice, MediaWiki-Parser

Dec 31 2025

PerfektesChaos added a comment to T413375: Create new {{#isbn}} parser function.

On invalid ISBN:

  • The problem is in the era of manually computed checksum from 1970 until 2006 with ISBN-10.
  • They tried to calculate the checksum, based on publisher ID and internal serial number, but failed to catch the correct figure. Even electronic calculators were rare.
  • The bad ID was printed into the book.
  • The (national) libraries registered the data, typing a paper card and copied the bad number.
  • In library catalogs, you could find the book by bad ISBN, but with no entry for a “corrected” ISBN. Even worse, nobody but the publisher knows which one is the bad digit, usually miscomputed checksum, but the printer might have shifted the digit sequence.
  • Therefore it is necessary to arrive at Special:Booksources with a formally invalid ISBN, but not issuing an error message when transcluding {{#isbn}} in wikitext.
  • If there is no suppress error message in parser function, a message and tracking category shall be issued.
  • By ISBN-13 since 2007 and electronic accounting systems almost no errors are known.
Dec 31 2025, 11:35 AM · User-notice, MediaWiki-Parser

Dec 16 2025

PerfektesChaos added a comment to T364685: CSS sanitizer refuses TemplateStyles variable assignment to border-color but does permit background-color.

Only background: is dangerous since it might bear an image URL to malicous.

Dec 16 2025, 2:46 PM · Patch-For-Review, TemplateStyles, css-sanitizer

Oct 29 2025

PerfektesChaos added a comment to T20157: Implement a {{#trim}}, {{#ltrim}}, {{#rtrim}} in StringFunctions.

I have two goals:

  1. All spooky characters which are invisible to authors shall be removed (at least from begin and end), in all cases. I do not want to bother twice if I am using a trim function; I want to shield all applications from all. Since the invisible things are provided without intention on transclusion by authors, I cannot distinct between templates which expect EXHAUSTIVE and templates which can rely on BASIC. If I compare strings I need to get rid of all invisible stuff, always.
  2. I want to limit the number of functions. Actually, BOTH is the common case and preserving trailing or heading whitespace is a very rare exception relevant for unnamed parameters only. Named parameters are always trimmed ASCII BOTH. Therefore one function {{#trim:}} is sufficient and rare special cases might use rare special flags.
Oct 29 2025, 3:28 PM · ParserFunctions

Aug 30 2025

PerfektesChaos added a comment to T361407: Add short-to-type aliases for <syntaxhighlight> and <syntaxhighlight inline>.

Attribute lang= should be reserved to human languages, and must not be introduced with another meaning in any task any more.

  • It has been a sin to define <source lang="lua">, both conflicting with HTML system.
  • The HTML tags and the MW tags create a unique Wikisynta space, and attributes as well as tag names should be consistent.
  • lua is ISO 639 code, currently in WMF incubator.

There might be cases where lang= in <pre> will be used by regular text authors for human language, e.g. in multlingual descriptions:

Aug 30 2025, 10:43 AM · SyntaxHighlight

Aug 27 2025

PerfektesChaos added a comment to T361407: Add short-to-type aliases for <syntaxhighlight> and <syntaxhighlight inline>.

While <pre lang may have low adoption in MediaWiki context, it's part of the HTML standard. We could make a breaking change and make <pre lang invoke the syntaxhighlight tag. But would that not inevitably lead to a feature request for how to output <pre lang HTML from wikitext? Setting the language for a piece of content seems a likely use case.

Aug 27 2025, 8:50 PM · SyntaxHighlight

Aug 25 2025

PerfektesChaos added a comment to T286569: Reserve ``` ``` syntax to indicate 'code' blocks in wikitext markup.

I am opposing to introduce more and more new and cryptic syntax interpretations.

Aug 25 2025, 5:35 PM · Parsoid, MediaWiki-Parser

Aug 15 2025

PerfektesChaos closed T355159: New system message – documentation header for non-wikitext pages as Resolved.
Aug 15 2025, 6:15 AM · MediaWiki-General, Voice & Tone
PerfektesChaos added a comment to T355159: New system message – documentation header for non-wikitext pages.

resolved by T151682

Aug 15 2025, 6:15 AM · MediaWiki-General, Voice & Tone

Jul 23 2025

PerfektesChaos added a comment to T226688: Block web crawlers from accessing Cloud Services.

Retellling the story of T400212:
The amount of disturbance has exceeded reasonable limits. BETA cannot be used by regulars since huge amounts of IP ranges and networks of regular and innochent providers are blocked. Tools cannot answer any more.

Jul 23 2025, 9:51 AM · Cloud-VPS, cloud-services-team, Toolforge
PerfektesChaos added a comment to T400212: Shield wmcloud.org and toolforge.org​ against crawler traffic.

The defense strategy does need a restart, since our tools, services and usage of BETA suffer from significant limitations in productive work.

  • robots.txt is pointless. Rather than for a wikipedia no search engine crawler is required here. Do not bother with good behaviour, just bounce back.
  • The substring method of Wurgl is sufficient, since it solved the problem.
  • If any bot is using a fake agent identification, this particular ID combined with IP range might be used at second stage to avoid collateral damage for humans equipped with that current browser version.
Jul 23 2025, 7:31 AM · Toolforge, cloud-services-team
PerfektesChaos added a comment to T400212: Shield wmcloud.org and toolforge.org​ against crawler traffic.

A robots.txt file is only advisory guidance for well-behaved web bots:

Jul 23 2025, 7:15 AM · Toolforge, cloud-services-team
PerfektesChaos added a comment to T400212: Shield wmcloud.org and toolforge.org​ against crawler traffic.
Jul 23 2025, 7:06 AM · Toolforge, cloud-services-team

Jul 22 2025

PerfektesChaos created T400212: Shield wmcloud.org and toolforge.org​ against crawler traffic.
Jul 22 2025, 8:06 PM · Toolforge, cloud-services-team

Jul 10 2025

PerfektesChaos added a comment to T398423: Temp Accounts: Special:Log/newusers is flooded with temp accounts making it harder to monitor abuse.

By default, log/newusers should list manual registration only and might expand to include or filter temp accounts.

Jul 10 2025, 2:24 PM · MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), Trust and Safety Product Sprint (Sprint Rum baba (July 28 - August 15)), Temporary accounts (Global wiki rollout), Trust and Safety Product Team

May 19 2025

PerfektesChaos merged T394604: Implementing a {{trim:}} parser function into T20157: Implement a {{#trim}}, {{#ltrim}}, {{#rtrim}} in StringFunctions.
May 19 2025, 1:53 PM · ParserFunctions
PerfektesChaos merged task T394604: Implementing a {{trim:}} parser function into T20157: Implement a {{#trim}}, {{#ltrim}}, {{#rtrim}} in StringFunctions.
May 19 2025, 1:53 PM · Parsoid, MediaWiki-Parser, MediaWiki-Parser-Templates, ParserFunctions
PerfektesChaos added a comment to T20157: Implement a {{#trim}}, {{#ltrim}}, {{#rtrim}} in StringFunctions.

On “parser function branches are automatically trimmed”:

  • If no exception can be made on parser function swallowing arguments, the partial versions are pointless.
  • However, {{#trim:{{{1|}}}}} is progress towards {{#if:trim|{{{1|}}}}} hack and will catch various Unicode chars.
May 19 2025, 1:26 PM · ParserFunctions

Apr 15 2025

PerfektesChaos added a comment to T178146: Add support for a newer Lua version than Lua 5.1 to luasandbox.

I am implementing wiki stuff on a regular base.

  • I do not feel any need to be in line with any current version in the outer world.
  • The codes I know are limited to Wiki page transclusion, by #invoke: in the end, providing better outcome than available via wikitext template syntax.
  • There is no need to apply this outside of a wikitext page.
  • I do not need any code from outside of WMFverse. There might be code examples for a few standard tasks, but they would be ported once into wikitext framework, perhaps with some other solutiuons for unavailable syntax. Much less efforts than upgrading.

There is a doc of 5.1 on my hard disk, and I do know it from cerebral memory.

  • A copy should be available at WMF.
Apr 15 2025, 8:07 PM · LuaSandbox, Scribunto

Mar 31 2025

PerfektesChaos updated the task description for T137584: Allow Scribunto code to add a category without changing output.
Mar 31 2025, 5:07 PM · Patch-Needs-Improvement, MediaWiki CodeJam Dec 2023, Platform Engineering, Scribunto

Mar 11 2025

PerfektesChaos added a comment to T361407: Add short-to-type aliases for <syntaxhighlight> and <syntaxhighlight inline>.

Most people are currently typing out things keystroke by keystroke on many wikis

[Citation needed] Please provide a proof.

  • People in German Wikipedia acted this way about 2010, but meanwhile our users learnt to use c&p.

Only a very limited number of page authors require <syntaxhighlight>, e.g. those describing new examples in new programming languages etc. Those are technical experts, and if desired they have a wiki user page or text editor page open with frequently needed patterns ready to copy.

  • For template documentation we use <syntaxhighlight> on regular base, but we do provide this for new documentation pages via preload page.
  • Hint: Once you got an opening <syntaxhighlight> you can gain the closing </syntaxhighlight> by c&p the opener and adding a slash. I did this five seconds ago. To be honest, in this talk I did never type syntaxhighlight but copied it always from Add short-to-type aliases for <syntaxhighlight> and <syntaxhighlight inline> or previous contributions.

Still it is a benefit of five seconds once for the first keystroke-by-keystroke author, but paid over decades by many others consuming minutes every time if they encounter an unknown tag, or search for source text did not match, or bots and scripts failed on replacing.

Mar 11 2025, 10:33 PM · SyntaxHighlight
PerfektesChaos added a comment to T361407: Add short-to-type aliases for <syntaxhighlight> and <syntaxhighlight inline>.

Oh no, please do not change course every decade.

  • German Wikipedia successfully phased out <source> and migrated to <syntaxhighlight> in all namespaces.
  • Do not make things more complicated and introduce new aliases.
  • Every alias makes things more complicated, more things humans need to keep in mind, patterns to be searched for in pages, patterns to be obeyed by bots and replacing scripts.

Who is typing syntax keystroke by keystroke today? That’s last century style. Nowadays we discovered c&p, source text insertion tools, forms, cheatsheets (cribs) with c&p patterns as individually needed.

  • A shortcut is saving five seconds once for one single keystroke-by-keystroke author, but consuming minutes for all following people over decades. Very bad balance.
Mar 11 2025, 9:05 PM · SyntaxHighlight

Feb 21 2025

PerfektesChaos updated the task description for T20157: Implement a {{#trim}}, {{#ltrim}}, {{#rtrim}} in StringFunctions.
Feb 21 2025, 9:38 AM · ParserFunctions

Feb 17 2025

PerfektesChaos added a comment to T386584: Make gender-related features work with global preferences.

After some investigations:

  • It feels as if the change in preferences form is not stored in database.
  • This goes for multiple wikis, even meta:.
  • It arrived a few months ago, while older assignments are still present in database (like this one). I guess they could not shift to male/unknown now.
  • Translation is not involved.
  • Local config is not involved.
  • {{gender}} function does work as expected, accessing the unknown property value in database.

However, something is strange with current behaviour, it is not fully consistent. The feeling is like a very delayed cache lag.

  • The one and only reliable memorizing of the property is on preferences form, while rendering pages is accessing an outdated value. Mostly, but not always.
Feb 17 2025, 10:55 AM · User-notice-archive, MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), Community-Tech (Sea Lion Squad), Gender-Support, MediaWiki-extensions-GlobalPreferences
PerfektesChaos added a comment to T386584: Make gender-related features work with global preferences.

If the one and only is the label and headline on this particular tab, the reason might be local in dewiki or by generating the system message at translatewiki.

Feb 17 2025, 9:59 AM · User-notice-archive, MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), Community-Tech (Sea Lion Squad), Gender-Support, MediaWiki-extensions-GlobalPreferences
PerfektesChaos added a comment to T299951: Normalize categorylinks table.

That is the code and that will stay. Production data is different. And production data and schema is not considered stable interface explicitly: https://www.mediawiki.org/wiki/Stable_interface_policy

Feb 17 2025, 9:46 AM · MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), Data-Engineering-Radar, Data-Engineering, MW-1.44-notes (1.44.0-wmf.15; 2025-02-04), DBA, MediaWiki-Page-derived-data

Feb 15 2025

PerfektesChaos added a comment to T299951: Normalize categorylinks table.

There are some guidelines somewhere how long a breaking change should leave for migration of affected software inside and outside WMF.

  • At least the full durance of one major version is requested.
  • In this migration period both approaches need to work, with all API queries and data etc.
Feb 15 2025, 11:02 AM · MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), Data-Engineering-Radar, Data-Engineering, MW-1.44-notes (1.44.0-wmf.15; 2025-02-04), DBA, MediaWiki-Page-derived-data

Feb 12 2025

PerfektesChaos added a comment to T299951: Normalize categorylinks table.

Do you announce before the old tables or columns don't work as usual any more?

Feb 12 2025, 3:44 PM · MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), Data-Engineering-Radar, Data-Engineering, MW-1.44-notes (1.44.0-wmf.15; 2025-02-04), DBA, MediaWiki-Page-derived-data

Jan 28 2025

PerfektesChaos added a comment to T384926: Add support for templates in definitions.

unnecessary categories that pollute the categorylinks table

One category per gadget family – how many gadgets do you expect? Do you have any idea how many categories are just now “polluting” English Wikipedia? I never noticed any complaint nor server crash.

Jan 28 2025, 6:44 PM · Patch-For-Review, MediaWiki-extensions-Gadgets
PerfektesChaos added a comment to T384926: Add support for templates in definitions.

This issue is actually solved already by the categories feature.

Jan 28 2025, 1:29 PM · Patch-For-Review, MediaWiki-extensions-Gadgets
PerfektesChaos created T384907: Introduce edit tag on page move across namespaces.
Jan 28 2025, 10:20 AM · MediaWiki-Page-rename, MediaWiki-Change-tagging

Jan 21 2025

PerfektesChaos created T384368: MagicWordFactory code should be polished.

Thank you for tagging this task with good first task for Wikimedia newcomers!

Jan 21 2025, 7:13 PM · MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-Parser, good first task

Jan 16 2025

PerfektesChaos added a comment to T363726: ?action=info should have a Table of Contents.

Recently German Wikipedia introduced a static TOC as temporary solution:

Jan 16 2025, 5:31 AM · User-notice-archive, MW-1.46-notes (1.46.0-wmf.16; 2026-02-17), Patch-For-Review, good first task, Accessibility, MediaWiki-User-Interface (actions)

Jan 7 2025

PerfektesChaos added a comment to T368262: System message nstab-main is ignored as tab label in main namespace and main talk namespace.

THX & HNY! Recollecting open issues now, found this and I am happy.

Jan 7 2025, 2:10 PM · MediaWiki-Internationalization

Dec 26 2024

PerfektesChaos created T382782: Introduce maintenance category for missing system messages.
Dec 26 2024, 11:50 PM · MediaWiki-Parser, MediaWiki-Internationalization

Dec 23 2024

PerfektesChaos added a comment to T303384: Update Hover/Active states in Normal and Quiet buttons.

I am mourning about the lack of an overall strategy and comprehensive survey about all GUI variants and major elements.

Dec 23 2024, 10:54 PM · Design-System-Team (DST-Sprint-37 (2024-11-25 to 2024-12-06)), Design, Codex

Dec 11 2024

PerfektesChaos added a comment to T381977: Template transclusion in #interwikilink: causes fatal crash.

For the input {{#interwikilink:rfc|1{{Zeichen*|#}}appendix-I|1}}. The template actually outputs something like this

{{#interwikilink:rfc|1
    1. appendix-I|1}}

There's a new line at the beginning of the template output because the first character is #, and subsequently that starts a list item. The combination makes an invalid title, although it shouldn't crash this way.

Arrrgh, yeah, sorry, that is the bloody *#;: behaviour of template transclusion.

Dec 11 2024, 7:09 PM · MW-1.46-notes (1.46.0-wmf.1; 2025-11-05), Content-Transform-Team, MediaWiki-Parser, Wikimedia-production-error
PerfektesChaos created T381977: Template transclusion in #interwikilink: causes fatal crash.
Dec 11 2024, 1:31 PM · MW-1.46-notes (1.46.0-wmf.1; 2025-11-05), Content-Transform-Team, MediaWiki-Parser, Wikimedia-production-error

Dec 5 2024

PerfektesChaos added a comment to T145604: RFC: Future of magic links.

For smaller of almost 1000 WMF wikis it is hard enough to migrate current pages towards {{#isbn:}} in all pages. While larger wikis do have bots, many small projects have just three or four regular article authors. A global support by bots in foreign wikis will be needed.

  • When migrating, all 1000 wikis would need to maintain a template implementation of {{ISBN}} which might collide with existing implementations.
  • A {{#isbn:}} is not local, but maintained globally and present everywhere.
Dec 5 2024, 10:22 AM · Parsing-Team--ARCHIVED, MediaWiki-Parser, TechCom-RFC

Nov 19 2024

PerfektesChaos added a comment to T270028: MediaWiki:Loginlanguagelinks should be presented as accessible horizontal list.

Funny. I entirely forgot that I had the same idea four years ago.

Nov 19 2024, 5:13 PM · MediaWiki-User-login-and-signup, Accessibility

Oct 22 2024

PerfektesChaos created T377884: checkuser-temporary-account-viewer-member is lacking on Special:userrights.
Oct 22 2024, 6:26 PM · Temporary accounts, Wikimedia-Site-requests

Oct 15 2024

PerfektesChaos added a comment to T223772: Extend #time parser function to display time in format specific to each language.

I see. Digits before and after, UBA is confused. Perhaps improved one day; an entire block of three groups only (digits letters digits) must not adjust order. There are older and newer versions of UBA, and they might depend on browsers.

Oct 15 2024, 10:17 PM · User-notice-archive, MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), Community-Tech (Island Fox (Sept 9 - 20)), Content-Transform-Team, MediaWiki-Platform-Team (Radar), I18n, ParserFunctions
PerfektesChaos added a comment to T223772: Extend #time parser function to display time in format specific to each language.

If the entire content of a table cell is that parser function, the UBA does not influence anything.

  • dir or <bdi> is important if a text fragment is embedded within inline fluent text in other directionality, especially if symbols or digits are direct neighbours of the insertion.
  • In this case the symbols might be thrown to the wrong side, since they do not bear any directionality (letters do have a knowledge of themselves whether they are LTR or RTL). UBA might think that they should precede since they are following RTL.
  • If the column width is greater than the parser function result, you might want to start an RTL date at the right cell border within a LTR page. However, such style="text-align:right" is not a property of the date, but needs to be applied to the entire table cell as block element.
  • If inside the cell the parser function result is a mixture of letters with directionality and things with no directionality, UBA is made to arrange that in the appropriate order (as is).
Oct 15 2024, 1:21 AM · User-notice-archive, MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), Community-Tech (Island Fox (Sept 9 - 20)), Content-Transform-Team, MediaWiki-Platform-Team (Radar), I18n, ParserFunctions
PerfektesChaos added a comment to T223772: Extend #time parser function to display time in format specific to each language.

And what about the directionality?

I’d assume most of the time this parser function will be used in contexts that have the given language already set (a table that has table-level lang and dir attributes, running text in that language etc.), so the extra markup would just clutter the HTML code without any benefit. Where do you expect to use a free-standing date, without, for example, a label that tells what on that date happens?

I see. For example, if this date is everything that exists in some table cell.

Oct 15 2024, 12:07 AM · User-notice-archive, MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), Community-Tech (Island Fox (Sept 9 - 20)), Content-Transform-Team, MediaWiki-Platform-Team (Radar), I18n, ParserFunctions

Oct 14 2024

PerfektesChaos added a comment to T223772: Extend #time parser function to display time in format specific to each language.

Please see my conversation above at Sep 10 2024, 03:46.

Oct 14 2024, 10:10 PM · User-notice-archive, MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), Community-Tech (Island Fox (Sept 9 - 20)), Content-Transform-Team, MediaWiki-Platform-Team (Radar), I18n, ParserFunctions
PerfektesChaos added a comment to T358497: Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments..
Oct 14 2024, 6:38 AM · MediaWiki-Parser, Scribunto

Oct 11 2024

PerfektesChaos added a comment to T358497: Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments..

BTW, if there is a transclusion {{ttt|thing|<div class="foo">Content</div>|another|named=value}} this is supposed to be resolved as:

  • {{{1}}}thing
  • {{{2}}}another

However, that was expected as:

  • {{{1}}}thing
  • {{{2}}}<div class="foo">Content</div>
  • {{{3}}}another

The assignment of the third parameter fails.

Oct 11 2024, 8:06 PM · MediaWiki-Parser, Scribunto
PerfektesChaos added a comment to T358497: Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments..

The Lua table is an object, not a sequence table.

Oct 11 2024, 7:38 PM · MediaWiki-Parser, Scribunto
PerfektesChaos added a comment to T358497: Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments..

I don’t think so. The very first words of the feature summary are The addition of – that is, it asks for something to be added, not something existing to be changed.

As soon as anything is implemented as proposed, the parameter mapping of all templates and/or modules would change. There is no distinction between those transclusions which shall be evaluated by new syntax and classic syntax.

Oct 11 2024, 3:06 PM · MediaWiki-Parser, Scribunto
PerfektesChaos added a comment to T358497: Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments..

Exactly. If a Scribunto-powered template makes use of this new feature, it should clearly mention that in the documentation. Processing such – from the parser’s POV broken – parameters should always remain a feature templates can opt into, never the default.

At least this will be an individual solution within one individual template somewhere.

  • This task is about a global change of parameter handling by MediaWiki, and the approach is not suitable for all templates in all wikis.
  • All assignments of named parameters are treated as if the parameter name and = are part of the value.
  • The task description is supposing that all templates in all wikis have only unnamed parameters. This is obviously far from reality.
  • The other way around works fine: Avoid unnamed parameters, migrate to named parameters and all = syntax issues are solved (trimming as well). German Wikipedia is migrating since the 2010’s and good new templates won’t introduce them.
  • Frequently used templates in German Wikipedia do know which named and unnamed parameters are valid, and an assignment for a 1 by <span style="color:blue">blue</span> would create an unknown parameter name <span style and this will trigger error handling procedures.
Oct 11 2024, 10:18 AM · MediaWiki-Parser, Scribunto

Oct 8 2024

PerfektesChaos added a comment to T358497: Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments..

The task is not only affecting Lua, but would need to be handled synchronuosly in template programming as well.

  • Otherwise there would happen a different behaviour when changing the programming from plain template to Lua and back.
  • Authors would need to know whether an implementation is using Lua processing or not, to provide the correct syntax.
  • The implementation behind a template is a secret. That means: It is documented how to use a template, and a contract is made which result is expected. Within this contract it is open how to implement this, and the promised target might be reached by changing the programming at any time.

The detection of some = which should be taken as part of parameter value and some which should split parameter name and parameter value is not universal and impossible in general.

  • HTML elements (or tags, in this case) are not replaced by the parser before evaluating the parameter value. This differs from MediaWiki tag extensions, where the entire content is hidden and replaced by a placeholder.
  • There are too many cases where things like The <span style="color:blue">blue</span> flowers or Einstein’s formula E=mc² will contain = as text.
  • Or perhaps the later one E=mc² could mean a parameter name E and a parameter value mc².

The issue is two decades old, and there are two common solutions:

  1. Do not use unnamed parameters. If some can be omitted, it becomes cruel to assign the correct values in the right position. Named parameters are self-explaining and avoid misunderstanding the effect of the third assignment.
  2. If unnamed parameters, then use 2= if a = might occur within values.

The workaround mentioned in introduction fails as soon a template is really expecting named parameters. It works if and only if all parameters are supposed to be unnamed.

  • Typically, you have a few unnamed parameters, if any, for one or two mandatory parameters, followed by many options where the current ones are identified by name.
Oct 8 2024, 6:45 AM · MediaWiki-Parser, Scribunto

Sep 20 2024

PerfektesChaos added a comment to T254535: ULS should override $wgLoginLanguageSelector.

German Wikipedia is offering all configured minority languages in Central Europe including neighbour countries with German speakers, and migrated population to countries with German language, and further languages in the world with many million speakers.

Sep 20 2024, 7:47 PM · UniversalLanguageSelector, I18n, MediaWiki-User-login-and-signup
PerfektesChaos created T375273: Make language list more accessible on login page.
Sep 20 2024, 1:38 PM · MediaWiki-User-login-and-signup, Accessibility
PerfektesChaos added a comment to T284488: Blanking alt text in images in VE doesn't remove |alt.

There is a solution: T359582 (Define alt=- as intended presentational image).

Sep 20 2024, 1:28 PM · Accessibility, VisualEditor

Aug 27 2024

PerfektesChaos added a comment to T373445: display:flex is swallowing spaces, e.g. in editfooter templatesused.

@Ebrahim: FYI

Aug 27 2024, 4:15 PM · MediaWiki-Page-editing
PerfektesChaos added a comment to T373445: display:flex is swallowing spaces, e.g. in editfooter templatesused.

Detected now: rMWc0af446dd0d9caf29cc75dd24ada21a0d742be7f

Aug 27 2024, 3:58 PM · MediaWiki-Page-editing
PerfektesChaos assigned T373445: display:flex is swallowing spaces, e.g. in editfooter templatesused to Ebrahim.
Aug 27 2024, 3:56 PM · MediaWiki-Page-editing
PerfektesChaos updated the task description for T373445: display:flex is swallowing spaces, e.g. in editfooter templatesused.
Aug 27 2024, 2:36 PM · MediaWiki-Page-editing
PerfektesChaos created T373445: display:flex is swallowing spaces, e.g. in editfooter templatesused.
Aug 27 2024, 2:33 PM · MediaWiki-Page-editing

Aug 23 2024

PerfektesChaos added a comment to T145604: RFC: Future of magic links.

The major issue on this kind of magic is that they are a nightmare on parsing.

  • And hard to understand and teach and describe to authors as well.
  • It is blowing up syntax description and make things even more complicated.
Aug 23 2024, 4:03 PM · Parsing-Team--ARCHIVED, MediaWiki-Parser, TechCom-RFC

Aug 21 2024

PerfektesChaos added a comment to T145604: RFC: Future of magic links.

@Legoktm: German Wikipedia discontinued to use RFC magic in article space for almost a year now.

Aug 21 2024, 3:23 PM · Parsing-Team--ARCHIVED, MediaWiki-Parser, TechCom-RFC

Aug 15 2024

PerfektesChaos created T372578: Column order on Special:PendingChanges.
Aug 15 2024, 4:33 PM · FlaggedRevs
PerfektesChaos added a comment to T151682: Add a new MediaWiki system message as a content header inside #mw-content-text.

What would this message be used for?

Aug 15 2024, 6:50 AM · MW-1.45-notes (1.45.0-wmf.11; 2025-07-22), Platform Engineering, Patch-For-Review, patch-welcome, MediaWiki-General
PerfektesChaos added a comment to T355159: New system message – documentation header for non-wikitext pages.
Aug 15 2024, 6:49 AM · MediaWiki-General, Voice & Tone
PerfektesChaos added a comment to T369803: mw.util.isTemporaryUser() should be gracious with anonymous users.

No idea what will happen finally, but if I am reading only a temporary name might be put into cookie immediately.

Aug 15 2024, 6:41 AM · MediaWiki-Platform-Team, MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Patch-For-Review, Temporary accounts, JavaScript

Aug 13 2024

PerfektesChaos added a comment to T50940: Punctuation like ".", "?" and "!" at the end of page title in links not interpreted as part of the URL by various applications.

I do not think that any Wiki server could solve the problem, at least no trivial patch is meaningful.

Aug 13 2024, 7:03 PM · Patch-For-Review, MediaWiki-Email

Aug 9 2024

PerfektesChaos added a comment to T174145: Our standard highlight icon (used to enable/disable CodeMirror) cdxIconHighlight looks too much like our standard edit icon, cdxIconEdit.

I think this suggestion is already in some ticket. Just reminding here.

Aug 9 2024, 9:55 AM · Design-System-Team, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Design, MediaWiki-extensions-CodeMirror
PerfektesChaos added a comment to T174145: Our standard highlight icon (used to enable/disable CodeMirror) cdxIconHighlight looks too much like our standard edit icon, cdxIconEdit.

There came another accessibility issue from users:

  • Some have difficulties with distinguishing blue and black.
  • Some are not aware that it has an important effect when something in the toolbar is changing from black to blue. They do not know that they triggered unintentionally this mode, and they come to village pump crying that they cannot work any more.

The activated effect should be more obvious than just changing text colour.

  • It should be inverted, whether icon only or both icon and text.
  • It should be (dark) blue background for the entire field, and white icon and text if active.
  • We do a similar thing with ticbox. They are a white square with black or blue borders if not active, and a blue square with white ticmark when activated.
  • This change of background colour is very obvious, even if you are less aware or not equipped with best eyes.

An explicit text is better explaining than text markers which have cultural limitations to know such tool in real life nor connecting such unknown device with syntax analysis presentation.

Aug 9 2024, 8:19 AM · Design-System-Team, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Design, MediaWiki-extensions-CodeMirror

Aug 2 2024

PerfektesChaos added a comment to T223772: Extend #time parser function to display time in format specific to each language.

The user magic might be just taken as a reminder.

Aug 2 2024, 10:07 AM · User-notice-archive, MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), Community-Tech (Island Fox (Sept 9 - 20)), Content-Transform-Team, MediaWiki-Platform-Team (Radar), I18n, ParserFunctions
PerfektesChaos added a comment to T223772: Extend #time parser function to display time in format specific to each language.

I learnt that the update is productive now, but user language did not work on BETA ever.

Aug 2 2024, 9:11 AM · User-notice-archive, MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), Community-Tech (Island Fox (Sept 9 - 20)), Content-Transform-Team, MediaWiki-Platform-Team (Radar), I18n, ParserFunctions

Jul 29 2024

PerfektesChaos added a comment to T40265: Links in emails: Parentheses ( or ) not recognized as part of URL - brackets should be URL-encoded.

General advice: Append a _ when page name is terminated by . or ) or similar.

  • Then, after _, add a space or terminate.
  • When the system (many are recognizing and automatically linking URL) is identifying start of URL at http: and termination, they interprete . or ) and more as surrounding punctuation, not part of URL, not included in target.
  • If our URL is terminated by _ that one is taken as last character and part of generated link, if a space is following and will break URL identification.
  • If any wiki server is receiving _ that is taken as space, and will be stripped since there are no spaces at the end of page names etc.
Jul 29 2024, 3:30 PM · MediaWiki-Email

Jul 26 2024

PerfektesChaos added a comment to T364685: CSS sanitizer refuses TemplateStyles variable assignment to border-color but does permit background-color.

border: 1px solid var( --border-color-base, #a2a9b1 ); also works as advised in T368637#9942128.

Jul 26 2024, 9:20 AM · Patch-For-Review, TemplateStyles, css-sanitizer

Jul 11 2024

PerfektesChaos created T369803: mw.util.isTemporaryUser() should be gracious with anonymous users.
Jul 11 2024, 10:13 AM · MediaWiki-Platform-Team, MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Patch-For-Review, Temporary accounts, JavaScript

Jul 5 2024

PerfektesChaos added a comment to T369318: Special:LintErrors &titlesearch= does not work in prefix mode.

I happened to dig out an &exactmatch= meanwhile.

Jul 5 2024, 9:32 AM · Essential-Work, MediaWiki-extensions-Linter

Jul 4 2024

PerfektesChaos created T369318: Special:LintErrors &titlesearch= does not work in prefix mode.
Jul 4 2024, 8:33 PM · Essential-Work, MediaWiki-extensions-Linter

Jun 26 2024

PerfektesChaos added a comment to T368415: For gallery images "use the caption as the alternative text" checkbox must not be offered.

...as-written, isn't going to change anything in the output for galleries because File:Red eyed tree frog edit2.jpg|A caption and File:Red eyed tree frog edit2.jpg|A caption|alt=A caption produce the same output. If we actually want to suppress the doubling, we currently have to output an empty alt into the gallery definition.

Jun 26 2024, 9:09 PM · Accessibility, VisualEditor
PerfektesChaos renamed T368415: For gallery images "use the caption as the alternative text" checkbox must not be offered from For gallery images don't check the "use the caption as the alternative text" box automatically to For gallery images "use the caption as the alternative text" checkbox must not be offered.
Jun 26 2024, 4:15 PM · Accessibility, VisualEditor