Commit graph

830 commits

Author SHA1 Message Date
Translation updater bot 6439c5cc25 Localisation updates from https://translatewiki.net.
Change-Id: I3f5f055f04da0c00923ff317147d897c5c7081a5
2017-11-10 22:50:05 +01:00
Kunal Mehta 18ddfcd388 build: Adding MinusX
Change-Id: Iedabfee60461f0c95d304d8021785c35b3293db0
2017-11-03 18:59:16 -07:00
jenkins-bot 4c5e32e925 Merge "Replace border-color with WikimediaUI palette one" 2017-11-01 12:07:40 +00:00
jenkins-bot 54ac49ea1e Merge "Remove obsolete CSS .mw-revslider-button-active rule" 2017-11-01 10:49:47 +00:00
jenkins-bot df84c7b8a5 Merge "Use LESS nesting features" 2017-11-01 09:31:10 +00:00
Volker E d6bf659239 Replace border-color with WikimediaUI palette one
Replacing `#ccc` with WikimediaUI color palette's `#c8ccd1`.

Change-Id: Idb7f7b67c2df7a2dac61d09de46bf527713ab465
2017-10-31 20:06:41 -07:00
Volker E 4df0a58755 Remove obsolete CSS .mw-revslider-button-active rule
Removing unused CSS rule for `.mw-revslider-button-active`, which
is not in use anywhere.

Change-Id: Id1c7e8e17b03b54105266bca0418b285840de4f7
2017-10-31 18:55:21 -07:00
Translation updater bot 295ca2b6bc Localisation updates from https://translatewiki.net.
Change-Id: I1171e36ad8d133d1850af1ad5bc247c320ef62ec
2017-10-31 22:40:24 +01:00
Ed Sanders b9f0e2adfe Use LESS nesting features
Change-Id: I6d14b0533510840fb96a56ec3bc38e0bca7a70d0
2017-10-30 21:24:22 +00:00
jenkins-bot 7ff4712b4f Merge "Use LESS color calculation for blue/yellow slider styling" 2017-10-30 12:36:57 +00:00
Ed Sanders 684c6c4b0c Use LESS color calculation for blue/yellow slider styling
Change-Id: I7220acf4b5c4a70f56cde67269c09cd3bf757f19
2017-10-27 19:54:43 +01:00
jenkins-bot 01b21369f2 Merge "Fix collpase button margin/padding" 2017-10-27 12:28:01 +00:00
Ed Sanders 3ceff1f45b build: Update devDependencies
Change-Id: I61da01c4416a2f32b4cfa522153284c455c91e6a
2017-10-27 12:07:25 +01:00
Ed Sanders bc17a6e9ab Fix collpase button margin/padding
Change-Id: Ia5f2aec089b27085f1dcc4f3e3d49b0a09e4dc26
2017-10-27 12:04:11 +01:00
Ed Sanders 28b436eb16 Cast strings to numbers
Change-Id: Iafbb0ed5197cc7e92ebfc2fb9365c1903ce9ffef
2017-10-27 10:49:01 +01:00
libraryupgrader 908b7c808b build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I96fb4b006004b4f68cc58c2ab31fcaafccdc02cc
2017-10-21 04:29:36 +00:00
Translation updater bot cb12a991b2 Localisation updates from https://translatewiki.net.
Change-Id: I3b80eabb11be821d22f757bee7a1b2b70e29e8bf
2017-10-20 22:48:55 +02:00
Translation updater bot c7b191db92 Localisation updates from https://translatewiki.net.
Change-Id: I04eaf19d82d6f95409135b0819d3cfad85b9f127
2017-10-11 23:09:53 +02:00
Translation updater bot 77ab383942 Localisation updates from https://translatewiki.net.
Change-Id: Ib70e638d5090d92567aabb1ddbc2de65f6a8f046
2017-10-10 23:05:50 +02:00
Translation updater bot 00624cd6ce Localisation updates from https://translatewiki.net.
Change-Id: I914a46aed32101befa02b452f2f636a30ab6995a
2017-09-27 22:37:37 +02:00
Translation updater bot 26f26a23af Localisation updates from https://translatewiki.net.
Change-Id: I0396e092156875bed0c8840a7b4c8900fb35dc53
2017-09-26 22:48:04 +02:00
libraryupgrader ce352749bf build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: If7e2cece08c3c99d7acd5617abfb8368ec699d0f
2017-09-24 12:30:47 +00:00
Translation updater bot 13a6cd5767 Localisation updates from https://translatewiki.net.
Change-Id: Iff322bdf71c67e6e4f29d88848d7316ec22806dc
2017-09-22 23:21:15 +02:00
Translation updater bot ce8f25a686 Localisation updates from https://translatewiki.net.
Change-Id: I18564dc0925901e5baf972ed4af4788e82aedc4f
2017-09-19 23:08:26 +02:00
Translation updater bot 8166c78e3a Localisation updates from https://translatewiki.net.
Change-Id: I1b6708949caf9e6e262ee031df7a8a62ff024989
2017-09-17 22:39:13 +02:00
Translation updater bot 06a096d6bd Localisation updates from https://translatewiki.net.
Change-Id: Idf2914ea3183dca55b9ff88f64db6d1535510326
2017-09-16 22:57:22 +02:00
Translation updater bot f1c2bea34c Localisation updates from https://translatewiki.net.
Change-Id: Ic9e951e3b38f8cf894e584d15349436985e86e4c
2017-09-12 22:49:03 +02:00
Translation updater bot 5d762ce58b Localisation updates from https://translatewiki.net.
Change-Id: I88bc5039ba261650c39b56e20f4d84095a1974b3
2017-09-06 22:54:35 +02:00
Translation updater bot d8d8795e7f Localisation updates from https://translatewiki.net.
Change-Id: Iacdae5c54c288898f0b32bfbdc58aaa4cef95a1a
2017-09-03 22:33:19 +02:00
libraryupgrader 61855b607a build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: Ia2cd81af769b08129baad4193a478343d9f9b2a3
2017-09-01 04:56:33 +00:00
Addshore b86be90b06 Reintroduce improved hover and bar clicking
This patch mainly reintroduces the option to click on bars and move
the pointers with it. To do this, 'ghost' pointers are introduced
to show what would happen when bars are clicked. The pointers moved
differ depending on where the user clicks on a bar. Pointers are
still not allowed to change positions, so in some cases booth pointers
move with one click. See the task description.

