Adds an intentionally failing test to demonstrate that calling
Command::restrict( Shell:RESTRICT_NONE ) is broken.
Bug: T257278
Change-Id: I0c305ae6ca8e5811f3c7b87ad5892985de19314c
Adding 'normalize' module for stylesheet file exclusively carrying
normalizing rules for HTML elements and attributes targeted at
cross-browser bugs and inconsistencies.
'normalize.less' is heavily inspired by https://github.com/necolas/normalize.css v7.0.0
fine-tailored to only include MediaWiki specific rules and reflecting
browsers from our Basic (Grade C) support matrix.
Starting with sensible defaults:
- `body` already in use in Vector and MinveraNeue skin
- `main` already in use in MinervaNeue; fixing Vector IE 10-11 bug
- `hr` from normalize as `hr`s are in use in various skins and benefit from
cross-browser normalization
- `abbr[ title ]` from 'elements.less'
- `pre` etc. from 'elements.less'
- `sub, sup` from 'legacy.less' and in use by MinervaNeue
- `img` from 'elements.less'
- `::-moz-focus-inner` already in use mediawiki.ui and ULS
- `legend` already in use in MobileFrontend and numerous skins based on normalize.
Bug: T256092
Bug: T256520
Change-Id: I4601cc938f7a10dce4f643e22356f8c5a39e4ac9
Users should call MWDebug::getHTMLDebugLog() directly
or get it from the data provided by SkinTemplate
Bug: T256927
Depends-On: If4c7f66198e65546ebc15401d345fbf990cb9eb2
Change-Id: I14473388ca5a254cdf487620ad95eb4b00e97efc
Use OOUI instead of jQuery to toggle the edit form's watch-this
checkbox when the page's watch status is changed via the watchstar
link.
Because of this OOUI events will be fired, and the expiry dropdown
will correctly disable when the watch-this checkbox is toggled.
This is a follow-up to 4fa7d4d7a7
Bug: T248494
Change-Id: I6aa11d703a08f2f9b0dbbe29b0145ced3c5167b8
To simplify the upcoming refactor, mark all public fields that are
currently only used in core as internal
Bug: T247862
Bug: T20654
Change-Id: Ibee4ec1f2e750cc85d449b6e1f84d867a9604cfb
Screen reader just announced "x changes, y days", it didn't announce the meaning
of the button. We added an aria-label property to the button to make it
accessible to visually impaired audiences.
Bug: T246178
Change-Id: I89d3e434f87d7997b1200133a9286ad35556442a
In EditPage::showStandardInputs, where the hook is called, the $tabIndex
looks like it will always be an int, not a string.
Change-Id: If3bd9f628e29d078b524242f51f120a27f7ed35e
This reverts commit 4bc0dc348a.
Reason for revert: Dutch Wikitionary uses {{=}} for something else;
see https://phabricator.wikimedia.org/T91154#6276915 for details.
Revert for now so it doesn't disrupt next week's train, we'll add it back with a config var or some other mitigation.
Bug: T91154
Change-Id: I9f81c7b73a04d6c1d77b67ce311cc7e6d279eb8b
BlockUsers needs to know if there is a block stored in the database
against a particular user account. This is answered by
DatabaseBlock::newFromTarget.
Prior to this, the script called User::getBlock, which can return
SystemBlocks and CompositeBlocks too. These are not stored in the
database, so are irrelevant and would cause an error on attempting to
update them.
It also meant parameter types for BlockIpCompleteHook needed to be
changed to AbstractBlock in a302833fc3.
This changes them back to DatabaseBlock.
Change-Id: Iec90d4938e76d76ac1f5b1d1e9ffb736a58d5c53
Deprecate both variables, that have not been standardized to Wikimedia Design
Style Guide and are not part of WikimediaUI Base. They are exclusively used by
'anchors.less' mixin, which is going to be removed and Flow, the only
product that will continue to have an extension specific 'anchors.less'.
Change-Id: Ie0bd6403f906a172d606c18176cc60acc72b7662