Commit graph

2434 commits

Author SHA1 Message Date
Ed Sanders 4d3cc4b06e build: Update linters
Change-Id: I978dbe38263891c1cd012d0de70d5cbaa8c5353e
2019-09-20 13:26:20 +01:00
Ed Sanders 5da05073f1 eslint: Enable no-proxy rule
Change-Id: I54e0073c0f35db110add7518e888081af19cd069
2019-09-20 13:25:10 +01:00
Translation updater bot 6896043426 Localisation updates from https://translatewiki.net.
Change-Id: I90d2ea32fcb0e1a5b6d9a29b97ec9b8191633d58
2019-09-16 09:56:24 +02:00
Translation updater bot be7cea4367 Localisation updates from https://translatewiki.net.
Change-Id: I9f632b92240b5060f3270bb0eeafdac5039e9b09
2019-09-13 10:18:58 +02:00
James D. Forrester e75c8f3fb4 mmv: Don't try to use internal (now removed) ext property of mw.Title
Bug: T232521
Change-Id: I8af85efc2b7ff84f81a72b39986ce3eb356eac69
2019-09-10 12:57:33 -07:00
Translation updater bot d5707d1feb Localisation updates from https://translatewiki.net.
Change-Id: Ie26212df7bde91f5c72137ac3c14c2afabeb513b
2019-09-04 10:14:19 +02:00
Timo Tijhof 70b0cbb727 Remove @embed where it needlessly delays loading of the UI
* mmv.ui.canvas / error-media-icon.svg:
  Used when the media file fails to load (e.g. due to an intermittent
  issue with the user's network connection). Rarely displayed,
  and the space is reserved (no FOUC). Seems fine to display
  slightly later within that use case (or not at all, if offline)
  to make the MMV interface itself load faster overall.

Bug: T121730
Change-Id: I760f46c920c3d1f3da2cb385d8cfd81951b628e5
2019-09-02 01:24:56 +00:00
Translation updater bot 09cd7b3fdc Localisation updates from https://translatewiki.net.
Change-Id: I490520ed5339f4f584cd44edbed9274832dd7803
2019-08-30 10:04:01 +02:00
Translation updater bot 778f68630b Localisation updates from https://translatewiki.net.
Change-Id: Ifb96eb6e27762d857de8d7772607cb3ab5a4a6f5
2019-08-28 10:52:44 +02:00
Translation updater bot 8cac9fa154 Localisation updates from https://translatewiki.net.
Change-Id: Iab766f4892234685f88245979d22965eb2c98b2e
2019-08-27 11:04:44 +02:00
libraryupgrader 5410aa9150 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I9b6420e70ec7f4568b707371c731a8db56f6e34a
2019-08-24 12:16:21 +00:00
Translation updater bot fce59b6f37 Localisation updates from https://translatewiki.net.
Change-Id: I1faf9aa0668bbd1fe804f90593b7fa08ea828cda
2019-08-23 09:49:08 +02:00
Translation updater bot c359f4acb7 Localisation updates from https://translatewiki.net.
Change-Id: Id7475392e4a51764a79b2ef41af82ecebba9cc43
2019-08-21 10:07:20 +02:00
Translation updater bot 78797b6bb1 Localisation updates from https://translatewiki.net.
Change-Id: Ic81bb5526b1f006aae3ab5d52f9a5a2c471636fd
2019-08-14 09:14:43 +02:00
Translation updater bot 664f03563f Localisation updates from https://translatewiki.net.
Change-Id: I49b7d900f1751c6104e4135812069f114049d535
2019-08-10 22:49:22 +02:00
Translation updater bot b9eb6dfb58 Localisation updates from https://translatewiki.net.
Change-Id: I30db322111886012dcd7ceb869b333255e0278b4
2019-08-05 09:41:53 +02:00
libraryupgrader da8d0ab42f build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Additional changes:
* Committed package-lock.json (T179229) too.

Change-Id: I5abfe74290abf26968b2fa0e73830d0df7290376
2019-08-04 15:15:13 +00:00
Translation updater bot c3866abc57 Localisation updates from https://translatewiki.net.
Change-Id: I86e08c7894ecd72480efc1fa26a32b8bcdae5297
2019-08-01 09:17:25 +02:00
jenkins-bot b351d1b5fc Merge "build: Update devDependencies" 2019-08-01 02:15:32 +00:00
Ed Sanders 18a154b989 build: Update devDependencies
Change-Id: I46f5317976ef9f818e30b0c81018e83800535389
2019-07-31 22:59:13 +01:00
Ed Sanders f4d6c9f37e Remove useless .opacity mixin
Change-Id: Icff7c01aba4a647d23bae1925b725bddc555c762
2019-07-29 17:56:43 +01:00
Ed Sanders 0cda0f8706 Drop CSS hacks for unsupported browsers (IE<11, ancient Firefox)
Bug: T184543
Change-Id: Ibd07ecd545f9b69f4dd3adb2b371b4d87ca4098b
2019-07-29 15:33:58 +01:00
jenkins-bot ec72d6284d Merge "Chrome does not revert title to article title" 2019-07-29 14:20:14 +00:00
Translation updater bot 48bf02c5e2 Localisation updates from https://translatewiki.net.
Change-Id: I6aa79eb727760b65c26f8045155f9bb280caf0b1
2019-07-24 22:29:10 +02:00
Translation updater bot 35121501ce Localisation updates from https://translatewiki.net.
Change-Id: I9fd0e17bef98af8a367d0df54207db58cf47d4c4
2019-07-12 08:44:09 +02:00
Željko Filipin d4b61852cc Selenium: do not run selenium-MultimediaViewer Jenkins job on macOS
The job has been failing for months for macOS. Tests are not providing
any value.

Ruby Selenium framework has been deprecated since 2017. We are removing
support for it from CI.

Bug: T214389
Bug: T220035
Change-Id: I4fef826a7ac1e7b2d260b1bf8f5d42e3f214b07d
2019-07-11 15:14:03 +02:00
James D. Forrester c480f7a724 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I52464872c7ab3f4ff80f3e5f0dbcf66ef346341a
2019-07-09 14:11:45 -07:00
Simon Legner c7c8059a0a Clicking on the black wrapper should close MVV
Bug: T133900
Change-Id: I0f05a3b16cdbef9a64a3d5cb4982525460e3b002
2019-07-09 17:21:10 +00:00
Translation updater bot 001494d627 Localisation updates from https://translatewiki.net.
Change-Id: I2458079f6fd4792baf135dbccb9dd598566e246f
2019-07-07 22:40:34 +02:00
Translation updater bot 922df1d568 Localisation updates from https://translatewiki.net.
Change-Id: I60ba04193c6da99eec9bcf87d64c3d89b28a305b
2019-07-03 22:45:14 +02:00
Translation updater bot 89fc29e80a Localisation updates from https://translatewiki.net.
Change-Id: Id33252aed11ca15f1a87b020c8f5ddfdfd6d4939
2019-06-24 08:39:05 +02:00
Translation updater bot dc8f713091 Localisation updates from https://translatewiki.net.
Change-Id: Ib8d8b4df908a5480821f0d7488565896896266a0
2019-06-16 22:36:21 +02:00
jenkins-bot 989af50dcf Merge "Make the download/share buttons actual links for right/middle click" 2019-06-15 22:09:38 +00:00
jenkins-bot e19944e67d Merge "Use Object.create( null )" 2019-06-14 18:31:26 +00:00
Translation updater bot 93d07bfcdb Localisation updates from https://translatewiki.net.
Change-Id: I52c1dfc0f64e688622e75a06fc23b6299f31b502
2019-06-13 22:39:58 +02:00
Simon Legner a663d2884c Chrome does not revert title to article title
The issue seems to be related with the chronology of the document.title
update and the history.pushState/replaceState call.

Bug: T225387
Change-Id: Ifcd11d5efb3ba64d88b137eccb4b9c763d043004
2019-06-11 11:50:44 +02:00
Translation updater bot 66e5d2577a Localisation updates from https://translatewiki.net.
Change-Id: I033ea52c58f672f01e27bf7235291ce19924b873
2019-06-10 22:55:22 +02:00
Fomafix 08d5eaeb20 Use Object.create( null )
Object.create( null ) creates an Object without predefined methods like
hasOwnProperty or constructor. This allow to use
	key in object
instead of
	Object.prototype.hasOwnProperty.call( object, key )
although key is 'constructor'.

Change-Id: I07ef3b97a6b2d1b2fa9f3fb746ffe93a7f325cdf
2019-06-10 15:03:00 +02:00
Fomafix f89d7dc878 Remove "window." for location and setTimeout
The JavaScript in core also don't use "window." for these browser
properties and methods.

Change-Id: I344573fd7ef0e73c252779b4e59a53168d16574f
2019-06-10 12:46:58 +02:00
Fomafix 7e03aa58a5 Use mw.log.error instead of window.console.error
mw.log.error is always present and calls console.error if available.

Change-Id: I6337ce7f0b6fef2933b067cda7097037cf757d7b
2019-06-10 12:22:19 +02:00
libraryupgrader 336dba408d build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: Ic5b0d96c42cbc1599dce82be13960e44f7f04dcf
2019-06-10 09:10:17 +00:00
Simon Legner cfe16ede56 Update AUTHORS
Content has been generated using the following command and .mailmap from mediawiki/core:
$ git log --format='%aN <%aE>' | sort | uniq --count | sort --reverse --numeric-sort

Change-Id: Ib3e3556f4f2f68e76863f04a043eba2b50f84178
2019-06-06 11:26:34 +02:00
Translation updater bot 8afd30599e Localisation updates from https://translatewiki.net.
Change-Id: If2a7d9363ec081c60428bd06f657e322ff142597
2019-06-05 22:29:27 +02:00
jenkins-bot ebb1497b82 Merge "Remove unused "position" field from "ResourceModules" in extension.json" 2019-06-03 07:51:03 +00:00
Kunal Mehta 0c460e78cf Remove unused "position" field from "ResourceModules" in extension.json
Bug: T224847
Change-Id: I260e9b19b1243f10aab749e6d2fdc4f2f571462a
2019-06-02 22:12:54 -04:00
Translation updater bot 20b9ec6e2e Localisation updates from https://translatewiki.net.
Change-Id: Ia0a1c86ff675247da484ade6a9cea2780873b28e
2019-06-02 22:30:20 +02:00
jenkins-bot 0d4d5096b1 Merge "Replace moment.js with Date.toLocaleString" 2019-05-31 21:14:00 +00:00
Simon Legner 682873dd2d Replace moment.js with Date.toLocaleString
Bug: T224626
Change-Id: Ib312821d2c72c2570cec29153557fd44e4db2bf7
2019-05-31 21:56:45 +02:00
jenkins-bot c7e33d0f5e Merge "Download sizes: 480p, 720p, 1080p, 2160p" 2019-05-31 16:54:00 +00:00
jenkins-bot 1e704eec51 Merge "Fix unresponsive download button" 2019-05-31 16:52:51 +00:00