User Details
- User Since
- Oct 9 2014, 8:09 PM (521 w, 1 d)
- Availability
- Available
- LDAP User
- Tacsipacsi
- MediaWiki User
- Tacsipacsi [ Global Accounts ]
Today
Yesterday
.whitespace-wrapper doesn’t sound very stable. Isn’t there an mw- prefixed class?
When we know that the depicted can be proposed in Wikimedia Commons, I expect an OOUI simple message asking something like:
How does this image represent [ENTITY LABEL]?
Buttons: [Normally, or not particularly] · [Main subject]
I still think T241524: Parser function for loading gadgets is the way to go, not this. If a template with a template gadget has a sandbox, there are two options:
Codex dialogs are modal, i.e. you can’t do anything on the page before you interact with them. If T364664 was the right decision, and most of the time people don’t want to recover changes, using a modal popup would make their lives more difficult – currently, if you don’t want to interact with the recovery notification, you can just start editing and ignore it; this would not be possible with a modal version.
Thanks in advance!
- Per https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1075626/comment/95b7c0df_3bc3c623/ update documentation to accept Node as well as Element so that DocumentFragment can be used.
Wed, Oct 2
IMPORTANT: We would like to use the file structure /front-end/src/locale/{iso}.js, would this work ?
Tue, Oct 1
Mon, Sep 30
This may come as a surprise to users who use both the New Topic Tool and other interfaces, especially such long after the introduction of automatic topic subscriptions in the New Topic Tool, so I think it definitely merits a Tech News item before the config change is deployed.
Sun, Sep 29
@Jdlrobson Why did you create a new task and merged in a three-year-old one instead of updating the old one with a new description? This makes comments harder to follow.
There are times when you need to update tvar name/label (accidental duplication, confusing label, changes in wiki's label approach, consistency with rest of page, etc.)
Sat, Sep 28
Thanks for finally creating this function! I wish it happened during the messagebox→mw-message-box migration, but it’s better late than never.
Actually, that method is called at a single place (line 188), and the return value is forwarded to a method that handles null values, so I guess the fix is to simply change the return value from string to ?string?
Fri, Sep 27
Between the filing of this task and the actual removal, the extension did see a release, version 2.0.0.9 beta, which claims to make it compatible with PHP 8.1+. So while it may be true that it has fallen into disuse, the statement that it’s not compatible with MW 1.43 anyway due to PHP version constraints, isn’t true anymore. So I think it should be restored for MW 1.43 (and deprecated if you want).
Thu, Sep 26
Patch demos can contain extensive amounts of test data, which is lost if it gets deleted from one day to the other. Please allow opting out of it – hopefully the opted-out wikis won’t be that many, so there’s still a decent amount of storage win.
Special:Translate (if I understand correctly, both ext.translate.special.translate and ext.translate.editor show message boxes on Special:Translate only) relies heavily on client-side DOM building, so I think rewriting in Vue would also be a solution there. (Especially as it needs design changes due to T371071: Dark mode not compatible with Special:Translate page as well – the more I use it with your temporary skin-invert hack, the more I think it should really be only a temporary hack: the yellow background of the outdated marker is invisibly dark, other colors are just annoyingly slightly different than the actual night mode colors.) Of course, a Vue rewrite is also a long-term solution, I don’t expect it to go out with the next train.
Wed, Sep 25
I think there’s some confusion about the wording:
I haven’t got around replying here. Thanks @Jdlrobson for reversing the decision on the style removal (at least for now)!
Please note that the above config change was reverted in rOMWC6c73b0a4e03d9fd1fda1d67603af0c705832d9fb.
Tue, Sep 24
Unfortunately, the user name itself cannot be used in messages rendered in JavaScript, so the developers will have to add a new parameter, exclusively for usage in {{GENDER:}}.
Mon, Sep 16
Sun, Sep 15
Sorry, I haven’t get around replying on T374214. Since that task is now closed, and we’re actually back to where we were when the current task was opened, I think it makes more sense to reply here:
While I agree with @Aklapper that this task is not “invalid,” I also think that dropping Diffusion mirrors would be a big loss, and in the end users would spend more working it around than what administrators would win:
- The handy links in tasks wouldn’t work anymore (including already-inserted ones!), let that be a commit link (bb1d0aca814d), or a link to a certain file (rMW includes/recentchanges/ChangesFeed.php) or a certain line of a file (rMW includes/recentchanges/ChangesFeed.php:37 (at bb1d0aca814d)). This means having to resort to less useful links in future comments/descriptions, for which readers need more time to figure out what they mean; and even more time trying to figure out what the broken links to Diffusion (which probably won’t even be rendered as links) mean.
- The powerful repository browser. While basic code viewing functionality is present in both Gitiles and on GitHub, Gitiles cannot search for files or code at all, and GitHub doesn’t allow searching for code without logging in, which means having to have a GitHub account and potentially also means going through 2FA (searching for files is allowed on GitHub without logging in). Code navigation by clicking on an identifier is a useful feature of GitHub, but again only for logged-in users – for logged-out users, it works only within a file, which is hardly better than Ctrl+F, especially in languages as dynamic as PHP and JavaScript. (And remember: I’m not arguing for removing the GitHub mirror – the discoverability of GitHub for newbies is unbeatable –, only against removing the Diffusion one.)
- The diff views that are integrated with the rest of Phabricator:
- Neither Gitiles nor GitHub render Phabricator task numbers as links (the Gerrit code review interface does, but Gitiles doesn’t; the workaround is clicking on the Change-Id – which is rendered as a link in Gitiles, though not on GitHub –, and clicking once again to get to Phabricator; or copying and pasting the task ID), while Diffusion of course renders them.
- Similarly, the authorship information is more integrated into Wikimedia: if the author/comitter email address is connected to a Phabricator account, it links to that account, from which one can not only find Phabricator comments of that person, but also their Wikimedia (CentralAuth/mediawiki.org) account, so it’s possible to write to the talk page of the author instead of opening a task on Phabricator if that’s more appropriate; in contrast, Gitiles shows whatever one entered in user.name (which may be a fully different name, e.g. a made-up user name used on Wikimedia but full name used in Git) and generates no links, while GitHub links to the GitHub profile if there’s any, and nowhere if there isn’t (Diffusion also links nowhere if there’s no Phabricator account, but that’s less likely).
Sat, Sep 14
To avoid losing CSS styling of message Please see https://doc.wikimedia.org/codex/latest/components/demos/message.html#css-only-version for the updated HTML markup you should be using.
I also think that this shouldn’t be enforced, not even with the exception mentioned in T306918#8214905. Labels contain information: that thing is called that way in that language. If Q171353 had a mul label of Esztergom, it couldn’t have a German label of Esztergom, but it could have a German alias of Gran. So is this city called Esztergom or Gran in (present-day) German?
Please note that the check should work the other way round as well, i.e. disallow setting a mul label such that it, combined with the present item’s English description, conflicts with another item’s English label and description. Or another item’s mul label and English description. And of course the same for any other language as well. And this is where things may become tricky performance-wise (although I don’t know how this check is implemented, so I can’t tell for sure): if one changes the mul label of an item with n descriptions, the software needs to check 2n label–description pairs across all items in Wikidata, which is a huge increase from the current one item–description pair. I hope it will be possible to implement this without bringing down Wikidata (especially as one of the reasons for mul was to avoid bringing down Wikidata).
Fri, Sep 13
I’d even decline it, since I don’t think this is realistically fixable.
Thu, Sep 12
No, I don’t think so – it’s probably something that will never be enabled on WMF wikis, it’s for third-party wikis’ benefit.
Tue, Sep 10
Selecting the text character by character makes it clear that the first (rightmost) character is %, the next one is 2, then $, then s – it’s just rendered from right to left. I don’t think we can do much about the display – we can’t use <bdi>, CSS or HTML attributes in a <textbox>, and while Unicode characters could be used to force that bit to render from left to right, those Unicode characters would end up in the translation (or, if we removed them, we would risk also removing those that were inserted by the user manually and intentionally).
Sun, Sep 8
There are some templates that use the UI or the page language depending on the context (e.g. UI language on talk pages, page language on subject pages), which wouldn’t be served by this feature if the mode was the property of the template. On the other hand, they are and will continue to be served by the non-translation-aware-transclusion mode, so maybe serving this minority isn’t worth complicating the syntax.
Sorry, typo, fixed. (The link target was correct, only the link text had a typo.)
Fri, Sep 6
Sep 3 2024
Aug 31 2024
Uploaded a patch to fix the first image. I don’t plan to fix OOUI (the second image).
Aug 30 2024
Aug 29 2024
Per T191156#10080919
It’s way worse on file pages, even with Vector 2022:
(3 subgroups) definitely looks better than the previous attempts. I think it’s still a bit (but only a bit!) less “nice” than the current display; however, it’s more understandable, so it may be worth it even on its own merit, without considering the position of the watch button. Two points:
Aug 28 2024
Aug 27 2024
So this is why this unfuzzying attempt didn’t work – it resulted in a null edit to Translations:Template:Requests for permissions/Closetime/text/1/en, so the fuzzying threw an exception before succeeding.
Aug 26 2024
Thanks for fixing it!
Aug 25 2024
Aug 24 2024
Wikibase (which is not even listed in the description) also uses configurable namespace names for its Item and Property namespaces, and even namespaces not designed to be configurable can be configured by define()ing the namespace ID before loading the extension. Couldn’t the message be specified in extension.json (for not-configurable-by-design namespaces) / a hook (for configurable-by-design ones) instead?
Aug 23 2024
I see. Then maybe !405 is also of some use.
Instead of replacing the class name in i18n messages, the markup should be moved to PHP to make translation easier (especially into non-Latin-script languages) and the code more maintainable.
I’ve got a notification on translatewiki.net that two new messages are available for translation, namely tpt-cleanchanges-language and tpt-cleanchanges-language-na. However, they’re already translated into Hungarian, simply with the names cleanchanges-language and cleanchanges-language-na. Could the old translations be moved on Translatewiki (using a bot or some other technology) so that translators don’t need to re-translate them?
Aug 22 2024
The Vue version (when running within MediaWiki) uses MediaWiki messages from rMW languages/i18n/codex/en.json. Is it safe for PHP code also running within MediaWiki to directly use those messages? Or, even better, will be there a PHP class in MediaWiki core that generates the necessary HTML (handling disabling/enabling buttons and showing the appropriate message based on its parameters)? Even if there won’t be a PHP equivalent of the Table Vue component, at least an equivalent of the TablePager component would be very useful.
Aug 21 2024
Catalyst works quite differently, so I think this could be declined (and the related merge request !405 not reopened in the new repo), as there’s no point in putting so much effort into a deprecated thing.
I guess this could be declined for the old Patch Demo, since the very goal of Catalyst is to make service dependencies easy to use.
I guess this could be declined for the old Patch Demo, since containerization is what Catalyst is about (I’m not sure if it uses Docker Compose under the hood, but it doesn’t matter either).
That part doesn’t annoy me much, but I wouldn’t mind removing the Cancel button either. Although F57282452 shows that there’s another button for reviewers, probably keeping that and removing Cancel wouldn’t be too unbalanced either.
As far as I know, ‘protect mode’ cannot be used on wikis where all articles require review (which is most FlaggedRevs wikis: dewiki, arwiki, ruwiki, huwiki etc.), but Special:Stabilization is able to change the default visibility settings: for example, dewiki shows the latest version of some sandboxes, even though the default is to show the stable version; and ruwiki shows the stable version of some high-traffic pages, even though the default is to show the latest version.