User talk:BDavis (WMF)
Add topic
|
Archives
|
|---|
| 2015 2024 |
Hi @BDavis (WMF)! I'm sorry if this isn't the right place to ask this. I am not a WMverse native! I'm George, and I worked on Flickypedia. The community has found a weird bug that I've possibly tracked down to OAuth, and I'm here to ask your advice to diagnose it. Because I'm not a programmer, I've also worked with Claude to try to help figure out the problem, so please excuse me if this message below makes no sense whatsoever :-)
Claudesplanation: Flickypedia (consumer key fbc605375234e41ae3b7ed2395d18e45) has been failing to write structured data since around Jan/Feb. Files upload fine but licence/author/date never get written, with a permissiondenied / badaccess-groups error. Details in github.com/Flickr-Foundation/flickypedia/issues/617
Its registered grants are "Create, edit, and move pages" plus the upload grants, nothing for Wikidata/Wikibase. Wondering if that's the actual gap, or if it's a user-group/bot-flag issue on the account doing the writing instead, since the error itself reads more like a group-membership problem than a missing grant.
Back to Georgesplanation: Alex, who built Flickypedia, has left, and I don't have the technical background to go deeper myself. I have about six weeks left on my contract here, would really appreciate a quick look if you have a moment! (We do have another engineer in the crew who could potentially work on Flickypedia-code bugs, if we can track it down to our codebase.)
Thank you for any suggestions you may have! ~2026-35356-29 (talk) 16:04, 16 June 2026 (UTC) Reply
- OK now I'm logged in!! Gloweave (talk) 16:04, 16 June 2026 (UTC) Reply
- Just uploaded an image successfully. Chatting about the two issues on Flickypedia talk page: https://commons.wikimedia.org/wiki/Commons_talk:Flickypedia#c-Gloweave-20260616161800-RoyZuo-20260517084300 Gloweave (talk) 16:23, 16 June 2026 (UTC) Reply
- @Gloweave https://phabricator.wikimedia.org is our bug tracker. I approved the application's OAuth grant at some point, but I am not a solo tech support desk for all OAuth usage issues.
- I did manage to find your actual bug report by reading your AI slop paste and realizing that there should have been a link to https://github.com/Flickr-Foundation/flickypedia/issues/617.
wikibase-api-permissiondeniedis the error being raised. There are a few matches for this in Phabricator: https://phabricator.wikimedia.org/maniphest/query/51SAj2PkAI64/#R. The ones I checked so far do not actually explain a fix, just that things started working later either by changing network or creating a new OAuth grant. I would guess that https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/ed859c3b3caa973277c0ca6bfaf602ad061ba4ce/repo/includes/Api/ModifyEntity.php#318 is where the error is raised. Figuring out why will need more tracing of what your code is attempting and what grants are active for the OAuth consumer and the user using the tool. -- BDavis (WMF) (talk) 16:14, 25 June 2026 (UTC) Reply- At a wild guess, the issue is that the
mediainfo-editright is only included in theeditpagegrant, notcreateeditmovepagewhich is used by the app (ref: app info, grant info, editing logic, grant config). Arguably a bug in WikibaseMediaInfo. No idea why that would have only had an effect since January though, none of the relevant code has changed around that time. Tgr (WMF) (talk) 21:29, 20 July 2026 (UTC) Reply
- At a wild guess, the issue is that the