Commit graph

2207 commits

Author SHA1 Message Date
Ed Sanders 92157f6b05 build: Update eslint-config-wikimedia to 0.10.1
Change-Id: Icd89819ef38142e55c0bd4cc8dbb73745123f9f6
2019-02-06 01:56:53 +00:00
Eric Gardner bbaf7a38b4 Get Rid of EmbedFileInfo
* Deletes the mmv.model.EmbedFileInfo class file and its test file
* Updates the extension.json and MultimediaViewerHooks.php files to reflect
  these deletions (by removing entries from dependency lists)
* Refactors all instances of `new mmv.model.EmbedFileInfo()` to instead use a
  POJO with appropriate properties. Conditional assignment is used for the
  caption and alt properties if there is any chance they won't be available, to
  keep from adding props with falsy values.
* Refactors JSDoc method annotations so that `@param` tags expecting an
  EmbedFileInfo instance now expect an object; relevant properties of this
  object and their types have been added to the method annotations as well.

Bug: T77320
Change-Id: Ie9f5f24136f4b73000259685474ce4d765a3ccd3
2019-02-05 15:31:49 -08:00
Translation updater bot bc574eaa2c Localisation updates from https://translatewiki.net.
Change-Id: I2162db5e5c3cb3adea7406bd0e6f893bc87df925
2019-01-31 22:26:12 +01:00
Translation updater bot c34e909e71 Localisation updates from https://translatewiki.net.
Change-Id: Ie060a6401f3a18759f78a571930d0618a004045d
2019-01-30 22:14:19 +01:00
Translation updater bot 66fbd9a638 Localisation updates from https://translatewiki.net.
Change-Id: I0aa13ab5502cfb892eba79f7df94ac703a7b3831
2019-01-26 22:17:37 +01:00
Translation updater bot 901bbd7bc3 Localisation updates from https://translatewiki.net.
Change-Id: I771df298a1f4230b6a3e3c00e437f4582829ab28
2019-01-25 22:29:16 +01:00
Translation updater bot 43ee859c9b Localisation updates from https://translatewiki.net.
Change-Id: I060bf4002cb8e9bd1e112213020a4eeacc3c7c49
2019-01-22 22:17:36 +01:00
Translation updater bot fe90884abd Localisation updates from https://translatewiki.net.
Change-Id: I29b982f05b7d443d27152426448cc57472e5986e
2019-01-17 09:12:45 +01:00
Translation updater bot ebda0e508b Localisation updates from https://translatewiki.net.
Change-Id: Iae151f5708aafc1b8335965ea1d1d01229a3e069
2019-01-13 22:13:25 +01:00
Ed Sanders a518cb03a5 build: Update eslint-config-wikimedia to 0.9.0
Change-Id: I92ed1f7093cfaed47f0372f9cb063fe4e65b4f55
2019-01-03 13:47:16 +00:00
Translation updater bot 2ef5d78406 Localisation updates from https://translatewiki.net.
Change-Id: I7c5f878fa81aeed73d90af4bd06c3810305788c6
2019-01-01 22:21:13 +01:00
Translation updater bot ef08befb90 Localisation updates from https://translatewiki.net.
Change-Id: Icfd8368ab5876ab371b5a5a6deb8729001c5d01c
2018-12-27 09:51:45 +01:00
Translation updater bot 06c161c787 Localisation updates from https://translatewiki.net.
Change-Id: Ia68c4e508dc1fafaea9c5b031893cd28d892c753
2018-12-20 22:41:45 +01:00
Translation updater bot 8b053930ad Localisation updates from https://translatewiki.net.
Change-Id: I47d7166d763d4c52509680e3f781622c45463a8c
2018-12-19 22:22:41 +01:00
Kunal Mehta 70c72921a4 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: Id17cca523ac3b0920f745f32684be8b6b806b1b3
2018-12-17 18:56:25 -08:00
Translation updater bot 43cbc463ce Localisation updates from https://translatewiki.net.
Change-Id: Ibce310a87a569e5526b7f471cf28793211378a95
2018-12-17 22:19:27 +01:00
jenkins-bot e741731511 Merge "Add missing dependencies on core modules" 2018-12-08 03:15:05 +00:00
Gergő Tisza 9901520ae5 Ignore TemplateStyle-generated content when textifying HTML
Not tested.

