Commit graph

1313 commits

Author SHA1 Message Date
Adam Wight ece7649624 Migrate lazy JS to packageFiles
This is a no-op.

Change-Id: I7be09dac70ff7e22f6ea5a76aac7af5f232fca35
2020-04-05 01:35:22 +02:00
Bartosz Dziewoński 0699e09dd8 Do not show entries for hidden tags
Bug: T249266
Change-Id: I7e83523c5e8f088efaf95acb339973e0f805ff48
2020-04-02 21:00:02 +00:00
Bartosz Dziewoński 36c51562f6 Use tag displaynames when fetching additional revisions
They were previously only used for the initial fetch.

Bug: T249266
Change-Id: Iecf0fcf6bc0a691b0e3e5d13adbe75abbecb54da
2020-04-02 20:59:48 +00:00
jenkins-bot 4ebe6d010e Merge "Declare QUnit test modules in extension.json" 2020-04-01 08:06:45 +00:00
jenkins-bot 352cdb7109 Merge "ESLint config for CommonJS module syntax" 2020-04-01 08:06:45 +00:00
jenkins-bot 000a90bc24 Merge "Remove redundant file pointer" 2020-04-01 08:06:44 +00:00
Translation updater bot 2c6eddd452 Localisation updates from https://translatewiki.net.
Change-Id: I7a4f39360511c872abfdb9024e0e81d1df81bd77
2020-04-01 08:25:35 +02:00
jenkins-bot 435ffab0a1 Merge "Fix test module copypasta" 2020-03-31 12:01:00 +00:00
Translation updater bot 775761c217 Localisation updates from https://translatewiki.net.
Change-Id: I91fd6d852aeeba4289276d07839cdf1dea2f2ff7
2020-03-30 09:14:58 +02:00
Adam Wight 512d99e6a9 Declare QUnit test modules in extension.json
Newer, declarative syntax for QUnit test modules.

Change-Id: Ifb0064a4891293a29e9a2a9a0e34c106f7614a72
2020-03-30 00:01:22 +02:00
Adam Wight 156427df55 ESLint config for CommonJS module syntax
Changes the eslint rules to support "require", "module.exports", and
relaxes the top-level lexical scope for each file.

FIXME: This allows a combination of CommonJS code, which becomes
unsafe global code scope if used in a "scripts" module.  What's the
correct order of migration steps?

Change-Id: I2f80732942a602c0fcff5c0dad1e2afc2640651e
2020-03-29 23:24:35 +02:00
Adam Wight c685ea38f7 Remove redundant file pointer
util.js belongs in the Slider module, this duplicate line was in error.

Change-Id: I85573610261c015e8b93c5207f283923d4deb387
2020-03-29 23:24:34 +02:00
Adam Wight 17ab004262 Fix test module copypasta
A few modules had wrong (duplicated) names.

Change-Id: Ib2ff195ee458a23d01e25a6cb1ff1b573dd9999a
2020-03-29 23:23:48 +02:00
Translation updater bot cf9d9444f4 Localisation updates from https://translatewiki.net.
Change-Id: I01289bc6c5d29d3cbc9dc49dc35a02f709eebbd1
2020-03-23 09:04:22 +01:00
libraryupgrader 8c17a2659c build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.5.1 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: Id0d2f5bafe5234decec1e305e5d1c6b1e891f4a2
2020-03-21 06:03:30 +00:00
libraryupgrader aeb4a2eb0d build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Ic5db7b89171152759f85a9500bd35699a30e07a9
2020-03-19 08:52:52 +00:00
Translation updater bot 6e984aff46 Localisation updates from https://translatewiki.net.
Change-Id: I081241b5138220c63c9ed242183bc58c0f0c8ff1
2020-03-18 08:58:45 +01:00
Translation updater bot 3fca17b48a Localisation updates from https://translatewiki.net.
Change-Id: I161e346a66c18265b871ee20eb0a4d439cbbe035
2020-03-17 10:25:56 +01:00
Translation updater bot bc8adccd25 Localisation updates from https://translatewiki.net.
Change-Id: Idfd0adc65b2ccef8a60632995067aa85d799af0e
2020-03-16 16:02:35 +01:00
Thiemo Kreuz e1012acf62 Update help text talking about specific colors
These colors are changed by several scripts, e.g. by the VisualEditor
extension.

Bug: T247662
Change-Id: Id8a0b6c2bc1b47cde47672e55e91cea3ed7a4e11
2020-03-14 15:02:20 +01:00
Translation updater bot a43e1ee86c Localisation updates from https://translatewiki.net.
Change-Id: I90038d4a7ce6efd4b60972b72530bd6e79ab8337
2020-03-09 08:57:46 +01:00
libraryupgrader 2162737c90 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Id0de44ae35c6ba55edf4ee872bbb0538be53f9d7
2020-03-08 12:20:52 +00:00
libraryupgrader d448f5785a build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: Ife898bd7bb66d7c6e1ea204d6d3cc7a681e87be6
2020-02-21 01:50:36 +00:00
libraryupgrader 9b03470ccd build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1
* mediawiki/minus-x: 0.3.2 → 1.0.0

Change-Id: Id59cebd79d510ecadf485b981c184bcad7a4a3d9
2020-01-30 03:20:46 +00:00
Thiemo Kreuz 7ec4910595 Remove misleading version number 1.0 from extension.json
This version number does not have any meaning (never had). It's
misleading, if not wrong. All code WMDE maintains is deployed weekly.
Branches are cut at a fixed time. Nobody ever assigned version
numbers to these releases.

The number is not used in communication. The only place where it
appears is Special:Version, but is useless there. Users can't use
it for anything. I talked to all relevant parties (product manager,
communication) and nobody ever used this version number. Because of
this, this is a purely technical task to get rid of unnecessary
technical dept.

