Page MenuHomePhabricator

Lucas_Werkmeister_WMDE (Lucas Werkmeister (WMDE))
Engineering

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Apr 3 2017, 2:45 PM (123 w, 5 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. Private account: @LucasWerkmeister.

Recent Activity

Yesterday

Lucas_Werkmeister_WMDE added a comment to T230588: Wikidata Query Service is swapping items and properties.

I think all the items that were updated during the breakage, and were not updated since then, would be broken now – their data was imported using the swapped Ps and Qs, and then after the fix it’s swapped the wrong way. We should be able to get a list of all potentially affected items from recentchanges – @Smalyshev is it possible to tell the updater to re-import those specific entities?

Sat, Aug 17, 9:56 AM · Wikidata, Wikidata-Query-Service

Thu, Aug 15

Lucas_Werkmeister_WMDE lowered the priority of T230588: Wikidata Query Service is swapping items and properties from High to Normal.

Scholia also looks fine again – lowering priority since only the investigation is missing. Thanks a lot for the quick response Stas!

Thu, Aug 15, 11:50 PM · Wikidata, Wikidata-Query-Service
Lucas_Werkmeister_WMDE added a comment to T230249: Wikimania Hackathon Volunteering: Opening / Closing Documentation .

?: Podcasts. I ask Wikimedians questions like: What would be your first orders as King (or Queen) of Wikipedia?

Thu, Aug 15, 10:56 PM · International-Developer-Events, Wikimania-Hackathon-2019-Organization, Wikimania-Hackathon-2019
Lucas_Werkmeister_WMDE renamed T230588: Wikidata Query Service is swapping items and properties from Wikidata Query Service visualization with embedding gives error to Wikidata Query Service is swapping items and properties.
Thu, Aug 15, 10:42 PM · Wikidata, Wikidata-Query-Service
Lucas_Werkmeister_WMDE triaged T230588: Wikidata Query Service is swapping items and properties as High priority.

Those errors usually happen when the query returns 0 results and the visualization is not able to handle it, and that seems to be what’s happening.

Thu, Aug 15, 10:35 PM · Wikidata, Wikidata-Query-Service

Mon, Aug 12

Pintoch awarded T229917: Add tags parameter to Wikibase APIs that edit entities a Love token.
Mon, Aug 12, 2:41 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE updated the task description for T230249: Wikimania Hackathon Volunteering: Opening / Closing Documentation .
Mon, Aug 12, 2:05 PM · International-Developer-Events, Wikimania-Hackathon-2019-Organization, Wikimania-Hackathon-2019
Lucas_Werkmeister_WMDE moved T229917: Add tags parameter to Wikibase APIs that edit entities from Test (Verification) to Peer Review on the Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board.
Mon, Aug 12, 1:49 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE updated subscribers of T228734: Hook automatically fixing js formatting issues into git precommit.

In EntitySchema (package.json) we’ve been very happy with husky and lint-staged – I think @Michael is the expert there. (Unfortunately, PHPCS/PHPCBF’s exit codes don’t play nicely with it, but for the JS part it’s really wonderful.)

Mon, Aug 12, 12:07 PM · Wikidata, Wikidata-Campsite
Lucas_Werkmeister_WMDE added a parent task for T230050: OutOfBoundsException in WikibaseQualityConstraints setup on Beta Wikidata: T220744: 1.34.0-wmf.19 deployment blockers.
Mon, Aug 12, 11:52 AM · Wikibase-Quality-Constraints, Wikidata
Lucas_Werkmeister_WMDE added a subtask for T220744: 1.34.0-wmf.19 deployment blockers: T230050: OutOfBoundsException in WikibaseQualityConstraints setup on Beta Wikidata.
Mon, Aug 12, 11:52 AM · User-zeljkofilipin, Release-Engineering-Team-TODO (201908), Release-Engineering-Team (Deployment services), Release, Train Deployments
Lucas_Werkmeister_WMDE updated the task description for T230335: Create SavingEntityRepository.
Mon, Aug 12, 11:48 AM · Wikidata, Wikidata-Bridge
OlafJanssen awarded T226709: Add user agent to Wikidata Query UI code examples a Like token.
Mon, Aug 12, 11:03 AM · Wikimania-Hackathon-2019, Patch-For-Review, Wikidata Query UI, Wikidata
Lucas_Werkmeister_WMDE updated the task description for T230117: Remove type: statement from JSON serialization of statements.
Mon, Aug 12, 10:06 AM · Wikidata
Lucas_Werkmeister_WMDE added a comment to T230050: OutOfBoundsException in WikibaseQualityConstraints setup on Beta Wikidata.

Well, there’s no train this week (Wikimania), but we could add it to next week’s train blockers already.

Mon, Aug 12, 10:02 AM · Wikibase-Quality-Constraints, Wikidata
Lucas_Werkmeister_WMDE updated the task description for T226709: Add user agent to Wikidata Query UI code examples.
Mon, Aug 12, 9:52 AM · Wikimania-Hackathon-2019, Patch-For-Review, Wikidata Query UI, Wikidata
Lucas_Werkmeister_WMDE added a comment to T230135: Wikidata queries in PAWS return HTTP Error 403: Forbidden.

One more thing: How should be go about implementing the updated line of code

sparql = SPARQLWrapper(endpoint_url, agent='Some uniquely identifyable user agent')

in the outputs in the WDQS-interface, like so
(snip)

Mon, Aug 12, 9:51 AM · Wikidata-Query-Service, Wikidata, PAWS
Lucas_Werkmeister_WMDE committed R2307:6f15b714bbee: Add bgwiki and bgwikinews overrides (authored by Lucas_Werkmeister_WMDE).
Add bgwiki and bgwikinews overrides
Mon, Aug 12, 9:31 AM

Thu, Aug 8

Lucas_Werkmeister_WMDE added a comment to T230135: Wikidata queries in PAWS return HTTP Error 403: Forbidden.

You probably need to set a good User-Agent – the default Python Requests one is blocked since about a month ago (announcement). (Though that doesn’t explain why it would still have worked yesterday…)

Thu, Aug 8, 3:41 PM · Wikidata-Query-Service, Wikidata, PAWS
Lucas_Werkmeister_WMDE moved T229385: Data Bridge can’t load entity data on mobile clients from Peer Review to Verification on the Wikidata-Bridge-Sprint-3 board.
Thu, Aug 8, 3:36 PM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE updated the task description for T230117: Remove type: statement from JSON serialization of statements.
Thu, Aug 8, 2:37 PM · Wikidata
Lucas_Werkmeister_WMDE added a comment to T230117: Remove type: statement from JSON serialization of statements.

Even Pywikibot, which still calls Statements “Claims”, doesn’t read the type when deserializing a Statement (Claim.fromJSON), although it does emit a type when serializing it (Claim.toJSON).

Thu, Aug 8, 2:37 PM · Wikidata
Lucas_Werkmeister_WMDE added a comment to T230057: Citoid: Generate ISBNs with hyphens.

Hm, that’s tricky… KrBot automatically fixes the format, at least sometimes (example edit), but I don’t know if it also does that in reference snaks (or would Citoid create new items for each ISBN in a reference, so that it would always be a main statement?), and I’m not sure if it’s acceptable for Citoid to make edits that need to be cleaned up by a bot later.

Thu, Aug 8, 12:42 PM · Citoid
Lucas_Werkmeister_WMDE created T230117: Remove type: statement from JSON serialization of statements.
Thu, Aug 8, 11:28 AM · Wikidata
Lucas_Werkmeister_WMDE added a comment to T230050: OutOfBoundsException in WikibaseQualityConstraints setup on Beta Wikidata.

Another this is - do we even need $this->prefixes? WDQS understands all those by default already.

Thu, Aug 8, 10:11 AM · Wikibase-Quality-Constraints, Wikidata

Wed, Aug 7

Lucas_Werkmeister_WMDE added a comment to T230050: OutOfBoundsException in WikibaseQualityConstraints setup on Beta Wikidata.

Okay, I did have time for a quick git bisect, and according to that the culprit is Ie8ef676d9e, linked to T211799, T214557, T222306.

Wed, Aug 7, 5:59 PM · Wikibase-Quality-Constraints, Wikidata
Lucas_Werkmeister_WMDE created T230050: OutOfBoundsException in WikibaseQualityConstraints setup on Beta Wikidata.
Wed, Aug 7, 5:56 PM · Wikibase-Quality-Constraints, Wikidata
Lucas_Werkmeister_WMDE moved T230008: Test on concrete values with selenium from Doing to Peer Review on the Wikidata-Bridge-Sprint-3 board.
Wed, Aug 7, 5:43 PM · Wikidata-Bridge-Sprint-3, Wikidata
Lucas_Werkmeister_WMDE claimed T230008: Test on concrete values with selenium.
Wed, Aug 7, 5:33 PM · Wikidata-Bridge-Sprint-3, Wikidata
Lucas_Werkmeister_WMDE added a comment to T230008: Test on concrete values with selenium.

I assume this refers to the final TODO in init.js / “shows the current targetValue”, where we currently don’t check that the value is what we expect?

Wed, Aug 7, 5:30 PM · Wikidata-Bridge-Sprint-3, Wikidata
Lucas_Werkmeister_WMDE renamed T230008: Test on concrete values with selenium from Test on concret values with selenium to Test on concrete values with selenium.
Wed, Aug 7, 5:28 PM · Wikidata-Bridge-Sprint-3, Wikidata
Lucas_Werkmeister_WMDE closed T229444: Make selenium tests create their own properties and items as Resolved.

As far as I’m aware, this is done.

Wed, Aug 7, 4:05 PM · User-Michael, Wikidata-Bridge-Sprint-3
Lucas_Werkmeister_WMDE updated the task description for T229917: Add tags parameter to Wikibase APIs that edit entities.
Wed, Aug 7, 4:03 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE updated subscribers of T75181: Remove HHVM revision tag.
In T75181#1052495, @TTO wrote:

DELETE FROM change_tag WHERE ct_tag = "HHVM";
That's easy enough, but it also needs to be removed from tag_summary, which will require a maintenance script of some sort. Essentially just copy and paste the code of ChangeTags::deleteTagEverywhere and alter it to work in batches.

Wed, Aug 7, 12:20 PM · Patch-For-Review, HHVM, Wikimedia-General-or-Unknown
Lucas_Werkmeister_WMDE moved T229917: Add tags parameter to Wikibase APIs that edit entities from To do to Peer Review on the Wikidata-Bridge-Sprint-3 board.
Wed, Aug 7, 10:45 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata

Tue, Aug 6

Lucas_Werkmeister_WMDE updated the task description for T229917: Add tags parameter to Wikibase APIs that edit entities.
Tue, Aug 6, 3:03 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE lowered the priority of T229921: PetScan is down from Unbreak Now! to High.

The petscan3 instance is one of those brought down due to Cloud VPS maintenance yesterday and today (announcement) – if the VM is set up such that it doesn’t need any manual action after a reboot, then this might resolve itself within a few hours.

Tue, Aug 6, 12:53 PM · Tools, Wikidata
Lucas_Werkmeister_WMDE updated the task description for T229917: Add tags parameter to Wikibase APIs that edit entities.
Tue, Aug 6, 11:26 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE removed a parent task for T155109: Wikibase API should support adding change tags: T227003: Add an edit tag parameter and tag the edits made via data bridge with "Data Bridge".
Tue, Aug 6, 11:26 AM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE added a parent task for T229917: Add tags parameter to Wikibase APIs that edit entities: T227003: Add an edit tag parameter and tag the edits made via data bridge with "Data Bridge".
Tue, Aug 6, 11:26 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE edited subtasks for T227003: Add an edit tag parameter and tag the edits made via data bridge with "Data Bridge", added: T229917: Add tags parameter to Wikibase APIs that edit entities; removed: T155109: Wikibase API should support adding change tags.
Tue, Aug 6, 11:26 AM · Wikidata-Bridge, Wikidata
Lucas_Werkmeister_WMDE added a project to T229917: Add tags parameter to Wikibase APIs that edit entities: Wikidata-Bridge-Sprint-3.
Tue, Aug 6, 11:23 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE placed T155109: Wikibase API should support adding change tags up for grabs.
Tue, Aug 6, 11:23 AM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE created T229919: Add tags parameter to WikibaseLexeme APIs that edit entities.
Tue, Aug 6, 11:23 AM · Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE created T229918: Add tags parameter to Wikibase APIs that create redirects.
Tue, Aug 6, 11:23 AM · Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE created T229917: Add tags parameter to Wikibase APIs that edit entities.
Tue, Aug 6, 11:23 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Patch-For-Review, Wikidata-Bridge-Sprint-3, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE added a comment to T155109: Wikibase API should support adding change tags.

Actually, let’s split this task up after all. Disregard the gerritbot comments, I’ll move those patches to one of the subtasks.

Tue, Aug 6, 11:18 AM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata

Mon, Aug 5

Lucas_Werkmeister_WMDE added a comment to T155109: Wikibase API should support adding change tags.

To clarify: for Wikidata Bridge we likely only need support in wbeditentity, but the most reasonable implementation (as far as I can tell) ends up adding support to almost all other modules as well. The exception are modules that create a redirect rather than a regular entity edit – I’ll leave those aside for now.

Mon, Aug 5, 4:38 PM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE claimed T155109: Wikibase API should support adding change tags.
Mon, Aug 5, 4:16 PM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE updated subscribers of T155109: Wikibase API should support adding change tags.

@darthmon_wmde I’ve already started working on this (as part of Wikidata Bridge task T227003), so I’m not sure it makes much sense to unassign me…

Mon, Aug 5, 2:24 PM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE claimed T155109: Wikibase API should support adding change tags.
Mon, Aug 5, 2:19 PM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE added a comment to T229221: Reduce usages of wikibase.entityPage.entityLoaded hook in frontend code.

So I think we should inject terms as a mw.config variable and use it in termbox v1 and v2 while lazy loading the hook when someone tries to edit and stop using in every page view. Does it make sense to you?

Mon, Aug 5, 12:29 PM · Wikidata-Trailblazing-Exploration, Performance-Team (Radar), Wikidata, MediaWiki-extensions-WikibaseRepository
Lucas_Werkmeister_WMDE added a comment to T227463: Decide strategy for dataflow from infoboxes to wikidata (wikidata technical strategy).

Late update – I just found out that MediaWiki allows you to suppress the external link marker using the plainlinks class, so we could’ve gone with the external link approach after all. We don’t have to change anything for that now, but it might be useful if we ever need to come back to this for another reason.

Mon, Aug 5, 11:50 AM · wikidata-tech-focus, Wikidata-Bridge-Sprint-1, Wikidata

Fri, Aug 2

Lucas_Werkmeister_WMDE moved T229604: Several selectors/experts are broken from Doing to Test (Verification) on the Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board.

The issue persisted for ca. 10 minutes after the scap finished, for reasons I don’t understand, but now it does seem to be resolved. Leaving the task open for verification by others.

Fri, Aug 2, 5:54 PM · MW-1.34-notes (1.34.0-wmf.16; 2019-07-30), User-Ladsgroup, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Regression, Wikidata
Lucas_Werkmeister_WMDE created P8854 T229604 mergeMessageFileList investigation.
Fri, Aug 2, 4:09 PM
Lucas_Werkmeister_WMDE moved T229095: Use TermTextField from Peer Review to Verification on the Wikidata-Bridge-Sprint-3 board.

Both of the changes attached to this task are merged, so I assume this can go to verification.

Fri, Aug 2, 1:29 PM · MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), Wikidata-Bridge-Sprint-3, Wikidata, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE added a comment to T229660: Horizon warning for instance deletion does not include instance name.

