A notice already appears and informs the user of the visual editor that
they're not logged in if their session has ended. Showing an additional
error dialog informing the editor of this when saving changes is not
needed.
Bug: T345975
Change-Id: I20a904dbc6d3c2f0d08e4ceea27e35ee1b65bb71
preSaveChecksShown + preSaveChecksNotShown = preSaveChecksAvailable
allowing us to use simple stat counters to detect errors in check
generation.
Follow-up to 57daf35bd6
Change-Id: I0586b766b5beec3bd059c90875ad0e2d1f092fab
New changes:
cf83d253d Use safe access (hasOwnProperty) for selection stores
c2ee0773b alphabetize scripts in package.json
3206d1e9e fix jsdoc warning
682a9bc0a Handle right-click-delete in Firefox programmatically
435d81879 ve.dm.TransactionProcessor: Use ve.compare
70cce6bb0 Update OOUI to v0.50.3
227cfd31a i18n: Use localized digits in VE's find and replace dialog
4daaf826f Localisation updates from https://translatewiki.net.
4e34a2b05 Localisation updates from https://translatewiki.net.
a4186823b Localisation updates from https://translatewiki.net.
4d129d953 Update OOUI to v0.50.4
44e1bfb1f Localisation updates from https://translatewiki.net.
79dfba95c Localisation updates from https://translatewiki.net.
4a2e52396 Localisation updates from https://translatewiki.net.
cca20d203 Follow-up 79dfba95ce4: build: Update languages to add 'sjd'
c2c5b7a56 ve.ui.AuthorItemWidget: Fix color picker
9b5f854b6 Localisation updates from https://translatewiki.net.
62cbcaf56 Localisation updates from https://translatewiki.net.
b03c13815 Localisation updates from https://translatewiki.net.
be8847993 Localisation updates from https://translatewiki.net.
Bug: T220629
Bug: T368198
Change-Id: Ib2b1a5db75598f7cf627e6fbaf0c19f53b49c925
MediaWiki needs this even without VisualEditor so let's move it there.
Bug: T371702
Depends-On: I4dcfa3916a07e92565b5667adb2ead0115fdb438
Change-Id: I0562ea1e5bd28eabd3ef0bcd8372155da67bcd0c
This also resolves the bug but it hides the underlying issue on it
that's why I like to have this but after having
Ia7dd8076c8789ed04d3fb52a078c70561ee5c6f8
Bug: T371665
Change-Id: I7340829acbd2bf3fcccfb631848964e5338470b0
According to ECMAScript, .trim() and RegExp’s "\s" capture the same
characters, so I replace the initial "\s*" by .trim() to remove
whitespaces and line terminators at the beginning and at the end.
Bug: T371000
Change-Id: Id9188f97a3136b986b052b71cd4079c1109ea8ff
This can be reenabled once Cite changes are merged.
The disabled test is also updated in this patch so that it will pass
with the new Cite code.
Bug: T370512
Change-Id: I56b52c399d2c76689fdcb0bc7fd50a8c0ced28fd
Without this, wheneve VE is installed, test execution ends with the
address bar rewritten to Special:Badtitle, which affects reloads etc
and makes debugging anything else harder.
Bug: T250045
Change-Id: Ic453ae388c842369ff1cb1e84dcad4a8bbc7d54f
HtmlOutputRendererHelper::init() and HtmlInputTransformHelper::init()
have been deprecated.
This is a replay of Id63d93db801d0bfb3fdb4c69bf7dfeea4e68ea8f and
I8b5cd59f839446709ffd0ce1b78c1bba40195ae0, which got merged prematurely
before their Depends-On was merged.
Depends-On: I1e1213597c6be012f2bc024c2b370c968ff3b472
Change-Id: Ie762dc34523eed79bc537143394b04e64f004b53
I spent a couple minutes looking at this before I saw that we needed
`this.updateVisibility()` to only fire if the loop iterated at least
once.
Change-Id: I7d03f73a35e3ded539898effa064dc0e14ba595f