Page MenuHomePhabricator

Cite-ve-referenceslist-missingref is shown when the reference is not defined at all
Open, Needs TriagePublicBUG REPORT

Description

It sometimes happens, usually by mistake, that only the wikitext for a reference name is copied, and the footnote's content is not defined anywhere else on the page.

For a simple example, see https://en.wikipedia.org/wiki/User:Amire80/ref-name-only

When the user clicks on the footnote number of such a reference, Visual Editor says: "This reference is defined in a template or other generated block, and for now can only be edited in source mode"

This is not correct. The reference is not defined in a template or other generated block; it's not defined at all. It would be far more useful if VE said this explicitly.

Event Timeline

JTannerWMF subscribed.

The Editing team can not prioritize this task at this time.

I don't think we can actually distinguish these cases without Parsoid producing some additional information.

Right now it generates the same HTML for that footnote as in this case, where it's actually defined by a template: https://en.wikipedia.org/wiki/User:Amire80/ref-name-only2

Izno moved this task from Defect backlog to External on the Cite board.

Should we merge this as a "duplicate" of T251842?

Actually, this can be a VE-specific task to address the VE UX part of it once T251842 is implemented and deployed .. so, I'll make this a parent task of T251842

thiemowmde changed the subtype of this task from "Task" to "Bug Report".