Bug: T211444
Change-Id: Id6fcd20d1d7d3b811623e6267cb9f74be9569b1b
2018-12-07 22:02:14 +00:00
Translation updater bot e95d26e229 Localisation updates from https://translatewiki.net.
Change-Id: I66921f0e84b5a10030f2bf70a023bea7b9ccc4ba
2018-12-06 22:32:17 +01:00
Fomafix 92f9f75b81 Add missing dependencies on core modules
The JavaScript files from the module 'mmv' uses directly functions from
the core modules 'mediawiki.user' and 'mediawiki.util'.
This change adds the missing dependencies on these modules to ensure
that the used functions are present.

Change-Id: Iad7142a5ed52a90b433f94afa25c8ce58b26df5b
2018-12-06 18:37:32 +01:00
James D. Forrester 1677403033 RL: Add mediawiki.notify dependency to mmv.bootstrap
No longer implicitly loaded on every page by MediaWiki, since Ifa222ca05e.

Change-Id: Iaae6fd8b1d428fdad834eaeb24dbeff5d2512804
2018-12-03 16:45:00 +00:00
Translation updater bot b8fb6a3d01 Localisation updates from https://translatewiki.net.
Change-Id: Ifd87ca3ceb5a49c36d0b5da90d3ef6d001945174
2018-12-01 22:17:37 +01:00
jenkins-bot f45953cb15 Merge "build: Use stylelint-config-wikimedia v0.9.0 and make pass" 2018-11-30 01:08:06 +00:00
Volker E 8e94e95f7b build: Use stylelint-config-wikimedia v0.9.0 and make pass
Change-Id: I1359fb4d78aee9d37b67c13464e31e035d3435a5
2018-11-29 10:34:00 -08:00
Volker E a23084a360 build: Follow 'svgmin' step option best-practices
Changing indentation to tabs and use `multipass` option correctly.
Follow-up to I09660b9d49cfdc4.

Change-Id: Ic69532ad165c34aab97888328c7bef6e6c578491
2018-11-28 18:32:16 -08:00
James D. Forrester 90ada228cd eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: I09660b9d49cfdc450efe0273736abd4730da5e77
2018-11-28 10:46:41 -08:00
jenkins-bot e90e425168 Merge "SVG files display at max resolution" 2018-11-26 21:06:51 +00:00
flutters 2fad4daa43 SVG files display at max resolution
When an svg file is requested, returns the 1024px file and displays at
max possible size

Bug: T71237
Change-Id: I797794d1f9b1aa66cbb9bd9fec57274554292fb1
2018-11-26 20:37:34 +00:00
Translation updater bot 197c4d270c Localisation updates from https://translatewiki.net.
Change-Id: I545c27d4ebb7ed43fb0936d4f4b6171b67916c08
2018-11-25 22:34:08 +01:00
Translation updater bot 1469d7f74c Localisation updates from https://translatewiki.net.
Change-Id: If3b0e8453bef1b4c9a62fa1a277c91c05c585ab1
2018-11-22 22:22:11 +01:00
Translation updater bot 957deebfa3 Localisation updates from https://translatewiki.net.
Change-Id: I9fde8da9818c11f74ca023c7489ab2c9c7ce9c95
2018-11-16 22:29:39 +01:00
libraryupgrader 067b24b6fe build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I413328933cfca8250974ee329c2f8ac8740ea27e
2018-11-16 05:32:08 +00:00
jenkins-bot 9c4c816554 Merge "Update ffi and rubyzip gems" 2018-11-14 09:51:36 +00:00
jenkins-bot 99115fe9cf Merge "Remove obsolete aliases from closures" 2018-11-13 23:24:50 +00:00
Ed Sanders 1ded292f83 Remove obsolete aliases from closures
Bug: T208951
Change-Id: Ice695dfb489974faa23ba19d74cf17b06e3f6075
2018-11-12 16:33:24 +00:00
Translation updater bot 305e4ac0fd Localisation updates from https://translatewiki.net.
Change-Id: I7983aff48a539aa824ddd408ba78e2fb82c05c1c
2018-11-10 22:28:20 +01:00
Translation updater bot 6618f2282e Localisation updates from https://translatewiki.net.
Change-Id: Ie4e6ac82cdfbbb0c4d0376e9f1d6048472bd8209
2018-11-07 22:22:19 +01:00
Antoine Musso 1139bf4b60 Update ffi and rubyzip gems
Due to potential security vulnerabilities. Update ffi and rubyzip gems
to their latest versions.

