www.fgks.org   »   [go: up one dir, main page]

Page MenuHomePhabricator

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

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Apr 3 2017, 2:45 PM (377 w, 6 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

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 · 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 · 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 · 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 · CirrusSearch, Discovery-Search, Data Products, MediaWiki-extensions-EventLogging, Wikimedia-production-error, Data-Engineering
Lucas_Werkmeister_WMDE created T368543: Error: Call to a member function getPageAsLinkTarget() on null.
Wed, Jun 26, 2:43 PM · CirrusSearch, Discovery-Search, Data Products, MediaWiki-extensions-EventLogging, Wikimedia-production-error, Data-Engineering
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 · 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 · 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 · 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 · 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 · 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 · 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 · 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 · 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.10; 2024-06-18), Patch-For-Review, 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.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.10; 2024-06-18), Patch-For-Review, 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.10; 2024-06-18), Patch-For-Review, 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.10; 2024-06-18), Patch-For-Review, 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.10; 2024-06-18), Patch-For-Review, 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.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.10; 2024-06-18), Patch-For-Review, 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.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.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.10; 2024-06-18), Patch-For-Review, 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.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.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
Lucas_Werkmeister_WMDE added a comment to T362917: MUL - Fix "Descriptions are not supported …" message in Special:NewProperty.

We will need to inject the entity type as a message parameter (or create separate messages per entity type).

Fri, Jun 21, 10:38 AM · Wikidata Dev Team (Wikidata.org Slice), Wikidata-Campsite, Wikidata
Lucas_Werkmeister_WMDE closed T366795: Chore: Update dependencies in WikibaseLexeme as Resolved.
Fri, Jun 21, 8:47 AM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Dev Team (Wikidata.org Slice), Wikidata

Thu, Jun 20

Lucas_Werkmeister_WMDE updated subscribers of T359253: [CLIENT][SW] Migrate MediaWiki.$prefix.wikibase.client.scribunto.* to statslib.

TBH, I think I’d like to start the statslib migration in Wikibase with another task than this… this task carries the additional complication that the tracking happens from Lua (mw.wikibase.lua and mw.wikibase.entity.lua call incrementStatsdKey() with hard-coded, but [as far as PHP is concerned] arbitrary string metric keys), and I think it would be less confusing for us to learn statslib on an easier conversion first. @Arian_Bozorg is it okay if we put one of the other Wikibase subtasks of T350592 ahead of this one? (E.g. T359251, though that one is probably big enough that it could be broken down into several subtasks. T359248 is probably an even better candidate.)

Thu, Jun 20, 2:20 PM · Wikidata Dev Team, wmde-wikidata-tech, Wikidata, Observability-Metrics
Lucas_Werkmeister_WMDE added a comment to T364249: New upstream release for Pygments (2.18.0).

I am not exactly sure what to mark this as blocked on. Maybe T319432: Migrate WMF production from PHP 7.4 to PHP 8.1? I think that fundamentally this blocked until we bump all the things past Buster to Bullseye or newer. That PHP 8.1 task looks like the same fundamental block.

Thu, Jun 20, 1:40 PM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), User-TheDJ, Patch-For-Review, SyntaxHighlight
Lucas_Werkmeister_WMDE moved T355298: Investigate the impact of the WDQS graph split on constraints checks from In Task Breakdown to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Thu, Jun 20, 1:18 PM · Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), Wikibase-Quality-Constraints, Wikidata
Lucas_Werkmeister_WMDE edited projects for T355298: Investigate the impact of the WDQS graph split on constraints checks, added: Wikidata Dev Team (Wikidata.org Slice); removed Wikidata Dev Team.

Yes this is my understanding as well, the undesirable effects I could see are:

  • one tagging an entity with a P31 that points to a scholarly article
Thu, Jun 20, 1:18 PM · Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), Wikibase-Quality-Constraints, Wikidata

Wed, Jun 19

