Commit graph

1455 commits

Author SHA1 Message Date
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
jenkins-bot f5e74e2179 Merge "Use tabs to indent xml" 2017-06-22 21:15:26 +00:00
Translation updater bot 53bced8353 Localisation updates from https://translatewiki.net.
Change-Id: I9bd125b2e071efc6c710515bff03f7b2ef1a3fc6
2017-06-22 23:02:52 +02:00
Umherirrender 15369ee73b Use tabs to indent xml
Also exclude node_modules from build process, use correct notation for
utf-8

Change-Id: I6808eaf1bc2a2f551ae29552a37750bd533620e7
2017-06-22 22:52:07 +02:00
WMDE-Fisch c78cf805cd Add fallback background color for linear gradient
Change-Id: I61ff34e29f12fdbb46c30c08428ad5e9bfe1517f
2017-06-22 13:54:10 +02:00
Translation updater bot 7e219bc173 Localisation updates from https://translatewiki.net.
Change-Id: Id1acd40e25cf6a17963d60c78eb382ccdd18c724
2017-06-21 22:54:49 +02:00
WMDE-Fisch 6ffe96bc4c Fix errors leading to wrong slider scroll postions
The detection touched in this patch addresses slightly different
kinds of RTL handling in browsers. The detection how things are
handled seems to be broken in the mentioned Chrome V8 versions.

The workaround takes care of that issue. With Chrome V8 6.0 this
should be fixed and the workaround can be removed.

P.S.: Credits to Leszek for the idea what's actually going on.

Bug: T168299
Change-Id: I068c2fb6ba60189004c0ec6661fcd346af16126c
2017-06-21 15:21:08 +02:00
jenkins-bot 61db89cc39 Merge "Merge SliderViewTwo CSS into main CSS" 2017-06-21 12:13:14 +00:00
WMDE-Fisch 12e34322bc Merge SliderViewTwo CSS into main CSS
Bug: T165747
Change-Id: I1949591063bb8d2df7ddf3bc0c33247ece1bd522
2017-06-21 10:13:32 +02:00
Translation updater bot 73701c0911 Localisation updates from https://translatewiki.net.
Change-Id: I74cadcd75814cc82f3b3a997964c794da0e5e420
2017-06-20 22:59:11 +02:00
Kunal Mehta 9895763673 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.FunctionComment.Missing.Public

Change-Id: I46aa05cd51d5195b5ebf00e45d83d0d3e7bbc5f4
2017-06-20 09:07:47 +00:00
Translation updater bot 0552cad37f Localisation updates from https://translatewiki.net.
Change-Id: Ib9c1356ff055b07ed58a8e207f84111d0fdd3c64
2017-06-19 23:04:06 +02:00
Translation updater bot 6219d26207 Localisation updates from https://translatewiki.net.
Change-Id: I6016953dbe9b149fde99c239fb24792d9ae57d14
2017-06-18 22:48:15 +02:00
Translation updater bot 53f72a98c1 Localisation updates from https://translatewiki.net.
Change-Id: I46c3e016ce17c684c2cec19bef968f9b2e611d50
2017-06-17 22:41:37 +02:00
Translation updater bot c448d0880a Localisation updates from https://translatewiki.net.
Change-Id: Ia242ae303213e51094e584455d976486d68f964b
2017-06-16 22:52:59 +02:00
Translation updater bot 6d77444957 Localisation updates from https://translatewiki.net.
Change-Id: I665a19d9a51c646678096ed7f55893933ddcd6c8
2017-06-15 23:14:34 +02:00
Translation updater bot 929530da53 Localisation updates from https://translatewiki.net.
Change-Id: Icd27fdd5b461f716fb357835942711ba08ba858d
2017-06-13 22:43:22 +02:00
Translation updater bot 7af1f28891 Localisation updates from https://translatewiki.net.
Change-Id: Iccedf081c1904a00f79aede75a323a0a50f53019
2017-06-12 22:45:27 +02:00
WMDE-Fisch 5f8bf83849 Improve support for screenreaders
This patch improves screenreader support by applying some basic
rules and improving the OOjs UI usage. Things done here:

- make use of 'aria-label' attribute to label interactive buttons
- use connect method on help button to allow keyboard interaction
- give hint on help button that it opens a dialog
- communicate state of autoexpand button
- add attributes to make screenreaders understand the accordion
mechanism if the slider widget

See:
https://www.w3.org/TR/wai-aria-practices/#button
https://www.w3.org/TR/wai-aria-practices/#accordion

