When first reference is added, add reflist automaticaly in VisualEditor
Closed, DuplicatePublic

Description

Its kind of complicated to explain newbies, that they should create also reference list if they want to see or add references. In fact in normal practice references are automatically on the end of the text (scientific articles, books) and just numbers in the text. In Wikipedia its mostly vice versa and thus confusing. With this feaute it would ease the work of not only newbies and their mentors, but also skilled editors, who may need less "clicks".

Juandev created this task.Dec 8 2016, 2:51 PM
Restricted Application added a project: VisualEditor. · View Herald TranscriptDec 8 2016, 2:51 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Most wikis use a template for ref lists, which is very annoying.

Perhaps VE should show a warning instead, when the first reference is added, like "Please remember to add a reference section." (+ instruction about how to do so) that should persist until the user actually inserts a <references /> section, either directly or via a template.

Maybe a conf var can be created with text that should be added. But maybe can be a problem the location of the tag/template. This location may (and do) differ from project to project.

Most wikis use a template for ref lists, which is very annoying.

Well, Czech wiki not. So what about to do it locally?