Lucas_Werkmeister_WMDE updated subscribers of T315181: Wikidata reference text field 0px width on mobile browser in desktop mode with Vector 2022 skin.
Wed, Jun 19, 4:17 PM · Wikidata Dev Team (Wikidata.org Slice), Patch-Needs-Improvement, patch-welcome, CSS, Wikidata, Wikidata-Campsite, good first task, Wikimania-Hackathon-2022
Lucas_Werkmeister_WMDE reopened T365645: Ensure PHPUnit MediaWiki extensions tests pass when temp account feature flag is enabled as "Open".

Reopening for this CentralAuth failure seen in several of the changes attached to T365676 (e.g. Wikibase and FlaggedRevs):

Wed, Jun 19, 3:06 PM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Trust and Safety Product Sprint (Sprint 12 (Jun 24 - July 5)), Temporary accounts (Release train CI and infrastructure), Trust and Safety Product Team
Lucas_Werkmeister_WMDE reopened T365645: Ensure PHPUnit MediaWiki extensions tests pass when temp account feature flag is enabled, a subtask of T355879: [Epic] Make PHPUnit extension and core, Selenium, and API testing tests pass with temp account feature flag enabled, as Open.
Wed, Jun 19, 3:04 PM · Temporary accounts (Release train CI and infrastructure), Trust and Safety Product Sprint, MW-1.43-notes (1.43.0-wmf.5; 2024-05-14), MW-1.42-notes (1.42.0-wmf.22; 2024-03-12), Patch-For-Review, Trust and Safety Product Team, Release-Engineering-Team
Lucas_Werkmeister_WMDE moved T365676: [REPO][SW] Ensure api-testing MediaWiki extension tests pass when temp account feature flag is enabled from Ready for Peer Review to Done on the Wikidata Dev Team (Wikidata.org Slice) board.

Nothing left to do for Wikibase here, I think.

Wed, Jun 19, 12:50 PM · Trust and Safety Product Sprint (Sprint 12 (Jun 24 - July 5)), MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Temporary accounts (Release train CI and infrastructure), Wikidata Dev Team (Wikidata.org Slice), Wikidata, wmde-wikidata-tech, Patch-For-Review
Lucas_Werkmeister_WMDE updated the task description for T365676: [REPO][SW] Ensure api-testing MediaWiki extension tests pass when temp account feature flag is enabled.
Wed, Jun 19, 12:49 PM · Trust and Safety Product Sprint (Sprint 12 (Jun 24 - July 5)), MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Temporary accounts (Release train CI and infrastructure), Wikidata Dev Team (Wikidata.org Slice), Wikidata, wmde-wikidata-tech, Patch-For-Review
Lucas_Werkmeister_WMDE added a comment to T365676: [REPO][SW] Ensure api-testing MediaWiki extension tests pass when temp account feature flag is enabled.

With the above Wikibase change applied (I rebased the CI check onto it), AFAICT the only remaining failures in CI are the same MediaWiki core api-testing failures that were also seen in e.g. FlaggedRevs’ CI check. (Are those tracked in another task?)

Wed, Jun 19, 11:14 AM · Trust and Safety Product Sprint (Sprint 12 (Jun 24 - July 5)), MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Temporary accounts (Release train CI and infrastructure), Wikidata Dev Team (Wikidata.org Slice), Wikidata, wmde-wikidata-tech, Patch-For-Review
Lucas_Werkmeister_WMDE moved T365676: [REPO][SW] Ensure api-testing MediaWiki extension tests pass when temp account feature flag is enabled from In Development to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jun 19, 10:53 AM · Trust and Safety Product Sprint (Sprint 12 (Jun 24 - July 5)), MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Temporary accounts (Release train CI and infrastructure), Wikidata Dev Team (Wikidata.org Slice), Wikidata, wmde-wikidata-tech, Patch-For-Review
Lucas_Werkmeister_WMDE moved T365676: [REPO][SW] Ensure api-testing MediaWiki extension tests pass when temp account feature flag is enabled from Ready for Development to In Development on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jun 19, 10:32 AM · Trust and Safety Product Sprint (Sprint 12 (Jun 24 - July 5)), MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Temporary accounts (Release train CI and infrastructure), Wikidata Dev Team (Wikidata.org Slice), Wikidata, wmde-wikidata-tech, Patch-For-Review
Lucas_Werkmeister_WMDE moved T367385: SpecialCreateTopicPageTest.php fails when run with ChangeFileInfoFormTest.php and ApiFlowEditTopicSummaryTest.php from In Peer Review to Ready for Tech Verification on the Wikidata Dev Team (Wikidata.org Slice) board.
Wed, Jun 19, 10:16 AM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata, Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech
Lucas_Werkmeister_WMDE placed T366795: Chore: Update dependencies in WikibaseLexeme up for grabs.

