Page MenuHomePhabricator

VE should recognize when a page already has pageprop disambig from a template
Open, LowPublic


VE's 'Page settings' for "This is a disambiguation page", should recognize (add the checkmark) when an existing template on the page already adds the _DISAMBIG_ magic word.

E.g. at
the {{disambig}} template has successfully added the magic word, per
but the checkbox is unmarked:

This might lead to people accidentally checking the box, thinking they have to do both.

Possibly related:

Event Timeline

Quiddity created this task.Jan 19 2017, 8:58 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 19 2017, 8:58 PM

Is it actually necessary to show that checkbox at all? Most if not all wikis set the property via templates, so normal pages actually never should use the __DISAMBIG__ magic word, and thus the checkbox never should be needed.

Just to add a few numbers: In de.wikipedia 3 articles had the __DISAMBIG__ keyword, all of these were added via VE, and all of these were wrong.

TheDJ added a subscriber: TheDJ.Mar 8 2018, 3:04 PM

Perhaps we need to add flags like TOC , DISAMBIG and other behaviour switches into the metadata of the template usage as annotated by Parsoid, in order to at least be able to detect that these are already being added by a specific template call ?

That still won't help you find an appropriate template to for adding the behaviour, but at least will avoid you from adding it when not needed ?

Deskana triaged this task as Low priority.Aug 27 2018, 1:22 PM
Deskana moved this task from To Triage to Freezer on the VisualEditor board.
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptApr 26 2019, 4:12 PM