Commit graph

2101 commits

Author SHA1 Message Date
Umherirrender 1f153df6d2 build: Always exclude vendor and node_modules
Change-Id: I40a46de7388d6c48762c3d9452fd3341354015a0
2017-11-12 00:25:39 +01:00
jenkins-bot 580dc91ba3 Merge "build: Adding MinusX" 2017-11-04 00:33:55 +00:00
Kunal Mehta 9a778e93d0 build: Adding MinusX
Change-Id: Ia8ef35fb534bb7e22bbb94270d08e055225526a6
2017-11-03 17:19:13 -07:00
Translation updater bot 5c37bd1d56 Localisation updates from https://translatewiki.net.
Change-Id: Ic28194a2738e7f643dccb5df035f6f8b39c45c1b
2017-11-03 22:35:58 +01:00
James D. Forrester 61febc07e3 Follow-up 3e5ad4c8: Fix jsduck for introduction of mw.storage
Change-Id: I1aebfa88fb6fc567c035cb47f2a71d88e23f2827
2017-10-31 12:41:21 -07:00
Ed Sanders 42b577bae9 build: Update linters
Change-Id: I7262fb369df0428c39adaf55128b83f019afb4c0
2017-10-31 18:42:04 +00:00
Translation updater bot 3d3a574c92 Localisation updates from https://translatewiki.net.
Change-Id: I10a0b33e6fb414ebbf252deb79f8694961c7678d
2017-10-22 22:41:08 +02:00
libraryupgrader e0b5000a37 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I79c2828e8b73dc0c8d5724c894a0cbf258d4cb48
2017-10-21 04:26:41 +00:00
Translation updater bot d15cdfe764 Localisation updates from https://translatewiki.net.
Change-Id: I838e2a864d2f3a8e93419cf2df93a5fe69f6e5a0
2017-10-20 22:41:07 +02:00
jenkins-bot a71ff2e318 Merge "Use User::getDefaultOptions instead of wgDefaultUserOptions" 2017-10-19 15:06:05 +00:00
Translation updater bot eb86d66931 Localisation updates from https://translatewiki.net.
Change-Id: Ied04afe4aa2ea2b3cda589d29a2a4f24ee254a1d
2017-10-17 22:51:12 +02:00
Matthias Mullie 51baec14a3 Use User::getDefaultOptions instead of wgDefaultUserOptions
multimediaviewer-enable default option does not exist in
$wgDefaultUserOptions, but is added in a UserGetDefaultOptions
hook callback.

User::getDefaultOptions will trigger that hook (and merge it
with $wgDefaultUserOptions), so that's the result that should
be used to figure out the value for multimediaviewer-enable.

