VisualEditor: Add support for editing templates' parameters as DOM elements ("visually"), including supporting nested templates
Open, NormalPublic

Description

A lot of infoboxes et al - the one on https://en.wikipedia.org/wiki/Fulgencio_(Modern_Family) comes to mind - have infoboxes /within/ the infoboxes that need editing. I'm not sure what the answer is here - it feels wrong, somehow, to offer an infinitely deep template inspector inside a template inspector inside...etc, but I can't think of another solution short of manually going around making the template namespace make sense or accepting that users will always have to learn markup, just not immediately.

Details

Reference
bz50355
bzimport raised the priority of this task from to High.
bzimport set Reference to bz50355.
  • This bug has been marked as a duplicate of bug 50182 ***

Re-wording; this isn't a duplicate of bug 50182, which is about non-dialog editing of templates.

Jdforrester-WMF lowered the priority of this task from High to Normal.Jan 15 2015, 12:35 AM
Jdforrester-WMF set Security to None.
gpaumier removed a subscriber: gpaumier.Feb 10 2015, 5:13 PM
Ltrlg added a subscriber: Ltrlg.Jun 8 2015, 11:09 PM

Current thinking about switching modes:

Basic appearance
Editing with support
Switched to 'wikitext' mode

@Ironholds the page has become a disambig since you filed. Looking at the history were you linking to https://en.wikipedia.org/wiki/Fulgencio_(Modern_Family) originally?

I have literally no idea, it was in 2014.

@Ironholds the page has become a disambig since you filed. Looking at the history were you linking to https://en.wikipedia.org/wiki/Fulgencio_(Modern_Family) originally?

I fixed the link.

Comments from discussion about this:

  • Wikitext button should look depressed when used. MW theme needs this to be improved mode generally. Need to avoid mode error
  • Important to remember that the types aren’t for validation, just hints – don’t frustrate the user if they want to over-ride, make it easy to replace.
  • Styling of wikitext mode needs improving.
  • Need to separate “allowing to use VE” from “helping with type hinting”
  • Flow has this issue too (switching mode) – share feature design?
  • Edge case (partial wikitext) for not being able to use VE isn’t very common, we believe?
  • One switch for the whole dialog?
    • Issues?
    • In Advanced mode? (alongside multi-template transclusion editing)
  • Possibly get rid of the (i) too, to simplify the clutter around boxes?

Wikitext button should look depressed when used. MW theme needs this to be improved mode generally. Need to avoid mode error

Would a ButtonSelectWidget make sense here?

Krinkle removed a subscriber: Krinkle.Mar 8 2016, 10:02 PM
Jdforrester-WMF renamed this task from VisualEditor: Add support for editing templates' parameters as DOM elements, including supporting nested templates to VisualEditor: Add support for editing templates' parameters as DOM elements ("visually"), including supporting nested templates.Sep 13 2017, 6:27 PM