Commit graph

2767 commits

Author SHA1 Message Date
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
jenkins-bot e34ffbe40f Merge "Fix routing after repeatedly opening/closing" 2019-05-31 16:26:32 +00:00
Translation updater bot 1ebe4806a2 Localisation updates from https://translatewiki.net.
Change-Id: Ie86e787ad5db324d97698e8db6acd849d973b4a8
2019-05-30 22:53:42 +02:00
Simon Legner 1a00347c49 Fix unresponsive download button
Some handlers were not correctly unregistered when performing
`unattach`. Thus, `Dialog.handleOpenCloseClick` could be fired more than
once resulting in the dialog been opened and closed immediately
afterwards.

Bug: T186461
Change-Id: I0c3c79644a10d7201ef198f4a4d381c10db4c3af
2019-05-28 23:11:18 +02:00
Simon Legner e77393744d Fix routing after repeatedly opening/closing
Steps to reproduce:
1. click on image, 2. press Esc, 3. click on image, 4. press Esc

Expected results: page is visible again
Actual results: navigation to previous page happens

Change-Id: Idd1b6612971b8ea258bb55982e3241986ad1a54d
2019-05-28 22:37:00 +02:00
jenkins-bot a4e63f623c Merge "Adopt mediawiki.router" 2019-05-28 15:14:50 +00:00
Translation updater bot d933c1c728 Localisation updates from https://translatewiki.net.
Change-Id: Ib13ef9d10f71bcede40d92a0c78e0b08d1a5aeae
2019-05-26 22:23:12 +02:00
Simon Legner b1ade19388 Adopt mediawiki.router
Bug: T77258
Change-Id: Id4df92b0ebed3fb4f4b9269862c952f3968bf957
2019-05-26 19:46:38 +02:00
Simon Legner 2fbf2c06a9 Download sizes: 480p, 720p, 1080p, 2160p
Bug: T77642
Change-Id: I41b7d59d14342345fc060085b755ce28f3e9cf98
2019-05-26 19:15:09 +02:00
Ed Sanders 394b893c7d Use upstream CopyTextLayout in share/embed/download panels
Results in small UI changes, but allows us to delete a lot
of code duplication.

Depends-On: I9049f5a1c0d88680fc4a174e390dd08e27c0eee2
Change-Id: Iebe7bdc8a026b929a35e823d8107d90e7bb62b82
2019-05-23 20:01:36 +01:00
Translation updater bot 0808346969 Localisation updates from https://translatewiki.net.
Change-Id: I8f716bcc40c4a15e14e7d9a8275f31d080b7b0c9
2019-05-20 22:30:10 +02:00
jenkins-bot 4f9b3eff8a Merge "Enlarge click regions of all icons in the main UI" 2019-05-20 11:08:08 +00:00
jenkins-bot a3bd1df9b9 Merge "Make multiline text fields auto-size depending on the value" 2019-05-20 10:46:17 +00:00
jenkins-bot bc666cb1e7 Merge "Show the hand mouse cursor on all "copy to clipboard" icons" 2019-05-20 10:07:48 +00:00
Thiemo Mättig 8b647c09e7 Make the download/share buttons actual links for right/middle click
Bug: T71469
Change-Id: Ib9dca98a70a056e93e252ba1d08479be509e7a18
2019-05-20 09:05:10 +00:00
Thiemo Kreuz 873a88e654 Enlarge click regions of all icons in the main UI
Before, the icons on the right all had a 24x24px click region, exactly
as big as the icon. There was no wiggle room. You had to be very precise.
This patch adds a padding that can be clicked as well, 14px left and
right, but no additional padding top and bottom (this might be an
additional change for another patch).

I made sure the positions of all icons are 100% as before.

Change-Id: I1618681b5ab714cb4cfc789dc6d501ec30643bc0
2019-05-19 19:00:27 +00:00
Simon Legner 44ed1c69b8 Fix typos in qqq.json
The keys/strings "small" and "large" were mixed up.

Change-Id: Icf3b4853d0fe6e156d1fa9cc0754fd9815739411
2019-05-19 20:25:20 +02:00
jenkins-bot fb40e5b09f Merge "Do not clone CSS class names as well" 2019-05-19 13:12:18 +00:00