Commit graph

1542 commits

Author SHA1 Message Date
jenkins-bot 07982bcc54 Merge "Remove redundant checks for .length on jQuery objects" 2019-01-14 09:33:12 +00:00
Thiemo Kreuz 2a2d01ffc9 Remove redundant checks for .length on jQuery objects
jQuery objects behave fine when they don't contain anything. No need
to check the .length before. This is one of the essential feature of
jQuery.

I'm also simplifying some setTimeout the same way. clearTimeout will
never fail. It will ignore numbers that never represented a timeout,
or have been cleared before. Note how the property was never set back
to -1. So this code was kind of incomplete anyway. I suggest to fix it
this way around, instead of trying to set -1.

Change-Id: Ic15812ead9d93f8eb07831aeb75577df2abdff07
2019-01-14 09:40:55 +01:00
Translation updater bot 2c6c3bc865 Localisation updates from https://translatewiki.net.
Change-Id: Ie4fb4e7301afb3f1b989f24f7c53d4dba2542f49
2019-01-13 22:13:41 +01:00
Translation updater bot 6f3dd64e62 Localisation updates from https://translatewiki.net.
Change-Id: I1de8054e949339452a7df95dd018cfdd9ce9c81c
2019-01-10 22:49:21 +01:00
Translation updater bot d261a6e13f Localisation updates from https://translatewiki.net.
Change-Id: Iee111cb00a0a47ed7126590d095466bcbcaa4be7
2019-01-03 22:52:36 +01:00
Translation updater bot e72dafd8df Localisation updates from https://translatewiki.net.
Change-Id: I1c7acb8c095c28a215b279f02d00c771d5d245be
2018-12-27 09:52:13 +01:00
jenkins-bot 35aab1ee71 Merge "build: Set "root": true, in .eslintrc.json" 2018-12-20 07:56:49 +00:00
Translation updater bot cfe53f8315 Localisation updates from https://translatewiki.net.
Change-Id: I6b37ddd9c666f5cad84ca1f8ef232199d5863057
2018-12-19 22:22:47 +01:00
Kunal Mehta 46f3ca653c build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I5de716c50becf448bf7a1dc4f4fcbf322e47b11c
2018-12-17 18:58:01 -08:00
Translation updater bot bca6e60cfe Localisation updates from https://translatewiki.net.
Change-Id: Idf3527f8863b2f0230fd104c97e85648d5e3a0eb
2018-12-17 22:19:36 +01:00
srish ee10c6e665 Change the DOM order of pointers and rebuild styling
Initial patch for introducing keyboard shortcuts reversed the blue and yellow lines. To fix that issue, the DOM order for pointer lines were put back to the original state in https://gerrit.wikimedia.org/r/#/c/473217/. Now, this patch tries to put the tabbing order in place reversing the changes made for the fix as per discussion in https://phabricator.wikimedia.org/T162119#4753481 and style changes.

Bug: T162119
Change-Id: Ic84503de0a877095c118abddb8066aeb667bc03c
2018-12-07 13:02:39 +00:00
jenkins-bot 401c775ced Merge "Fixed Pointers and Pointer lines alignment" 2018-12-07 11:49:18 +00:00
Ed Sanders 6ea28c8cdc build: Update devDependencies
Change-Id: Ic278699f631ddc08243ceb68678c0715a19c4304
2018-12-04 18:05:18 -05:00
James D. Forrester a30cc5fac5 eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: I7c94536c22220ea0945aeda8c299fb6898daaaf2
2018-11-28 11:11:36 -08:00
gopavasanth ae42b85975 Fixed Pointers and Pointer lines alignment
Bug: T210232
Change-Id: Iddb574442db4d0ea525b0806596663de79d3ec2e
2018-11-24 22:15:43 +05:30
Translation updater bot 7e9d9eb81e Localisation updates from https://translatewiki.net.
Change-Id: Ia1f4e61b12ae309d5e7032216082d515186049ec
2018-11-22 22:22:19 +01:00
jenkins-bot bebfbd788b Merge "Highlight revisions from the same user" 2018-11-22 14:37:31 +00:00
Translation updater bot eb687e8484 Localisation updates from https://translatewiki.net.
Change-Id: Iad69ab885d89b1e3079f9c123cec4c4df1441bf7
2018-11-21 22:29:24 +01:00
gopavasanth 9a7db48893 Highlight revisions from the same user
*Fixed Border Overlapping.
*Incresed 10% Darkness to the Highlited Revisions.

