Commit graph

1228 commits

Author SHA1 Message Date
jenkins-bot 808f955bc5 Merge "Namespace extension" 2020-04-19 22:52:55 +00:00
libraryupgrader afdafc3b51 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I841de635ca0ccbc7bef83e889ebf856817439c09
2020-04-19 17:23:24 +00:00
Reedy d8da8ab98a Namespace extension
Change-Id: I0cd732fc28bf2b152281f3318c17215d519c32db
2020-04-19 01:10:58 +00:00
jenkins-bot 1d43c464ac Merge "Do not show entries for hidden tags" 2020-04-13 14:14:25 +00:00
jenkins-bot e8d659495b Merge "Use tag displaynames when fetching additional revisions" 2020-04-13 14:14:05 +00:00
Translation updater bot 9f14297cb5 Localisation updates from https://translatewiki.net.
Change-Id: I206d71731d2b074b19702a7e6bc6b2d24d6c35a3
2020-04-13 09:02:14 +02:00
Translation updater bot aafca00307 Localisation updates from https://translatewiki.net.
Change-Id: Ibd8fe0154a47a9a03f19932db36f461410c8949b
2020-04-08 09:05:08 +02:00
Translation updater bot 2db29e3885 Localisation updates from https://translatewiki.net.
Change-Id: I35ec3a5b3a436fb06719ec373a7c03c49179f56b
2020-04-07 08:48:31 +02:00
jenkins-bot 1a55f5cda2 Merge "Migrate Settings module to packageFiles" 2020-04-06 16:01:39 +00:00
jenkins-bot 4c7772e5d7 Merge "Migrate init module to packageFiles" 2020-04-06 16:01:33 +00:00
jenkins-bot 883152cc7a Merge "Migrate lazy JS to packageFiles" 2020-04-06 16:01:20 +00:00
libraryupgrader b0194a9f39 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I6e19ac39774dd25962c32b1eaafa6def17fd9da2
2020-04-05 09:15:06 +00:00
Adam Wight c9958c5edd Migrate HelpDialog to packageFiles
FIXME: Reusing HelpDialog as a module entrypoint creates a circular
reference.  It's harmless because the dependencies are added at
different times, but also easy to refactor away.

Change-Id: I3608a78baddf2376cc9eb4524625f4911c130c06
2020-04-05 01:50:48 +02:00
Adam Wight d369701709 Migrate Settings module to packageFiles
Change-Id: I984404dd216fff469d7891f4f69a92d83d19d1c4
2020-04-05 01:37:15 +02:00
Adam Wight fcae356705 Migrate init module to packageFiles
Change-Id: I19ac9d27e365357bfeed649106663d49e7f82d6f
2020-04-05 01:36:46 +02:00
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