I think the above changes cover all the npm dependencies (other than vue, vuex, and grunt-eslint, all of which are blocked per the README), and all the direct composer dependencies are up to date as far as I can tell.

Wed, Jun 19, 9:45 AM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T355298: Investigate the impact of the WDQS graph split on constraints checks.

Looking at the constraints I believe that 4 may use sparql:

  • FormatChecker.php
  • TypeChecker.php
  • UniqueValueChecker.php
  • ValueTypeChecker.php
Wed, Jun 19, 9:17 AM · Wikidata Dev Team (Wikidata.org Slice), Discovery-Search (Current work), Wikibase-Quality-Constraints, Wikidata

Tue, Jun 18

Lucas_Werkmeister_WMDE closed T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process, a subtask of T366795: Chore: Update dependencies in WikibaseLexeme, as Resolved.
Tue, Jun 18, 3:37 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE awarded T362323: Move 100% of external traffic to Kubernetes a Mountain of Wealth token.
Tue, Jun 18, 3:37 PM · Patch-For-Review, MoveComms-Support, SRE, Traffic, serviceops, MW-on-K8s
Lucas_Werkmeister_WMDE closed T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process as Resolved.
Tue, Jun 18, 3:37 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE moved T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process from In Development to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.

But I think this approach (our own little jsdom-global, which only sets a very limited set of globals and also unsets them more carefully) could still be the way to go.

Tue, Jun 18, 2:49 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T367264: Add "VL" namespace alias to Azerbaijani Wiktionary.

