Commit graph

1543 commits

Author SHA1 Message Date
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
Translation updater bot 539783b8c4 Localisation updates from https://translatewiki.net.
Change-Id: I6627bab830f0ef064eb4f3088da0734557722e06
2017-08-06 22:44:31 +02:00
Antoine Musso aa5d550e7f Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:35:02 +02:00
Translation updater bot 0ad2bfcbb4 Localisation updates from https://translatewiki.net.
Change-Id: I44502d907ffb0f8bef7225a218a00f35655234c6
2017-07-24 23:11:57 +02:00
Kunal Mehta fb8f8cd256 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I8b9a4471eef64bc343d394c70123a0724bd60095
2017-07-23 00:36:39 -07:00
jenkins-bot 6fc4507fbe Merge "Remove workaround for OOUI bug" 2017-07-21 12:25:22 +00:00
Translation updater bot c27c9697f6 Localisation updates from https://translatewiki.net.
Change-Id: I99ae9dab239327b961d15802be6f7a63b418e55c
2017-07-19 22:50:43 +02:00
WMDE-Fisch ab5ae5fb98 Remove workaround for OOUI bug
Change-Id: I51d18287736de0ab5d44a74764e3e0b46892c9c6
2017-07-19 11:11:36 +02:00
Ed Sanders b1f2613d79 Use core wgDiffOldId/wgDiffNewId JS config values
Newly introduced in a469795efc5bc1c585c9f84ee289ee099833661d.
This will require MediaWiki 1.30.

Change-Id: I9897a77b24e258bf037f8ec6cafa1d0684bf867d
2017-07-18 16:16:05 +00:00
WMDE-Fisch cf5d602a53 Update eslint and fix issues
Change-Id: I0e3ad763398430608c30bb22741a57c81b2b7062
2017-07-14 12:28:45 +02:00
WMDE-Fisch ab874bdd57 Improve doc, naming and pointer updates
Several improvments including documentation, naming and refactoring:
- bundeling of methods setting, redrawing and loading new diffs
- renamed and improved documentation around some methods in that area
- fixed some leftovers from past refactoring not using new methods

Change-Id: Idf1afcd6ce9210951d28655128a47150f6b7a2aa
2017-07-14 10:19:33 +00:00
WMDE-Fisch 553e48e65a Move scrollType detection to utils
Change-Id: I465e0b74a7d7a6682b22bdd6e7aafb794bce9b24
2017-07-14 10:19:28 +00:00
WMDE-Fisch ada6498b81 Move data pos attr to PointerView
Change-Id: I46c3dceaddae84b279625caec3349aa10d931048
2017-07-14 12:18:51 +02:00
WMDE-Fisch 60f29e11cc Let pointers block each other at the ends of the slider
Bug: T168265
Change-Id: I072e0ddd5f6ab19f5676a0910ffa2e10c258a4a1
2017-07-11 12:37:01 +02:00
WMDE-Fisch 4a9ee131d3 Refactor pointer class names
Pointers can always be identified as the pointer for the "older" and
"newer" revisions. Class nameing was cleaned up and changed accordingly.

Change-Id: Id17878e780b5a405b196fdc5ec7429eeaef5bd4c
2017-07-11 10:17:24 +02:00
WMDE-Fisch 90d90a2f3c Refactor pointer position access
Pointers do not change roles anymore. Older and Newer pointer will
always stay the same. Removed and refactored some logic in that
regard.

Change-Id: I60cf58fb9d0728a9644ed29cac335ebbe7f3de11
2017-07-11 00:42:36 +02:00
WMDE-Fisch 94f9daef82 Minor optimisation and clean up
- reused jquery element
- removed unused method
- fixed doc type
- merged some css

