Commit graph

851 commits

Author SHA1 Message Date
Translation updater bot 8b40b14730 Localisation updates from https://translatewiki.net.
Change-Id: I5035f7108bf8654027925d185065555c70212c94
2022-12-01 07:18:30 +01:00
Translation updater bot f9cc69c104 Localisation updates from https://translatewiki.net.
Change-Id: Ie7dbb2edb578a24e1dd8c8ccd24e51955074040b
2022-11-24 07:07:21 +01:00
Translation updater bot 17d477c377 Localisation updates from https://translatewiki.net.
Change-Id: I934c68ea6464f19aade389091782ec7b51ca06ad
2022-11-10 07:19:09 +01:00
Translation updater bot 27efed7997 Localisation updates from https://translatewiki.net.
Change-Id: I6672e029f8f3cd5b4d9cd438fe8eeefae7549f0c
2022-10-20 07:33:59 +02:00
Translation updater bot 51bc6c95e2 Localisation updates from https://translatewiki.net.
Change-Id: I57d0b057895f298954b83c29f1641093f1fcc156
2022-10-13 07:21:22 +02:00
Translation updater bot b20d05f660 Localisation updates from https://translatewiki.net.
Change-Id: I91d42ec70c4fcbfe5eb3b80a5f347acaebe68a1a
2022-10-06 07:11:07 +02:00
Translation updater bot 63276d9953 Localisation updates from https://translatewiki.net.
Change-Id: I7c508135f5ff9c998ae67ca5c3652fef35d0ec34
2022-09-29 07:12:07 +02:00
Translation updater bot 19b3d35792 Localisation updates from https://translatewiki.net.
Change-Id: I8539e9fc31bab26b2007850905263c8400a9fd11
2022-09-22 16:16:53 +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