Lucas_Werkmeister_WMDE (Lucas Werkmeister (WMDE))
closing tasks for open data

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Apr 3 2017, 2:45 PM (378 w, 3 d)
Availability
Available
IRC Nick
Lucas_WMDE
LDAP User
Lucas Werkmeister (WMDE)
MediaWiki User
Lucas Werkmeister (WMDE) [ Global Accounts ]

Software developer on the Wikidata team at Wikimedia Germany (he/him, Berlin timezone). Private account: @LucasWerkmeister.

Recent Activity

Today

Lucas_Werkmeister_WMDE added a comment to T367254: Remove namespace 666 from Wikitech.

That namespace does have deleted pages, can MW handle deleting a namespace with those in there?

Thu, Jul 4, 1:49 PM · Patch-For-Review, Wikimedia-Site-requests, wikitech.wikimedia.org
Lucas_Werkmeister_WMDE placed T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”) up for grabs.
Thu, Jul 4, 10:04 AM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata

Yesterday

Lucas_Werkmeister_WMDE updated the task description for T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).
Wed, Jul 3, 4:03 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE moved T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”) from Untriaged to Jul 2024 on the Wikimedia-production-error board.
Wed, Jul 3, 4:03 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a project to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”): Wikimedia-production-error.
Wed, Jul 3, 4:01 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE moved T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”) from In Development to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jul 3, 3:51 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369155: New data type not available for all users after being enabled.

As for performance, if we backport this then I think we can look at ResourceLoader Module builds and see if there’s any visible effect from the deployment. (If this rolls out with the train, then the signal will probably be buried under noise from other changes in the train.)

Wed, Jul 3, 3:49 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T369175: mwscript-k8s --attach error: TypeError: 'NoneType' object is not iterable.

As there were a lot of changes to deploy, I didn’t investigate yet, but just ran the script on mwmaint1002 instead.

Wed, Jul 3, 2:36 PM · Patch-For-Review, MW-on-K8s, serviceops
Lucas_Werkmeister_WMDE added a comment to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).

Okay, I think we need two things:

Wed, Jul 3, 2:31 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).

Alright, if I load the CirrusSearch-related extensions and set all of the following settings, I can reproduce the issue on an item or property with EntitySchema statements:

Wed, Jul 3, 2:24 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE claimed T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).

Hm, are we just missing a search-index-data-formatter-callback data type definition?

Wed, Jul 3, 2:05 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).

I don’t see any P12861-related errors in Logstash that could explain this.

Wed, Jul 3, 1:40 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).

Sounds like our responsibility to fix, at least. Thanks for looking into it!

Wed, Jul 3, 1:39 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE moved T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”) from In Task Breakdown to Ready for Development on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jul 3, 1:38 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a project to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”): Wikidata Dev Team (Wikidata.org Slice).
Wed, Jul 3, 1:36 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE moved T369155: New data type not available for all users after being enabled from Ready for Peer Review to Product Verification on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jul 3, 1:27 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T363243: Post-creation work for kawikisource.

Mentioned in SAL (#wikimedia-operations) [2024-07-03T13:15:51Z] <Lucas_WMDE> lucaswerkmeister-wmde@mwmaint1002:~$ mwscript namespaceDupes kawikisource --fix # T363243; 34 pages to fix, 34 were resolvable; 774 links to fix, 774 were resolvable, 0 were deleted

Wed, Jul 3, 1:19 PM · Countervandalism-Network, Content-Transform-Team, Wiki-Setup
Lucas_Werkmeister_WMDE added a comment to T369047: Configure the namespaces on Malay Wikisource.

Mentioned in SAL (#wikimedia-operations) [2024-07-03T13:14:25Z] <Lucas_WMDE> lucaswerkmeister-wmde@mwmaint1002:~$ mwscript namespaceDupes mswikisource --fix # T369047; 6 pages to fix, 6 were resolvable; 76 links to fix, 73 were resolvable, 3 were deleted

Wed, Jul 3, 1:18 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Patch-For-Review, Wikimedia-Site-requests
Lucas_Werkmeister_WMDE created T369175: mwscript-k8s --attach error: TypeError: 'NoneType' object is not iterable.
Wed, Jul 3, 1:18 PM · Patch-For-Review, MW-on-K8s, serviceops
Lucas_Werkmeister_WMDE added a comment to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).

For future reference, the current cirrusDump contents are:

Wed, Jul 3, 12:36 PM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369155: New data type not available for all users after being enabled.

As for performance, if we backport this then I think we can look at ResourceLoader Module builds and see if there’s any visible effect from the deployment. (If this rolls out with the train, then the signal will probably be buried under noise from other changes in the train.)

Wed, Jul 3, 11:18 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T369155: New data type not available for all users after being enabled.

Okay, I think I can reproduce the issue locally (looking whether entity-schema appears in mw.loader.using('wikibase.experts.modules').then(require => console.log(require('wikibase.experts.modules')))), and the above patch seems to fix it (no longer lags behind changes to $wgEntitySchemaEnableDatatype).

Wed, Jul 3, 11:13 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE moved T369155: New data type not available for all users after being enabled from In Task Breakdown to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jul 3, 11:02 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE created T369155: New data type not available for all users after being enabled.
Wed, Jul 3, 11:00 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).

