Page MenuHomePhabricator

Add an option to specify a name in VE's basic reference form
Open, MediumPublic

Description

Value proposition

Users who use VisualEditor for adding citations are currently not able to specify a name for a reference. VE auto-generates numbered references (:0, :1 ...). This is problematic because the reference names are not meaningful and hard to re-use. The problem mainly affects users who use Wikitext Editor or switch between the two editors often.

For example, a reference such as https://www.nytimes.com/2019/04/08/us/wikipedia-harassment-wikimedia-foundation.html would be given a name like nyt-20190408 or nyt-wp-wmf which can then be reused by just specifying the reference name where a user wants to reuse it instead of filling in the citation template all over.

Note that VE currently only exposes names for references under the "Re-use" tab under "Cite":

Screen Shot 2019-05-07 at 11.44.33 AM.png (966×936 px, 246 KB)
.

Proposed solution

There are a few different things we can do here. After a discussion with Moriel and Ed Sanders, here's our current plan of action for this:
Step 1. Add a text input for "Name this reference (optional)" to the Basic form for references in VE

Screen Shot 2019-05-07 at 11.37.49 AM.png (534×852 px, 79 KB)
image.png (778×1 px, 114 KB)

Step 2. (will be a new ticket) Add a link for Advanced in the footer to the template editor when someone edits a reference that links back to the Basic form so users can edit the reference. This part needs more thinking and fleshing out.

Mock

TBD

Needs QA?

YES.

Event Timeline

Niharika created this task.

Why is this an entirely separate task to those proposed in the community poll?

Why is this an entirely separate task to those proposed in the community poll?

It's not. This was wish #5 in the Community Wishlist Survey.

Why is this an entirely separate task to those proposed in the community poll?

It's not. This was wish #5 in the Community Wishlist Survey.

So it should be linked? :)

Why is this an entirely separate task to those proposed in the community poll?

It's not. This was wish #5 in the Community Wishlist Survey.

So it should be linked? :)

@Izno From that page? I will do that soon. There might be a dedicated Phabricator board or an Epic ticket about this. I created this to capture details while we were having a verbal discussion in our team meeting.