Commit graph

2327 commits

Author SHA1 Message Date
Translation updater bot 3bddab489d Localisation updates from https://translatewiki.net.
Change-Id: I97364ef3ee0ade32b554e28558f49d3818fd8485
2019-03-10 22:27:47 +01:00
Translation updater bot 06e80d3078 Localisation updates from https://translatewiki.net.
Change-Id: I6bbcea611de38c3c526ba4615ed2e0cdd4660777
2019-03-05 22:42:50 +01:00
jenkins-bot a68bd2a10b Merge "Replace use of deprecated ResourceLoaderTestModules hook" 2019-03-05 13:06:05 +00:00
Translation updater bot 682471de56 Localisation updates from https://translatewiki.net.
Change-Id: I94464b107f2013f5ab49e7850f63820e5b27984f
2019-03-04 22:16:11 +01:00
Translation updater bot 255ba527d2 Localisation updates from https://translatewiki.net.
Change-Id: I005b9a3d145291f91a942cc435a4b1feb72b39a1
2019-03-03 22:17:42 +01:00
Umherirrender 0312e465ed Use ExtensionRegistry rather than class_exists
Change-Id: I99d0207aaf193ab2aa4e27c7f12a5cefc2dc4da9
2019-03-03 02:05:12 +01:00
Translation updater bot cee3fa6899 Localisation updates from https://translatewiki.net.
Change-Id: I5777d99ca38904c4bf37939c8f5a38b2445df765
2019-03-02 22:42:38 +01:00
James D. Forrester c6008c7844 build: Be more aggressive in fixing old bad JS code style
Change-Id: I7f734f1440a4a3216e774d2bddbc39b34f4125d2
2019-02-20 19:28:25 +00:00
James D. Forrester 1b21470703 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: I66788a2c1fa59b617abd13b7c8e8fb59ad74130c
2019-02-20 19:22:21 +00:00
Translation updater bot 9a27ccebdf Localisation updates from https://translatewiki.net.
Change-Id: I49c507bb3ccbc8f29ebe1f5988e6b8c738b1b9ad
2019-02-19 22:20:03 +01:00
Translation updater bot bd69d66952 Localisation updates from https://translatewiki.net.
Change-Id: I270a4697d4587217419d452dd50d7489ce1750e6
2019-02-18 22:23:16 +01:00
James D. Forrester 8ec4150af0 Replace use of deprecated ResourceLoaderTestModules hook
Use the new extension.json attribute instead.

Bug: T214211
Depends-On: I27ecebe27d7aaebe6d1317bc5eaea9cca368b45d
Change-Id: Iacb68ce9a7bab864720ef9a56f8702a4f02c129d
2019-02-13 15:05:33 -08:00
Translation updater bot 3ee18bdf93 Localisation updates from https://translatewiki.net.
Change-Id: Ide4cd94fd393e6f9ba26b8d567c5fce13b6df029
2019-02-11 22:28:12 +01:00
Translation updater bot 7a172a0ca7 Localisation updates from https://translatewiki.net.
Change-Id: I63e543e19998ec6bcbc9c28ff9cc13e2b94ef1d2
2019-02-10 22:18:47 +01:00
jenkins-bot 60fa899822 Merge "build: Replace 'svgmin' 'indent' option value by tab escape sequence" 2019-02-09 23:19:32 +00:00
jenkins-bot 1c73afc7de Merge "build: Update grunt-banana-checker from 0.6.0 to 0.7.0" 2019-02-09 23:06:04 +00:00
Translation updater bot 26daceb4cc Localisation updates from https://translatewiki.net.
Change-Id: Ife3f6c47ac26e5cb0ed7da697961a0ecb22362ac
2019-02-07 22:28:45 +01:00
Volker E 2e27c9597b build: Replace 'svgmin' 'indent' option value by tab escape sequence
Unifying code across projects.

Change-Id: I78e07c4efab6a9c084cbba5944c24003dc30fcad
2019-02-06 21:15:39 -08:00
libraryupgrader 0c36bcd866 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I82693cf8ebc10a313991deceb5c3d798fd87fc1c
2019-02-07 01:15:09 +00:00
James D. Forrester 2543fd8c44 build: Update grunt-banana-checker from 0.6.0 to 0.7.0
Change-Id: Ife735aac7762b127112107b4c130bb0131bb6e30
2019-02-06 15:45:46 -08:00
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