Bug: T165489
Change-Id: I7a174e5971a751ec54d4d5115d5441f0a577c103
2017-06-12 09:14:22 +00:00
Translation updater bot 40bb26c238 Localisation updates from https://translatewiki.net.
Change-Id: I0ed04cd940e9fd4811b67594db3330c3022fcff0
2017-06-11 22:39:02 +02:00
Translation updater bot 0ab3a9cfa4 Localisation updates from https://translatewiki.net.
Change-Id: I3abc72b56770d4b43851b9c4aa4cdf46f0d9de65
2017-06-11 00:29:40 +02:00
Translation updater bot 1ccdc5f2d2 Localisation updates from https://translatewiki.net.
Change-Id: I9176fff792719eec451068251253b3388d1407b0
2017-06-09 22:56:05 +02:00
Chad Horohoe 0687de3fbd Also drop Revision typehint from $oldRev
Already did this in $oldRev, this follows up I4c483d7

Bug: T167359
Change-Id: I8b74932caf1188005155b4cbd8a1ff76066b1604
2017-06-08 15:32:01 -07:00
Translation updater bot df5bb3a83e Localisation updates from https://translatewiki.net.
Change-Id: I593c6814dd539fa226c54dc5b14979ef613299c3
2017-06-08 23:09:08 +02:00
aude 71c586a351 Handle possible null $oldRev in DiffViewHeader hook handler
Sometimes $oldRev can be null (e.g. not a Revision, but
maybe is a missing revision), and also not sure we can be
certain about $newRev being a Revision object.

Bug: T167359
Change-Id: I4c483d711f2ec07a918c708a473aff1b2c150cf5
2017-06-07 22:19:16 -04:00
Translation updater bot 5de737982a Localisation updates from https://translatewiki.net.
Change-Id: Iec47d7dcc035722d5a5ab4448f2668d4f88cedf3
2017-06-07 22:49:29 +02:00
Amir Sarabadani ef55b36ab0 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: I5c6cfa4ff55bcfce749b3b7c1bc9ec8976839c96
2017-06-07 15:44:12 +04:30
Translation updater bot 169979402e Localisation updates from https://translatewiki.net.
Change-Id: I38a259fa62a4a002fd4e07e8f44319ea47a85bdb
2017-06-06 22:42:58 +02:00
jenkins-bot 172b9c1832 Merge "Adjust pin layout to new OOjs UI defaults" 2017-06-06 11:42:49 +00:00
WMDE-Fisch fe8bddd881 Adjust pin layout to new OOjs UI defaults
Bug: T166803
Change-Id: I3153b948f3e0a069d6a9869a07e235fcbf8b9e57
2017-06-06 13:04:15 +02:00
jenkins-bot 9c92ef5188 Merge "Adjust z-indexes to work with Modern skin" 2017-06-06 10:56:09 +00:00
jenkins-bot fae82a1a3a Merge "Do not assume that revIds increase in time" 2017-06-06 10:35:01 +00:00
WMDE-Fisch ae96989d0b Disable the RevisionSlider for screenreaders
Until the sliding mechanism has full support to work with screen-
readers the tool will be disabled for them to avoid unnecessary
confusion.

Bug: T165489
Change-Id: Id0da2c891040ac7e6f1b6ce5ba5f65b727d3cb07
2017-06-06 08:28:15 +00:00
Translation updater bot 6bd728928c Localisation updates from https://translatewiki.net.
Change-Id: Iee5bffa445f9e4ccdb3da7e919c763f2a7ed82af
2017-06-05 23:13:07 +02:00
Translation updater bot a3616f4d37 Localisation updates from https://translatewiki.net.
Change-Id: I5a699e022a9e51410e72641fb1b9f8a0707bbd40
2017-06-04 23:30:21 +02:00
Translation updater bot 03157e855c Localisation updates from https://translatewiki.net.
Change-Id: I9bcbae7258bd302a9da086736e122e45efbbd3b5
2017-06-03 22:46:45 +02:00
Translation updater bot ba7fa92ffb Localisation updates from https://translatewiki.net.
Change-Id: I58d83716a1c9d8ca7b650639e0334ccf546d870d
2017-06-02 22:43:55 +02:00
Translation updater bot d7a61ea615 Localisation updates from https://translatewiki.net.
Change-Id: Ic085ad6812b72086c14600570e47a41abf8de1d2
2017-06-01 23:13:19 +02:00
WMDE-Fisch 0525f0bdb2 Do not assume that revIds increase in time
This patch fixes issues with the RevisonSlider assuming that the higher
revision id belongs to the newer revision. Min/Max methods to decide what
the diff and what the oldid is are removed and the usage of methods is
adjusted accordingly.

Also the test for switchover pointers is removed since this will not work
with the patch.

Bug: T164455
Change-Id: If5d9cbb8ebd872aee376d249942e6881c8edb984
2017-06-01 18:29:22 +02:00