Page MenuHomePhabricator

Sub-reference support in VE
Open, Needs TriagePublic

Description

T100645 proposes a way to make it easier for readers and editors to understand the sources used in articles by creating a way to refer to different pages of the same work when adding references to an article. The implementation of the above will affect the experience of contributors editing using the VisualEditor. This task is about defining what the experience for contributors editing in VE will need to be before the first version of the new sub-referencing feature is deployed. (This project is somewhat unique in so far it introduces new functionality by way of new wikitext syntax which cannot be "rolled back" thus the need for the above "Requirements" to be met before anything is deployed.)

Requirements

  • Work with references unchanged:
    • [A user can create, edit and delete a reference that can be reused i.e. name a reference and edit its name.]
    • A user can create, edit and delete a child reference i.e. reuse a reference.
  • Differentiation between reference and extensions:
    • As someone editing a sub-reference in VE, it should be clear you are editing a reference that has a relationship to other reference(s)
    • As someone editing a sub-reference in VE, it should be clear to you what reference said sub-reference relates to.
    • As someone editing a sub-reference in VE, you should not be able to accidentally "orphan" sub-references by deleting their parent reference
    • As someone editing in VE, you should not be able to mistakenly break/delete parent references by attempting to edit the contents of a sub-reference or change their group
  • Display sub-references as in frontend:
    • An article's sub-references should appear to VE users the same way they appear to users viewing that article's sub-references in read mode.

Incremental implementation

  1. Display sub-reference in relation to parent (similar to frontend) in VE: T247921: Ensure subreferences displayed in VE are visually consistent with read mode
  2. Display full reference in popup dialog in VE (see also T239228: Make the ReferencePreviews feature compatible with sub-references (Cite Extends))
  3. Add info about related references in edit dialog: T247924: Display notice that a parent reference has subreferences in VE pop up and T247922: Display parent references of subreferences in the VE pop up and wizard
  4. Display sub-reference in relation to parent (similar to frontend) in re-use dialog
  5. UX needed: Add options to create new sub-references in VE (edit dialog, re-use dialog)
  6. UX needed: Find solution for deletion of parents (display warning, forbid deleting, move to reflist, etc.) See T247925: Find solution to avoid "orphaning" a subreference when a parent reference is deleted in VE.
  7. UX needed: Find solution for group handling (can sub-references have groups independent of parent? How to handle changes?) See also T247929: Find solution to avoid mistakenly breaking link between parent and subreference in VE.

Links

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
ResolvedNone
ResolvedNone
ResolvedNone
OpenBUG REPORTNone
Openawight
OpenNone
OpenNone
OpenNone
ResolvedNone
DuplicateNone
ResolvedTobi_WMDE_SW
OpenNone
OpenNone
Resolvedawight

Event Timeline

ppelberg moved this task from 📚 Backlog to 📢 To Do on the Editing Design board.

Adding Editing Design so @iamjessklein can review ahead of tomorrow's meeting.

ppelberg set Due Date to Feb 27 2020, 1:00 AM.

Update: 3-March

Below are notes and actions items from our 27-February meeting with WMDE.

I am removing the "⚠️ Please note: the requirements in this section are not finalized." disclaimer from the "Requirements" section of the task description considering we (WMDE Editing) finalized these requirements when we met last week.


"Requirements" discussion notes

  • WMDE and Editing agreed the requirements listed in the task description will be met before the sub-references feature is rolled out on any production wikis (approx. timing: mid-April) with one exception (see below).
  • While WMDE and Editing agree with this requirement – As someone editing a sub-reference in VE, you should not be able to accidentally "orphan" sub-references by deleting their parent reference – we did not determine an approach for the initial user experience we think will fulfill this requirement.

Next steps as it relates to "Requirements"

  • WMDE to explore and share potential user experiences for fulfilling the requirement mentioned in the discussion notes above: As someone editing a sub-reference in VE, you should not be able to accidentally "orphan" sub-references by deleting their parent reference
    • One idea that was discussed: show a hint in the reference pop-up that alerts contributors that other (read: sub-references) depend on the reference (read: parent reference) they are editing.
ppelberg removed a project: Editing Design.
ppelberg updated the task description. (Show Details)
ppelberg updated the task description. (Show Details)
ppelberg updated the task description. (Show Details)
ppelberg added subscribers: thiemowmde, Lena_WMDE.

hey – @Lena_WMDE, I'm boldly assigning this task over to you based on the outcomes of our meeting last week (see below).

Although, if you did not expect this, please let me know and we can figure who this task's proper owner is for now.


Update: 3-March

Next steps as it relates to "Requirements"

  • WMDE to explore and share potential user experiences for fulfilling the requirement mentioned in the discussion notes above: As someone editing a sub-reference in VE, you should not be able to accidentally "orphan" sub-references by deleting their parent reference
    • One idea that was discussed: show a hint in the reference pop-up that alerts contributors that other (read: sub-references) depend on the reference (read: parent reference) they are editing.

@ppelberg, @Lena_WMDE: The Due Date set for this open task is three months ago. Can you please either update or reset the Due Date (by clicking Edit Task), or set the status of this task to resolved in case this task is done? Thanks!

@ppelberg, @Lena_WMDE: The Due Date set for this open task is three months ago. Can you please either update or reset the Due Date (by clicking Edit Task), or set the status of this task to resolved in case this task is done? Thanks!

Due date removed. Thank you for the bump, @Aklapper.

lilients_WMDE renamed this task from Draft requirements for sub-reference support in VE to Sub-reference support in VE.Apr 20 2023, 12:11 PM
lilients_WMDE added a project: Epic.
lilients_WMDE updated the task description. (Show Details)