Bug: T166058
Change-Id: Ib16a779430886305582dfce7db6600edd87ace11
2017-10-17 14:21:34 +02:00
Translation updater bot b360693984 Localisation updates from https://translatewiki.net.
Change-Id: I993a1b12ce421bba9c3d8460822d78cf116e9112
2017-10-13 22:44:55 +02:00
Translation updater bot a39647a247 Localisation updates from https://translatewiki.net.
Change-Id: I50f56d442c57ac81d211105139d8df45cfdc4a14
2017-10-11 23:03:42 +02:00
Umherirrender 08e52cb05d Improve some parameter docs
Change-Id: Id84edc2b38bf94724817e0b119aa27ea11341acb
2017-10-07 20:18:15 +00:00
Umherirrender 590c6cdf32 Allow https in test regex
Test failure from jenkins:
https://integration.wikimedia.org/ci/job/mwext-mw-selenium-jessie/6608/console
   Background:                             # features/mmv.download.feature:4
     Given I am viewing an image using MMV # features/step_definitions/mmv_steps.rb:21
       expected "https://creativecommons.org/licenses/by-sa/3.0" to match /^http:\/\/creativecommons.org\/licenses\/by-sa\/3.0$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^http:\/\/creativecommons.org\/licenses\/by-sa\/3.0$/
       +"https://creativecommons.org/licenses/by-sa/3.0"
        (RSpec::Expectations::ExpectationNotMetError)
       ./features/step_definitions/mmv_steps.rb:126:in `check_elements_in_viewer_for_image2'
       ./features/step_definitions/mmv_steps.rb:73:in `block (2 levels) in <top (required)>'
       ./features/step_definitions/mmv_steps.rb:70:in `/^the image metadata and the image itself should be there$/'
       ./features/step_definitions/mmv_steps.rb:25:in `/^I am viewing an image using MMV$/'
       features/mmv.download.feature:5:in `Given I am viewing an image using MMV'
 
   Scenario: Download menu can be opened   # features/mmv.download.feature:7
     When I click the download icon        # features/step_definitions/mmv_download_steps.rb:8
     Then the download menu should appear  # features/step_definitions/mmv_download_steps.rb:54

Change-Id: I6feda65ca8ff2bc8f790eaaac8f63e1feafcbdfd
2017-10-07 20:17:55 +00:00
Translation updater bot fbed87fa48 Localisation updates from https://translatewiki.net.
Change-Id: I13fa4529156b81021f169c51b97f0e4245b0d600
2017-10-06 22:42:35 +02:00
Translation updater bot 0f4e7adbdc Localisation updates from https://translatewiki.net.
Change-Id: Ib2859bf786271cd4a7360524562be30a97c3c726
2017-10-05 22:44:47 +02:00
Translation updater bot 4be3dbfe67 Localisation updates from https://translatewiki.net.
Change-Id: Ie30ec263f005b978e838b61313aae1766a198d09
2017-10-04 22:44:54 +02:00
Translation updater bot b3a0a94092 Localisation updates from https://translatewiki.net.
Change-Id: I0d563cb8ec38ea453e82cb50e37608b90abd96d4
2017-10-02 22:56:36 +02:00
Translation updater bot b9a0d60eca Localisation updates from https://translatewiki.net.
Change-Id: I543968228b6530cc9a31a9ce61ddc398acf812ee
2017-10-01 22:34:10 +02:00
Translation updater bot bca4e8d9aa Localisation updates from https://translatewiki.net.
Change-Id: I6718224ceab583017e1878d593184d9ba08672fa
2017-09-30 22:47:55 +02:00
Gergő Tisza bbe174bca8 Display warning for licence/attribution problems
Bug: T76030
Bug: T71389
Bug: T71557
Change-Id: I38c1548a0de6cfd3a48db7efd7502a99f168d4a5
2017-09-28 15:34:30 +02:00
Gergő Tisza eca337e62f Add functions to display/remove a warning in the dialogs
Adds setWarning(<element>,...) and clearWarning() to mw.mmv.ui.Dialog.
These functions can be used to display a warning ribbon with the given
text in the reuse dialogs, typically when the copyright status of the
file is problematic (e.g. non-free or tagged with {{wrong licence}}).

Bug: T76030
Bug: T71389
Bug: T71557
Change-Id: I7c477c810d391578ec64635357eda97a85ab2954
2017-09-28 12:45:17 +00:00
Arseny Kravchenko 92c6578ce3 Update for $wgMediaViewerEnableByDefault
To be consistent with $wgDefaultUserOptions logic

Migration of bugzilla bug id to maniphest

Bug: T148492
Change-Id: Ie371a0c2445c9aededb5c9e26018d19cbd616358
Depends-On: If53a735458703f0bd2c094349edf86f38f05ccd7
2017-09-25 15:00:25 -05:00
Translation updater bot 149dada123 Localisation updates from https://translatewiki.net.
Change-Id: I35883857d4409d4d0f627640444e6b8f345900e3
2017-09-24 22:48:08 +02:00
libraryupgrader 882c047fad build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I982115b5aa22e4f2b66c6353a5fb8aa37f342e13
2017-09-24 05:29:42 +00:00
Translation updater bot f5a9d86e59 Localisation updates from https://translatewiki.net.
Change-Id: I82e6eb1dfcc1b0f931719ef125944383d8f8aa3a
2017-09-23 22:43:26 +02:00
Ed Sanders 2156f3f485 Remove jquery.scrollTo library
This is an old library that is broken in Chrome 61.
Rather than updating it we can just use $(window).scrollTop/Left
which works in all the browsers we currently support.

Fix MPSP.toggle to return a promise, instead of a deferred
(although this return value is not used yet).

Bug: T173618
Change-Id: Iaec56debbb808bd95cf65c1ebfe22bdf0116da68
2017-09-14 12:45:46 +01:00
Translation updater bot 663f410c2e Localisation updates from https://translatewiki.net.
Change-Id: I47e1e654d11758ce22916baa3b7b51832aab62cc
2017-09-10 22:35:04 +02:00
Translation updater bot 3d07cfe68e Localisation updates from https://translatewiki.net.
Change-Id: Ifc7c931528a8d7e4beaa1317597af28cbd58c452
2017-09-09 22:39:42 +02:00
Translation updater bot 22441cadfc Localisation updates from https://translatewiki.net.
Change-Id: I7b3927b193db9d9e2e2b2f9c780387b76c1d75e0
2017-09-04 22:39:15 +02:00
Translation updater bot 6a3e224a28 Localisation updates from https://translatewiki.net.
Change-Id: Idcc36ea4d30549f34f9d84ce52b83eb463dd141b
2017-09-03 22:25:48 +02:00
libraryupgrader f2f3acbcf9 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: I5d10b3632c5503ba25fd44f61a69ad2992938893
2017-09-01 04:53:51 +00:00
Translation updater bot cd39be2d4f Localisation updates from https://translatewiki.net.
Change-Id: If0b60ff9d8c5577468e039d8a9a281443a57657c
2017-08-30 10:52:14 +02:00
Translation updater bot 3676b7548b Localisation updates from https://translatewiki.net.
Change-Id: I7d77a89dd7d9b2e1791ed9f76ed0d5ee79737751
2017-08-28 13:08:03 +02:00
Translation updater bot b97b58d64e Localisation updates from https://translatewiki.net.
Change-Id: Ic39da33e77411708a981d4a13b9dae7dc6214c51
2017-08-25 09:40:21 +02:00
Umherirrender 044af4ff02 Remove dot at end from extension description
Consistency tweak for extension active on translatewiki.net
Description on Special:Version does not end with a dot

Change-Id: I92f2d52a4c1bc89686d5a5454cfbc5c0fb032c34
2017-08-24 20:41:28 +02:00
Umherirrender ffd3706017 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I4a137668bc9d8b575c26ada2a58b702c2e6860bc
2017-08-19 10:10:03 +02:00
Translation updater bot 923d4c94c6 Localisation updates from https://translatewiki.net.
Change-Id: Idf0097932986dea1182b1da0c7198e8fad3b2312
2017-08-14 09:19:26 +02:00
Kunal Mehta efcd3630ed build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I8c26756e06e13b2f9d3527f4e2377eb71f898a4c
2017-08-11 00:05:46 -04:00
jenkins-bot f192d92b96 Merge "Remove obsolete vendor prefixed at-rules" 2017-07-31 21:00:51 +00:00
Translation updater bot 9097d1e443 Localisation updates from https://translatewiki.net.
Change-Id: Id52e891f760488a380e2475083960d7bb208d23d
2017-07-31 22:51:11 +02:00
Volker E 692b2b2f15 Remove obsolete vendor prefixed at-rules
Opera 12.10 supported unprefixed animations, gradients, transforms &
transitions. See http://www.opera.com/docs/changelogs/unified/1210/
Removing support for Opera 12.0x versions.

Change-Id: Id0e0afef1ab6ebda373d63b9c91c7ee731dafb7b
Depends-on: Ie8edbcd7f85c713ea2156706ea3a3a7b423d8d9d
2017-07-31 21:48:24 +02:00
Antoine Musso e0018d31c1 Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:27:37 +02:00
Translation updater bot 020e7a8894 Localisation updates from https://translatewiki.net.
Change-Id: I7ed01d7da47d9c7e1701558308138dcd827ccf5d
2017-07-26 22:41:11 +02:00
Timo Tijhof 7ae8401c22 Avoid use of deprecated QUnit.asyncTest and QUnit.start/stop
Change-Id: I9cc132f71df072c724b6cff6f1d935abbe092596
2017-07-25 17:59:27 -07:00
Timo Tijhof 5bf1466e7f Remove use of QUnit.test(, testCount, )
* Removed deprecated testCount, which is no longer supported in this way.
  It's only useful when wanting to explicitly expect 0 assertions (normally
  considered an error).
* Replaced use of testCount = 0, with assert.expect( 0 ).

Change-Id: I8fe82032d3af2a1ad2ed7febdb90a95d56dd3fc4
2017-07-26 00:12:06 +00:00
Kunal Mehta c55c2da202 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I81af956e88fbd038f3b3c82c0eb9a3e1b6f9aa92
2017-07-23 00:29:48 -07:00
Translation updater bot 0de90f178d Localisation updates from https://translatewiki.net.
Change-Id: Id5b6e6cf0c323b2e26e7f8e4c62d2d76a66d1eb7
2017-07-20 22:50:54 +02:00