Replace current, sectioned, order of link inspector suggestions
(existing, redirect, disambig) with order from API.
Reduce number of matches to 5, and show new page suggestion last.
Bug: T93698
Change-Id: Ida887d889730d7749041942636d24e181c335697
New changes:
a739a43 Move setDocument call from ve.dm.Document up to ve.Document
170bc6b bin: Enable 'set -e' and 'set -u' in bash scripts
Change-Id: I5b8767f9ff311e1ffca41839e17c88b72dc888bb
This is no longer needed, as VisualEditor now loads the content
from the /api/rest_v1/ entry point at the main project domain.
This reverts commit c741db5378.
Bug: T97500
Change-Id: I9b0dba58484884cdf3c7917c633b9815de4c9f92
* set -e: Abort on error.
* set -u: Emit error for undefined variables.
There was one case of unconditional access of a possibly
undefined variable in listRecentCommits.sh. Fixed by replacing
the old "x$x"="x" hack with an explicit emptiness check. The hack
is needed when supporting ancient non-bash shells, but this script
explicitly invokes a bash environment which 'test -z'.
Change-Id: I41a1c0d1bd57b5e241b83224096d32876fd913af
Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.
Bug: T97410
Change-Id: I20cc23390f02b5d39b379fc985a7a6b601f3323e
New changes:
d58157f Localisation updates from https://translatewiki.net.
a0029a2 Localisation updates from https://translatewiki.net.
d834fa4 ve.utils: Rename supportSplice to supportsSplice
15f48c3 Test language annotation
4d903b1 Add tests of other textStyle annotations
550b0db Add missing close tag to tests
167e998 Add unit tests for CE HTML
e02c9c7 Add test for annotation without nodeName
749a2c5 Test direction- and language-only annotations
584a5d2 Create unit tests for createDocumentFromHtml
7a9bec2 Add unit tests for preservation of <html> tag attributes
345f2be Update OOjs UI to v0.10.1
Change-Id: I5d93ccad7c19d16eeecf313ea53815356ba9c36b
The old code in ve.init.mw.Target.static.fixBase was mostly
moved to ve.fixBase(), and the new ve.init.mw.Target.static.fixBase
contains MW-specific logic on top of that. This allows us to get
rid of the base fixing logic in onLoad().
Depends on I607fa579733 in VE core.
Change-Id: I42dfd4b90e86eb67d0111fffafc18e1152249610
In the template dialog, keep the parameter search widget expanded
with all parameters showing if it was already expanded once.
Also keep the parameter list available after inserting each parameter
instead of asking the user to click the add details repeatedly.
Bug: T95696
Change-Id: I14a47dbea5c69532238e7e67290e613121fdc40e
If a load failed due to a revid mismatch, and a new attempt then
succeeded, we would keep remembering that it initially failed.
Then when we loaded the editor a second time, encountering
a revid mismatch would cause us to give up immediately.
To fix this, forget about any previous failures once
a load succeeds.
Bug: T97069
Change-Id: Ie10a7532759095cbb5fb8d23af602aa7b9611a06
New changes:
70a8233 Update OOjs UI to v0.10.0
bea6139 Tests for getNodeAndOffset (matching current quirky behaviour)
4c364f3 Fix old dates
Change-Id: Ic13abd43659e059198a186f44fedc9d7b19d4942
Depends on Idd5e163090c9cf1c103d8b40e8ba19d332671cde and
Ifba178d8099b797a0ca33ca990540c8cb9cd3637 in VE core.
Bug: T65227
Bug: T70425
Bug: T95819
Change-Id: I6f08e3c1c3e4134520dac1e2d32d828cdefea23f
This is a quickfix to make the masonry fit recalculate itself after
the window is resized. It is most significant for orientation changes
in mobile devices, as those lead to a resizing of the window and a
complete reorganization of the masonry fit rows.
Bug: T95017
Change-Id: Ibf3c74ea21d42f4a159d0b855be5672c8455639f