Commit graph

872 commits

Author SHA1 Message Date
jenkins-bot a03d283182 Merge "Localisation updates from https://translatewiki.net." 2022-06-14 07:48:01 +00:00
Translation updater bot 9aa175e887 Localisation updates from https://translatewiki.net.
Change-Id: I14194369a95f0779a7cc5f83628d0e11fba78725
2022-06-14 08:47:48 +02:00
WMDE-Fisch 574ceba9bf Remove $wgCodeMirrorColorblindColors feature flag
Bug: T307188
Change-Id: I7a8f2b02cad160df838ebfb167b63296123b4a08
2022-06-13 13:20:24 +02:00
Adam Wight 9f34c4d220 Remove $wgCodeMirrorEnableBracketMatching feature flag
Bug: T307188
Change-Id: Ibb21dea29c87d8fac898506c19f329273348c190
2022-06-13 10:34:41 +02:00
jenkins-bot 8eb2f13889 Merge "Merge accessibility-mindful colors into base styles" 2022-06-13 08:12:43 +00:00
jenkins-bot 11b9692521 Merge "Remove $wgCodeMirrorAccessibilityColors feature flag" 2022-06-13 07:54:21 +00:00
Translation updater bot 9f261165dc Localisation updates from https://translatewiki.net.
Change-Id: I5dd1670b784c5ecd7cc5a65ecc0b8894a6e72867
2022-06-13 08:27:43 +02:00
Adam Wight ba48e3c474 Merge accessibility-mindful colors into base styles
Bug: T307188
Change-Id: I32831cc546bc8fca2ee73e3d6742f87838791d1b
2022-06-10 16:20:43 +02:00
Adam Wight 396d50cd5d Remove $wgCodeMirrorAccessibilityColors feature flag
Get rid of the flag, without making any substantial changes to the
code.  A follow-up commit will merge the CSS into base rules.

Bug: T307188
Change-Id: I601df5047d0db3cfb9559538487d3d39bb6c7cf4
2022-06-10 16:18:42 +02:00
Translation updater bot cca42569b5 Localisation updates from https://translatewiki.net.
Change-Id: I8763dbc192981407ce6905f21e2a2e9145daf5af
2022-06-06 09:25:22 +02:00
Translation updater bot 852a3df42f Localisation updates from https://translatewiki.net.
Change-Id: I7a143cbaa2c3fddf3c6e37cd39d5e540c52fef2d
2022-06-03 08:57:19 +02:00
Translation updater bot c091227e22 Localisation updates from https://translatewiki.net.
Change-Id: Ic78e92b892e397d3e82fece342ebb80c132a4e88
2022-06-02 08:13:52 +02:00
Translation updater bot 65aa160c47 Localisation updates from https://translatewiki.net.
Change-Id: If197b4ff742a5c591e7f336e234c57c591ca44ff
2022-06-01 08:20:21 +02:00
Translation updater bot eeeb67fab0 Localisation updates from https://translatewiki.net.
Change-Id: I048f86f8a7fd04eba1090de8e60670e76c91a754
2022-05-31 08:07:57 +02:00
libraryupgrader ab9fa44e39 build: Updating grunt to 1.5.3
Change-Id: Ice96760213e0b100bfa38255f5330ea711c9d6d0
2022-05-26 09:01:24 +00:00
jenkins-bot 191ebaad0e Merge "Fix special characters in section headers" 2022-05-25 07:07:03 +00:00
Translation updater bot 2a2e07cb0a Localisation updates from https://translatewiki.net.
Change-Id: I1c21575ab7e1b09e3de3c4c990a1e278855b6949
2022-05-25 08:31:43 +02:00
jenkins-bot 8fe0c1649a Merge "Use new ResourceLoader namespace" 2022-05-24 23:46:15 +00:00
bhsd 44c31c9122 Fix special characters in section headers
When there are standalone special characters '<', '[', '{', and '~' in the section header, the ending '=' will not be highlighted while the ending characters in the next line are incorrectly highlighted. This is because the ending '=' is eaten as plain text at the end of function eatWikiText(). A less aggressive plain text matching does not hurt.

