Page MenuHomePhabricator

PerfektesChaos
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

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

Recent Activity

Thu, Jul 11

PerfektesChaos created T369803: mw.util.isTemporaryUser() should be gracious with anonymous users.
Thu, Jul 11, 10:13 AM · Temporary accounts, JavaScript

Fri, Jul 5

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

I happened to dig out an &exactmatch= meanwhile.

Fri, Jul 5, 9:32 AM · MediaWiki-extensions-Linter

Thu, Jul 4

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

Wed, Jun 26

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.

Wed, Jun 26, 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.
Wed, Jun 26, 4:15 PM · Accessibility, VisualEditor
PerfektesChaos added a comment to T368415: For gallery images "use the caption as the alternative text" checkbox must not be offered.

To summarize: current behavior for the gallery image dialog is that when you add a new image to a gallery we check the "use caption as alternative text" box by default. PerfektesChaos would like that box to not be checked by default.

To clarify: I do not want that the ticbox is not checked by default – no copy of the legend shall be established ever as “starting point” for |alt=, neither by default nor on request.

Wed, Jun 26, 4:05 PM · Accessibility, VisualEditor

Tue, Jun 25

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

Yes, the ticbox creating a duplicate of the legend is entirely pointless.

  • The legend is already told by screenreader.
  • A duplicate of this text, telling the same story a second time, is annoying.
  • German Wikipedia is going to run a bot for removing all short |alt= from file transclusion and gallery which are a copy of the legend or media descriptor.
Tue, Jun 25, 4:22 PM · Accessibility, VisualEditor
PerfektesChaos created T368415: For gallery images "use the caption as the alternative text" checkbox must not be offered.
Tue, Jun 25, 2:58 PM · Accessibility, VisualEditor
PerfektesChaos added a comment to T368262: System message nstab-main is ignored as tab label in main namespace and main talk namespace.

Arrrgh. The language de-AT de-CH de-formal is also involved.

  • However, in July 2023 it has been stated that the system message in native project language shall act as fallback if not defined for subtag.
  • Therefore de-at de-ch de-formal were deleted in August 2023.

The behaviour according to T229992 or the famous language fallback chain does not work here.

  • What is the exact algorithm for fallbacks? Which definition at which level will take precedence and will be defaulted to what when? The manual is not precise enough.
  • We did remove many explicit fallbacks de-at de-ch de-formal which worked, but some did not. Why?
Tue, Jun 25, 12:08 PM · MediaWiki-Internationalization

Mon, Jun 24

PerfektesChaos created T368262: System message nstab-main is ignored as tab label in main namespace and main talk namespace.
Mon, Jun 24, 12:27 PM · MediaWiki-Internationalization
PerfektesChaos added a comment to T204201: Extend MediaWiki:Gadgets-definition capabilities.

Would it be difficult to bring compatibility with AJAX previews… if ever it's feasible?

Mon, Jun 24, 10:54 AM · MediaWiki-extensions-Gadgets

Fri, Jun 21

PerfektesChaos added a comment to T368102: jquery.textSelection behavior changed when given `undefined` in command options.

It is common practice to use $.extend() for merging defaults and options in a cascading style.

  • Code will provide defaults, subsequently combined with siteuserpage modification.
  • And yes, it is common practice to ignore undefined components since they are – deliberately undefined for this stage!
  • Whether this is stated explicitly in any documentation or not, it is common understanding for decades. Undefined components are regarded as not provided. No difference was made ever between undefined or not occurring components; both have the same meaning. Even false may be regarded as refused assignment in certain cases.
Fri, Jun 21, 3:46 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Patch-For-Review, MediaWiki-User-Interface (active libraries), Regression
PerfektesChaos added a comment to T368102: jquery.textSelection behavior changed when given `undefined` in command options.

The documentation bug on dewiki was just misspelling of the key, but the functionality is known to other people even those who never read such fine manuals.

Fri, Jun 21, 1:20 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Patch-For-Review, MediaWiki-User-Interface (active libraries), Regression
PerfektesChaos added a comment to T368102: jquery.textSelection behavior changed when given `undefined` in command options.

The error occurred first immediately after distribution, but the code is of 2010.

  • Here is the executed code unchanged since 2018 in this particular usage.
  • Used more than thousand times every day for every source editing on dewiki.
  • You took me already hours to track until this point, time I do not have and resources missing in other issues.
Fri, Jun 21, 12:35 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Patch-For-Review, MediaWiki-User-Interface (active libraries), Regression

Thu, Jun 20

PerfektesChaos added a comment to T368029: Special:Notifications (partially?) broken.

T368102 is the same story, and I guess there are many many more. Enjoy.

Thu, Jun 20, 8:15 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), User-Michael, Growth-Team (Sprint 16 (Growth Team)), Notifications, affects-translatewiki.net
PerfektesChaos updated the task description for T368102: jquery.textSelection behavior changed when given `undefined` in command options.
Thu, Jun 20, 8:12 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Patch-For-Review, MediaWiki-User-Interface (active libraries), Regression
PerfektesChaos created T368102: jquery.textSelection behavior changed when given `undefined` in command options.
Thu, Jun 20, 7:38 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Patch-For-Review, MediaWiki-User-Interface (active libraries), Regression