The patch also includes some renaming and also refactoring of the
click handling in general. Furthermore bar hover mechanics are handled
by the RevisionListView class now.

Moving both pointers is not possible when it would push one of them of
limits.

Bug: T172092, T173566
Change-Id: I32a8256f7667e03081324d54accdf03a17454faf
2017-08-29 09:19:13 +00:00
Fomafix 82427b09bc Fix dependencies to core modules
Add dependency on module 'mediawiki.util' for module
'ext.RevisionSlider.DiffPage' because
modules/ext.RevisionSlider.DiffPage.js uses mw.util.wikiScript.

Remove dependency on module 'mediawiki.util' for module
'ext.RevisionSlider.RevisionList' because this module does not use any
functions from mw.util directly.

Remove dependency on module 'mediawiki.user' for module
'ext.RevisionSlider.init' because this module uses only mw.user.options
which is generated in core module 'mediawiki' and not in
'mediawiki.user'.

Change-Id: Ifc6a20de667a410b9890fdc1fcba3319beb061de
2017-08-27 16:55:29 +02:00
Translation updater bot 05d5bf8c44 Localisation updates from https://translatewiki.net.
Change-Id: I2290615ba80da2736159d261bff10167e11a9206
2017-08-25 09:52:36 +02:00
WMDE-Fisch dcfb074916 Fix typo and set optional values
Change-Id: I43174f7c28e0f665decf88f92f9175bb4c69a3cb
2017-08-23 17:01:03 +02:00
Translation updater bot 722266888f Localisation updates from https://translatewiki.net.
Change-Id: I9b12ad8f3c28a4abe00c08030469aa57c4fdc63c
2017-08-22 09:12:34 +02:00
Translation updater bot 46c319a18c Localisation updates from https://translatewiki.net.
Change-Id: I226e42ea39e298a13f468fc269e29a5908234dbf
2017-08-19 09:15:34 +02:00
WMDE-Fisch 30ec41e65c Use json extension for .stylelintrc
Change-Id: I944727a74e9c34ac327f08e948acba2277f318e6
2017-08-17 16:59:17 +02:00
jenkins-bot c13e687cb0 Merge "Revert "Reintroduce hover and bar clicking"" 2017-08-17 14:08:22 +00:00
WMDE-Fisch 1d2811f3d9 Revert "Reintroduce hover and bar clicking"
We want to make an announcement first.