Mentioned in SAL (#wikimedia-operations) [2024-06-18T13:34:12Z] <Lucas_WMDE> lucaswerkmeister-wmde@mwmaint1002:~$ mwscript namespaceDupes azwiktionary --fix # T367264; 7 pages fixed, 10 links fixed

Tue, Jun 18, 1:36 PM · Wikimedia-Site-requests
Lucas_Werkmeister_WMDE added a comment to T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.

Bleh, Vue reads document as soon as it initializes:

Tue, Jun 18, 1:01 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.

Vue might need a few more globals set (we’re already having to set SVGElement) but hopefully not too many… I think I’ll try out this approach.

Tue, Jun 18, 12:46 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.

I wonder if it wouldn’t be easier to ditch jsdom-global, and instead have the tests create a new JSDom document and assign global.window = document.window, and make all the non-test code access e.g. window.document instead of document. That way we only have one global to worry about, and in the browser it should work the same way (since window is the global there).

Tue, Jun 18, 12:36 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.

Well, applying this patch to jsdom-global (and still including the above hack to run the cleanup at all) fixes the issue:

Tue, Jun 18, 12:20 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.

Bah – jsdom-global provides a “cleanup” function, but even if you use that, you just get a different error:

Tue, Jun 18, 12:14 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE claimed T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.
Tue, Jun 18, 12:01 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE added a comment to T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.

It’s probably due to this line in node_modules/stylelint/lib/utils/FileCache.cjs:

Tue, Jun 18, 12:01 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE created T367868: grunt-stylelint 0.20.1 fails when jsdom-global runs in same process.
Tue, Jun 18, 11:53 AM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Lexicographical data, Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE moved T366795: Chore: Update dependencies in WikibaseLexeme from In Task Breakdown to In Development on the Wikidata Dev Team (Wikidata.org Slice) board.
Tue, Jun 18, 10:23 AM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Dev Team (Wikidata.org Slice), Wikidata
Lucas_Werkmeister_WMDE claimed T366795: Chore: Update dependencies in WikibaseLexeme.
Tue, Jun 18, 10:23 AM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Wikidata Dev Team (Wikidata.org Slice), Wikidata

Mon, Jun 17

Lucas_Werkmeister_WMDE moved T365704: [SW] Send regular emails from EntitySchema daily CI to burner address from Ready for Development to In Tech Verification on the Wikidata Dev Team (Wikidata.org Slice) board.

I believe @WMDE-leszek fixed the password, so next Monday we can check again whether this worked.

Mon, Jun 17, 3:33 PM · User-ItamarWMDE, MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech, EntitySchema, Wikidata
Lucas_Werkmeister_WMDE closed T366243: [GENERAL] Replace usages of wgWikimediaJenkinsCI with MW_QUIBBLE_CI constant as Resolved.

EntitySchema's CI didn't yet run after this was merged.

Mon, Jun 17, 10:36 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikidata Dev Team (Wikidata.org Slice), Wikidata, EntitySchema, wmde-wikidata-tech
Lucas_Werkmeister_WMDE moved T365704: [SW] Send regular emails from EntitySchema daily CI to burner address from In Tech Verification to Ready for Development on the Wikidata Dev Team (Wikidata.org Slice) board.

Looks like it’s not working:

Mon, Jun 17, 10:34 AM · User-ItamarWMDE, MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikidata Dev Team (Wikidata.org Slice), wmde-wikidata-tech, EntitySchema, Wikidata
Lucas_Werkmeister_WMDE edited projects for T292545: Batch entity labels in formatted comments (history, recent changes, etc.), added: wmde-wikidata-tech; removed [DEPRECATED] wdwb-tech.

Currently, getting 500 history lines from Q42 makes 2816 DatabaseMysqli::doQuery() calls.

Mon, Jun 17, 10:06 AM · wmde-wikidata-tech, Wikidata
Lucas_Werkmeister_WMDE added a comment to T359821: Configure Gerrit to use conflictStyle diff3.

Can confirm this is working on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/EntitySchema/+/1046598/1/src/MediaWiki/Hooks/LoadExtensionSchemaUpdatesHookHandler.php \o/

Mon, Jun 17, 8:39 AM · Gerrit (Gerrit 3.9)

Fri, Jun 14

Lucas_Werkmeister_WMDE added a comment to T367063: Fresh 24.05.1 installer does not remove fresh-node20.

Alright, I think we can close this task then?

Fri, Jun 14, 2:57 PM · Fresh
Lucas_Werkmeister_WMDE added a comment to T214378: Check simple format constraints (no grouping) in PHP instead of SPARQL.

I guess that would be an option if “no parentheses” is deemed too risky, yeah – we could just stick the regexes with, say, 100+ uses into a config variable and check those directly. (Which becomes even more effective if someone™ converts those regexes that have ^ at the start and $ at the end, which isn’t actually needed, so that the currently 86 uses of ^\d+$ are checked as \d+ instead. I might do that from my volunteer account later.)

Fri, Jun 14, 2:50 PM · [DEPRECATED] wdwb-tech, Security-Team, Wikidata-Campsite, Wikibase-Quality-Constraints, Wikidata
Lucas_Werkmeister_WMDE moved T363153: [ES-M2]: Load EntitySchema data type registration for WikibaseClient on client wikis from Ready for Tech Verification to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Fri, Jun 14, 1:41 PM · User-ItamarWMDE, MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikidata Dev Team (Wikidata.org Slice), EntitySchema (M2: Linking to EntitySchemas in statements), Wikidata
Lucas_Werkmeister_WMDE added a comment to T367396: GitHub EntitySchema repository is getting mirrored from both EntitySchema and WikibaseSchema on Gerrit.

Amazing, thank you!

Fri, Jun 14, 10:31 AM · Wikimedia-GitHub, Gerrit, Diffusion-Repository-Administrators, Wikidata, EntitySchema, wmde-wikidata-tech
Lucas_Werkmeister_WMDE created T367497: Special:NewLexeme fallback interface not shown on Grade C browsers with JavaScript support.
Fri, Jun 14, 10:26 AM · Wikidata Lexicographical data, Browser-Support-Internet-Explorer, Wikidata

Thu, Jun 13

Lucas_Werkmeister_WMDE moved T332157: [ES-M2]: Enable new EntitySchema data type on Wikidata from Ready for Development to Ready for Peer Review on the Wikidata Dev Team (Wikidata.org Slice) board.
Thu, Jun 13, 3:35 PM · Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, EntitySchema (M2: Linking to EntitySchemas in statements), MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), User-Ladsgroup, Wikidata
Lucas_Werkmeister_WMDE moved T363153: [ES-M2]: Load EntitySchema data type registration for WikibaseClient on client wikis from Ready for Peer Review to Ready for Tech Verification on the Wikidata Dev Team (Wikidata.org Slice) board.
Thu, Jun 13, 3:35 PM · User-ItamarWMDE, MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikidata Dev Team (Wikidata.org Slice), EntitySchema (M2: Linking to EntitySchemas in statements), Wikidata
Lucas_Werkmeister_WMDE closed T315510: Start maintenance script to backfill talk page comment database, a subtask of T302011: [Release Ticket] Introduce permalinks on wikitext talk pages, as Resolved.
Thu, Jun 13, 3:29 PM · Editing-team (Kanban Board), User-notice, TPP-Scaling, DiscussionTools
Lucas_Werkmeister_WMDE closed T315510: Start maintenance script to backfill talk page comment database as Resolved.

