wiki.gg platform developer & system administrator
User Details
- User Since
- Oct 4 2022, 8:52 PM (166 w, 5 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- Alex44019 [ Global Accounts ]
Yesterday
Well, in general Cargo should not be using exceptions for validation and rather Status objects, but that's a larger rewrite.
Sat, Dec 13
Sat, Dec 6
I think these three address the issues around mw.ext.cargo.declare, and a possible TypeError on mw.ext.cargo.store. Still, .store could benefit from some type checking improvements (check if literal then type-convert to string) as previously there's been a number of issues resulting from this not being done, so this task shouldn't be closed just yet. (I can submit a patch probably some time during the week). Other decent improvement would be throwing inside of .declare on an error rather than requiring that the user includes the output (which may be a null) in their function's output.
Possible that this patch results in a minor regression with non-wikitext pages no longer saving records to special tables like _pageData. Posting this just to document the difference, I don't think it's really significant.
Fri, Dec 5
Will send patches for (2) and (6) in the next 24h, possibly (4) and (5) but I'll need to go through some existing code from other extensions to see how that's handled.
IMO avoid a pattern where you invoke a table declare on each module call. You'll end up with a potentially fairly nasty moment "if" (more on that later) the module gets called on multiple template pages (or a doc page), and in normal circumstances invoking cargo_declare on a non-template page is an error (more on that later in your scenario). If there's an accompanying template (which you sure have given the namespace requirement), it'll be much cleaner if you just call cargo_declare on your own right on the template page.
Tue, Nov 25
Doesn't feel like my call really haha, but I'd probably go allow + warning in 1.43-1.45 backports to avoid breaking someone's setup, fail in 1.46 as supporting the --option value syntax only some of the time is quite quirky.
Mon, Nov 24
As for the disallow fix, might be as simple as $argv[1] === $script?
Not the most insane oversight to happen since the doccomment for initFromWrapper implies script name's expected at $argv[1], and passing other options before it wasn't anticipated. (This makes the documentation change more interesting, and I suspect that's the source).
Sun, Nov 23
Retitled to reflect the issue better. The bug is not necessarily about addArg/getArg, and more so about how the argument line is treated during script setup,. Details below the divider line.
Mon, Nov 17
This bug was present in previous releases as well: https://github.com/weirdgloop/mediawiki-extensions-OAuth/commit/6b8f1f87a6dcc8646e73cc88320d90467976f319
Nov 3 2025
Nov 1 2025
Other way (without custom classes) to work around table aliases not being set on the secondary DB handles is using the ForeignDBViaLBRepo file repo class and at minimum assigning the default section in wgLBFactoryConf.
Oct 26 2025
I believe T368206 is related
Oct 25 2025
Looks like the wrong hook being used in AbuseFilter, or a core bug in SpecialMovePage.
Sep 28 2025
Session yes, if they're logged in, or reached Special:CreateAccount/Special:UserLogin. Anons get the ChronologyProtector cookie but that only lasts 10s, and might also often not be configured to exempt from caches on third-party setups.
CargoPopulateTableJob may need the same fix and that should stop the duplicate writes from the job queue... at least in theory.
Not exactly what I meant; it's possible the implicit arg is required to trigger the problem, but without unique the extra row would be getting culled.
Looks like implicit args are missing a trim + an emptiness check that's done for explicit arguments: https://github.com/wikimedia/mediawiki-extensions-Cargo/blob/master/includes/parserfunctions/CargoStore.php#L118 . Possibly explains why the param has to be provided to provoke the bug.
Can only speak here for the 'other information' section:
Sep 27 2025
Hah, can only wish you good luck, sounds like you may need it...
Sep 23 2025
Can confirm the patch corrects the highlighting :)
Can confirm the patch fixes the problem.
Yeah, wasn't sure how to categorise this as I'm aware a "proper" fix is going to be difficult, but hyphens are probably common enough to call this behaviour change a regression :/
Sep 22 2025
It isn't, but you can say the same thing about any sort of QoL feature.
Sep 8 2025
@lucaweiss Update your Cargo install and revert the revert.
Sep 3 2025
Unsure how helpful this is for diagnosing, but at my workplace we're running a modified version of the TextInput component to work around Vue's composition handling (which is something close to firing key/input events only when composition is finalised).
// at the start of onKeydown and onInput handlers:
if ( event.target.composing ) {
event.target.composing = false;
wrappedModel.value = event.data;
}Jul 25 2025
What virtual keyboard are you trying? Samsung's default one ("Samsung Keyboard") reproduces this issue reliably if predictive text is enabled in settings (default).
Jul 11 2025
AFAIK, cleaning up the handling of <tableA>.<column> is one of those things that requires migrating some edge cases
Jul 9 2025
Jul 4 2025
Thanks for the quick fix! :)
Jul 2 2025
Tagged you directly, MusikAnimal and bhsd, hope that's alright with you!
Jun 28 2025
Jun 26 2025
Jun 9 2025
No, it only covers users who can set those browser- or system-wide preferences that automatic dark mode checks. This task is for users who have to override automatic detection by manually selecting the dark mode in Vector's rail.
May 30 2025
Likely related to https://phabricator.wikimedia.org/T295166 as predictive text in the Samsung Keyboard is based on composition events.
May 24 2025
$wgRestPath is not relevant here unless you're doing something crazy with your setup where $wgScriptPath is irrelevant to the REST API endpoint.
May 22 2025
This is outside of WMF-hosted wikis, correct? Please check whether rest.php routing was configured - using ENWP as reference, the URL to try will be similar to https://en.wikipedia.org/w/rest.php/v1/search/page?q=earth&limit=1 (adjust query as needed).
May 20 2025
Apr 24 2025
Doesn't appear to; when I looked into this before submitting the report, it seemed like CodeMirror is clearing the replace phrase internally when the menu is opened (or closed, not sure), and the phrase needs to be 'resubmitted'. But I'm not familiar with CodeMirror or any similar solution, so leaving it to the experts.
Apr 23 2025
thank you!
Apr 20 2025
@ssastry Yup, I found this out when testing a non-WMF extension which the company I work for has in development.
Apr 19 2025
The patch above seems to have (unintentionally?) affected the ApiParseMakeOutputPage hook.
Notably, prior to the patch implementations had access to the page's (though obviously without the transform pipeline's changes) metadata via the OutputPage - an example use-case would be queuing ResourceLoader modules depending on the page's categories to supplement BeforePageDisplay. This is no longer the case. OutputPageBeforeHTML hook is likely also impacted.
Apr 18 2025
This extension hasn't worked correctly for a while as it does not split parser cache for anonymous users. Possibly I'm wrong on this but at least in MW 1.41 there was no way of splitting cache like required here, and doing so on larger sites would be quite sub-optimal.
Apr 16 2025
Apr 11 2025
Yeah this isn't the cleanest report so sorry for the confusion
Apr 10 2025
Apr 6 2025
thank you too!
Apr 5 2025
Additionally, looks like in Chrome and Edge (tested Chrome 134.0.6998.179 + Edge 135.0.3179.54 on Windows 11) if you copy the selected text from the diff section with Ctrl+C or context menu, it's not possible to paste the text into the editor with Ctrl+V until something is typed first (which then unstucks the editor).
Mar 14 2025
You're hitting ->parse() on whichever message is being parsed when you get the error, instead of ->preprocess(); the workaround for parse will look something like this:
Mar 5 2025
Variables no longer uses the InternalParseBeforeSanitize hook (that's why this ticket has been marked as resolved) if you're using the latest version from the master branch, REL1_42 (though this one is missing the template cache fix), or REL1_43.
Jan 29 2025
Jan 25 2025
Unfortunately I'm seeing this issue in one of my 1.41 and 1.43 development sandboxes. Both are running on the same NixOS-based host inside a single Ubuntu 24.04-based Docker container running PHP 8.1.31 (Ondrej's PPA - https://launchpad.net/~ondrej/+archive/ubuntu/php) and NGINX. Doesn't matter whether Opcache or JIT are enabled. It also doesn't matter whether any extensions or skins are installed - as in, I can reproduce the problem on the install without any extensions or skins, as long as I'm logged in and the interface language (prefs or uselang) is set to a language with grammatical gender (tried es, fr, pl, all exhibiting the same issue). This happens regardless of MW's cache settings or the DB used.
Aug 16 2024
The hook was added to the extension's general codebase in da7d2c3, which is a sync with ShoutWiki's codebase, so it must've never been in mainline MediaWiki.
Aug 12 2024
It seems like the default <summary> in <details> is (of course) a shadow-DOM element, and the spec does not expose it via pseudo-elements, so styling it with CSS is not that easy at the moment. Might be quite confusing for skins or third-parties with custom styling, which saddens me given mw-collapsibles are evil.
Aug 7 2024
In UnregisteredEditLinks we've just implemented a workaround using the VisualEditorBeforeEditor hook. Though VE should rather be doing this on its own.
Jun 25 2024
Jun 22 2024
Jun 14 2024
Not really a duplicate. This task is about providing a hook for module loading so individual wikis/farms can implement cross-wiki loading on their own. The other ticket is about providing a complete solution for global modules.
May 30 2024
All three of us have signed :)
May 29 2024
River has sent an e-mail 15 minutes ago including all the information. Thank you
May 27 2024
This task seems to have been superseded by T337185.
I'll be investigating this next month internally at wiki.gg, should be able to provide the patch after it's deployed and live for more than two weeks without issues.
May 17 2024
Access to security issues works just as fine, we can monitor for anything that impacts wiki.gg. Sorry for the confusion on my end.
May 16 2024
Oops, sorry! We're indeed requesting the NDA specifically in this task. Focused so much on the reason that I didn't clarify it outside of the title...
May 15 2024
Apr 20 2024
Related tickets:
Mar 13 2024
Oct 18 2023
Excuse me if I simply missed something, but do you support magic words as well?
Oct 9 2023
One question: it is alright for me to upload screenshots of UI elements, and link them up in message documentation, right? Is there any specific naming schemes I should follow for those files?
Thank you!
Oct 6 2023
Sep 25 2023
Jul 9 2023
Jun 8 2023
Submitted a patch. Perhaps it doesn't revert the change entirely, but it should suit you well.
Jan 20 2023
Perhaps a text notice could be sufficient, just to give that reason why a page has no highlighting. "Code syntax highlighting has been disabled on this page due to its size".