https://bugzilla.wikimedia.org/show_bug.cgi?id=49438
Web browser: ---
Bug ID: 49438
Summary: VisualEditor: Tools should be able to specify contexts
they can/can't operate in themselves
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Technical Debt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l