| ffi | 1.9.17 -> 1.9.25
| rubyzip | 1.2.1 -> 1.2.2

Bug: T204119
Change-Id: I6d34b285d7cac19011ed1328a37cda7682518a41
2018-11-06 11:28:07 +01:00
Translation updater bot 11beee58e7 Localisation updates from https://translatewiki.net.
Change-Id: I83f5525538471d991e690ee14ecb687d78d4ef5d
2018-11-05 22:24:37 +01:00
Translation updater bot b8284426dd Localisation updates from https://translatewiki.net.
Change-Id: I7a22e4fd4c3015ac22e3f010b8fade3bc787d555
2018-11-04 22:42:23 +01:00
Translation updater bot 57ab0b6f4e Localisation updates from https://translatewiki.net.
Change-Id: I9501d033a8929ae658d18e5b80c43eb6d3a46787
2018-10-25 22:38:55 +02:00
Translation updater bot bb3462b63d Localisation updates from https://translatewiki.net.
Change-Id: Idb6f5e6c214d7aff3f96d13d39ac3b7d73065302
2018-10-21 22:37:47 +02:00
Translation updater bot 5d06b63d00 Localisation updates from https://translatewiki.net.
Change-Id: Ic2c137ce797a58026d3d33720125d84074505b84
2018-10-17 23:44:23 +02:00
Volker E a92bbbaa5f Update user avatar icon
Updating user avatar icon to overhauled standard WikimediaUI icon.
Also:
- Using new icon default size instead of `80 x 80 px`. Icon is
  resized by `background-size` in both applications anyways.
- Renaming 'user*' to 'user-avatar' for consistency across projects.

Bug: T123810
Change-Id: Ifb2027694af8f619663f00f4c50891772ee64746
2018-10-10 23:29:01 -07:00
jenkins-bot 6ccf2a3568 Merge "Don't use deprecated jquery.hidpi module" 2018-10-09 16:23:09 +00:00
Kunal Mehta c50794c3f2 Don't use deprecated jquery.hidpi module
Using window.devicePixelRatio directly means we won't be supporting Windows 8
and/or IE 10 & 11. But that seems intentional based on 828f6d6ac9db.

Bug: T206099
Change-Id: I53dbce0a8ddc69c4edfd4d10f98031aa4f7cd20a
2018-10-08 20:15:18 -07:00
Translation updater bot 1f53d5e032 Localisation updates from https://translatewiki.net.
Change-Id: If44c49a5a080b14d5e6647a4b5ac30b52fa63713
2018-10-08 23:19:58 +02:00
Translation updater bot 1c21908b1d Localisation updates from https://translatewiki.net.
Change-Id: Ic8fd488f69f43a33f121966593cd84628b86fcc2
2018-10-04 22:24:17 +02:00
Translation updater bot 93d87a09a7 Localisation updates from https://translatewiki.net.
Change-Id: I0756e2a2f76db1b971e5f92afa062eee78d68fe4
2018-10-03 18:53:31 +02:00
jenkins-bot a0f3ccba4e Merge "Use improvements of jQuery 3.3" 2018-09-23 18:24:41 +00:00