This patch promotes a consistent design decision across projects in
MediaWiki core, extensions, and skins. The darker red color meets the
W3C Web Content Accessibility Guidelines (WCAG) at Level AA that text
or images of text must have a contrast ratio of at least 4.5:1 (or 3:1
for large text).
Bug: T343239
Change-Id: I0f8db861b029c61d524416379a1a842f5137c8cb
New changes:
3766b45aa Localisation updates from https://translatewiki.net.
92c5ae023 Localisation updates from https://translatewiki.net.
88f619bc0 Add quotes to rel="stylesheet" in demos
8f877e995 ve.ce.Surface#deactivate: Don't blur after timeout if surface re-activated
Bug: T360045
Change-Id: I278aac22bf8bc928c4c136b7cc9640108bbffc3b
When EditCheck is the first item in the menu, make the
anchor pink as well.
Relies on the :has selector in modern browsers.
Change-Id: I66e760742da25b3797529b0c65a8d90871a0a1da
Small fix to support new HTML markup for headings, which will soon be
used by Parsoid page views (T269630) and by the old parser (T13555).
This fixes two issues that were only apparent when using
`$wgVisualEditorEnableVisualSectionEditing = true`:
* When starting an edit from a section edit link, the viewport was
not scrolled to align with the clicked heading and thus didn't
provide a smooth transition into edit mode.
* If the editor was started from a section edit link, then when
leaving the editor without saving changes, the viewport would jump
to the top of the page instead of returning to the clicked heading.
This is similar to change If71d4d8292 in MobileFrontend editor.
Bug: T13555
Change-Id: I89f8abac521e635f8eaa782703bdb6f6323098b0
This causes saveWorkflowBegin/saveIntent to fire as soon as the save
button is pressed. If edit check is enabled, it will be part of the save
workflow in timings.
Mobile was already behaving this way.
Bug: T352130
Change-Id: I3942fd63057c97365d28a443bcc5ac1cd43a8ae6
Avoids requiring a dependency on the BetaFeatures extension.
Tell the phan config to include the BetaFeatures checkout so it'll pass
on that file, though. (Same as DiscussionTools.)
Change-Id: I258d3be59ea9cf0a798d93f0f8b1fd18a455d45a
New changes:
12a9f5a52 Localisation updates from https://translatewiki.net.
69a70c7a5 Localisation updates from https://translatewiki.net.
34d8ee042 Localisation updates from https://translatewiki.net.
8d4714dce ve.collab: Fix alignment of userList group
083cc4cb4 ve.collab: Change icon and label of tool, move to help group so always visible
140f34b16 ve.collab: i18n for automatic usernames
3ae6c3b1f ve.collab: Use query string for collabSession
add402f02 ve.collab: Apply strikethrough after toolbar is re-setup
fcea35ece ve.collab: Remove sideloading infrastructure
501dafff3 ve.collab: Move copylayout to host dialog
cf7feefc0 ve.collab: Resize toolbar properly after adding authorList
00520124a ve.collab: Use platform username over auto-generated one
Deleted files:
- demos/ve/ve-collab-sideLoad.js
Change-Id: Ie9c1519c045bea7ee0a494482c676c3759474063
This patch promotes a consistent design decision across projects in
MediaWiki core, extensions, and skins. The darker red color meets the
W3C Web Content Accessibility Guidelines (WCAG) at Level AA that text
or images of text must have a contrast ratio of at least 4.5:1 (or 3:1
for large text).
Bug: T343239
Change-Id: I517a8f5bee4f62267b37e66a8da7500ca547217e
HtmlOutputRendererHelper will throw HttpErrors when parsoid reports an
error. We catch these in ApiParsoidTrait, and convert them to action API
error responses. When doing so, we should preserve the additional error
data included in the HttpError.
Bug: T356157
Change-Id: I8c89468c59314069025537e6807ccbc46dbe13c6
1. The module always exists because this file is only
loaded from MobileFrontend.
2. If the module doesn't exist, mw.loader.using will
just reject anyway.
Change-Id: I6724078b362782813576cad2459e7b7903655e5e
Checks the URL against SpamBlacklist, and the new
BlockedExternalDomains list in AbuseFilter.
Bug: T349261
Change-Id: I39896ae0d59db4aa918b08b3b2eaacb52bfe4a03
New changes:
312c00e61 Localisation updates from https://translatewiki.net.
e2e1ef8d3 build: Updating follow-redirects to 1.15.5
f91e074c6 ve.dm.Node: Add test coverage for resetAttributes
bd1bffcc1 Localisation updates from https://translatewiki.net.
f71d3b4ff Localisation updates from https://translatewiki.net.
4a15803e4 Reset wrapper paragraph padding as well as margin
Bug: T358248
Change-Id: I32bef113fa2e9863922a6fb07d9f7d43c955422e
This doesn't make much of a difference, but I think it is more
correct. False is returned when the key cannot be found in the
cache. This is an expected situation here (hence the "try"). Null
can only be returned when null was stored in the cache before. This
can't happen here, as far as I understand the code.
Change-Id: I82f24e9f7234d0ec79f8223cd29e3df6e83f7f7b