We are trying to migrate away and deprecate Database::lock calls directly. So It would be nice to switch them to use the service that is designed to do this. See T161749: Standardise lock management in MediaWiki and T366938: Reduce relying on database locks for more information and https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CheckUser/+/1318312 as an example.
Description
Details
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Migrate WikibasePingback to use lock manager | Hoo man | mediawiki/extensions/Wikibase | master | +49 -3 |
Related Objects
- Mentioned Here
- T406763: PHP Warning: EventLoggingLegacyConverter: Failed proxying legacy EventLogging event query string to WMF Event Platform JSON: UnexpectedValueException: WikibasePingback is not in the list of allowed legacy schemas.
T399155: [DevOps] Remove WikibasePingback from WikibaseSuite
T161749: Standardise lock management in MediaWiki
T366938: Reduce relying on database locks
Event Timeline
Hi, would it be possible for the team to pick it up and implement it? It's a simple straightforward change.
I'm not certain of all the details but it seems like perhaps there was a decision >1 year ago to no longer use WikibasePingback at all for collecting data about 3rd party Wikibases (T399155) but I didn't find solid written evidence of this. If that's that case then an alternative to this migration is just to remove all this code if nobody is actually using it.
Although perhaps if the team is unsure then this migration should just happen so the deprecation can happen without delay.
Change #1332544 had a related patch set uploaded (by Hoo man; author: Hoo man):
[mediawiki/extensions/Wikibase@master] Migrate WikibasePingback to use lock manager
Agree. I looked into the current state of Wikibase Pingback, and I think we should consider removing the feature rather than updating its locking code.
Wikibase Suite keeps the Wikibase default of having Pingback disabled, and we don’t document or otherwise expose the option in Suite. We do test it against a mock endpoint, but there isn't any Suite-specific dependency on it otherwise.
More importantly, according to T406763, the WMF EventLogging backend that received WikibasePingback events was decommissioned in January 2025. WikibasePingback was not migrated to its replacement, so these events are no longer being collected.
From the Suite side I don’t think we need a product change. But it seems reasonable to remove the now-unused Pingback feature from Wikibase itself, and the Suite team could potentially prepare that change for review.
The deprecation pointed out by @Ladsgroup has been addressed. For further discussion about removing the feature we have T399155.
Change #1332544 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Migrate WikibasePingback to use lock manager