Jun 14 2024

Pppery awarded T364838: Introduce {{~}} parser function a Dislike token.
Jun 14 2024, 4:43 PM · MediaWiki-Parser

Jun 12 2024

PerfektesChaos added a comment to T344378: Spike: How to obtain articles that have images with missing alt text.

While this might be solved technically, the entire task is not a good idea for two reasons:

  1. An issue cannot be solved within a few seconds like other LINT “errors”, adding a missing ' – it is actually not an error.
    1. It will need several minutes and requires creative writing and deeper understanding of the context of the image.
    2. There is no helpful guidance in most wikis, partial in enWP.
    3. The target is to write a text which is “illustrative” – if you close your eyes the image shall appear in your mind before you would have seen it the first time.
    4. If I am encountering an alt= I delete them in most cases. They do not describe, they are confusing, 50% are just repeating the legend which will be told twice to the blind.
  2. AI (artificial intelligence) is currently conquering automatic image description for blind people, integrated in screenreader.
    1. They get a button “Tell me” for each image, and a few seconds later the speaker starts describing the image; much better than most wiki authors do.
    2. There are apps for mobile phones in daily usage now. Blind people hold the camera in the direction incognita, and after some seconds the phone tells about houses, streets, inscriptions of shops, plate with the street name or reading the plate of a monument. They are heading for a dialog, “Which shops are there?”, and the phone will answer “barber shop, grocery, tailor”.
    3. Within some years I guess alt= is history and a Nice-to-have rather than pushing people to equip web pages.
Jun 12 2024, 2:10 PM · Wikipedia-iOS-App-Backlog (iOS Release FY2024-25), MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), iOS Release FY2023-24 (Archive), Wikipedia-Android-App-Backlog

Jun 11 2024

PerfektesChaos added a comment to T344378: Spike: How to obtain articles that have images with missing alt text.

From my understanding the role= is applied to the wrapping element, and only this one is mentioned and linked when generating a TOC from all role=navigation or role=region elements (in addition to <h2> etc.). Same goes for each single role=alert which may consist of several content elements.

Jun 11 2024, 10:08 AM · Wikipedia-iOS-App-Backlog (iOS Release FY2024-25), MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), iOS Release FY2023-24 (Archive), Wikipedia-Android-App-Backlog
PerfektesChaos added a comment to T204201: Extend MediaWiki:Gadgets-definition capabilities.

Another issue: I have a case with a gadget ("Diaporama" here) that is defined with a "categories" condition, but this gadget may also be loaded using mw.loader.load()/ mw.loader.using() (by this script), on a page that does not have the category.

Jun 11 2024, 9:24 AM · MediaWiki-extensions-Gadgets

Jun 10 2024

PerfektesChaos added a comment to T366314: Deploy and QA responsive tables change.

so it can be removed with no effect.

Jun 10 2024, 5:31 PM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Web Team Essential Work 2024, Web-Team-Backlog (FY2023-24 Q4 Sprint 5)

Jun 9 2024

PerfektesChaos added a comment to T366314: Deploy and QA responsive tables change.

HTML 4.0 – While clear= has been adopted, float= was implmented in all major browsers. Since it worked, it was used. Apparently still today. I am living in the wwwworld since 1995. Nevertheless, all these HTML attributes were deprecated in 1998 in favour of CSS. Wikis were founded in 2001, none might have occurred ever in any Wiki, but you may scan English Wikipedia for quite common usage of align=.

Jun 9 2024, 8:56 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Web Team Essential Work 2024, Web-Team-Backlog (FY2023-24 Q4 Sprint 5)

Jun 8 2024

PerfektesChaos added a comment to T344378: Spike: How to obtain articles that have images with missing alt text.

Please note that there are other means in addition to <gallery> and File: transclusion.

Jun 8 2024, 1:28 PM · Wikipedia-iOS-App-Backlog (iOS Release FY2024-25), MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), iOS Release FY2023-24 (Archive), Wikipedia-Android-App-Backlog
PerfektesChaos added a comment to T366314: Deploy and QA responsive tables change.

The italics rule is not present anymore in the current stylesheet.

Jun 8 2024, 1:25 PM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Web Team Essential Work 2024, Web-Team-Backlog (FY2023-24 Q4 Sprint 5)
PerfektesChaos added a comment to T366314: Deploy and QA responsive tables change.

The reason why float-(left|right) are preferred in German Wikipedia is that they provide a small margin-top. Therefore they can be stacked.

Jun 8 2024, 10:30 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Web Team Essential Work 2024, Web-Team-Backlog (FY2023-24 Q4 Sprint 5)

Jun 7 2024

PerfektesChaos created T366903: refuse page protection in MediaWiki: namespace.
Jun 7 2024, 12:29 PM · MediaWiki-Page-protection

May 15 2024

