Tools should be able to specify contexts they can/can't operate in themselves
Closed, ResolvedPublic

Description

Right now we use things like:

toolbarSubset = ve.init.mw.ViewPageTarget.static.getToolbarSubset( [
Can't have nested references
'mwReference',
Lists not properly supported by PHP parser
'number', 'bullet', 'outdent', 'indent'
] );

in ve.ui.MWReferenceDialog and ve.ui.MWMediaDialog

Instead, whether a given tool makes sense in a reference or image context (or in a subeditor in general) should be defined in the tool itself.


Version: unspecified
Severity: enhancement

Details

Reference
bz49438
bzimport set Reference to bz49438.
Catrope created this task.Jun 11 2013, 3:31 PM
Jdforrester-WMF changed the title from "VisualEditor: Tools should be able to specify contexts they can/can't operate in themselves" to "Tools should be able to specify contexts they can/can't operate in themselves".Dec 1 2014, 9:17 PM
Jdforrester-WMF closed this task as "Resolved".
Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF set Security to None.

Add Comment