Bug: T136105
Change-Id: Ie7ba7631f9fe254391ad28be373de7bff4fd2ed1
2018-11-22 00:26:41 +05:30
Ed Sanders e62f46dd80 Remove obsolete aliases from closures
Bug: T208951
Change-Id: Icf10ea6bbc09542e69c0cd583a4ee4f2f76a3f43
2018-11-16 16:33:52 +00:00
libraryupgrader 090f96c12f build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: Ie96bb0e5d0f374893edc5a81c43ddf59c9470c80
2018-11-16 08:41:55 +00:00
Antoine Musso ed577b8e8b Update rubyzip gem
Due to potential security vulnerability, update rubyzip Gem from 1.2.1
to 1.2.2.

Bug: T204119
Change-Id: I0c14492e58b4b8294c77ba388f4237f43a2001ea
2018-11-14 11:19:17 +01:00
Thiemo Kreuz (WMDE) e227de5a48 Fix (accidentally?) reversed blue and yellow lines
This reverts parts of the patch I4d8db23 (T162119) that have
accidentally been done, as far as I can tell.

Note the revert in this patch here is untested and might partly break
the keyboard navigation feature introduced via T162119. However, I
strongly suggest to fix the bug T208238 first, and look back at
T162119 later, possibly via a newly created ticket.

Bug: T162119
Bug: T208238
Change-Id: I0c03e472b72ddd1414d3ca61970dba15158a8486
2018-11-13 14:43:23 +00:00
Translation updater bot 8c448282d9 Localisation updates from https://translatewiki.net.
Change-Id: If405b2be56e0c74911a93565dda8220d8fd0959b
2018-11-11 22:33:51 +01:00
Translation updater bot 363c04a7f9 Localisation updates from https://translatewiki.net.
Change-Id: Ia312074f95fa670fc82d44b4a4dfc18b88bcd65a
2018-11-05 22:24:42 +01:00
Translation updater bot b23c4f7897 Localisation updates from https://translatewiki.net.
Change-Id: I25a3a9014d48ab4ba9fb1c9fb2d1e190ee01c132
2018-11-04 22:42:37 +01:00
WMDE-Fisch 8bc0402eee Merge "Fix icon position of arrow buttons" 2018-10-29 06:08:53 +00:00
Translation updater bot d9f5d5fca8 Localisation updates from https://translatewiki.net.
Change-Id: I690bb024db5a1aee8c1adfe4fb592da483a45fce
2018-10-25 22:39:01 +02:00
Volker E f1cea8c889 Fix icon position of arrow buttons
Also
- fix arrow width to one size of `20px` and
- make use of `.box-sizing` mixin in one occurrence.

Bug: T207905
Depends-on: I09aea78f8ebde37cf4f7de9bf0e14894c76ee722
Change-Id: Ibf4a6c8b77877a34668e91b0f5cf6c11a23e9f88
2018-10-25 09:47:20 -07:00
Thiemo Kreuz 7eb5a10ce6 Fix capitalization of Html::element() call
Change-Id: I272901367c7ba4a12406c9f8ec7fa444f3889c0c
2018-10-24 11:40:36 +02:00
Volker E 618850af6e Replace 'help' by 'helpNotice' icon
A free-standing, frameless button like this is better off with an
icon like 'helpNotice', part of OOUI since v0.28.2. It is a step
back to the original help icon appearance, the new one is still
available for example to use on toolbars.

Bug: T206753
Change-Id: I3d4102de2209e94fa732c1d1962c757fb7bca331
2018-10-11 10:50:56 +00:00
jenkins-bot 7b1688a2af Merge "Highlight revisions from the same user" 2018-10-10 09:27:21 +00:00
jenkins-bot ed42723579 Merge "Add keyboard shortcuts to move between revisions" 2018-10-10 09:26:05 +00:00
srish 1675096c7b Add keyboard shortcuts to move between revisions
* Added `tabindex` on yellow and blue knobs to enable tabbing
* Used some of the logic of draggable functionality to support moving between revisions with keyboard shortcuts
* Also changed the source order of old and new pointer. Old pointer comes first in the DOM