Could we force a re-index of this page?

Wed, Jul 3, 10:32 AM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE updated the task description for T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).
Wed, Jul 3, 10:20 AM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE created T369149: Search has outdated label for P12861 (“Shape Expression for class” rather than “EntitySchema for class”).
Wed, Jul 3, 10:19 AM · wmde-wikidata-tech, Wikimedia-production-error, Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), EntitySchema, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369085: Cannot upload! – TypeError: Cannot read properties of undefined (reading 'dataValueType').

Are you already deploying the backport now? Otherwise it shouldn’t have been merged yet IIUC.

Wed, Jul 3, 9:11 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikimedia-production-error, UploadWizard
Lucas_Werkmeister_WMDE updated the task description for T369143: Allow cleaning up specific mwscript-k8s runs.
Wed, Jul 3, 9:08 AM · MW-on-K8s, serviceops
Lucas_Werkmeister_WMDE created T369143: Allow cleaning up specific mwscript-k8s runs.
Wed, Jul 3, 8:58 AM · MW-on-K8s, serviceops
Lucas_Werkmeister_WMDE created T369142: Show more useful information when mwscript-k8s fails to launch.
Wed, Jul 3, 8:57 AM · MW-on-K8s, serviceops

Tue, Jul 2

Lucas_Werkmeister_WMDE added a comment to T359248: Migrate MediaWiki.wikibase.client.pageupdates.* to statslib.

Note to self and others: be very careful not to use the same metric name for two different metrics (probably, each ->getCounter(), ->getGauge() and ->getTiming() call in the code should have a unique literal string argument, except perhaps in cases like T359253). I thought I knew this already (it’s mentioned here and there in the statslib docs), and yet I still accidentally messed this up (see PS2..3 of the above change), and if I hadn’t tested locally that the jobs emit the same metrics before and after statslib migration, I never would’ve noticed that part of the stats was being quietly dropped.

Tue, Jul 2, 3:18 PM · Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-extensions-WikibaseClient, wmde-wikidata-tech, Wikidata, Observability-Metrics
Lucas_Werkmeister_WMDE moved T350224: [LEX] pp_sortkey is null for wb-claims, wbl-forms and wbl-senses on many Lexemes from Product Verification to Done on the Wikidata Dev Team (Wikidata.org Slice) board.
Tue, Jul 2, 1:49 PM · MW-1.42-notes, MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), Patch-For-Review, User-Michael, Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech, Wikidata Lexicographical data, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

In principle, we might be able to unblock the train by reverting the OOUI update; but I don’t know whether that’s okay to do or not (I asked here FWIW), and the people who can answer that are probably roughly the same people who can make a new OOUI release anyway, so I expect we may as well wait for the above change to be merged and released and then update to OOUI v0.50.3.

Tue, Jul 2, 10:19 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE moved T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata from In Development to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Tue, Jul 2, 10:04 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

Yeah, the getBoundingClientRect() result has no own properties:

Tue, Jul 2, 9:55 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

Well, somehow, just the following diff is enough to make it work again:

Tue, Jul 2, 9:52 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

Hm, at a glance I didn’t see any Object.assign() calls where the first argument isn’t a fresh object (either an object literal or a variable that’s assigned an object literal or Object.assign() result earlier in the method body) in that diff. Maybe it’s one of the arrow function changes then, with a changed meaning of this?

Tue, Jul 2, 9:34 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

A git bisect in OOUI points at build: Update eslint-config-wikimedia to 0.28.2 and autofix as the culprit, so I suspect one of the $.extend()Object.assign() changes needs an extra {} argument in front (we’ve had other issues like this recently).

Tue, Jul 2, 9:30 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE moved T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata from In Task Breakdown to In Development on the Wikidata Dev Team (Wikidata.org Slice) board.
Tue, Jul 2, 9:08 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a project to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata: Wikidata Dev Team (Wikidata.org Slice).
Tue, Jul 2, 9:08 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

Yeah, I was thinking it might be.

Tue, Jul 2, 9:00 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

Can also be reproduced with the log type or tag filters on https://en.wikipedia.beta.wmflabs.org/wiki/Special:Log?limit=1 (the ?limit=1 is important), so it’s not specific to Wikidata.

Tue, Jul 2, 8:54 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added projects to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata: Regression, OOUI.

This seems to be a regression in OOUI 0.50.1 or 0.50.2 – I can reproduce it locally on Merge "Update OOUI to v0.50.2" (which bumps OOUI from 0.50.0 to 0.50.2) but not on its parent.

Tue, Jul 2, 8:31 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata
Lucas_Werkmeister_WMDE added a comment to T369010: Language dropdown on Special:NewItem is broken on Beta Wikidata.

Screencast – I’m just repeatedly scrolling down:

Tue, Jul 2, 8:28 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), OOUI, Regression, Wikidata

Mon, Jul 1

Lucas_Werkmeister_WMDE added a comment to T350224: [LEX] pp_sortkey is null for wb-claims, wbl-forms and wbl-senses on many Lexemes.

I suspect that’s a true effect – the number of forms in the query service (14058347) matches the number in Grafana (14058150 as of midnight last night) extremely well.

Mon, Jul 1, 3:19 PM · MW-1.42-notes, MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), Patch-For-Review, User-Michael, Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech, Wikidata Lexicographical data, Wikidata
Lucas_Werkmeister_WMDE added a comment to T368912: Gerrit email about added or updated HTTP password is a bit misleading.

This is probably an Upstream task, but I’m filing it here in case the email template is ours (IIRC we’ve had tasks about custom email templates before).

Mon, Jul 1, 1:50 PM · Gerrit
Lucas_Werkmeister_WMDE created T368912: Gerrit email about added or updated HTTP password is a bit misleading.
Mon, Jul 1, 1:49 PM · Gerrit
Lucas_Werkmeister_WMDE added a comment to T247107: Make 'scap update-interwiki-cache' less scary.

Another way is to generate a temporary app password via your personal gerrit.wikimedia.org settings, and use that instead. This however is not documented anywhere and afaik not what people would generally do.

Mon, Jul 1, 1:32 PM · Scap
Lucas_Werkmeister_WMDE moved T368862: Please run maintenance task "scap update-interwiki-cache" (30 June 2024) from Backlog to WMF Prod on the Wikimedia-maintenance-script-run board.
Mon, Jul 1, 9:41 AM · Wikimedia-maintenance-script-run, Wikimedia-Site-requests
Lucas_Werkmeister_WMDE added a comment to T368862: Please run maintenance task "scap update-interwiki-cache" (30 June 2024).

Scheduled for today’s UTC afternoon window: https://wikitech.wikimedia.org/wiki/Deployments#deploycal-item-20240701T1300

Mon, Jul 1, 9:40 AM · Wikimedia-maintenance-script-run, Wikimedia-Site-requests

Fri, Jun 28

Lucas_Werkmeister_WMDE created T368740: Simplify asserting expected stats in unit / integration tests.
Fri, Jun 28, 3:11 PM · MediaWiki-libs-Stats
Lucas_Werkmeister_WMDE closed T368506: PostCollectionTest.php fails when run in a suite with SpecialPageFatalTest.php as Resolved.

Can confirm this is fixed \o/

Fri, Jun 28, 1:51 PM · Wikidata, Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech
Lucas_Werkmeister_WMDE closed T368506: PostCollectionTest.php fails when run in a suite with SpecialPageFatalTest.php, a subtask of T361190: Split PHPUnit test suite for wmf-quibble-vendor-mysql-php74-docker, as Resolved.
Fri, Jun 28, 1:50 PM · Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech, Wikidata.org, Wikidata
Lucas_Werkmeister_WMDE closed T368506: PostCollectionTest.php fails when run in a suite with SpecialPageFatalTest.php, a subtask of T365976: [REPO][CLIENT][SW] Create a `composer phpunit:prepare-parallel-test-suites` command to split suite into smaller groups, as Resolved.
Fri, Jun 28, 1:50 PM · Patch-For-Review, Wikidata, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-Core-Tests, Developer Productivity, wmde-wikidata-tech
Lucas_Werkmeister_WMDE moved T368010: Search not working for entity schemas from In Development to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Fri, Jun 28, 12:42 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE added a comment to T368595: Can't change Interface Language with ULS when global interface language is set.

I can’t reproduce this either, but it sounds like someone else is having the same problem: https://www.wikidata.org/wiki/Wikidata:Report_a_technical_problem#Can't_escape_English

Fri, Jun 28, 12:19 PM · Patch-For-Review, UniversalLanguageSelector, MediaWiki-extensions-GlobalPreferences, Community-Tech
Lucas_Werkmeister_WMDE updated subscribers of T288819: NamespaceInfo service missing namespaces if initialized too early.
Fri, Jun 28, 10:41 AM · Dependency injection, MediaWiki-General
Lucas_Werkmeister_WMDE added a comment to T288819: NamespaceInfo service missing namespaces if initialized too early.

I’ve updated the documentation to hopefully make this clearer.

Fri, Jun 28, 10:40 AM · Dependency injection, MediaWiki-General
Lucas_Werkmeister_WMDE updated subscribers of T288819: NamespaceInfo service missing namespaces if initialized too early.

