In wikitext editor these messages were in mw-body-content where they
inherited a sensible line height, so apply one manually.
Bonus:
* Make header bold
* Remove some duplication with inheritance
Change-Id: Ia7eaa556815ee6645a85162de03198e5a4dc7b03
New changes:
5bcaeb3 Update OOjs to v1.1.7
98d34b7 build: Bump various devDependencies
7e8fef2 Add unregister method to ModelRegistry
2fbb6fb Update jQuery from v1.11.2 to v1.11.3
3fd7629 Update OOjs UI to v0.11.0
Change-Id: I6fcd3ec3f11b45185a84d1e6e1405ffd3f9753a7
* If the user switches to external links, clear the input
* If the user types something with a protocol, automatically switch
them to external links. If they manually switch back to internal,
remember that and don't auto switch them again.
* If the user inputs something without a protocol into the external
link box, prepend 'http://'
Bug: T93699
Bug: T93700
Change-Id: Ia0e3a04f34077e7bd56254112dafd86ad865cbe2
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