Just call the method after surface init.
Also move all the post-dm building code into
an #addSurface override.
Change-Id: Ie40baadfa6cd826a92f8fb7d928f4d995286f69f
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.
See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.
Change-Id: I6628c3faddd240024fa8f96967e3541e96ea0ff3
New changes:
3ea0c7621 Fix calculation of scroll restoration in mobile window management
87ee219fa Update selectionBefore every time breakpoint is called
aece1dbea Localisation updates from https://translatewiki.net.
Bug: T191878
Bug: T202516
Change-Id: I0812ecaac059bf304ca7cf8b450635e3cbc45ff2
New changes:
a80089a36 Add missing command help registration for HR tool
330311722 Define command group order separately
35ea5b8f0 build: Bump `grunt-css-url-embed` and `karma` to latest to avoid security issues
31b134668 Cursor into table captions if present, instead of the first cell
Bug: T201870
Change-Id: I4e3a946a992a07215a3af8351c3b54ceae664d40
MWTransclusionNode will preserve TemplateData <style> in its generated content.
Disable TemplateStyles stylesheets in the original page content, and reenable
them when the surface deactivates.
Remaining TODO: if multiple copies of a template with deduplicated styles are
on the page, and the one containing the actual <style> is removed, all will
lose their styling.
Bug: T197563
Change-Id: Ibd8939eef7d8eb532719f4ee0ce200600449ef81
Depends-On: Ia9f2afcdba5456238e3ef444c202c9b0c78838bf
New changes:
6911f2c33 GeneratedContentNode: make rendered element filtering overridable
874470c1b ve.ce.LinearSelection: Guard against node=null in getNodeClientRectFromRange
Bug: T197563
Bug: T202525
Change-Id: Ib1465a532bd0e5feaa3df61ea8ac61e7bf9872a8
New changes:
e2c338cfa Bump dependency versions
b6077ef74 Author appearance tweaks
3f9480f9a Localisation updates from https://translatewiki.net.
bfce500be build: Temporarily disable qunit testing in Firefox due to CI issues
564e48ad0 Reactivate mobile surface in onModelSelect for native selections
510506739 Blur activateElement when deactivating the surface
Bug: T147304
Bug: T200347
Bug: T201329
Change-Id: Ifbaf21819b862f8dcaa557d0453086529b88aa04
New changes:
f64698dbb Localisation updates from https://translatewiki.net.
13268e629 Reactivate surface on toolbar close
d55e19e90 Make invisible icon button unfocusable
31ca7c558 Follow-up Ib463485: Get rid of broken ve.ui.Surface#isMobile
Bug: T198912
Bug: T201329
Change-Id: I3603be4c3cd19fdf33060d815e90e73c18f380d0
New changes:
3a1d9b70a Update OOUI to v0.28.0
fcae61794 Fix icons broken by OOUI update
30df9c4e3 Deactivate the surface when the toolbar is active
Bug: T109529
Bug: T201329
Change-Id: Id2af11f4bca968eba964d8685baa3e2e15d208ca
New changes:
b1e14c16a build: Update eslint-config-wikimedia to 0.7.2 and simplify config
e7fd43cfb Move DOM selection from a block slug even if model selection is unchanged
Bug: T201599
Change-Id: I7e53da897f6cb4910a180ff86cae18982a9453e4
Many of the details of the behavior don't really matter, but
I suppose it doesn't hurt to document them.
We really want to test two things:
* When converting from DOM to model data, a <mwImageCaption>
or <mwGalleryImageCaption> is always generated, even if
DOM has no caption.
* Model data that doesn't have <mwImageCaption> or
<mwGalleryImageCaption> is nevertheless still valid and
converting it to DOM doesn't fail.
Follow-up to Ie82fb339f6bd8ae1b289235bf5402490722d9a7c.
Change-Id: I0a10351e9c1589afbee76d8a85f869987de3de22
New changes:
fa5d35054 Only re-use session token if docname matches
58d7cd280 Localisation updates from https://translatewiki.net.
d0716d8e7 Update files generated with new l10n language 'my'
2cc7a4423 Create unit tests for sequences
873fdd01e Upstream horizontalRule sequence and fix command
Local changes:
* Register unit test file for sequences
* Remove duplicate horizontal rule sequence
Change-Id: Ibc65cf5c086428bb0d13c8e2f2de5819e1e23d43
This padding needs to come out to an exact integer pixel value (14px),
otherwise things are off by less than a pixel and look ugly: F24664180
1em = 16px
0.875em = (14/16)em = 14px
Bug: T190596
Change-Id: Ieb292ed14e0b9205d15254667e97613fbf339260