PerfektesChaos added a comment to T361934: Support CSS variable fallbacks in template styles.

We are going to adopt templates to follow WMF properties for inverting dark mode, and we follow the WMF definitions and try to inherit some of those.

May 15 2024, 9:30 PM · Web-Team-Backlog (FY2023-24 Q4 Sprint 2), Patch-For-Review, css-sanitizer, TemplateStyles, FY2023-24-WE 2.1 Typography and palette customizations
PerfektesChaos added a comment to T361934: Support CSS variable fallbacks in template styles.

I just happened to run into this border-color mantrap.

May 15 2024, 8:34 PM · Web-Team-Backlog (FY2023-24 Q4 Sprint 2), Patch-For-Review, css-sanitizer, TemplateStyles, FY2023-24-WE 2.1 Typography and palette customizations

May 14 2024

PerfektesChaos updated the task description for T364838: Introduce {{~}} parser function.
May 14 2024, 1:13 PM · MediaWiki-Parser
PerfektesChaos created T364838: Introduce {{~}} parser function.
May 14 2024, 11:10 AM · MediaWiki-Parser

May 12 2024

PerfektesChaos created T364685: CSS sanitizer refuses TemplateStyles variable assignment to border-color but does permit background-color.
May 12 2024, 1:50 AM · TemplateStyles, css-sanitizer

May 5 2024

PerfektesChaos added a project to T363726: ?action=info should have a Table of Contents: Accessibility.
May 5 2024, 12:07 PM · Accessibility, MediaWiki-User-Interface (actions)

May 4 2024

PerfektesChaos renamed T364198: Omit transclusion section on pageinfo of not existing pages for flagged revision wikis from Omit transclusion section on pageinfo for flagged revision wikis to Omit transclusion section on pageinfo of not existing pages for flagged revision wikis.
May 4 2024, 7:45 AM · MW-1.43-notes (1.43.0-wmf.5; 2024-05-14), MediaWiki-extensions-FlaggedRevs
PerfektesChaos created T364198: Omit transclusion section on pageinfo of not existing pages for flagged revision wikis.
May 4 2024, 7:44 AM · MW-1.43-notes (1.43.0-wmf.5; 2024-05-14), MediaWiki-extensions-FlaggedRevs
PerfektesChaos created T364196: Equip pageinfo analysis with TOC.
May 4 2024, 7:26 AM · Accessibility, MediaWiki-General

Apr 26 2024

PerfektesChaos added a comment to T161976: Feature request: add detection for page language to Scribunto.

@Uzume – If you are really expecting to violate page limitations, there is a hint, or hack.

Apr 26 2024, 10:35 PM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki CodeJam Dec 2023, MW-1.38-notes (1.38.0-wmf.20; 2022-01-31), Patch-For-Review, Scribunto

Apr 23 2024

PerfektesChaos added a comment to T110014: Make gadgets easily customizable (merge Gadgets' branch "gadgetprefs" from GSoC 2011).

How does this sound?

Some remarks:

  • This should not be a separate Special:GadgetPreferences but part of Special:Preferences in Gadgets section, when entire usage of one particular tool can be toggled. If this tool is activated, the preferences GUI should appear immediately below (and vanish if toggled off).
  • The JSON spec should be subpage like MediaWiki:Gadget-myTool/preferences.json, while site configuration might be MediaWiki:Gadget-myTool.json and implementation is at MediaWiki:Gadget-myTool.js
  • Texts do need localization mechanism. A global root may contain English, French, Japanese and German, and on Commons users will expect their user language. Further translations need to be added easily by global collection of local languages.
Apr 23 2024, 11:13 AM · MediaWiki-Core-Preferences, JavaScript, MediaWiki-extensions-Gadgets

Apr 18 2024

PerfektesChaos added a comment to T278973: Add a way to differentiate transcluding a redirect and transcluding a redirect and its target.

Actually the redirect table could be a further candidate for indirect use of linktarget table, when both pagelinks and templatelinks table migration are completed.

Apr 18 2024, 1:23 PM · MediaWiki-Page-derived-data, Platform Engineering

Apr 13 2024

PerfektesChaos added a comment to T174811: Support JavaScript hook events for CodeMirror.

There is the module jquery.textSelection at rMW /src/jquery/jquery.textSelection.js

  • This is wrapping access to selected text or cursor position independent of browser methods, and does also permit text changes at cursor position or replacing marked text range.

This does currently not support CodeMirror but native text <input> and <textarea>.

  • It should cover CodeMirror and DiscussionTools transparently as well.

I think the idea is to do the reverse – editors are expected to ...

Apr 13 2024, 6:16 PM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), Patch-For-Review, MediaWiki-extensions-CodeMirror

Apr 12 2024

PerfektesChaos created T362458: Namespace names are not resolved in <inputbox> fulltext search.
Apr 12 2024, 11:14 PM · Wikimedia-Hackathon-2024, MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Regression, MediaWiki-extensions-InputBox
PerfektesChaos added a comment to T174811: Support JavaScript hook events for CodeMirror.

