Page MenuHomePhabricator

MediaInfo extension should not allow edits if user gets logged out whilst editing the page
Open, Needs TriagePublic

Description

Same as T124451 which was for wikidata.org

My comment @ T124451#4746893 confirms that this is a situation that can occur with MediaInfo

Event Timeline

Addshore created this task.Nov 14 2018, 4:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 14 2018, 4:24 PM
Jdforrester-WMF renamed this task from MediaInfo extension should not allow edits if user gets logged out to MediaInfo extension should not allow edits if user gets logged out whilst editing the page.Nov 19 2018, 8:34 PM

It's not immediately obvious how we would do this; our client-code doesn't maintain state about the user, so there's nothing against which to compare what the API thinks this moment (we just call wb.api.getLocationAgnosticMwApi().postWithToken()). We could grab the user name on page load just in case, but that's… messy.

greg added a project: Multimedia.Mar 7 2019, 10:59 PM
Ramsey-WMF moved this task from Untriaged to Desired epics on the Multimedia board.Mar 8 2019, 3:00 AM
Restricted Application added a project: Multimedia. · View Herald TranscriptAug 10 2019, 11:54 PM
JFishback_WMF moved this task from Intake to Backlog on the Privacy board.Mar 10 2020, 12:31 AM
Restricted Application added a project: Structured-Data-Backlog. · View Herald TranscriptMar 16 2020, 3:39 PM
CBogen moved this task from Triage to SDoC on the Structured-Data-Backlog board.Sep 1 2020, 5:44 PM