Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Adding ability to add citation directly from CitationHunt #159

Open
ElanHR opened this issue May 13, 2020 · 4 comments
Open

Comments

@ElanHR
Copy link

ElanHR commented May 13, 2020

The current CitationHunt workflow requires a number of clicks once a contributor has found a good citation to make the change on Wikipedia. This could potentially be streamlined by either accepting a URL and making the change directly or simply taking them directly to the edit page for the particular section.

Example:
Current target: https://en.wikipedia.org/wiki/Lake_Champlain#Chazy_Reef
Streamlined target: https://en.wikipedia.org/wiki/Lake_Champlain?action=edit&section=3#Chazy_Reef

@eggpi
Copy link
Owner

eggpi commented May 15, 2020

Oh this is interesting! I just confirmed that the link opens your editor of choice (text or visual).

If we go with this, it does mean some #1Lib1Ref training materials will need to be updated (example) but it sounds like a nice streamlining of the UX so I'm for it.

@hughlilly
Copy link
Contributor

I'd be interested in trying to help implement this feature, if it's; @eggpi, would you be able to give me some idea of where to start?

I think having a tick box for this that's unchecked by default would be good. I would argue the majority of users would, initially simply want to read the paragraph needing the citation to get the context.

@eggpi
Copy link
Owner

eggpi commented Dec 20, 2021

Thanks for offering! So it looks like this boils down to changing where we redirect the user when they click the green button. The logic is here (we don't just link from the HTML because we log the click server-side).

A bit of background: in the past, some people have suggested even deeper integration between Citation Hunt and Wikipedia, like actually embedding an iframe into CH or making edits on the user's behalf.

However, we want to train users on the typical editing flow that they'd do from Wikipedia, rather than providing our own UX for it. This feature seems to provide a good balance between convenience and complexity, so I'd be OK to go ahead with it.

Making it configurable is not a bad idea, but I'm not sure it's really worth it either just yet, because:

  • We currently don't have a way to do user configuration in CH; we don't set cookies or even allow the user to log in, so there's some nontrivial preparation work to get the checkbox working.
  • Of course, the paragraph is already visible in the UI, and we also link to the section right above it. The green button does signify intent to edit, so I think it's reasonable to just have it start the edit UI.

/cc @Samwalton9 as we might need to coordinate some updates to training materials.

@eggpi
Copy link
Owner

eggpi commented Dec 20, 2021

... and also @Sadads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants