Commit graph

1235 commits

Author SHA1 Message Date
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
Umherirrender 7e9eae9a11 build: Remove unneeded Squiz.WhiteSpace.FunctionSpacing
It is already part of the default ruleset.xml

Change-Id: I681d2fe972241f9cb5d1768c3e6c0f387ddff239
2019-10-25 20:33:03 +02:00
Translation updater bot b8a40f6e7c Localisation updates from https://translatewiki.net.
Change-Id: I2c63e3a7615ae84a8c5d6b3451a0e276d012a960
2019-10-24 10:48:08 +02:00
jenkins-bot 2cc1c8617a Merge "build: Update dependencies and make them pass" 2019-10-24 06:56:48 +00:00
WMDE-Fisch 5c77b477e6 Use waitForModuleState from Util class
Change-Id: Ida52cf73686a1cc5af5ab955ef30daf15a2ec68a
2019-10-23 17:50:21 +02:00
WMDE-Fisch 8c9632385d build: Update dependencies and make them pass
Change-Id: Ia7764d44d7fbc8bf5c03e80887b58031a0de5d86
2019-10-23 17:46:39 +02:00
WMDE-Fisch 970c34f041 Add license file
Bug: T234086
Change-Id: I86dc0fdbbec9b3ff1c371a075125f0a392c4be48
2019-10-23 08:44:22 +02:00
Timo Tijhof f0720b6eaf Remove use of jquery.ui module aliases
This increases the extension's dependency to MW 1.34+.

Bug: T219604
Change-Id: I566b163969c66572c3b8de41e4250606df85e4ca
2019-10-20 10:48:39 +01:00
Translation updater bot 4ad54f89f1 Localisation updates from https://translatewiki.net.
Change-Id: Iab75d6bdd28f6285aa3ef61fe1f9c75bac60184b
2019-10-16 20:41:37 +02:00
Translation updater bot 986e56cdb8 Localisation updates from https://translatewiki.net.
Change-Id: I2263af25947bf19758155dbf89373fe4a3b1987c
2019-10-16 10:40:51 +02:00
James D. Forrester f99e981ee7 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I8ce5f16f496f048f6bcf587c545745193dbfe152
2019-10-11 11:28:53 -07:00
Željko Filipin 0cf9ebaa68 Selenium: make it possible to run daily Jenkins job targeting beta cluster
Add missing selenium-daily NPM script.

Bug: T199113
Change-Id: Ic98557f7217c3757c724bc28439cd307027c622e
2019-10-04 17:03:58 +02:00
Translation updater bot 7842cdfecc Localisation updates from https://translatewiki.net.
Change-Id: I5474fecf7f0261ac691812833a1d8363f8b6974e
2019-09-13 10:20:49 +02:00
Translation updater bot ced2dd5e1a Localisation updates from https://translatewiki.net.
Change-Id: I37eb946c82194a9e92b69ae12d924d12f1c1e3ae
2019-09-04 10:15:06 +02:00
libraryupgrader e1466c572f build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Iafac35d5a007af7c1b8a49492d4d18e24d10383d
2019-08-23 03:38:50 +00:00
Translation updater bot 1ed4724531 Localisation updates from https://translatewiki.net.
Change-Id: I8d1b3a19ad0594408a3cc06d34246a6a2db85488
2019-08-20 10:26:07 +02:00
jenkins-bot 4949c15d0c Merge "Replace expand icon with down indicator" 2019-08-17 13:19:45 +00:00
jenkins-bot 90016c2637 Merge "Merge some resource loader modules" 2019-08-15 15:01:01 +00:00
tzhelyazkova a5d329758a Replace expand icon with down indicator
Bug: T212803
Change-Id: Ic0ae23bbc399ce70764457bbf4d789f113fb2f48
2019-08-15 11:47:14 +02:00
Translation updater bot 4d14b65cc2 Localisation updates from https://translatewiki.net.
Change-Id: Ie905dae3322e6f06aff0e82462a663fbb5772d52
2019-08-15 09:16:47 +02:00
Amir Sarabadani 111d108150 Merge some resource loader modules
Each RL module comes with the cost of its name + hash being sent over every
request and in the startup module increasing the time to load the page.

Bug: T229791
Change-Id: I3ae230a84112a70ab369ffbff70e173b8f07ec1a
2019-08-14 23:10:25 +02:00
libraryupgrader fbedfdba57 build: Updating npm dependencies
* js-yaml: 3.13.0 → 3.13.1
  * https://npmjs.com/advisories/813
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* wdio-mediawiki: 0.3.0 → 0.4.0

Change-Id: Ia3b36306bc2d469bed35c9ac47f51be5aa4a7737
2019-08-03 04:45:38 +00:00
Translation updater bot e423862e33 Localisation updates from https://translatewiki.net.
Change-Id: I778e8838de72975577b29ef254e685a548b93547
2019-08-01 09:17:47 +02:00
Translation updater bot 0265ff6c42 Localisation updates from https://translatewiki.net.
Change-Id: Ib262d8e21ae5dc3b197f5fbbff1e347bb89daa8b
2019-07-24 22:29:32 +02:00
WMDE-Fisch 65faa4566c build: Alphabetize composer dependencies
Change-Id: Ibb3393818d89f0d28bb49b63c9f5affd4b999cac
2019-07-15 18:01:44 +02:00
James D. Forrester 017374146f build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: Ia810a412f8380e2cd84165dc650c261b0f19cf06
2019-07-09 14:16:13 -07:00
WMDE-Fisch 974af21c23 build: add package-lock file
Bug: T179229
Change-Id: Ida8f0e3b27ddef7252f94438016868012b1469e3
2019-07-03 12:14:18 +02:00
WMDE-Fisch a4df17a922 build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0 and make pass
Change-Id: I1db434584d6927cf0322fdbd6253ebb1846537c0
2019-07-03 12:14:05 +02:00
Translation updater bot 9041e3bc7b Localisation updates from https://translatewiki.net.
Change-Id: I628a2f07e4ae56cd1dc8ef9db31a1076b430763e
2019-06-24 08:39:42 +02:00