Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, Wikidata-Bridge. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION As a Wikipedia editor, when I click a Wikidata Bridge edit link whose target item is a redirect, I want… what to happen? **Problem:** We currently don’t handle redirected items very well: since the response contains a different entity ID (the redirect target) than we expected, we’ll throw an error “Result does not contain relevant entity.” **Example:** https://wikidata.beta.wmflabs.org/wiki/Talk:Q368240 is one example case, though the Bridge doesn’t seem to auto-load for some reason (I ran `mw.loader.using( 'wikibase.client.data-bridge.init' )` in the console to overcome this). **Screenshots/mockups:** **BDD** GIVEN AND WHEN AND THEN AND **Acceptance criteria:** - **Open questions:** - Is this something we need to handle at all? I would assume that if a client wiki has an edit link for some statement, then it has read the statement from the target entity, and it can’t probably be a redirect. (Unless it was //just// merged and the edit hasn’t been dispatched yet, I guess.) But I don’t know how the Lua code handles redirects – maybe it’s possible that you read Item A → Property X → Item B → Property Y → Value C, where Item B is a redirect to Item B' but Item A was not updated and still points to Item B, and you add an edit link for Item B’s Value C statement, because you never even noticed that the statement really came from Item B'. TASK DETAIL https://phabricator.wikimedia.org/T240463 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, Sarai-WMDE, darthmon_wmde, Michael, DannyS712, Nandana, Lens0021, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
