Page MenuHomePhabricator

Ability to create sub-references with different details in Visual Editor (MMVP)
Open, Needs TriagePublic

Description

Note:

  • This is the very first implementation to lay the foundation for sub-referencing in VE.
  • The UI work is kept simple and will be improved in a later iteration.
  • If we find edge cases pertaining to this task, we will write them down.

User Story:

As a user of Visual Editor I want to reuse a reference and add different details to create a precise reference, e.g. with page numbers.

Scope:

  • Temporary button in the Reuse tab next to the existing references.
  • Use cases:
    • First time sub-referencing of an existing reference (the existing reference will be be given a name and become the parent reference (if it does not already have one) and a sub-reference is created with the parent ref name)
    • Second sub-referencing of an existing reference (only a sub reference is created with the parent ref name )

Not in scope

  • Reuse-dialog displays all existing sub-references in the article
  • sub-referencing an existing subreference is also out of scope for now.
  • Do not change any existing behavior
  • This task is not about references created by templates. Only refs that already show up in the reuse tab.
  • Moving the reference into the reference list
  • No changes to ref list.

Deployment:

  • This must be behind a feature flag

Event Timeline

Lina_Farid_WMDE renamed this task from Ability to reuse a reference with different details (MMVP) to Ability to create sub-references with different details in Visual Editor (MMVP).Fri, May 24, 12:32 PM
Lina_Farid_WMDE updated the task description. (Show Details)

Change #1037473 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Citoid@master] [WIP] Add option to extend a reference

https://gerrit.wikimedia.org/r/1037473

Change #1038814 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Cite@master] [WIP] Extract re-use logic into its own widget

https://gerrit.wikimedia.org/r/1038814

Change #1037473 merged by jenkins-bot:

[mediawiki/extensions/Citoid@master] Add a panel to extend a reference (MMVP)

https://gerrit.wikimedia.org/r/1037473

WMDE-Fisch updated Other Assignee, removed: MareikeHeuerWMDE.
WMDE-Fisch subscribed.