Somehow I managed to miss that this problem has, for most extensions, actually had a solution since 2016 (Gerrit change by @Legoktm, backported to REL1_27): You simply register the namespace in extension.json, but with "conditional": true. This will unconditionally set all the namespace-related globals ($wgContentNamespaces, $wgNamespaceContentModels, etc.), just as I already concluded should be done (T288819#7831800), except for registering the namespace itself – you do that, and only that, in the CanonicalNamespaces hook handler (based on whatever condition you want). This way, all the other globals will be set early enough that NamespaceInfo sees them, and you even get to use the nice and convenient syntax in extension.json. (This "conditional" flag has been documented since 2017, so I don’t know how I managed to miss it two years ago.)

Fri, Jun 28, 10:29 AM · Dependency injection, MediaWiki-General

Thu, Jun 27

Lucas_Werkmeister_WMDE changed the status of T201309: Don’t use entityLoaded hook in LexemeHeader from Open to Stalled.

I don’t think anything significant has happened to unstall this… it’s now clearer that the successor for Vuex, Pinia, should be used for new projects, and I think it’s assumed that eventually we’ll replace all Vuex usage with Pinia, but upgrading existing projects is not recommendet yet. More to the point, I don’t think we’ve done anything relevant in the Lexeme backend (moving more components to some store, whether Vuex or Pinia).

Thu, Jun 27, 1:41 PM · Wikidata Lexicographical data, Wikidata
Lucas_Werkmeister_WMDE added a comment to T368010: Search not working for entity schemas.

If this is causing major disruption I can messup with the index by hand but I'd rather not do that if not strictly required, sorry for the inconvenience!

Thu, Jun 27, 1:34 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema

Wed, Jun 26

Lucas_Werkmeister_WMDE added a comment to T368543: Error: Call to a member function getPageAsLinkTarget() on null.

I’m not really sure how this code could ever have worked:

Wed, Jun 26, 2:45 PM · Discovery-Search (Current work), CirrusSearch, Data Products, MediaWiki-extensions-EventLogging, Data-Engineering, Wikimedia-production-error
Lucas_Werkmeister_WMDE created T368543: Error: Call to a member function getPageAsLinkTarget() on null.
Wed, Jun 26, 2:43 PM · Discovery-Search (Current work), CirrusSearch, Data Products, MediaWiki-extensions-EventLogging, Data-Engineering, Wikimedia-production-error
Lucas_Werkmeister_WMDE added a comment to T368010: Search not working for entity schemas.

Hm, though the search links in the task description still don’t yield the expected results :/

Wed, Jun 26, 2:24 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE added a comment to T368010: Search not working for entity schemas.

Alright, EntitySchema is a content namespace again. @dcausse, I guess we’ll have to reindex some recently touched EntitySchemas?

Wed, Jun 26, 2:23 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE added a comment to T363667: Remove 'CA' namespace alias in maiwiki.

Assuming I’m not doing the search wrong, it looks like the namespace alias is unused on the wiki:

image.png (315×973 px, 44 KB)

(Note that an alternative search using the localized namespace name yields plenty of results, so I think the search is at least not totally broken in principle.r

Wed, Jun 26, 1:16 PM · Wikimedia-Site-requests
Lucas_Werkmeister_WMDE added a comment to T363667: Remove 'CA' namespace alias in maiwiki.

Pfft, and I just realized I duplicated @Pppery’s work there 🤦

Wed, Jun 26, 1:15 PM · Wikimedia-Site-requests
Lucas_Werkmeister_WMDE added a comment to T368010: Search not working for entity schemas.

SomeMediaWikiComponent™ has already finished reading $wgContentNamespaces by the time our hook handler runs and adds 640 to it, and so the assignment is a no-op?

Wed, Jun 26, 12:58 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE added a comment to T368010: Search not working for entity schemas.

So this is fun. I tried to check how Lexeme solves the issue of declaring its dynamically registered namespace as content, and it just doesn’t. We add 120 (Property) and 146 (Lexeme) to $wgContentNamespaces in the production config, which is why they’re content namespaces there; other / third-party wikis apparently get to pound sand. (On my local wiki, the Lexeme namespace is not considered a content namespace.) IMHO we should fix this, but also in the meantime, let’s just add 640 to that production config block to make it content again.

Wed, Jun 26, 12:55 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE moved T368010: Search not working for entity schemas from In Task Breakdown to In Development on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jun 26, 12:42 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE updated the task description for T368523: Migrate wikibase-termbox to node20.
Wed, Jun 26, 11:15 AM · Wikidata, wmde-wikidata-tech, Wikidata Dev Team
Lucas_Werkmeister_WMDE added a comment to T368010: Search not working for entity schemas.

I think the task I remembered was this one (slightly different but still feels similar): T288724: defaultcontentmodel missing from most namespaces in Wikidata namespaces siteinfo (breaks pywikibot)

Wed, Jun 26, 10:46 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE added a project to T368010: Search not working for entity schemas: Wikidata Dev Team (Wikidata.org Slice).
Wed, Jun 26, 10:44 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE added a comment to T368010: Search not working for entity schemas.

Well, the patch you found looks like it’s supposed to still register EntitySchema as a content namespace… but I think I vaguely remember a similar issue from before, and it’s that SomeMediaWikiComponent™ has already finished reading $wgContentNamespaces by the time our hook handler runs and adds 640 to it, and so the assignment is a no-op?

Wed, Jun 26, 10:43 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, Discovery-Search (Current work), CirrusSearch, Wikidata, EntitySchema
Lucas_Werkmeister_WMDE added a comment to T255706: [WB-Client] [TECH] Wikibase\Client\Usage\Sql\EntityUsageTable::addUsages Deadlock.

Logstash link for non-termstore deadlocks (I think they’re roughly evenly split between addUsages and removeUsages): https://logstash.wikimedia.org/goto/20ade51dc3a72b8b8234467babe021cf

Wed, Jun 26, 10:13 AM · MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), MW-1.42-notes (1.42.0-wmf.16; 2024-01-30), Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech, User-brennen, [DEPRECATED] wdwb-tech, Wikidata, Wikimedia-production-error

Tue, Jun 25

Lucas_Werkmeister_WMDE added a comment to T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".

Add cloudflare to the list of seemingly affected upstreams (build):

Tue, Jun 25, 4:14 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Lucas_Werkmeister_WMDE closed T368383: MediaWiki core gate-and-submit test failure: ParserIntegrationTest::testParse with data set "wtEscaping.txt: Links 17. Link trails (T236183)" ('legacy'): Failed asserting that two strings are equal. as Resolved.
Tue, Jun 25, 4:02 PM · MW-1.39-notes, Patch-For-Review, MW-1.42-notes, MW-1.41-notes, MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), MediaWiki-Parser, ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE added a comment to T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".