There is the module jquery.textSelection at rMW /src/jquery/jquery.textSelection.js

  • This is wrapping access to selected text or cursor position independent of browser methods, and does also permit text changes at cursor position or replacing marked text range.

This does currently not support CodeMirror but native text <input> and <textarea>.

  • It should cover CodeMirror and DiscussionTools transparently as well.

In a similar way I would like to get a wrapper around CodeMirror and DiscussionTools, which shall allow to deal with text fields no matter which mode the user currently toggled:

  • Retrieve textarea#wpTextbox1.val() as entire text
  • Assign textarea#wpTextbox1.val(s) to the entire story
  • If currently in CodeMirror or DiscussionTools mode, then retrieve via the corresponding API; if native then jQuery .val() function.
  • There is a second text field on Special:Upload.

In addition I want to explore whether the user input did change CodeMirror text and possible errors have been marked.

  • It is sufficient to know that the text has changed, no matter whether by programmatic assignment of entire or partial text or mouse event or keyboard event. When it changed I can look for arriving or vanished error class elements.
  • I need to know whether CodeMirror was activated or left. While no CodeMirror is active I do not need to look for error class elements. Events or mw.hook() shall be fired when CodeMirror toggled.
Apr 12 2024, 9:14 AM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), Patch-For-Review, MediaWiki-extensions-CodeMirror

Apr 8 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.

In wikitext (,.;? followed by whitespace or text end will trigger URL termination just before.

Apr 8 2024, 12:42 PM · MediaWiki-Email
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.

We have a similar problem on mentioning plain URL in wikitext, interpreting terminating interpunction characters as part of surrounding text rather than part of URL. The same goes for many messaging tools.

Apr 8 2024, 9:16 AM · MediaWiki-Email

Apr 5 2024

PerfektesChaos created T361917: API docs: Use "registered"/"anonymous" instead of "logged-in"/"logged-out".
Apr 5 2024, 9:14 AM · Voice & Tone, Patch-For-Review, MediaWiki-Action-API, good first task

Apr 4 2024

PerfektesChaos created T361828: Discontinue tableSorterCollation.
Apr 4 2024, 12:19 PM · Technical-Debt, MediaWiki-User-Interface (Tables)

Apr 2 2024

PerfektesChaos closed T359542: Offer local help page on Special:login as Invalid.
Apr 2 2024, 2:51 PM · MediaWiki-Special-pages, MediaWiki-User-login-and-signup
PerfektesChaos added a comment to T359542: Offer local help page on Special:login.

It did not disclose to me on uselang=qqx that message, therefore I did assume that no config message is available.

Apr 2 2024, 2:50 PM · MediaWiki-Special-pages, MediaWiki-User-login-and-signup

Mar 28 2024

Pppery awarded T201052: Local interface-admin need to be sysop for some operations a Dislike token.
Mar 28 2024, 8:09 PM · Security, MediaWiki-General, Trust-and-Safety

Mar 27 2024

Sophivorus awarded T204201: Extend MediaWiki:Gadgets-definition capabilities a Party Time token.
Mar 27 2024, 12:39 PM · MediaWiki-extensions-Gadgets

Mar 13 2024

PerfektesChaos updated the task description for T359582: Define alt=- as intended presentational image.
Mar 13 2024, 10:22 PM · Commons, MediaWiki-File-management, Accessibility, MediaWiki-Parser

Mar 7 2024

PerfektesChaos added a comment to T344378: Spike: How to obtain articles that have images with missing alt text.

Do we.... have a good high-level task for this that covers the conceptual feature for both ios and android and not low-level implementation details?

In T359582 I just complained that

there should be a separate Phabricator trail for alt= image descriptions (even video).

Mar 7 2024, 7:12 PM · Wikipedia-iOS-App-Backlog (iOS Release FY2024-25), MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), iOS Release FY2023-24 (Archive), Wikipedia-Android-App-Backlog
PerfektesChaos created T359582: Define alt=- as intended presentational image.
Mar 7 2024, 6:51 PM · Commons, MediaWiki-File-management, Accessibility, MediaWiki-Parser
PerfektesChaos added a comment to T344378: Spike: How to obtain articles that have images with missing alt text.

My comments on mw:Talk:Wikimedia Apps/Team/Android/Image Recommendations were already linked, but I do strongly oppose to make this a LINT nor Growth task.

Mar 7 2024, 2:57 PM · Wikipedia-iOS-App-Backlog (iOS Release FY2024-25), MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), iOS Release FY2023-24 (Archive), Wikipedia-Android-App-Backlog
PerfektesChaos created T359548: State indicating buttons should use inverted icons (white on blue).
Mar 7 2024, 1:55 PM · Design, Accessibility, MediaWiki-extensions-CodeMirror, Community-Tech, MediaWiki-Page-editing
PerfektesChaos updated the task description for T359024: Improve UTF-8 behaviour and error messages at mw.title.
Mar 7 2024, 1:41 PM · Scribunto
PerfektesChaos created T359542: Offer local help page on Special:login.
Mar 7 2024, 1:37 PM · MediaWiki-Special-pages, MediaWiki-User-login-and-signup