This reverts commit 0da5702f82.

Change-Id: Icbf5fb99c3fbb87a47106e25d9d80685e86cba32
2017-08-17 13:52:53 +00:00
Translation updater bot fae3508fcb Localisation updates from https://translatewiki.net.
Change-Id: Iec985901a29d68b913492292f9afce5cba720006
2017-08-14 09:31:04 +02:00
Kunal Mehta 2e53537bc4 build: Updating jakub-onderka/php-parallel-lint to 0.9.2
Change-Id: I176fa1c3a1dc07ee8f41ca8c9efdcbf71055b0b1
2017-08-12 23:37:28 -04:00
mdew192837 61e5d029cd Fix unnecessary reloading of diff
Currently, when dragging a pointer over another revision but not
releasing it until it is at the same location, the diff still reloads
This change stores the initial positions and comparing at the end.

Bug: T163425
Change-Id: I430650d12bfeb3ce4af59abe91f18cc2b861a3de
2017-08-12 10:45:16 -05:00
WMDE-Fisch 0da5702f82 Reintroduce hover and bar clicking
Bug: T172092
Change-Id: I496143f2425eccd0028cc1980fc7189a457c70a2
2017-08-11 17:54:48 +02:00
Kunal Mehta 0fa76c8adc build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I3ab19cdd1e7f43404af62985f38c0a78ac997efd
2017-08-11 00:27:19 -04:00
mdew192837 8f9b30b3ac Reduce confusion for mw.util.getUrl()
Currently, `this` is passed as the parameter for pageName, making it
seem like getUrl() can take in an object as the first parameter, when
it should be a string. This works right now because of a tertiary
operator that fetches what we need. To reduce confusion, we should
pass null instead.

Change-Id: Ieea30a4933f3e3fdeb8331c5c544bf1eb034e6b7
2017-08-10 13:49:38 -05:00
Pmlineditor ea187d6944 Convert date in Revision Slider tooltip to link
Bug: T171067
Change-Id: Iedcefdebe99138dc58bec50aaa7e9560d9101c96
2017-08-10 11:46:53 -04:00
mdew192837 d665c03e0a Monobook uses x-small and a globalWrapper to make everything inside
of it appear normal. However, the revslider-tooltips are not inside
this globalWrapper, and thus need a separate CSS rule.

Bug: T166231
Change-Id: I2115688fee75145349e062b9586713a56541afa0
2017-08-09 10:49:24 -05:00
jenkins-bot 31b79d98fd Merge "Update scroll type detection" 2017-08-08 23:35:00 +00:00
Translation updater bot d1d8d179f2 Localisation updates from https://translatewiki.net.
Change-Id: I171702692a0c261314139dba3df7540e8ea388e2
2017-08-08 23:00:07 +02:00
WMDE-Fisch 7c58766b48 Update scroll type detection
Port of a fix in the original source:
1c6d684503

Change-Id: I2d53e467b79d586efc079a15ebc0a52382352f9e
2017-08-06 23:49:48 +02:00