[go: up one dir, main page]

Page MenuHomePhabricator

PerfektesChaos
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

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

Recent Activity

Yesterday

Pppery awarded T315747: Introduce {{#trim:}} parser function a Dislike token.
Fri, Nov 22, 5:39 AM · ParserFunctions

Tue, Nov 19

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.

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

Mon, Nov 18

Bugreporter2 awarded T355159: New system message – documentation header for non-wikitext pages a Like token.
Mon, Nov 18, 7:03 AM · MediaWiki-General, Voice & Tone

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 ordered tables to Extension:Scribunto.
Oct 14 2024, 6:38 AM · MediaWiki-Parser, Scribunto

Oct 11 2024

PerfektesChaos added a comment to T358497: Adding ordered tables to Extension:Scribunto.

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 ordered tables to Extension:Scribunto.

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 ordered tables to Extension:Scribunto.

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 ordered tables to Extension:Scribunto.

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 ordered tables to Extension:Scribunto.

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 31 2024

Nux awarded T174145: Our standard highlight icon (used to enable/disable CodeMirror) cdxIconHighlight looks too much like our standard edit icon, cdxIconEdit a Like token.
Aug 31 2024, 12:06 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), UI-Standardization, Design, MediaWiki-extensions-CodeMirror

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 · 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 · 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 · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), UI-Standardization, 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 · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), UI-Standardization, 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 · TemplateStyles, css-sanitizer

Jul 25 2024

Sjoerddebruin awarded T364685: CSS sanitizer refuses TemplateStyles variable assignment to border-color but does permit background-color a The World Burns token.
Jul 25 2024, 9:01 PM · 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
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.

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

Jun 25 2024

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.
Jun 25 2024, 4:22 PM · Accessibility, VisualEditor
PerfektesChaos created T368415: For gallery images "use the caption as the alternative text" checkbox must not be offered.
Jun 25 2024, 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?
Jun 25 2024, 12:08 PM · MediaWiki-Internationalization

Jun 24 2024

PerfektesChaos created T368262: System message nstab-main is ignored as tab label in main namespace and main talk namespace.
Jun 24 2024, 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?

Jun 24 2024, 10:54 AM · Patch-For-Review, MediaWiki-extensions-Gadgets

Jun 21 2024

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.
Jun 21 2024, 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.

Jun 21 2024, 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 2020 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.
Jun 21 2024, 12:35 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Patch-For-Review, MediaWiki-User-Interface (active libraries), Regression

Jun 20 2024

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

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

Jun 20 2024, 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.
Jun 20 2024, 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.
Jun 20 2024, 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, 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, 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 · Patch-For-Review, 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, 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), 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), 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), 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), 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 · Patch-For-Review, 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, 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, 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 · Realtime Preview, WikiEditor (2010), Design, Accessibility, MediaWiki-extensions-CodeMirror, Community-Tech
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 · Patch-For-Review, 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