Bug: T213066
Change-Id: I9950b31a1d99d1778e104d9840368b9f585aaa55
2020-01-28 15:54:29 +01:00
jenkins-bot 4124a82ebf Merge "Improve discoverability of JS code with @class tags" 2020-01-24 18:01:43 +00:00
jenkins-bot 659b492cb8 Merge "Fix misplaced pin" 2020-01-24 17:58:37 +00:00
jenkins-bot 9b52ce4fac Merge "Simplify Hooks section in extension.json" 2020-01-24 17:55:38 +00:00
Thiemo Kreuz bc71d50cd8 Simplify Hooks section in extension.json
It is possible, but very rare to have more than a single hook handler
per hook in a single extension. The value can be an array or string in
both version 1 and 2 of extension.json.

Change-Id: I814127488cd54464d675ca901c6f32b066fb2ee3
2020-01-24 18:36:55 +01:00
Thiemo Kreuz 7f38c9c579 Improve discoverability of JS code with @class tags
In my PHPStorm IDE, this makes it possible to follow all methods and
properties in these classes, even these that are later defined.
Otherwise only the empty stub of each class is found.

This might be different in other IDEs.

Basically: PHPStorm does not understand the meaning of the $.extend()
syntax from jQuery without these hints.

Change-Id: I4aa76db183122f6669dc72561441f46f0056d793
2020-01-24 17:21:23 +01:00
WMDE-Fisch 0435e0b5d2 Fix misplaced pin
Removed some hacks that messed with the position and size of the icon.

Bug: T243593
Change-Id: Iaaa4027ec8c094cc8d103615aad646c3331a3ba3
2020-01-24 13:30:03 +01:00
WMDE-Fisch f121c62990 Fix misplaced arrow icon on slider buttons
Seems like OOUI changes lead to this hack not beeing used anymore.

Bug: T243592
Change-Id: Ib12f5eef69e57abc78c89680144505b4a92b2145
2020-01-24 13:16:42 +01:00
libraryupgrader c9240eacd1 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I96581fb165d9c60c205f83a4d9d479e7e7a0da64
2020-01-14 11:15:55 +00:00
libraryupgrader a13d8b709e build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Change-Id: I542ba1cbf70c109222990a34273ee81305ba8a95
2020-01-10 01:33:21 +00:00
Translation updater bot 8b08bbd490 Localisation updates from https://translatewiki.net.
Change-Id: I693241e95c8cc88ca9bebfe80fad5bfe23f6e263
2020-01-06 08:50:27 +01:00
libraryupgrader 7bd30f8dc4 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I72e1f83613ca5981db8bc2aaa64aba54c4a9d9d0
2019-12-22 01:40:19 +00:00
Translation updater bot fba3ffb15f Localisation updates from https://translatewiki.net.
Change-Id: I3e9c44325441be50ad7c7c3390e1457960973d0a
2019-12-19 09:15:30 +01:00
libraryupgrader f95f19f181 build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I0a5943aa022bb7e8910ef5c866ecbacabfb0437e
2019-12-18 04:39:50 +00:00
Ed Sanders 28bc463836 build: Update linters
Change-Id: Ia316dd09b6d6b7452610ff2b8816a146a3bb48a4
2019-12-11 13:42:51 +00:00
Translation updater bot c9fb004ca2 Localisation updates from https://translatewiki.net.
Change-Id: I8109e9d16bbfd8aa27e9543e41c28b3d273212e1
2019-12-06 09:33:13 +01:00
Translation updater bot f82e2edc21 Localisation updates from https://translatewiki.net.
Change-Id: I954ceafc9cefc501135d81aaff81dd523437e87e
2019-12-02 09:23:21 +01:00
Timo Tijhof ad26385a59 Remove use of jquery.ui module aliases (part 2)
Follows-up f0720b6eaf which covered the ones in extension.json.

Bug: T219604
Change-Id: I8a4b5aebee6c055fb9e447e1ce393f925e00d7ee
2019-11-26 19:52:45 +00:00
jenkins-bot 00ba5250fc Merge "Remove use of jquery.ui module aliases" 2019-11-25 23:07:02 +00:00
Timo Tijhof c00c6bb722 Remove use of jquery.ui module aliases
This increases the extension's dependency to MW 1.34+.

Bug: T219604
Change-Id: I8cbf3148c020e98a3bd6547c30c5cbe77305eb46
2019-11-25 22:48:52 +00:00
Translation updater bot b363ba9423 Localisation updates from https://translatewiki.net.
Change-Id: Iaeb9f125b5f33e6c3af5673864fd6b591968007e
2019-11-25 09:10:53 +01:00
Translation updater bot 82f9cebf2b Localisation updates from https://translatewiki.net.
Change-Id: I0b194e49601b12413c2d98751dff3a099aa0f7c8
2019-11-11 14:51:13 +01:00
WMDE-Fisch cf01c80dde build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Change-Id: I2f5d05d6c2dbf07a4a09e855c46efd31f13eba8a
2019-11-04 11:47:37 +01:00
Translation updater bot 246cab2b06 Localisation updates from https://translatewiki.net.
Change-Id: If6a7d85be7d30618623b18a121b02cf069457996
2019-11-04 10:17:33 +01:00
Translation updater bot 4d56150444 Localisation updates from https://translatewiki.net.
Change-Id: Ia0d3c82f98862e86dea3e444266e151d71b7cbf6
2019-10-30 09:33:45 +01:00
Translation updater bot ee5bed3e17 Localisation updates from https://translatewiki.net.
Change-Id: I84bba28e6596990ae4251377bca930a5c5ec9119
2019-10-28 16:36:13 +01:00