Bug: T162119
Change-Id: I4d8db2352915c44aa11617edea5bcb0ac92ddc93
2018-10-05 17:38:40 -07:00
gopavasanth 154180ba52 Highlight revisions from the same user
Completed subtasks

* Added bubble in the Tootltip
* Added border on clicking or hovering the bubble
* Highlites Bubble on hover
* When Clicked or hover on the Bubble: Highlights
  revisions from the same user
* Added filter revisions.

Bug: T136105
Change-Id: I64cfef395ce1812d501980067edffe210fc99227
2018-10-05 19:12:44 +05:30
Translation updater bot 69e70e8db6 Localisation updates from https://translatewiki.net.
Change-Id: I9065afc6afadea34db95b432cedf537a7c43d364
2018-10-03 18:53:46 +02:00
Translation updater bot 88bdb03845 Localisation updates from https://translatewiki.net.
Change-Id: I252651b8015a4d7d9fe02146d149f43b0e496444
2018-09-22 10:03:56 +02:00
Translation updater bot ce20503df3 Localisation updates from https://translatewiki.net.
Change-Id: I21446c836583a6a28d317abbbe275be667ee8f4a
2018-09-20 09:59:25 +02:00
Ed Sanders 351bdcfae7 build: Update linters
Change-Id: If21c9dbeba945d54c6bcf9b6e4edd586c5b411ca
2018-09-13 21:58:39 +01:00
Translation updater bot 59885cab35 Localisation updates from https://translatewiki.net.
Change-Id: I5a7dadad214a4cdf33124eecc75b4a8f50c30c92
2018-09-13 10:16:00 +02:00
Translation updater bot b02ad54d26 Localisation updates from https://translatewiki.net.
Change-Id: Ic803c53d151d20757afd4b82e13e1c4d2fea8401
2018-09-12 09:19:10 +02:00
Translation updater bot c3ebaceaa7 Localisation updates from https://translatewiki.net.
Change-Id: If82ef358c469fd63c9a4117f326087c7e4ba3c74
2018-09-11 10:24:34 +02:00
jenkins-bot fdcf11a787 Merge "Rework and cleanup ext.RevisionSlider.DiffPage code" 2018-09-11 02:24:07 +00:00
Translation updater bot ba78921e90 Localisation updates from https://translatewiki.net.
Change-Id: Ibb394d84996cd1def44da26df80935a722a98866
2018-09-10 09:32:43 +02:00
Translation updater bot 85eafe05d3 Localisation updates from https://translatewiki.net.
Change-Id: I4da0c5d50d74805d6638252f0fbc28b0a6bcf606
2018-09-08 10:39:55 +02:00
libraryupgrader 62197efffd build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I0ce5a5d22b717f518b6d0e557fc34c800bf44750
2018-09-08 05:22:39 +00:00
Translation updater bot 4e8768b3ad Localisation updates from https://translatewiki.net.
Change-Id: Ia16c9720dacbf55def89863b08a5e7b5a2a9fe20
2018-09-06 09:02:10 +02:00
jenkins-bot 4a50097767 Merge "Show tags data on the tooltip in Revision Slider" 2018-09-04 14:39:36 +00:00
jenkins-bot cef99ee67e Merge "Run hook with actual (non-detached) content node" 2018-09-04 09:11:17 +00:00
Thiemo Kreuz 48396b78c7 Rework and cleanup ext.RevisionSlider.DiffPage code
This is a direct follow up to the change done in I885f8e7. I found the
code very hard to read after the change, and tried to rearrange it a
little bit. This is what I came up with. What the code does is entirely
untouched.

This also rearranges the replaceWith calls so the replacements are done
from top to bottom.

This patch also avoids calling mw.config.set multiple times.

Change-Id: I1cbce8e8aa030d6ba5cd7d19ab26fa363e13474b
2018-09-04 10:52:16 +02:00