I, personally, think the fact an empty `new Uri()` call can fail with
an Error being thrown is a bug. But it seems others think this is a
feature (see Ib4dc568). Can we at least document it then? And then
somehow (not sure how) tell everybody who ever used this class to fix
their code?
Change-Id: I86ef1ccf90f9be9c61bc6a8312369ae09d622b0c
Leaving it in for better screen reader navigation though.
Also, in order for this to use 'mediawiki.mixins' renaming special
stylesheet from CSS to LESS.
Bug: T209253
Change-Id: I40ac43d0a4a379a71ce78f2bd1f62b828170f4d8
With `.oo-ui-fieldLayout-header` set to `padding-bottom: 0;` label
is visually appearing equally to other “normal” label and widget
combinations.
Change-Id: I1efa11301b631304ef1d9cc7613fc139e84fa9c0
Applying it on `table` as well results in issues when wanting
to override `border-radius` together with `border-collapse`.
It's not needed in a well-formed table as every child element would
need to reside within a `th` or `td` anyways.
Also the only other content carrying element `caption` doesn't receive
table's `padding` by default.
Change-Id: I5e8c9d47fab806b56e6d03f1611ddbf6d4ea8924
This adds a UI for blocking namespaces to Special:Block
and a namespacerestrictions parameter to the block API.
The number of namespace restrictions in a single block
is not limited as page restrictions are.
The checkbox allowing the blocker to specify whether
the target can edit their own user page is normally
disabled for a partial block, but is re-enabled if
the block is to the user talk namespace.
If the config $wgBlockAllowsUTEdit is set to false, the
checkbox will not appear, and the target will not be
able to edit their own user talk page if they are
sitewide-blocked, namespace-blocked from the user talk
namespace, or page-blocked from their user talk page.
Bug: T204986
Change-Id: I9e231ad109d7285486ec332b26780339592b8df7
LESS doesn't accept JS evaluation in PHP via `'@{arguments}'.replace`,
therefore we need to go back to manual escaping multiple comma separated
values.
Change-Id: I4c46afc012d804350ccee2cd5b1eed4e6ea61d8a
Reducing selector specificity by removing `table` from `.wikitable`.
All use cases seem to be covered by direct child `>` selectors anyways.
Bug: T214218
Change-Id: Iae532d6389348972a85404926aaa0c45de7e02e1
Reducing buttons to `frameless` buttons and reposition icons of
next and last page button to be symmetrically harmonious.
Bug: T214128
Change-Id: I1c0a621d7699b5fadc2559abdf6003a0db0aabae
Input fields should provide as much width as user input is needed or
in this case a little more to be aligned with inherently connected
calendar widget.
Bug: T213785
Change-Id: Id316af701cd054ed29603ffa38af9238a39cb50e
The boolean logic controlling the showing/hiding of widgets on
Special:Block could be expressed more simply. The logic is
becoming more complex due to partial blocks, so now is a good
time to rephrase it.
This removes safeguards against passing undefined to toggle,
so make sure none of the checks ever return undefined.
Change-Id: I1e0eb288db708be951fe5cf11f658725a38a7c4d
Code and integrity from <https://code.jquery.com/qunit/>.
Release notes at <https://github.com/qunitjs/qunit/releases>.
Highlights for the browser version:
- [2.7.0] Reporter: Remove cost of DOM size when
using "hidepassed=true".
- [2.7.0] Reporter: Use perf.now() for improved accurracy
of unit test durations.
- [2.7.0] Reporter: Make debugging tests in a browser
easier by adding timeline markers for DevTools.
Highlights for the npm package / CLI version:
- [2.9.0] CLI: Reduce dependency tree size
from 143 packages to 9 packages.
Change-Id: I38408d90765cd18d5dd6952b8b6b30cbfa0c7ed5
Also include sizing foundational variables to deal with `em` rendering quirks,
aimed to be replaced by central ones in future.
Change-Id: Iba65f68b233becba6054ca068a4cf7aaee0d8e4c
If partial blocks is not enabled, editing restriction widget
will not exist, so check before binding events.
Bug: T212808
Change-Id: I33fd7efdc24c026338e25d7c0751d31bc9a7baba