Page MenuHomePhabricator

VisualEditor: Allow users to set/edit {{DISPLAYTITLE:xxx}} in the page metadata panel
Closed, ResolvedPublic

Description

A limited rich text box, defaulting to page title.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=53566
https://bugzilla.wikimedia.org/show_bug.cgi?id=49076

Details

Reference
bz56868

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz56868.

This is more complicated than it looked. For now we might have to just accept wikitext (like the edit summary) instead of using a VE surface widget (like the reference dialog), because DISPLAYTITLE can do crazy things like accept templates.

(In reply to Alex Monk from comment #1)

This is more complicated than it looked. For now we might have to just
accept wikitext (like the edit summary) instead of using a VE surface widget
(like the reference dialog), because DISPLAYTITLE can do crazy things like
accept templates.

That works for now, though it's imperfect. :-)

Okays, turns out I hadn't read this properly and it's blocked on Parsoid recognising this as a meta item rather than a transclusion of 'DISPLAYTITLE'.

Change 129065 had a related patch set uploaded by Alex Monk:
Basic VE code for changing displaytitle as wikitext in metadata panel

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

Change 129065 merged by jenkins-bot:
Allow VE users to change displaytitle in advanced settings dialog

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