internetarchive / openlibrary

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

Renaming Subject #9721

Open bitnapper opened 1 month ago

bitnapper commented 1 month ago

Problem

Many subject have multiple different duplicate, e.g. Ernest Rutherford (1871-1937), Rutherford, ernest, 1871-1937

Subject page has an edit button that could be facilitated to rename that subject in any edition

image

Example:

Go to subject page Rutherford, ernest, 1871-1937, Edit-Button, change title from Rutherford, ernest, 1871-1937 to person:Ernest Rutherford (1871-1937), save button.

After saving, the subject should be changed in all edition with the former subject.

Proposal & Constraints

What is the proposed solution / implementation?

see above.

Is there a precedent of this approach succeeding elsewhere?

not to my knowledge.

Which suggestions or requirements should be considered for how feature needs to appear or be implemented?

Leads

Related files

Stakeholders


Instructions for Contributors

AbhinavKRN commented 1 month ago

@bitnapper Can you assign this issue to me?

bitnapper commented 1 month ago

@bitnapper Can you assign this issue to me?

@AbhinavKRN I'm sorry, I don't have any special permissions to do that. I guess @mekarpeles can do that?

charanbhatia commented 1 month ago

@mekarpeles @gojomo can you assign this issue to me? I can easily solve this issue and raise the PR soon !!

tfmorris commented 1 month ago

I would recommend waiting until the issue is triaged to see what they'd like the solution to be. Personally, I think the right solution is to make subjects into 1st class objects instead of mere strings, as I suggested in #2819. Then all the different name variants (and different language labels) can get stored as aliases.

scottbarnes commented 1 month ago

Just chiming in to add that because #9520 / #9643 uses subjects, improvements in subjects (e.g. such as outlined in #2819 and #7904) would probably make the Best Book feature more useful to patrons.

mekarpeles commented 1 month ago

Related to #7904 and #65