New changes:
a8e0eef6d Simplify usage of dummy target
Local changes:
Simplify usage of dummy target, ceating an MWDummyTarget, extending
DummyTarget instead of mw.ArticleTarget.
Depends-On: I01a6860387087db8149c73793e9bd4294d33aea8
Change-Id: I227486159fe416c219e2c37a1d054201084fe285
"ORIGIN_USER_SITEWIDE" indicates "sitewide module generated from
user-editable files, like MediaWiki:Common.js". In this case the
JavaScript generated by this module is not directly editably by wiki
users. It includes localisation messages editable by users, but that
is considered safe because we correctly escape them when including
them in the JavaScript code.
Without this change, VisualEditor would no longer load in safe mode
(T185303) because this module would be missing.
Bug: T185303
Change-Id: I6d097ccbf1dc2462843219adcf96bf8313e30289
The duplicate header, especially the duplicate elements with identical
IDs, were difficult to handle for other scripts.
Now instead of hiding the entire wikitext diff, we only hide the
"content" rows but keep the header, and adjust our attributes on the
header back-and-forth when switching diff modes.
Bug: T192755
Change-Id: I3a6bb4730fefd81f533b786ec3b20241c4cb8d13
New changes:
d30ef0e92 [BREAKING CHANGE] Replace isForClipboard with tri-state clipboard mode
397279cf3 Use comment HTML helper in all tests
4613d34c0 Use CE rendering when showing comments in preview mode (e.g. visual diff)
b1ded0d27 Copy attribute values when building transactions
6d0be15f5 Localisation updates from https://translatewiki.net.
41b612148 Fully disable the surface before teardown
8cc1237f6 ve.ce.Surface: Control-drag should keep the dragged text in original location
099902ddb Use clipboard API if paste context wasn't all cleaned up
Bug: T170134
Bug: T192605
Bug: T193062
Bug: T193103
Bug: T193110
Change-Id: I3cf0a6e221766b6a52f3f3cb93279639abbeda7d
New changes:
38c403bba NodeInspector: Fix behaviour of getMode
ccf1ed957 Use current selection for selectionBefore in empty staging stack
5077edb1e build: Switch QUnit package from deprecated 'qunitjs' to 'qunit'
b39388db7 Update OOUI to v0.26.5
614ec16f2 Linear/TableKeyDownHandlers: account for table captions
5f101208e Update custom styles for format menu after OOUI changes
28c1296d0 Localisation updates from https://translatewiki.net.
Bug: T191878
Bug: T192163
Bug: T193098
Change-Id: I370494253290345961e1454b32385624cc4f36db
When we set up the new section title input and possibly set its value
(preloading from URL query, or from autosave), the "Save" button on
the toolbar must already exist, because we try to enable it.
Bug: T192901
Change-Id: I3bba86a8c8a9b81014d425db256ff49f06bdaea6
Equivalent to some existing copy-code in inspectors which handle raw wikitext.
Lets us shortcut content-sniffing with html/text content onPaste.
Change-Id: I27ded82a9675abdb3ee98ee29390e7079d11cf05
Ensures that auto-save data is cleared after
creating a new article, or restoring a revision.
Bug: T192770
Change-Id: I348b8522c1a935d7db1243ba8fcbd5b24e3383a2