Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.
Bug: T376276
Change-Id: I6b296c77f8a2f6f1a146972271b1fcb3360d0cc2
The converter is no longer needed now that Message and MessageValue
use the same internal format for the message parameters.
Depends-On: I625a48a6ecd3fad5c2ed76b23343a0fef91e1b83
Change-Id: I9f27d7e31be144e09ed3d0e0e858433477327b00
Exclude the whole lib/ve/* folder instead of the node_modules folder
The mediawiki ruleset sets exclude the node_modules folder in root
since version 19.0.0 (ab87d2eb60)
Change-Id: I585cc0524c179b2a9b472300a39d2d7c7b3ba383
This object just contained a pointer to the surface and dm,
and had one utility method.
Move the method to mw.editcheck, and pass around a surface model
or document model to other methods as appropriate.
Change-Id: Ie81d76dea2823b633328f982ee20027808bfc8e3
This method is highly specific to reference insertion. If we ever need
it for another check it can be moved back with a more specific name.
Change-Id: Ia629c8672281f33d45ea1fff6630af9bd331d80e
* Pass just the ve.dm.Document to shouldApplyToSection, instead
of the whole diff.
* Do the quicker range check first in getModifiedRangesFromDiff
Change-Id: I1bda3a77c1c51f50fd7baadaa3619cf6719a073a
New changes:
0010fb749 Localisation updates from https://translatewiki.net.
e838c053e Localisation updates from https://translatewiki.net.
6f4c0dcef Localisation updates from https://translatewiki.net.
c98f3a542 Follow-up I813c341cb1: Build node tree when empty
Bug: T376901
Change-Id: Ieea535cfa2b9c9c6960a949c3645256da87eca5d
Otherwise the changes to mw.widgets.TitleWidget in
Iec338e9f595b452c19ce8e74eb81339fbce11640 cause the test to fail.
To avoid making real API requests, use fake server instead.
Change-Id: I7ff705af79760e33200a2dfbfdd05138c18bb110
When loading the editor fails, getTarget() should return a rejected
promise. However, the rejection handler that logs the loading error
also accidentally converted the promise to a resolved one.
The easiest way to reproduce is to enable offline mode in your
browser's developer tools, then click "Edit".
Change-Id: Icf6ea14f4d4e3afcb6608f4c0c49b76c297bf9a3
New changes:
d17fb0017 Localisation updates from https://translatewiki.net.
6dc0db5eb Move attachedRoot from surface model to document model
86958d150 Find-and-replace: Add searchRange parameter
5229fb578 Follow-up I0837beaf9: findText: Ensure options exist before accessing
Change-Id: I4c6665ef8facb7e3032520df9fe93a38b7709edc
This makes translation easier and improves how the tags are displayed
in the recent changes / watchlist filtering interface.
Renamed messages:
* editcheck-falsepositives-link → tag-editcheck-references-activated-helppage
Depends-On: I67295d82f6eb866aa380eba1966c1c9dd75653e1
Bug: T372175
Change-Id: I6118416771b8e4cb3c27a25a158aab7dc9af5e4b