Commit graph

849 commits

Author SHA1 Message Date
Translation updater bot 5609c970c5 Localisation updates from https://translatewiki.net.
Change-Id: I5cb78d9db0d67031e889085c4c8356b2004fd715
2022-10-03 09:45:25 +02:00
Translation updater bot 18a27c9c21 Localisation updates from https://translatewiki.net.
Change-Id: Ie22dda5403317701f90c933386b0c4952ddb7abe
2022-09-30 08:53:18 +02:00
Translation updater bot e9e291ba80 Localisation updates from https://translatewiki.net.
Change-Id: I163dd086aa6272f88f39ac1b7c5deda3270e71a8
2022-09-28 08:21:01 +02:00
Translation updater bot 04b7f3aa6e Localisation updates from https://translatewiki.net.
Change-Id: I52a1f472b305085dd960f492903559e17007dd0d
2022-09-26 08:14:51 +02:00
Translation updater bot 92c541cc14 Localisation updates from https://translatewiki.net.
Change-Id: I1d79e6d9dcbd1497269dadf5754f8cee2a67bc28
2022-09-15 09:54:39 +02:00
Translation updater bot 6df8d5cc52 Localisation updates from https://translatewiki.net.
Change-Id: If61beee7deee865b79e890a491eb53c5f99d7b0a
2022-09-12 09:36:12 +02:00
Translation updater bot 56a7f319ec Localisation updates from https://translatewiki.net.
Change-Id: Ib43eefc4b1fc5774bd2a1462e69b5f87df11aebe
2022-09-05 10:10:10 +02:00
Translation updater bot cd41e36122 Localisation updates from https://translatewiki.net.
Change-Id: I43bc2cd8120178f33241b52b2e8d2df8a137ceaf
2022-08-29 09:13:35 +02:00
Translation updater bot 29bb466224 Localisation updates from https://translatewiki.net.
Change-Id: I7ac07ebf95571c9923757efd3dee7c19464069d3
2022-08-25 08:25:50 +02:00
Translation updater bot ee88aac0fd Localisation updates from https://translatewiki.net.
Change-Id: I93ff980a8f599ae4c78a976ef50f7576156d7bc2
2022-08-24 08:24:12 +02:00
Translation updater bot 3235d08222 Localisation updates from https://translatewiki.net.
Change-Id: Iad00f874446140788bf0b30e05f7c2a0802453b8
2022-08-18 08:37:58 +02:00
Translation updater bot 1a1c155f5f Localisation updates from https://translatewiki.net.
Change-Id: I384c3e98c46b26fa37a5bc9f15f89f204e62ffa2
2022-08-12 08:42:38 +02:00
samtar 5061cc1228
ext.CodeMirror.js: Keep at 100% parent width
Force the CodeMirror area to stay at 100% parent width during a
resize event.

Bug: T305939
Change-Id: I99f5d0b0955521f522a549b2cf1f2205cb0e48c0
2022-08-04 12:54:40 +01:00
Thiemo Kreuz 7404a9f2a0 Minor optimizations to some patterns in mediawiki mode
Note that this .match() method is not the one you think it is.
This is StringStream.match() from the CodeMirror lib, not ES
String.match().

Change-Id: Ief5048ff78bcd035482e7a68044e24592d28cb6c
2022-08-04 10:36:52 +02:00
Translation updater bot 58e17dc734 Localisation updates from https://translatewiki.net.
Change-Id: I817654cbcc73b48bcecb9ad51831a7efc4f1343a
2022-08-01 08:21:54 +02:00
Translation updater bot 9d43d55745 Localisation updates from https://translatewiki.net.
Change-Id: If39cca188ca47344f83c8f0c756afbf804e70fd8
2022-07-25 08:35:42 +02:00
Translation updater bot 7116ed639d Localisation updates from https://translatewiki.net.
Change-Id: Ia7173c846c853f480c0e7265dfad92e491904340
2022-07-18 08:14:15 +02:00
libraryupgrader 522ba49be2 build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: I90cfb8eaeb0266ae457c06e14cb2ae3cb82c1dcd
2022-06-22 05:41:29 +00:00
Translation updater bot c22db6b574 Localisation updates from https://translatewiki.net.
Change-Id: I9fe7dca55e51eaf3496a43631415824ab98700bf
2022-06-21 08:30:10 +02:00
jenkins-bot 377efc459d Merge "Merge some more identical MediaWiki color scheme styles" 2022-06-20 12:00:21 +00:00
jenkins-bot 80278f0758 Merge "Fix inconsistent parsing of quoted tag attributes" 2022-06-17 12:13:03 +00:00
Thiemo Kreuz 263285e139 Merge some more identical MediaWiki color scheme styles
Bug: T307188
Change-Id: I50037fe3f8653941269699b140a84ff44d8e20ed
2022-06-16 16:15:56 +02:00
Thiemo Kreuz df1a084547 Use named colors in the MediaWiki style .less file
I leave some colors behind where I'm not entirely sure how to name
them.

Change-Id: Id3a248a116efaf2143f836f32606b1dc3d5ef290
2022-06-15 13:31:02 +02:00
jenkins-bot e341cc8ad8 Merge "Convert MediaWiki style sheet to LESS code" 2022-06-15 10:47:13 +00:00
jenkins-bot 2bf3bc1a65 Merge "Merge identical styles in MediaWiki style sheet" 2022-06-15 10:40:09 +00:00
Translation updater bot f93859acba Localisation updates from https://translatewiki.net.
Change-Id: I12b9059ddce3e54fdaf01729caf7653555a237a1
2022-06-15 08:41:05 +02:00
Thiemo Kreuz 762c9e3eb4 Convert MediaWiki style sheet to LESS code
I did some reverse engeneering and derived the three base colors for
nested templates and parser functions as well as links, together with
a formula to calculate any mixture of the three.

You can manually compile the .less file:
lessc resources/mode/mediawiki/mediawiki.less resources/mode/mediawiki/mediawiki.css

Then compare:
git diff --word-diff=color -w HEAD^ -- resources/mode/mediawiki/mediawiki.css

You will see that some numbers change. These are rounding errors in
the old .css code.

Bug: T307188
Change-Id: Ic534a2fac73f9f737ae5238b87aa80b705b37786
2022-06-14 15:59:33 +00:00
Thiemo Kreuz c8c140b33d Merge identical styles in MediaWiki style sheet
To avoid code duplication and to make this easier to read and to
maintain.

Bug: T307188
Change-Id: I01ccdb7aecae6c80e7924250afdf0d7fafb486e2
2022-06-14 09:49:20 +02:00
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