Mar 4 2024

PerfektesChaos created T359024: Improve UTF-8 behaviour and error messages at mw.title.
Mar 4 2024, 8:37 AM · Scribunto
PerfektesChaos added a comment to T204201: Extend MediaWiki:Gadgets-definition capabilities.

Thanks for adding categories.

Mar 4 2024, 8:25 AM · MediaWiki-extensions-Gadgets

Feb 28 2024

PerfektesChaos added a comment to T31272: Implement Gadgets 2.0.

Small wikis without IF-admin could manage offered gadgets and circumstances themselve.

Such issue should be solved by global gadgets.

Feb 28 2024, 8:35 AM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, Gadgets-2.0, MediaWiki-extensions-Gadgets
PerfektesChaos added a comment to T31272: Implement Gadgets 2.0.

One question arrived now: Is editing of any MediaWiki:Gadgets/ page requiring successor of previous editinterface or gadgets-definition-edit right?

Feb 28 2024, 7:39 AM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, Gadgets-2.0, MediaWiki-extensions-Gadgets

Feb 26 2024

PerfektesChaos added a comment to T355763: mw.text.jsonDecode() incorrectly interprets number strings as integers.

A key in a JSON object is always a string. Therefore a number is impossible. However a Lua table needs to be a JSON object if any not one-based array shall be mapped.

Feb 26 2024, 10:39 AM · Scribunto

Jan 30 2024

PerfektesChaos created T356154: Minor typo in urlShortener JavaScript.
Jan 30 2024, 7:09 AM · MW-1.42-notes (1.42.0-wmf.17; 2024-02-06), Patch-For-Review, good first task, MediaWiki-extensions-UrlShortener

Jan 17 2024

Lens0021 awarded T161976: Feature request: add detection for page language to Scribunto a Like token.
Jan 17 2024, 11:53 PM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki CodeJam Dec 2023, MW-1.38-notes (1.38.0-wmf.20; 2022-01-31), Patch-For-Review, Scribunto
Pppery awarded T355159: New system message – documentation header for non-wikitext pages a Like token.
Jan 17 2024, 4:12 AM · MediaWiki-General, Voice & Tone

Jan 16 2024

PerfektesChaos created T355159: New system message – documentation header for non-wikitext pages.
Jan 16 2024, 4:42 PM · MediaWiki-General, Voice & Tone

Dec 15 2023

PerfektesChaos added a comment to T353489: DiscussionTools's <div class="mw-heading"> wrapper (and future core wrapper) makes it difficult to style headings in wikitext.

Yeah, obviously parsing needs to be revised. I would expect:

  1. encountering =+ and in __NOEDITSECTION__ mode then
    1. create <h.> instead
    2. send back into stream
  2. encountering =+ and not in __NOEDITSECTION__ mode then
    1. create wrapper business, be prepared for addition of edit/subscribe elements
    2. insert <h.> into wrapper
    3. send back into stream
  3. encountering <h.> then append content to TOC etc.
    1. processing both native elements in wikitext and those created from =+

or any switch or fork or sub-process to handle <h.> elements for TOC purpose.

Dec 15 2023, 9:22 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MediaWiki-General, DiscussionTools
PerfektesChaos added a comment to T353489: DiscussionTools's <div class="mw-heading"> wrapper (and future core wrapper) makes it difficult to style headings in wikitext.