Bug: T309143
Depends-On: I47dad71df97f38c55550f71baf6dae67dbe0a2ba
Change-Id: I4a9c6c6cb2f7fbc212808e386124a56676fdbfb1
2022-05-24 23:09:09 +00:00
Translation updater bot 9277c5d5a5 Localisation updates from https://translatewiki.net.
Change-Id: I7529ebb944f13e052663e8d9a65a63531bc1cbaa
2022-05-23 08:16:28 +02:00
libraryupgrader 0924c055bb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* wdio-mediawiki: 1.1.1 → 1.2.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.5 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 9.1.2 → 9.2.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.1 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g

Additional changes:
* Set `name` in package.json.

Change-Id: Ib0f4642ab65e3e04ee6e324a84486accb107f564
2022-05-21 01:38:38 +00:00
Tim Starling 3a0c4b1f3e Use new ResourceLoader namespace
Extensions using Phan need to be updated simultaneously with core due
to T308443.

Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: I47dad71df97f38c55550f71baf6dae67dbe0a2ba
2022-05-20 12:34:29 +10:00
Translation updater bot 4b7179b57b Localisation updates from https://translatewiki.net.
Change-Id: Id4661b612f27838804bdde7fe585f491929b9005
2022-05-18 08:19:24 +02:00
Translation updater bot 593557b6e1 Localisation updates from https://translatewiki.net.
Change-Id: I901779c6acae69601d5425e1054b0aff93a285eb
2022-05-17 08:27:39 +02:00
Translation updater bot cb8a2de9a4 Localisation updates from https://translatewiki.net.
Change-Id: I4ad31919d892106057abda9735fd682985ec60d2
2022-05-13 08:25:31 +02:00
Translation updater bot 1bf02db3da Localisation updates from https://translatewiki.net.
Change-Id: Ib1b32ef8ceb34bdb2b85fe55924cf2e8c35a46ce
2022-05-11 08:11:17 +02:00
Translation updater bot e1de3f5e8b Localisation updates from https://translatewiki.net.
Change-Id: I9c89ba9ccd34f9c33bc3908f1ca1eb6808fcca92
2022-05-03 08:45:03 +02:00
Translation updater bot 0b949a6baf Localisation updates from https://translatewiki.net.
Change-Id: I0c55a334a60f332314ad355b31e3052a73cf8156
2022-05-02 08:19:16 +02:00
Translation updater bot f488dc2f7b Localisation updates from https://translatewiki.net.
Change-Id: Ic0ce92c5a82142af4952d06881339c6ade7382f6
2022-04-29 08:42:35 +02:00
Translation updater bot 84a135a37f Localisation updates from https://translatewiki.net.
Change-Id: I5148d0426db5b990295f93933b79eef5a93bdde8
2022-04-25 08:17:28 +02:00
Translation updater bot 6a74eee18e Localisation updates from https://translatewiki.net.
Change-Id: Ibe516cd546d401e88f1e0ab3c332783e61967c63
2022-04-20 08:18:30 +02:00
jenkins-bot 19cc891a15 Merge "Replace Action::getActionName by IContextSource::getActionName" 2022-04-20 00:15:47 +00:00
Umherirrender 0ce9a922dd Replace Action::getActionName by IContextSource::getActionName
Change-Id: Ica106d108f8930b93c9bbd4851d2915b40d7b343
2022-04-15 23:17:08 +02:00
Translation updater bot d2063a1bc0 Localisation updates from https://translatewiki.net.
Change-Id: If7d389057cf1b80b5e5e087528d27b531c279287
2022-04-15 09:56:05 +02:00
Translation updater bot e773704caa Localisation updates from https://translatewiki.net.
Change-Id: Ie8d99c416eac7f588d430bee80bd5481181a47ee
2022-04-13 08:32:07 +02:00
Translation updater bot 758dd2c86f Localisation updates from https://translatewiki.net.
Change-Id: Ic97172282d1930e8c179adf7eab7f05e1599afe9
2022-04-12 08:13:56 +02:00
Translation updater bot 86ec585c76 Localisation updates from https://translatewiki.net.
Change-Id: I7a411bb3084d2df4604007c0e1f13a1561616526
2022-04-11 08:13:47 +02:00
jenkins-bot 0418e65cad Merge "Add colorblind-friendly scheme" 2022-04-08 13:52:34 +00:00
WMDE-Fisch c3cda7edd7 Add colorblind-friendly scheme
Including an user options to enable/disable the scheme. Defaults
to false. Feature is only availible together with the new more
accessibile color scheme as the CSS depends on each other.