Tested with multiple instances across two projects (wikidata-dev and openrefine).

Fri, Aug 2, 1:11 PM · Upstream, Horizon, cloud-services-team (Kanban)
Lucas_Werkmeister_WMDE created T229660: Horizon warning for instance deletion does not include instance name.
Fri, Aug 2, 1:09 PM · Upstream, Horizon, cloud-services-team (Kanban)
Lucas_Werkmeister_WMDE closed T229411: Drop wikidata-dev project’s federated-wikis and federated-wikis2 instances as Resolved.

Done – I have backups on my laptop in case anybody needs them:

Fri, Aug 2, 1:05 PM · Wikidata
Lucas_Werkmeister_WMDE claimed T229411: Drop wikidata-dev project’s federated-wikis and federated-wikis2 instances.
Fri, Aug 2, 12:14 PM · Wikidata
Lucas_Werkmeister_WMDE added a comment to T229604: Several selectors/experts are broken.

Can confirm: The problem started around 17:45 GMT +1 and affects all browsers (Firefox, Edge, Chrome and variants).

Fri, Aug 2, 9:40 AM · MW-1.34-notes (1.34.0-wmf.16; 2019-07-30), User-Ladsgroup, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Regression, Wikidata

Thu, Aug 1

Lucas_Werkmeister_WMDE removed a project from T229582: Ensure responsiveness: Wikidata-Bridge-Sprint-2.
Thu, Aug 1, 3:12 PM · Wikidata-Bridge-Sprint-3, Wikidata
Lucas_Werkmeister_WMDE moved T229390: Debug parameter causes crashes from Peer Review to Verification on the Wikidata-Bridge-Sprint-3 board.
Thu, Aug 1, 2:57 PM · Patch-For-Review, User-Michael, Wikidata, Wikidata-Bridge-Sprint-3
Lucas_Werkmeister_WMDE edited P8845 Draft of swat-summary script.
Thu, Aug 1, 2:10 PM · MediaWiki-SWAT-deployments
Lucas_Werkmeister_WMDE edited P8845 Draft of swat-summary script.
Thu, Aug 1, 2:08 PM · MediaWiki-SWAT-deployments
Lucas_Werkmeister_WMDE added a comment to T229444: Make selenium tests create their own properties and items.