I am always open to new {{#...}} parser functions.

  • However, I am worried since dewiki is using <h*> within some 1,500 wikitext source pages, and perhaps 1,000 of them may be broken by the recent and not announced change. Even our main page crashed, which got a hotfix.
  • In the long run I do prefer {{#...}} parser functions since they have explicit opening and closing syntax, compared to some : or ''' or * somewhere, and they are not misusing [[...]] links for {{#category:...}} purpose.
Dec 15 2023, 3:20 AM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MediaWiki-General, DiscussionTools
PerfektesChaos added a comment to T353489: DiscussionTools's <div class="mw-heading"> wrapper (and future core wrapper) makes it difficult to style headings in wikitext.

I wonder whether you apply this if it is not an editable section with == but a deliberately non-editable section with <h2> in wikitext.

  • I do understand that you separated the [editsection] business from the headline element to improve accessibility.
  • However, if wikitext is containing <h2> there is nothing to be changed, no accessibility touched, no separate [editsection] element. There is nothing to be discussed, and nothing to subscribe or unsubscribe.
  • Therfore, if either __NOEDITSECTION__ or <h2> is present in wikitext, just produce the traditional element without wrapper.
  • Iff it is == then create that wrapper and [editsection] but that is almost everywhere regular article text or talk page without any special styling.

I am not deep in the most recent CSS but I think it is feasible to distinguish a wrapper containing a <h2> and turn that into inline, but keep block if there is no wrapper present.

Dec 15 2023, 1:10 AM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MediaWiki-General, DiscussionTools

Nov 5 2023

PerfektesChaos added a comment to T350551: Articles with unreviewed templates in them show no link to the unreviewed template to reviewers.

Well, the core problem is a bit different.

  • The article which transludes the modified template (Inverted Coaster) does not mention which media files or templates are causing the problem.
  • Until mid of 2023 there appeared a link to Template:Navigationsleiste Achterbahntypen which tells precisely where to remedy the problem.
  • If there are 100 templates and files in this page, you wilkl have a nice time to explore the responsible page.

The (kein Unterschied) is not really important. It does not matter whether any difference will result. By vandalism and reverting by a new user this may happen easily.

Nov 5 2023, 4:29 PM · MediaWiki-extensions-FlaggedRevs

Sep 9 2023

PerfektesChaos added a comment to T201052: Local interface-admin need to be sysop for some operations.

I suppose security-wise there is not much harm in admins being able to delete a page that they (for good reasons) aren't able to edit or create.

And this is intended: If there is malicious JS etc., every sysop can delete such a page immediately, without asking stewards etc. for further help.

Sep 9 2023, 9:35 PM · Security, MediaWiki-General, Trust-and-Safety

Sep 1 2023

PerfektesChaos added a comment to T323868: category sortkey generation of german letter ß changed.

It has been refused since the resulting order is not the sequence which the community does need for thematic arrangement. It goes for names only and does not take into account deliberately distinguished structures based upon ASCII codes.

Sep 1 2023, 4:53 PM · Wikimedia-Site-requests, I18n, MediaWiki-Categories
PerfektesChaos added a comment to T323868: category sortkey generation of german letter ß changed.

German Wikipedia is using ASCII codepoints like !#,:* and more for special effects.

Sep 1 2023, 2:08 PM · Wikimedia-Site-requests, I18n, MediaWiki-Categories

Aug 28 2023

PerfektesChaos added a comment to T340606: Decide what to do about the edit-form's hidden categories list.

Unification and simultaneous handling of both regular and hidden categories is fine with me.

Aug 28 2023, 2:37 PM · User-notice-archive, Patch-For-Review, Community-Tech (CommTech-Kanban), MediaWiki-Categories, MediaWiki-Page-editing

Aug 25 2023

PerfektesChaos added a comment to T315893: Add space between page namespace and page title.

There were always some inconsistencies and strange things.

  • iPhone on page headline but IPhone in category or other page list and search results.
  • IPhone as title of revision history.
  • _ and %XY in URL page names.

We should try to make such strange things like subpage names in namespace more readable and comprehensive by inserting some visual structure wherever possible.

  • We cannot refrain from improving 99 % of the cases if there are some 1 % left where current solutions are too difficult. Perhaps one day iPhone is shown in categories and page history as well. Anyway, the page headline is displayed correctly right now.

The Title functions must not insert any space character.

  • Every adapted presentation shall be created by CSS only.
  • C&P shall yield the generic name as today.

BTW, hopefully people discovered C&P functionality and will not type letter by letter someWikipedia talk:Manual of Style/Accessibility/Alternative text for images

  • However, if they type an extra space after : universe will survive.
Aug 25 2023, 8:50 AM · MediaWiki-General

Aug 22 2023

PerfektesChaos added a comment to T341426: Page preview should not ignore content in the {{Audio}} template on de.wp.

I think phab is the wrong forum for this issue. Local dewiki platforms (template discussion or general template maintenance project) are more appropriate.

Aug 22 2023, 1:08 PM · Local-Wiki-Template-And-Gadget-Issues
PerfektesChaos added a comment to T315893: Add space between page namespace and page title.

It is crucial that there is a visual spacing, but not a space character, if any.

  • That means: As soon a page headline or any other displayed element is taken by C&P, no space character is inserted and may pollute wikitext by insertion, making search for strings and replacement of page names more difficult (it is legal yet, and there may be _ rather than space or lowercase letters).

For many people, separation of page name elements make semantic elements more readable.

  • Visual separation of namespace+: and subpage hierarchy by / is considered helpful by many who are not wiki insiders over decades.
  • Separation of page name components should offer may-break-here hints after : and / on long lines, rather between two words of a component.

A project wide feature to display all page headlines where subpages are enabled would be fine with me.

Aug 22 2023, 12:54 PM · MediaWiki-General

Aug 8 2023

PerfektesChaos added a comment to T152875: Support RTL in WikiHiero.

Nice idea.

Aug 8 2023, 1:36 PM · I18n, RTL, WikiHiero

Jul 12 2023

PerfektesChaos added a comment to T341666: Wikimedia\RequestTimeout\RequestTimeoutException on de:Holomorphe_Funktion and several other math-heavy articles.

It has been just reported by a dewiki user that LaTeX preference works fine but SVG crashes. How comes?

Jul 12 2023, 3:15 PM · Cite, Math, Performance Issue, Wikimedia-production-error

Jul 2 2023

PerfektesChaos added a comment to T14810: Special:Linksearch should default to all protocols (protocol-less column for externallinks).

On top of that, using // is generally discouraged and should be cleaned up :P

Well, in order to clean them up it is necessary to find them via LinkSearch.

Jul 2 2023, 6:04 PM · User-notice-archive, Patch-For-Review, MW-1.41-notes (1.41.0-wmf.17; 2023-07-11), MediaWiki-Special-pages
PerfektesChaos added a comment to T298334: Validations for gadget definitions.

If you refer to:

  • edittools-magnitudo[ResourceLoader]|actions=edit|edittools-magnitudo.js

Well, this is a fundamental syntax error at least on first glance.

Jul 2 2023, 5:59 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets
PerfektesChaos added a comment to T14810: Special:Linksearch should default to all protocols (protocol-less column for externallinks).

Fine, after one and a half decade.

Jul 2 2023, 5:42 PM · User-notice-archive, Patch-For-Review, MW-1.41-notes (1.41.0-wmf.17; 2023-07-11), MediaWiki-Special-pages

Jun 9 2023

PerfektesChaos added a comment to T316533: Trigger category from Lua code or as parser function.

You could make use of #iferror for your case. It catches any element (namely strong, span, p, div) that has a class "error". This includes errors generated by Scribunto.

This does not help.

Jun 9 2023, 11:19 AM · Scribunto, ParserFunctions
PerfektesChaos added a comment to T338594: Revision of parsing .js pages.

Every Wikitext code like a nowiki exclusion, a {{db-u1}} request, an internal link to a user page or project page which shows up in Whatlinkshere or a Category: which really works is occurring in a JavaScript comment, since it would cause a JavaScript syntax error otherwise.

Jun 9 2023, 11:08 AM · MediaWiki-Parser

May 28 2023

PerfektesChaos added a comment to T56140: Move TemplateData to its own JSON-content namespace and associate with Template-namespace, or to its own TemplateData content model and revision slot.

Many many templates are not documented by an individual JSON for each single template, but derived from series of JSON data generated by documentation template or Lua module, creating TemplateData for many productive templates.

May 28 2023, 7:10 AM · Patch-For-Review, Wikimedia-Hackathon-2023, Multi-Content-Revisions, VisualEditor-MediaWiki, VisualEditor, TemplateData

Feb 26 2023

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

What is the value of splitting up the migration of RFC and PMID into two steps? Wouldn't it be less of a hassle to do both at the same time?

Look at the figues, especially deWP.

  • RFC is a test balloon.
  • Amount is not too large, check how support for small wiki will succeed.
  • Give them some months to take breath; learn from experiences in RFC step.
Feb 26 2023, 7:18 PM · Parsing-Team--ARCHIVED, MediaWiki-Parser, TechCom-RFC

Feb 19 2023

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

Regarding German Wikipedia you need a smart stategy, then it will work.

  • Looking at LINT errors dewiki will proceed; compare with enwiki.
  • However, among 20.000 people there are a dozen fellows who started in 2005 and they do not want any change and everything has to be kept as it was in 2005. Unfortunately, they are quite loud and experienced and collected a lot of merits for their work as authors over two decades.

A promising plan would be:

  • Wait until Vector2022 has been established successfully.
    • A war on two frontiers simultaneously is not a good idea.
    • Currently even enwiki is reluctant.
    • Gadgets need to be adapted to new page arrangement.
  • After sea has calmed, announce a change for RFC within about 3 or 6 months; end of 2023 or July 1st 2024 or whatever, for all projects.
    • There is already a template.
    • RFC 1 can be switched easily by bot in article space towards RFC&nbsp;1<ref>{{RFC-Internet if not already within <ref>, then change access inside <ref> elements, then cleaning up the remainders. Other namespaces are no longer linked.
    • Tracking category may be activated then and tells occurrences for several years even if no link is generated any longer.
  • Then announce discontinuation of PMID within 3 or 6 months.
    • Those will be overcome by [[pmid:1|PMID&nbsp;1]] whereever they occur.
  • For ISBN you will need a global parser function {{#isbn:0-123-456-7|1}} with second parameter for invalid ISBN but printed in books and registered in national library catalogues.
    • This should format and hyphenate correctly and will apply a class and nowrap and error message and maintenance category and everybody is happy.
    • Since it is widely used, bots will need ages and version histories get lots of entries.
    • Small wikis have no bots.
    • A global migration plan needs to be developed, perhaps via server script (a parser function can be applied everywhere while a template needs local support and might collide with a local template).
    • When migrating to next Parsoid storage level this might be done automatically.
    • VE might dump parser function formatting.
    • When retrieving wikitext content deliver new syntax, or store new syntax every time when publishing. Will take some ages.
  • After each stage, check riot level in all wikis. Adapt roadmap if necessary.
Feb 19 2023, 11:47 AM · Parsing-Team--ARCHIVED, MediaWiki-Parser, TechCom-RFC

Feb 6 2023

PerfektesChaos added a comment to T303681: RL targets for gadget definition pages .

Please see T204201.

Feb 6 2023, 8:27 PM · MW-1.41-notes (1.41.0-wmf.1; 2023-03-20), MediaWiki-extensions-Gadgets

Jan 24 2023

PerfektesChaos added a comment to T327715: Page tools change does not work together with Content Translation Beta.

I am creator of lintHint mentioned above. This tool, some more of mine and I guess a pile of other tools are affected by the Vector 2022 change.

Jan 24 2023, 2:36 PM · Language-Team (Language-2023-January-March), MW-1.40-notes (1.40.0-wmf.20; 2023-01-23), Web-Team FY2022-23 Q3 Sprint 1, Web-Team-Backlog, Desktop Improvements (Vector 2022), ContentTranslation

Jan 18 2023

PerfektesChaos updated the task description for T327252: No hook, no event issued when wikieditor 2010 preview changes.
Jan 18 2023, 11:24 AM · MediaWiki-Page-editing, Realtime Preview
PerfektesChaos created T327252: No hook, no event issued when wikieditor 2010 preview changes.
Jan 18 2023, 11:19 AM · MediaWiki-Page-editing, Realtime Preview

Oct 30 2022

PerfektesChaos added a comment to T320299: [S] Special:Search images should not have links without alt text for their contents.

It is pointless to add an English image description Placeholder, we have no preview image here which will be forwarded only to people with screenreaders, which is an aural non-visual presentation of the content, and where the existence of any image is to be hidden from the recipients at all to avoid confusion.

Oct 30 2022, 2:41 PM · MW-1.40-notes (1.40.0-wmf.17; 2023-01-02), Structured-Data-Backlog (Current Work), SDAW-Search-Improvements (Milestone 1: CSS changes to all wikis), Accessibility, Discovery-Search, MediaWiki-Search

Oct 28 2022

PerfektesChaos added a comment to T320299: [S] Special:Search images should not have links without alt text for their contents.

No activity in a week - any opposition to move forward with the proposed solution?

Oct 28 2022, 7:30 PM · MW-1.40-notes (1.40.0-wmf.17; 2023-01-02), Structured-Data-Backlog (Current Work), SDAW-Search-Improvements (Milestone 1: CSS changes to all wikis), Accessibility, Discovery-Search, MediaWiki-Search

Oct 23 2022

PerfektesChaos added a comment to T200766: Public monitoring of JS/CSS edits.

The goal of this task is to monitor about 1000 wikis of WMF for hazardeous codes by global tech community.

Oct 23 2022, 12:03 AM · MediaWiki-extension-requests, MediaWiki-General, Security

Oct 22 2022

PerfektesChaos added a comment to T200766: Public monitoring of JS/CSS edits.

You might not have understood the background, or living in English Wikipedia World only.

Oct 22 2022, 9:50 PM · MediaWiki-extension-requests, MediaWiki-General, Security

Oct 21 2022

PerfektesChaos added a comment to T200766: Public monitoring of JS/CSS edits.

I'd like to see a more generic/general dropdown to filter by content model, which is a task I've been thinking about proposing and which would have general benefits aside from CSS/JS editing, for example being able to watch TemplateStyles edits, which is of general interest to me.

Oct 21 2022, 9:47 AM · MediaWiki-extension-requests, MediaWiki-General, Security
PerfektesChaos added a comment to T320894: The NAMESPACE magic word is not normalized for female users any more.

I am not aware of any other with empty parameter, but {{NAMESPACE:}} might be a bridge for migration.

  • This one is the function call with new behaviour.
  • {{NAMESPACE}} is the 2006 behaviour.
  • Those who want the new formatting for current page may insert a : and get the new result.
  • Currently {{NAMESPACE:}} is rendered as empty string.
Oct 21 2022, 9:30 AM · Regression, MediaWiki-Parser

Oct 17 2022

PerfektesChaos added a comment to T320894: The NAMESPACE magic word is not normalized for female users any more.

German and Portguese wikis have an exhaustive gender distinction as well, and it is widely used to address accounts in a proper way.

Oct 17 2022, 9:24 AM · Regression, MediaWiki-Parser

Oct 15 2022

PerfektesChaos added a comment to T320299: [S] Special:Search images should not have links without alt text for their contents.

Given that we also need to think from front-end performance angle, I don't see added value in additionally add role="presentation" – as the need is already covered by adding 1 and 2.

Oct 15 2022, 2:45 PM · MW-1.40-notes (1.40.0-wmf.17; 2023-01-02), Structured-Data-Backlog (Current Work), SDAW-Search-Improvements (Milestone 1: CSS changes to all wikis), Accessibility, Discovery-Search, MediaWiki-Search
PerfektesChaos added a comment to T320299: [S] Special:Search images should not have links without alt text for their contents.

add aria-hidden to placeholder
add "thumbnail for PAGENAME" alt text for thumbnails

Oct 15 2022, 1:31 PM · MW-1.40-notes (1.40.0-wmf.17; 2023-01-02), Structured-Data-Backlog (Current Work), SDAW-Search-Improvements (Milestone 1: CSS changes to all wikis), Accessibility, Discovery-Search, MediaWiki-Search