The edit request made by the wikidata-bridge may create a temporary account, in which case the API will return (once T357024 is implemented) a URL that we need to redirect to.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Update wikidata-bridge to handle redirects after temp user creation | mediawiki/extensions/Wikibase | master | +323 -100 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Restricted Task | |||||
Resolved | kostajh | T294511 2021 Security Team wikireplicas audit | |||
Declined | None | T284948 Raw IPs of logged-out users disclosed in wiki-replicas | |||
In Progress | Niharika | T324492 Temporary accounts - MVP | |||
Open | None | T326816 [Epic] Update features for temporary accounts | |||
Open | None | T326908 Update WMDE Engineering-owned products that may be affected by IP Masking | |||
Resolved | Arian_Bozorg | T351968 Update Wikidata-related extensions for IP Masking | |||
Resolved | Arian_Bozorg | T357020 [DOT] Perform necessary redirects after creating temporary account in Wikidata-related extensions | |||
Resolved | Arian_Bozorg | T357499 [DOT] Perform necessary redirect after editing terms with wikidata-bridge |
Event Timeline
I think this actually has an additional complexity beyond the other subtasks of T357020 – ideally, I assume we’d like to return to the client wiki where the user was, not the repo wiki where the edit was actually made (and the account created)…
But given that the bridge is currently not used, it’s probably good enough if we just do a redirect and end up back on the Wikidata main page.
If we want this to happen, we’ll have to do it ourselves (add some code in repo that redirects to the client wiki) – having CentralAuth return directly to the client wiki would require nontrivial changes according to @Tgr (Slack).
But given that the bridge is currently not used, it’s probably good enough if we just do a redirect and end up back on the Wikidata main page.
Change 1003591 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):
[mediawiki/extensions/Wikibase@master] Update wikidata-bridge to handle redirects after temp user creation
Once CI goes through, this should be testable on Beta on Data bridge. (But not on Wikidata Bridge Showcase, due to T354750.)
Change 1003591 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Update wikidata-bridge to handle redirects after temp user creation
After this is done, will there anything be left to investigate for T343786: [TECH][IPM] Investigate ramifications of IP masking on Wikidata Bridge?
Not much, I think; but T351968#9602082 might be relevant depending on how soon you’re planning to fix T354750.