The wikibase.api module in wdio-wikibase has createItem() and getProperty() functions that we can use for this.

Thu, Aug 1, 11:38 AM · User-Michael, Wikidata-Bridge-Sprint-3
Lucas_Werkmeister_WMDE claimed T229390: Debug parameter causes crashes.
Thu, Aug 1, 11:02 AM · Patch-For-Review, User-Michael, Wikidata, Wikidata-Bridge-Sprint-3
Lucas_Werkmeister_WMDE added a comment to T229390: Debug parameter causes crashes.

However, it is not clear why this should make a difference as our code is not supposed to modify $, even when called in the global scope.

Thu, Aug 1, 11:01 AM · Patch-For-Review, User-Michael, Wikidata, Wikidata-Bridge-Sprint-3
Lucas_Werkmeister_WMDE added a comment to T220703: Increase the max length of URL to be shortened.

You can use wiki pages or some other mechanism to share […] long URLs

Thu, Aug 1, 9:24 AM · Security, Wikimedia-Site-requests, MediaWiki-extensions-UrlShortener
Lucas_Werkmeister_WMDE added a comment to T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator.

Well, for the DB it wouldn’t make a difference because it always gets 2500 results anyways (and then sorts and limits them in PHP – I guess applying an offset here would save a bit of memory, discarding the unneeded terms earlier), but we definitely should pass the offset to ElasticSearch, yeah.

