mediawiki-extensions-Visual.../modules/ve-mw/ui/pages
Thiemo Kreuz 0f309f5b90 Hide "required" indicator in new sidebar
The previous patch I15aa2c0 (approved by UX) was incomplete. The
required indicator was still shown, depending on the skin.

This patch also reduces the amount of generated HTML when it
doesn't have an effect anyway. At the moment an empty <span></span>
is generated for _every_ parameter in the dialog. That's potentially
hundreds. But the element is only needed for deprecated and
(in the old UI) required parameters.

A missing space is added while we touch this code anyway. The
missing whitespace between label and indicator icon is confirmed to
be a bug by UX.

Styles that are the same on all skins are moved to the .css file
that's loaded for all skins. Missing word-wrapping for overly long
template parameter names (on the right side of the dialog) is added.
The position of the indicator icon was broken on Minerva the moment
a parameter name is a bit longer. Fixed by replacing `inline-block`
with `inline`.

Bug: T290492
Change-Id: Ie346d88969cec2effaf90d328d08567ab7b7bf75
2021-09-14 18:05:11 +02:00
..
ve.ui.MWAddParameterPage.js Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
ve.ui.MWAdvancedSettingsPage.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWCategoriesPage.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWLanguagesPage.js Document and use mw.Api parameter defaults 2021-07-12 09:13:59 +02:00
ve.ui.MWParameterPage.js Hide "required" indicator in new sidebar 2021-09-14 18:05:11 +02:00
ve.ui.MWParameterPlaceholderPage.js Split focus handling from add/remove parameter events 2021-09-11 17:47:02 +00:00
ve.ui.MWSettingsPage.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.ui.MWTemplatePage.js Fix missing and flipped template dialog help messages 2021-09-09 16:11:00 +02:00
ve.ui.MWTemplatePlaceholderPage.js Do not pass Message object to …DismissibleMessageWidget 2021-09-03 15:21:36 +00:00
ve.ui.MWTemplatesUsedPage.js Convert $.Deferred() to ve.createDeferred(), except in preinit 2019-11-02 13:06:28 +08:00
ve.ui.MWTransclusionContentPage.js Use the "wikitext" for content in transclusions 2021-08-17 13:06:49 +02:00