mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 10:48:42 +00:00
Merge "Ignore non-checkbox fields for page saving dialog"
This commit is contained in:
commit
7d3be3f3a6
|
@ -121,6 +121,13 @@
|
|||
accesskey = null,
|
||||
title = null;
|
||||
|
||||
// Non-checkbox fields are permitted in the 'checkboxes' definitions (since MW
|
||||
// core 4fa7d4d7), but VE doesn't yet support them.
|
||||
// @TODO Remove this and properly support watchlist expiry and other widgets.
|
||||
if ( options.class !== undefined && options.class !== 'OOUI\\CheckboxInputWidget' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// The messages documented below are just the ones defined in core.
|
||||
// Extensions may add other checkboxes.
|
||||
if ( options.tooltip ) {
|
||||
|
|
Loading…
Reference in a new issue