Seen in another build:

Tue, Jun 25, 3:18 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Lucas_Werkmeister_WMDE added a comment to T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".

Is it possible to specify a fallback source (e.g. some mirror that hosts this code) with ForeignResourceManager that is then only used in CI context?

Tue, Jun 25, 3:13 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Lucas_Werkmeister_WMDE merged task T368385: Occasional test failure: ForeignResourceStructureTest::testVerifyIntegrity: LogicException: Failed to download resource at https://code.jquery.com/qunit/qunit-2.20.0.js into T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".
Tue, Jun 25, 3:10 PM · ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE merged T368385: Occasional test failure: ForeignResourceStructureTest::testVerifyIntegrity: LogicException: Failed to download resource at https://code.jquery.com/qunit/qunit-2.20.0.js into T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".
Tue, Jun 25, 3:10 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Lucas_Werkmeister_WMDE added a comment to T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".

I just filed the jQuery version at T368385 as well; not sure if it makes sense to track separately or should be considered a duplicate, TBH.

Tue, Jun 25, 3:10 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Lucas_Werkmeister_WMDE added a hashtag to Wikibase-Quality-Constraints: #mediawiki-extensions-wikibasequalityconstraints.
Tue, Jun 25, 2:42 PM
Lucas_Werkmeister_WMDE committed rECOMe4d1dc3f7f6d: Fix message documentation formatting.
Fix message documentation formatting
Tue, Jun 25, 2:04 PM
Lucas_Werkmeister_WMDE added a comment to T368383: MediaWiki core gate-and-submit test failure: ParserIntegrationTest::testParse with data set "wtEscaping.txt: Links 17. Link trails (T236183)" ('legacy'): Failed asserting that two strings are equal..

That’s a huge number of queued changes that are all going to fail, one by one, because the fix needed a second patch set… :blobfoxnotlikethisgoogly:

image.png (1×725 px, 118 KB)

Tue, Jun 25, 1:20 PM · MW-1.39-notes, Patch-For-Review, MW-1.42-notes, MW-1.41-notes, MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), MediaWiki-Parser, ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE added a comment to T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".

BTW, I also remember occasionally getting this failure… maybe ForeignResourceManager should retry the download once or twice if it fails? (AFAICT it’s never called during normal requests, so the potential extra runtime shouldn’t be a production concern, I think.)

Tue, Jun 25, 10:41 AM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Lucas_Werkmeister_WMDE claimed T368383: MediaWiki core gate-and-submit test failure: ParserIntegrationTest::testParse with data set "wtEscaping.txt: Links 17. Link trails (T236183)" ('legacy'): Failed asserting that two strings are equal..
Tue, Jun 25, 10:29 AM · MW-1.39-notes, Patch-For-Review, MW-1.42-notes, MW-1.41-notes, MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), MediaWiki-Parser, ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE added a comment to T368383: MediaWiki core gate-and-submit test failure: ParserIntegrationTest::testParse with data set "wtEscaping.txt: Links 17. Link trails (T236183)" ('legacy'): Failed asserting that two strings are equal..

I guess the expected output just needs to be updated after red-link-title was changed on TranslateWiki.net? https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1049387/1/languages/i18n/ar.json

Tue, Jun 25, 10:26 AM · MW-1.39-notes, Patch-For-Review, MW-1.42-notes, MW-1.41-notes, MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), MediaWiki-Parser, ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE added a comment to T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com".

