When a page is preprocessed for transclusion, sections are numbered
differently, and the 'T-' prefix indicates this. It can't just be
removed.
It seems that all of our other code can handle section "numbers" like
"T-1" just fine.
Bug: T246164
Change-Id: If19a2d48f94411a89525fb605169c7f8dd4b1797
Our client-side code doesn't use them, and they should not be needed.
ApiVisualEditor still returns those, and they are needed there; this
method used to be shared by both classes until 25afae342a.
ApiVisualEditorEdit still has 'basetimestamp' and 'starttimestamp'
input parameters.
Change-Id: I7108468df2ff20f05bd141cb617e4e0f90c027ce
New changes:
31fe99c3f Localisation updates from https://translatewiki.net.
This restores translations for the 'visualeditor-pagemenu-tooltip'
message, which was moved to the submodule.
Change-Id: I9095d3d5450cd3517d70d590fde568e4f44672b8
New changes:
b7c110646 Localisation updates from https://translatewiki.net.
3ee49173e Add missing localisation message
Local changes:
* Remove duplicate of the localisation message
Change-Id: Ic34c22a12befabd6d8e0b1ea411d18f1e5405cba
They were moved to mediawiki/core and renamed, and should have been
removed here, in 2ee9e62a4d.
* visualeditor-dialog-media-noresults → mw-widgets-mediasearch-noresults
* visualeditor-media-input-placeholder → mw-widgets-mediasearch-input-placeholder
Change-Id: I73e75bf6c6420af5774bc93e54a16f4360f2bcfe
New changes:
8a3e25b98 build: Updating acorn to 7.1.1
032a2520d Localisation updates from https://translatewiki.net.
ff82c0966 [BREAKING CHANGE] Remove ve.init.target lookup from TargetWidget
Local changes:
* Pass toolbarGroups explicitly form Target to TargetWidget
Change-Id: I4ff6f432412ab958f2858879b2b857278866350a
This should be a no-op as the inherited switchToWikitext
implementation will always call switchToFallbackWikitext
if 'source' is not passed as a supported mode (which it
isn't currently in MobileFrontend).
Change-Id: I213e7d54d158127b5c42bc05ff9ea2dececc42fe
Various buttons have a label on desktop, but only an icon on mobile.
We should still use the label for accessibility.
Change-Id: I2b49a80e174dc30ae997a69662643b28b428263a
Once upon a time, we added code to filter <style> and <link> elements
from the rendering of templates in visual editor, because attempting
to cut them would crash Chrome (T52043).
There are at least three reasons why that is not needed here:
* The preview is not editable text, so you can't cut from it
* The Chrome bug was fixed 7 years ago anyway
* We now use TemplateStyles in articles and they work just fine
The code was added here in 9dd638a5ab
without explanation, I think it was just done for consistency.
Bug: T212085
Change-Id: I0712e3a081f04d0b74cda47652fa6eb118dfe7b2
New changes:
bc21b2bff Localisation updates from https://translatewiki.net.
1bc2b2551 Localisation updates from https://translatewiki.net.
1240e4ead Avoid parentElement when possible
Change-Id: Ie5f34e72b5b6f3fb4e8341ae243b5eaa9c88b26e