Set behind a new temporary feature flag.

Bug: T305027
Change-Id: I46d240a30eda5a1526ada1fe9b724f7b4594b426
2022-04-08 14:12:43 +02:00
Translation updater bot 8c83b89502 Localisation updates from https://translatewiki.net.
Change-Id: Ibc3699b2035d32ab0cde4fa6a7632b557fddef70
2022-04-08 08:27:17 +02:00
jenkins-bot daf7103693 Merge "Use less for accessible-colors.css" 2022-04-07 12:10:38 +00:00
jenkins-bot fe9836d3b9 Merge "Use new event handler from WikiEditor for Realtime Preview" 2022-04-07 03:00:46 +00:00
Thiemo Kreuz f1aa4c71f6 Fix inconsistent parsing of quoted tag attributes
Turns out the MediaWiki parser behaves odd when confronted with syntax
like this:

  <ref name="a>b"> … </ref>

XML and HTML parsers are usually expected to respect the pair of double
quotes. But our parser doesn't. What it actually does is this:

  <ref name="a"> b"> … </ref>

This change makes the syntax highlighter behave the same. This makes it
easier to spot this issue when editing wikitext.

Bug: T270880
Change-Id: I14bdf6630889fb6d0dea53890a693f00d9356f54
2022-04-06 15:32:56 +00:00
jenkins-bot eec80985fc Merge "Prepare tests for later change" 2022-04-06 10:24:27 +00:00
WMDE-Fisch ede8b043bd Use less for accessible-colors.css
Change-Id: I4ed291ce0ef6e85b4540fcaef36892a521a99c17
2022-04-06 10:21:47 +00:00
Sam Wilson fa8296c312 Use new event handler from WikiEditor for Realtime Preview
Fixes the issue with the change handler not working.

Bug: T303767
Depends-On: Iee4c885f92dd9ec985a3f9fd92a2fafc00f2e9ff
Change-Id: Idb97a67f940eee69e09679196d0de71e76ef3672
2022-04-06 13:22:17 +08:00
jenkins-bot 061d2a63d1 Merge "Reload CodeMirror to fix a caret issue" 2022-04-05 22:10:35 +00:00
ElijahPepe 2451c7f944 Reload CodeMirror to fix a caret issue
A common issue, reported in VPI as Possible Thursday weirdness, with
source editor users using syntax highlighting is that the caret can
often be misplaced as to where the user selects. This PR adds code
to reload CM when loaded to adjust for this behavior.
Moved to after CM has finished initialising. Tested working.
Add another instance of codeMirror.refresh().

Bug: T305333
Change-Id: I9a81ffd41a3ba1321b7b5744ba096583cbb1d96c
2022-04-05 22:37:31 +01:00
Translation updater bot 8c903cd455 Localisation updates from https://translatewiki.net.
Change-Id: Ib77e3d3ae5b7274e60355fc7b6a539be69b314f5
2022-04-05 08:25:09 +02:00
Sam Wilson 1310fbf645 Support WikiEditor's realtime-preview feature
Add support for enabling, resizing, and disabling the new
realtime-preview feature.

Bug: T293347
Bug: T303767
Change-Id: I8c8c25fe56be55a61f4b8d1d2ef8cf74483aa241
2022-03-24 12:02:03 +08:00