Change-Id: Iadd9d7cb464691b39b7c251b401f687b3d5008b3
2017-07-10 22:41:43 +00:00
Translation updater bot 1ff3058e82 Localisation updates from https://translatewiki.net.
Change-Id: I148e8be0280b2afa246a3cded245192e1cf961ee
2017-07-06 22:57:38 +02:00
jenkins-bot 449dfdb051 Merge "Do not hook RevisonSlider into MobileDiff page" 2017-07-06 14:31:44 +00:00
jenkins-bot ac5e6de6f4 Merge "Add jQuery reference to modules using it" 2017-07-06 14:31:29 +00:00
Translation updater bot eb2e91913f Localisation updates from https://translatewiki.net.
Change-Id: I1ab54674c832184453a3e2273b5cb6d3acc02398
2017-07-05 22:39:55 +02:00
WMDE-Fisch edfd885543 Remove last SliderViewTwo parts
Bug: T165747
Change-Id: I9ac410613361e567bd825f096eb12bbb3edc5cde
2017-07-05 10:22:33 +02:00
WMDE-Fisch d299926ff9 Merge/Remove revisionWrapperClickHandler code
Change-Id: I1060f94d81dcfcf4457cea27e71a5d92c22a2186
2017-07-04 12:16:57 +00:00
WMDE-Fisch 05925e3ab0 Merge remaining pointer methods
Change-Id: I89562e445481b9785cf18e02ea02040105632af7
2017-07-04 12:16:49 +00:00
WMDE-Fisch c6f24f2100 Merge container and pointer building and dependencies
Change-Id: I52ac8b42e39b3a37c0bac6b7fff5a676d7c2ecfe
2017-07-04 14:02:58 +02:00
WMDE-Fisch fc5c13f359 Merge draggableDragAction and dependencies
Also temporarily deactivate browser tests for bar clicking.

Change-Id: I347533ef445cb3c37e420beebcc79919e56a1223
2017-07-04 10:56:40 +00:00
WMDE-Fisch 11caf4c828 Do not hook RevisonSlider into MobileDiff page
The RevisionSlider is not ready for the MobileDiff right now, so
do not include him on the MobileDiff page, even when the hook is
called.

Bug: T169535
Change-Id: I190a8681adad4e8605ae5c8bd69399459f364238
2017-07-03 16:56:43 +02:00
Kunal Mehta 37267aba11 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I1e2b92697a8ab82c5c196dfb499917163de58c3e
2017-07-01 01:41:54 -07:00
WMDE-Fisch 890737a621 Simplyfied lint file selection
Change-Id: I25f624db06d4c7f2cd4260c37cc7c1d11162b795
2017-06-29 15:35:49 +02:00
WMDE-Fisch 64bf845aef Add jQuery reference to modules using it
Change-Id: Icf5ff3459978b7c7a5fa8e24b42981e789bcc492
2017-06-29 10:14:27 +02:00
Mukunda Modell 8bea89dbdd Set onDiffViewHeader argument defaults = null
See also I1221357746f5d4ba1430bcf0bfe773202484eebc

Change-Id: I0b96a9557ed1fc0e9a74e14bc25753ecddd97d1d
2017-06-29 00:07:37 -05:00
Translation updater bot ca9a2134b2 Localisation updates from https://translatewiki.net.
Change-Id: I77da992371f61752734e76d6cd1cdb96e029fcdc
2017-06-28 23:06:24 +02:00
jenkins-bot ef2604f00f Merge "Improve support for screenreaders" 2017-06-27 11:23:27 +00:00
WMDE-Fisch 557ab23aa9 Fixes to address MW PHPCS 0.9
Change-Id: Ia911d9aa0516d6619bd62f104a527b1dc1b62228
2017-06-26 11:58:50 +00:00
Translation updater bot f4baf5e6dc Localisation updates from https://translatewiki.net.
Change-Id: I7be7978e3db2c99dbb442fdea60716ccd6bfbc8d
2017-06-25 23:13:42 +02:00
Translation updater bot fccb50badd Localisation updates from https://translatewiki.net.
Change-Id: I791e28f231beefaccb1f42b942d663cc7286c8c3
2017-06-24 22:52:12 +02:00
Translation updater bot 72aa8fff95 Localisation updates from https://translatewiki.net.
Change-Id: I9ff1e6dc46dfd5613ed2fc79cf0b0fa6f3439a9f
2017-06-23 22:47:46 +02:00
Andrew-WMDE 80ab1408ac Remove BetaFeature Code
Bug: T167276
Change-Id: Iad2e34e2f906777c7ba0e22e245dc55891f211ae
2017-06-23 14:45:48 +02:00