Add a check of `$diff->getTitle()->getNamespace()` to ensure early
return on NS_SPECIAL pages.
Bug: T336582
Change-Id: I251db11e8cb5b785744ee2c111d20a346937b78c
New changes:
0e2f9e80a Localisation updates from https://translatewiki.net.
547d1443d Replace toolbar dialog shield with pointer-events: none
35eb0ee45 Always give ToolbarDialog's a background
895f87436 Update jquery.uls data from upstream
41b789849 Pass selection to scrollSelectionIntoView, use in FindAndReplaceDialog
Change-Id: I0c6b78a35416680a135bb75a2bfce9b3d8fc1bfc
The DifferenceEngineBeforeDiffTable hook is run when viewing a
diff after switching from visual to source editing, but the
mode selection widget shouldn't be shown then.
Bug: T324759
Change-Id: Ieb8a1b77928201a45635af46635b902cac01a36d
New changes:
c719ac984 Localisation updates from https://translatewiki.net.
50a3ef04b build: Updating engine.io to 6.4.2
761bbc83f ve.ce.BranchNode: Only add browser support CSS when needed
a00eb470b ve.ce.BranchNode: Limit Firefox image hack to versions <69
Change-Id: I6a93c965e85bffa4f58df1fcc05798569e9a547e
Visual editor is not in beta, and this preference is not temporary.
Change the message key to avoid outdated on-wiki overrides.
Unfortunately the internal preference name still has "betatempdisable"
in it. We should investigate renaming it later.
Bug: T197282
Change-Id: If1475a18474e85cd3a260224c738d087d472af70
New changes:
73ea114fa ve.init.Target: Fix actions toolbar teardown compatibility
fd1d6809f Update eslint-config-wikimedia to 0.25.0
36be98960 WindowAction: Allow users to specify a different fragment to the one currently selected
Bug: T335469
Change-Id: I53ee84bb7d19611ac19b949001b06e1769b3e13b
The diff mode selector is now also being returned in the HTML
from the VisualEditorEdit API, but is already implemented
separately. This change just removes the element from the API's
HTML; it is perhaps not the cleanest, but it's not too far off
what is already being done for action=diff, and we want to get
a fix out for this bug as soon as we can.
Bug: T324759
Change-Id: I830b623963111f430640dd4d9a94639f753e4cda
The `preload` parameter currently does not work with i18n
messages, as pages representing those messages are known, but
do not exist. Resolve this by running any NS_MEDIAWIKI page
through wfMessage() first.
This feature will be used by Personalized praise in GrowthExperiments,
which requires the preload from i18n messages capability. As a benefit,
it also makes it easier to create i18n'ed preload-based systems
(one can create MediaWiki:Foo, MediaWiki:Foo/cs and MediaWiki:Foo/de);
MediaWiki will select the best language version automatically.
MediaWiki core equivalent is uploaded as
I693bcaf71d7b8557c63538a426d7a6bd4c3edf3d.
Bug: T330337
Change-Id: I961ff7ae2263e61161e686107d80bdafa3fe3c32
Follows-up Ia6cdb85d33d2b3e0e (c895c60907) from 2018. Was added to
support Chrome <= 64 within WMF CI at the time.
Change-Id: I870de7d148395926d60d8c360f8cae19ac7c4573
As temporary users will not have access to user preferences (T330815),
use cookies or localStorage to save them, like we already do for
logged-out users.
Also add some comments to point out where we intentionally distinguish
logged-out and temp users.
Bug: T332435
Change-Id: Ic83dd8bc8bc107f603a9b0340bd9e2bcaad8ff5a