I just filed the jQuery version at T368385 as well; not sure if it makes sense to track separately or should be considered a duplicate, TBH.

Tue, Jun 25, 10:25 AM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Lucas_Werkmeister_WMDE created T368385: Occasional test failure: ForeignResourceStructureTest::testVerifyIntegrity: LogicException: Failed to download resource at https://code.jquery.com/qunit/qunit-2.20.0.js.
Tue, Jun 25, 10:22 AM · ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE added a comment to T368383: MediaWiki core gate-and-submit test failure: ParserIntegrationTest::testParse with data set "wtEscaping.txt: Links 17. Link trails (T236183)" ('legacy'): Failed asserting that two strings are equal..

If I’m not mistaken, the difference is between غير (expected) and مو (actual) in both lines.

Tue, Jun 25, 10:21 AM · MW-1.39-notes, Patch-For-Review, MW-1.42-notes, MW-1.41-notes, MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), MediaWiki-Parser, ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE created T368383: MediaWiki core gate-and-submit test failure: ParserIntegrationTest::testParse with data set "wtEscaping.txt: Links 17. Link trails (T236183)" ('legacy'): Failed asserting that two strings are equal..
Tue, Jun 25, 10:20 AM · MW-1.39-notes, Patch-For-Review, MW-1.42-notes, MW-1.41-notes, MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), MediaWiki-Parser, ci-test-error (WMF-deployed Build Failure)
Lucas_Werkmeister_WMDE added a project to T368301: STL 3D models broken: "Sorry, the file Undefined cannot be displayed since it is not present on the current page.": 3D.

Tagging 3D after all – I doubt the relevant WikibaseQualityConstraints or WikibaseMediaInfo code has changed much recently, and at least the mediainfoview error is a known long-standing issue: T321532 – IMHO this error is more likely due to be due to some recent refactorings in 3D (e.g. es6 changes)

Tue, Jun 25, 8:41 AM · serviceops, Regression, 3D, Commons

Mon, Jun 24

Lucas_Werkmeister_WMDE added a project to T368271: Fix purtle so that its tests pass in PHP 8.3, and enable in CI: wmde-wikidata-tech.
Mon, Jun 24, 4:57 PM · wmde-wikidata-tech, PHP 8.3 support, Purtle
Lucas_Werkmeister_WMDE added a comment to T326607: Future of liuggio/statsd-php-client?.

I think this task would become obsolete with the completion of T343020: Converting MediaWiki Metrics to StatsLib – statslib doesn’t use this library AFAICT (it directly uses the sockets extension in \Wikimedia\IPUtils\UDPTransport::emit()).

Mon, Jun 24, 9:57 AM · MediaWiki-libs-Stats, SRE Observability, observability, serviceops-radar, Technical-Debt

Fri, Jun 21

Lucas_Werkmeister_WMDE claimed T359248: Migrate MediaWiki.wikibase.client.pageupdates.* to statslib.
Fri, Jun 21, 10:53 AM · Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-extensions-WikibaseClient, wmde-wikidata-tech, Wikidata, Observability-Metrics
Lucas_Werkmeister_WMDE added a project to T359248: Migrate MediaWiki.wikibase.client.pageupdates.* to statslib: Wikidata Dev Team (Wikidata.org Slice).
Fri, Jun 21, 10:51 AM · Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-extensions-WikibaseClient, wmde-wikidata-tech, Wikidata, Observability-Metrics
Lucas_Werkmeister_WMDE added projects to T359251: Migrate MediaWiki.wikibase.repo.* to statslib: Wikidata, wmde-wikidata-tech, MediaWiki-extensions-WikibaseRepository.
Fri, Jun 21, 10:47 AM · MediaWiki-extensions-WikibaseRepository, wmde-wikidata-tech, Wikidata, Observability-Metrics
Lucas_Werkmeister_WMDE added projects to T359248: Migrate MediaWiki.wikibase.client.pageupdates.* to statslib: Wikidata, wmde-wikidata-tech, MediaWiki-extensions-WikibaseClient.
Fri, Jun 21, 10:47 AM · Patch-For-Review, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-extensions-WikibaseClient, wmde-wikidata-tech, Wikidata, Observability-Metrics