Commit graph

913 commits

Author SHA1 Message Date
libraryupgrader d6983e8a53 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1

npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1

Change-Id: If385e70b0bf3353adbf9d3b2f95986c9e38476a8
2022-11-16 04:20:15 +00:00
Fomafix b1fa1d3dd7 Use @coversDefaultClass in test case
https://phpunit.readthedocs.io/en/9.5/annotations.html#coversdefaultclass

Change-Id: Ic2a1ddcd133b8d5ec653348ea56208a80568580a
2022-11-14 21:28:48 +00:00
libraryupgrader b75dfe00ae build: Updating grunt-stylelint to 0.18.0
Change-Id: I1fa7e3a65a17a90bd69af999f195634f5c27a22a
2022-11-13 02:34:56 +00:00
jenkins-bot d54b160848 Merge "build: Disable rule unit-disallowed-list inline" 2022-11-09 17:32:34 +00:00
Translation updater bot 39f68773c7 Localisation updates from https://translatewiki.net.
Change-Id: I91f78d8905d38017dc744c031f922d4fc14f10bc
2022-11-03 08:24:23 +01:00
Translation updater bot 7430619e3e Localisation updates from https://translatewiki.net.
Change-Id: I8abf77a37a8045805bfbb39bf8334879a004f0e6
2022-10-31 09:45:30 +01:00
Umherirrender d4924ebc48 build: Disable rule unit-disallowed-list inline
Bug: T279431
Change-Id: I75698f990c168fa6c9958cdcf9b6e1fe4a0113c9
2022-10-27 00:37:31 +02:00
libraryupgrader 295387b470 build: Updating npm dependencies
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I1ec62eb6de90481f215b6272a555fe5e12885bb9
2022-10-26 01:28:36 +00:00
Translation updater bot 6a9b294405 Localisation updates from https://translatewiki.net.
Change-Id: I6f2a1a3c61dc4153e255d4c5961de94d9a2799c7
2022-10-17 08:20:44 +02:00
Translation updater bot 6a74fb1c4f Localisation updates from https://translatewiki.net.
Change-Id: I98e359c4366f1e64d974a32977b43da2ddac97e0
2022-10-10 10:19:44 +02:00
libraryupgrader ae4bc16d9f build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Ib5d1785fa30d02cd81f124eacd469deb769de963
2022-10-09 03:00:40 +00:00
libraryupgrader 9ee72034e8 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Iadb6cf0718e589b83bc0b833fcd066cb53081e26
2022-10-06 21:10:21 +00:00
jenkins-bot cbec99c8c4 Merge "Add tags from CodeMirrorPluginModules to extension tags list" 2022-10-05 14:27:22 +00:00
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