### Objectives
* Editors want Wikitext to be readable. Having named (instead of numeric) references helps with this.
* When using a reference at multiple places, editors want its name to be memorable.
* When copying references from another article or a sandbox, editors don't want to deal with 'name collisions' that occur due to the numeric reference names.
### Approach
* Always auto-generate a name, but let the user edit if they like.
** This should be done for both Automatic and Manual references
* Provide more space in the Re-use section for the reference names (as they might be longer now)
* Add an "{icon cog} Options" header to Automatic citations (similar to the one present in Manual) and show the reference name there.
#### Mocks
|More space for named references|Add reference name under the {icon cog} Options menu|Add an {icon cog} Options menu is all references|
|--|--|--|
|{F31631374,size=full}|{F31631376,size=full}|{F31631378,size=full}|
### Questions
* Is auto-generating the name an option? Can we do this reliably across languages? (See [[https://phabricator.wikimedia.org/T92432#4722692|Bartosz's comment]])
* Can reference names be edited later? (See [[ https://phabricator.wikimedia.org/T52568#4759086 | Bartosz's comment ]])
### Resources
* [[ https://www.mediawiki.org/wiki/Citoid/Zotero%27s_Tech_Talk | Automated citations using Zotero ]]
* Strategies for auto-generating names (T92432):
** [[ https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2019/Citations/VisualEditor:_Allow_references_to_be_named#Discussion | Like BibTeX ]]
** [[https://phabricator.wikimedia.org/T52568#570638|Use information from the Cite template]]
** [[ https://phabricator.wikimedia.org/T92432#1862609 | Create a hash ]]
** [[https://phabricator.wikimedia.org/T92432#4722556|Conditional logic]]
***
**Acceptance Criteria:**
* Consult [[ https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2019/Citations/VisualEditor:_Allow_references_to_be_named | existing wish ]]
* Determine potential UI experience for new feature
* Provide mockup examples of UI recommendations