Thu, Aug 1, 9:01 AM · Wikidata

Wed, Jul 31

Lucas_Werkmeister_WMDE added a comment to T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator.

I looked a bit more into this, and it turns out that SearchEntities doesn’t support continuation all that well – basically, it asks the underlying search backend for offset + limit + 1 results, then returns the [offset, offset+limit) slice of that. Clearly, this isn’t very efficient for larger and larger offsets, which is why the API won’t return offsets higher than the standard API limit (50) for continuation. However, it won’t stop you from specifying larger limits yourself, potentially asking the search backend for arbitrarily large numbers of results.

Wed, Jul 31, 7:02 PM · Wikidata
Lucas_Werkmeister_WMDE updated the task description for T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator.
Wed, Jul 31, 6:12 PM · Wikidata
Lucas_Werkmeister_WMDE added a comment to T229291: Add support to more continuation modes for WDQS MWAPI.

I’ve proposed the API change in T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator.

Wed, Jul 31, 6:11 PM · Wikidata, Wikidata-Query-Service
Lucas_Werkmeister_WMDE created T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator.
Wed, Jul 31, 6:10 PM · Wikidata
Lucas_Werkmeister_WMDE archived Wikidata-Bridge-Sprint-2.
Wed, Jul 31, 1:27 PM
Lucas_Werkmeister_WMDE created T229411: Drop wikidata-dev project’s federated-wikis and federated-wikis2 instances.
Wed, Jul 31, 1:19 PM · Wikidata
Lucas_Werkmeister_WMDE closed T171706: Syntax highlighting in WDQS for non-latin script as Resolved.

Indeed – this seems to have been fixed in codemirror/CodeMirror#5936 (using the approach I mentioned above: hard-code the ranges of all Unicode letters into the regexp), which was released in 5.48.2 12 days ago, and I guess we installed that version?

Wed, Jul 31, 10:36 AM · Wikidata Query UI, Upstream, I18n, Discovery, Wikidata
Lucas_Werkmeister_WMDE edited projects for T229393: Interface of the Wikidata Query Service, added: Wikidata Query UI; removed Wikidata-Query-Service.
Wed, Jul 31, 10:23 AM · Wikidata Query UI, Wikidata
Lucas_Werkmeister_WMDE renamed T229385: Data Bridge can’t load entity data on mobile clients from Mobile works not properly to Data Bridge can’t load entity data on mobile clients.
Wed, Jul 31, 9:56 AM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE added a project to T229385: Data Bridge can’t load entity data on mobile clients: Traffic.
Wed, Jul 31, 9:55 AM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE claimed T229385: Data Bridge can’t load entity data on mobile clients.
Wed, Jul 31, 9:44 AM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE added a comment to T229385: Data Bridge can’t load entity data on mobile clients.

It looks like the redirect is generated in Varnish, see text-frontend.inc.vcl.erb::mobile_redirect. We could try to disable it in some ways:

Wed, Jul 31, 9:30 AM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE added a comment to T229385: Data Bridge can’t load entity data on mobile clients.

Well, jQuery would try to follow the redirect, but it doesn’t have the Access-Control-Allow-Origin header set, so it’s blocked by the Same Origin Policy. (That is, https://de.m.wikipedia.beta.wmflabs.org is not allowed to read the https://wikidata.beta.wmflabs.org redirect.)

Wed, Jul 31, 9:10 AM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE added a comment to T229291: Add support to more continuation modes for WDQS MWAPI.

Alternatively, perhaps wbsearchentities should be changed to do continuation the usual way?

Would be fine with this too. Probably would have to support both elements, otherwise scripts that use current one would break?

Wed, Jul 31, 9:03 AM · Wikidata, Wikidata-Query-Service
Lucas_Werkmeister_WMDE added a comment to T229385: Data Bridge can’t load entity data on mobile clients.
Wed, Jul 31, 8:45 AM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2
Lucas_Werkmeister_WMDE added a comment to T229385: Data Bridge can’t load entity data on mobile clients.

It looks like we request https://wikidata.beta.wmflabs.org/wiki/Special:EntityData/Q11.json, and instead of directly returning the entity JSON, that redirects to https://m.wikidata.beta.wmflabs.org/wiki/Special:EntityData/Q11.json (mobile subdomain), and we don’t follow that redirect. I don’t really like Special:EntityData redirecting to a different domain, but fixing that sounds like it would be complicated (and involve changes in MobileFrontend, not just Wikibase), so it’s probably best to just follow the redirect.

Wed, Jul 31, 8:42 AM · Operations, Traffic, Wikidata-Bridge-Sprint-3, Wikidata-Bridge-Sprint-2

Tue, Jul 30

Lucas_Werkmeister_WMDE added a comment to T228527: Support nested package.json files.

I think we expect it to stay around for now.

Tue, Jul 30, 1:44 PM · Wikidata-Bridge, LibUp
Lucas_Werkmeister_WMDE added a comment to T229329: WDQS Updater: java.lang.StringIndexOutOfBoundsException: String index out of range: -8.

Updater.java:289 is this line:

Tue, Jul 30, 1:33 PM · Wikidata, Wikidata-Query-Service
Lucas_Werkmeister_WMDE placed T227758: [investigate] purging strategy up for grabs.
Tue, Jul 30, 12:04 PM · Wikidata, Wikidata-Bridge
Lucas_Werkmeister_WMDE added a comment to T227758: [investigate] purging strategy.

So if we purge the page via action=purge (probably with forcelinkupdate=1, though tbh I’m not quite sure what that controls) before reloading it, we shouldn’t have to worry about dispatch lag. That still leaves the issue of replication lag on the repo wiki, though: if the client wiki page is purged and re-rendered based on data from a replica database on the repo wiki that hasn’t seen the edit yet, there will still be stale data.

Tue, Jul 30, 12:04 PM · Wikidata, Wikidata-Bridge
Lucas_Werkmeister_WMDE added a subtask for T227003: Add an edit tag parameter and tag the edits made via data bridge with "Data Bridge": T155109: Wikibase API should support adding change tags.
Tue, Jul 30, 11:25 AM · Wikidata-Bridge, Wikidata
Lucas_Werkmeister_WMDE added a parent task for T155109: Wikibase API should support adding change tags: T227003: Add an edit tag parameter and tag the edits made via data bridge with "Data Bridge".
Tue, Jul 30, 11:25 AM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE added a comment to T155109: Wikibase API should support adding change tags.

There currently seem to be at least two workarounds for this missing feature:

Tue, Jul 30, 11:24 AM · Patch-For-Review, Wikidata-Trailblazing-Exploration, MediaWiki-extensions-WikibaseRepository, MediaWiki-Change-tagging, Wikidata
Lucas_Werkmeister_WMDE added a comment to T229291: Add support to more continuation modes for WDQS MWAPI.

Alternatively, perhaps wbsearchentities should be changed to do continuation the usual way? That would probably improve compatibility with other ways to access the API as well (“continue” button on Special:ApiSandbox, continuation=True in python-mwapi, etc.).

Tue, Jul 30, 10:13 AM · Wikidata, Wikidata-Query-Service
Lucas_Werkmeister_WMDE created T229319: InvalidArgumentSuggestion in PropertySuggester (action=wbsgetsuggestions) with invalid ID.
Tue, Jul 30, 10:12 AM · MediaWiki-extensions-PropertySuggester, Wikidata

Mon, Jul 29

Lucas_Werkmeister_WMDE added a comment to T209034: Incomplete continuation in MWAPI.

Well, the original query doesn’t tweak the parameters, and by default we don’t want to follow too many empty continuations. This query returns results, though:

Mon, Jul 29, 4:28 PM · Discovery-Wikidata-Query-Service-Sprint, Wikidata-Query-Service, Wikidata
Lucas_Werkmeister_WMDE added a comment to T214884: linking Schemas in statements.
  • How the RDF output of this look like? Should we not do it for MVP and add it later? It can have treat it as "StringValue" RDF output as well (for now)

I would've thought first of using the schema's url as a concept URI and used it here, but didn't look into it in details if that would work/make sense.

Mon, Jul 29, 4:15 PM · Wikidata-Campsite, Patch-For-Review, MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), User-Ladsgroup, Wikidata, Shape Expressions
Lucas_Werkmeister_WMDE committed rEBQC79d46528e51c: Fix Travis before_script.sh (authored by Lucas_Werkmeister_WMDE).
Fix Travis before_script.sh
Mon, Jul 29, 3:57 PM
Lucas_Werkmeister_WMDE committed rEBQC3989de0fb47c: Remove last vestiges of WikibaseQuality (authored by Lucas_Werkmeister_WMDE).
Remove last vestiges of WikibaseQuality
Mon, Jul 29, 3:08 PM
Lucas_Werkmeister_WMDE committed rEBQC84e28a9b8ecc: Fix and test Wikibase services (authored by Lucas_Werkmeister_WMDE).
Fix and test Wikibase services
Mon, Jul 29, 1:37 PM