Page MenuHomePhabricator

Warning about wikibase-conflict-patched is shown
Open, Needs TriagePublic

Description

With a item.addClaim(claim):

WARNING: API warning (wbcreateclaim) of unknown format: {'messages': [{'name': 'wikibase-conflict-patched', 'parameters': [], 'html': {'*': 'Votre modification a été intégrée dans la dernière version.'}, 'type': 'warning'}]}

Translation in English: Your change has been incorporated in the latest version. That corresponds to an edit conflict that was merged by the server.
It looks like this wikibase-conflict-patched error is not handled by pwb ?
Is the display of this warning wanted? necessary?

Event Timeline

Rdrg109 subscribed.

Just in case this helps: In the tag wmde.9 of the Wikibase repository in Gerrit, this message is documented in the line 463 of the file of the file gerrit.wikimedia.org/mediawiki/extensions/Wikibase/refs/tags/wmde.9/./repo/i18n/qqq.json. Below is the relevant part of the source code.

(... omitted lines ...)
  "wikibase-self-conflict-patched": (... omitted part ...)
  "wikibase-conflict-patched": "Warning issued when an edit is made based on an old revision, but the edit conflict could be resolved by patching. This warning is usually not displayed.",
  "wikibase-save-unresolved-redirect": (... omitted part ...)
(... omitted lines ...)

PS: T179409 seems to be related.

This comment was removed by Rdrg109.