Alright, then I’m going to declare this… DONE.

Thu, Jun 13, 3:29 PM · MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), Goal, MW-1.40-notes (1.40.0-wmf.6; 2022-10-17), MW-1.39-notes (1.39.0-wmf.26; 2022-08-22), Editing-team (Kanban Board), TPP-Phase1, DiscussionTools
Lucas_Werkmeister_WMDE closed T315510: Start maintenance script to backfill talk page comment database, a subtask of T315353: Create database tables for permalinks in production wikis, and enable the feature, as Resolved.
Thu, Jun 13, 3:29 PM · Skipped QA, DiscussionTools, MW-1.39-notes (1.39.0-wmf.26; 2022-08-22), Editing-team (Kanban Board)
Lucas_Werkmeister_WMDE updated the task description for T367396: GitHub EntitySchema repository is getting mirrored from both EntitySchema and WikibaseSchema on Gerrit.
Thu, Jun 13, 3:05 PM · Wikimedia-GitHub, Gerrit, Diffusion-Repository-Administrators, Wikidata, EntitySchema, wmde-wikidata-tech
Lucas_Werkmeister_WMDE added a comment to T358762: Gerrit commit message formatting does not handle angle-bracketed URLs well, adds extra semicolon.
Thu, Jun 13, 2:54 PM · Patch-For-Review, Upstream, Gerrit (Gerrit 3.8)
Lucas_Werkmeister_WMDE added a comment to T315510: Start maintenance script to backfill talk page comment database.

The slowdown still seems to be happening – earlier this morning, each 100-page batch seemed to take about four minutes.

Thu, Jun 13, 2:35 PM · MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), Goal, MW-1.40-notes (1.40.0-wmf.6; 2022-10-17), MW-1.39-notes (1.39.0-wmf.26; 2022-08-22), Editing-team (Kanban Board), TPP-Phase1, DiscussionTools
Lucas_Werkmeister_WMDE added a comment to T361403: 1.43.0-wmf.9 deployment blockers.

I just deployed a config change that relies on two changes in the EntitySchema extension that are only in wmf.9; backporting them to wmf.8 seems to be impractical (T367334#9885619, second part). If the train has to be rolled back, so that group1 and/or group0 are on wmf.8 again, I suggest that you first deploy this config change (a partial revert of the other one) to avoid errors on Test Wikidata client wikis (wikidataclient-test.dblist, i.e. testwiki, test2wiki, testwikidatawiki, testcommonswiki – note that test2wiki is in group1).

Thu, Jun 13, 2:16 PM · User-brennen, Release-Engineering-Team (Priority Backlog 📥), Release, Train Deployments