mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
220c98ab44
The plan is to change the outer …TemplateWidget (which contains a list of template parameter checkboxes) into a SelectWidget. But this requires the elements in the list to be a subclass of OptionWidget. Note this change does not have any effect, as of this patch. But this makes the following patches smaller and easier to follow. Additionally: * The OptionWidget class is already a LabelElement. No need to initialize this twice. This happens via the parent constructor now. * Remove CSS that is not needed any more after Idc5e048. This is not a FieldLayout any more. * Update some related code documentation. Bug: T285323 Change-Id: I92e8fd2bbece9e6c55083cdfe6ed7ad16a64d688
8 lines
164 B
JSON
8 lines
164 B
JSON
{
|
|
"extends": "stylelint-config-wikimedia/grade-a",
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"selector-class-pattern": "^(ve|mw|oo-ui|client|skin)-"
|
|
}
|
|
}
|