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
The enrollment happens in ArticleTargetLoader so that the bucket will be
set for init logging.
Bug: T342930
Depends-On: I9c7c0fb52a6ec68609df6b518c7d35ddd98a95bf
Change-Id: I03c8dc8beb2eb267c052b856a30343ecab3a7657
New changes:
a28d52ee0 ve.ce.Surface#drawSelections: Always set class attribute
0199cbea0 Localisation updates from https://translatewiki.net.
804d94dbd Zero out padding in source mode paragraphs as well
Bug: T352875
Bug: T355805
Bug: T356093
Change-Id: Icc6340ad48ff18ae156225d2abe41e812274aabd
The HookRunner class is a lightweight class and not designed to be a
service, the needed HookContainer should be injected instead and a hook
runner created when needed.
The overhead from the service wiring is the same as using new objects
when needed.
This follows practice from core and the documentation in
core/docs/Hooks.md in the section "Hook runner classes"
Change-Id: Ib42281dfae8a5a260005d82ed3bb7da12e1b645e
Instead of inserting the editSwitch menu manually to the WikiEditor
toolbar, use the 'secondary' section which is already aligned to
the right.
Bug: T308423
Depends-On: Iff6d80628ebb5ec5685136fa02c2345eb5b49d42
Change-Id: Ic307f9dc7ad976862c8d8c6551ed29e6071f655f
New changes:
c926791f8 Localisation updates from https://translatewiki.net.
1bddfacb7 Localisation updates from https://translatewiki.net.
71aef21f2 Localisation updates from https://translatewiki.net.
144c989be Localisation updates from https://translatewiki.net.
9aaec7c45 Localisation updates from https://translatewiki.net.
b8f8b95e3 Localisation updates from https://translatewiki.net.
4a38cd94c build: Update languages to add 'cv' and 'mag'
49d98ff58 Update OOUI to v0.48.4
097627de6 build: Upgrade svgo from 3.0.5 to 3.2.0 and re-crush
907ecc317 Localisation updates from https://translatewiki.net.
59920d034 Localisation updates from https://translatewiki.net.
b37194f0e Rebaser: Improve export output of checklists
cf93e0a74 Delete deprecated utilities and methods (1)
1f91e0220 Localisation updates from https://translatewiki.net.
473d74ad3 WindowAction: Wait for 'closed' promise before re-activating
8ba6db852 ve.dm.Node: Add a "resetAttributes" mode to getCloneElements
44cbaef22 Localisation updates from https://translatewiki.net.
7c2c7b262 CheckListItemNode: Use handlesOwnChildren to inject checkbox into text wrapper
d606206fd Test: Create ce(Wrapper)Paragraph helpers
c47f4b072 Tests: Use existing CE HTML helpers
3d08f0414 Tweak slug animation values
Bug: T355889
Change-Id: Id6cb9b81c39427e69ca4a70dbb389de0704841e0
As mentioned in the ticket access to this library is now
deprecated and consumers should require the module. The existing
method is replaced with the method in the migration table in the
Phabricator ticket.
Bug: T348807
Change-Id: I72a5242399d2cd04b5c9fbee947dc59d94c0ba7c