internetarchive / openlibrary

One webpage for every book ever published!
https://openlibrary.org
GNU Affero General Public License v3.0
4.97k stars 1.25k forks source link

BookBrainz, MusicBrainz identifiers easily mislabeled as StoryGraph identifiers #9503

Open stopregionblocking opened 1 week ago

stopregionblocking commented 1 week ago

Problem

Because all 3 libraries use UUIDs & Storygraph identifiers were integrated into OL first, when adding author identifiers the menu which guesses what kind of identifier you're including will automatically guess StoryGraph. This makes mistakes far easier.

Evidence / Screenshot

Relevant URL(s)

https://github.com/internetarchive/openlibrary/issues/8480#issuecomment-1806759638

Reproducing the bug

  1. Go to edit an author page.
  2. Copy a BookBrainz or MusicBrainz author identifier.
  3. Paste it into the identifier field.

Context

Notes from this Issue's Lead

Proposal & constraints

Related files

Stakeholders


Instructions for Contributors

mekarpeles commented 4 days ago

I think the solution may be to not try to guess if it's a UUID.

Freso commented 6 hours ago

Isn’t @RayBB working on something with Wikidata data to "guess" identifiers using the whole URL? If that’s meant to replace the current simple system, that might also solve this issue. (Though, of course, I don’t know how far along that is, so it might be prudent to simply remove the UUID guessing until then… I can probably poke at the code and yoink that out.)