Commit graph

1000 commits

Author SHA1 Message Date
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
Translation updater bot a3f2ff12e6 Localisation updates from https://translatewiki.net.
Change-Id: I9820d1226c8634a89b5e01549b348775a4711c96
2018-09-03 22:15:33 +02:00
libraryupgrader 0f594b2639 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I2aa31340786f55804b20ef01d024fdb2a3650e99
2018-09-03 14:30:41 +00:00
libraryupgrader 6e1728b5a6 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I3901eeeca6e0a1bf6185752b5072b5f859548646
2018-09-01 13:56:41 +00:00
Bartek Łukawski a7b966162e Run hook with actual (non-detached) content node
`$.fn.replaceWith` removes content from the DOM. Therefore, the
new content object was not being passed on by the hook.

Change-Id: I885f8e789b806a9ae09de1ed31a19a3f9db8144f
2018-08-30 15:08:51 +00:00
gopavasanth e4c31f762b Replace custom 'pin' by 'pushPin' icon
Modified CSS of the pushPin

Bug: T194613
Change-Id: Ifdaa2567c67a45fd44bea7cc4718f29c4e1a58fd
2018-08-30 20:31:04 +05:30
gopavasanth 548019e16d Added keypress() to mw-revslider-toggle-button
On tapping Enter or Space the Rev-Slider Opens

Bug: T199212
Change-Id: I08ab018c3e89d25ab8d4e72963e9cbd4971f7068
2018-08-29 16:07:18 +00:00
srish 6934b90d87 Show tags data on the tooltip in Revision Slider
Approach followed:
- Include tags as an additional parameter in rvprop field to fetch revision tags
- Use API Tags to fetch available change tags for a wiki along with their display names
- At the time of fetching revision data rebuild the revision list with tags containing display names
- Display tags one in each line on the tooltip

Bug: T180429
Change-Id: Ieba8b79ed408ff50b3f7d4bcfd7b2fa8cca83278
2018-08-28 23:22:12 -07:00
Translation updater bot bd4cc06f14 Localisation updates from https://translatewiki.net.
Change-Id: Ifaf990c213795b9b70766725f829def8bf160f47
2018-08-28 22:23:02 +02:00
libraryupgrader 697a4398fc build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I68345843e388e66782a9a77855a825db2b63b1ce
2018-08-19 15:55:48 +00:00
jenkins-bot 4fd82fde94 Merge "Replace loading bar of revision slider with three moving bubbles" 2018-08-14 11:49:25 +00:00
WMDE-Fisch af276e0f7f Re-enable testing bar clicking
Change-Id: I23f192cf47e2ff94521733f8b1b056152d5ad0fe
2018-08-14 11:25:40 +00:00
WMDE-Fisch b6195eba41 Update gems and Gemfile.lock
Change-Id: I225885392ff22fc6a3ac72cc036cbbd1548c4db3
2018-08-14 11:25:35 +00:00
srish dd4310aece Replace loading bar of revision slider with three moving bubbles
Using rawElement function to generate a new html element for loading spinner.
This replaces the progress bar widget.

Bug: T161640
Change-Id: I949bce945def25de561c0ae0df971c3f609586ce
2018-08-14 09:31:16 +00:00
WMDE-Fisch 187e1e5194 Stabilize ruby selenium browser tests
- added sleep to let scripts load
- changed cookie setting to use vanilla JS
- replace deprecated visible methods
- fixed element definitions
- fixed indentation
- removed unused code

Change-Id: I21047f7c529eee7e22f84fe1023c9e23b74cffa0
2018-08-14 07:52:22 +00:00
Translation updater bot 183c9fd27a Localisation updates from https://translatewiki.net.
Change-Id: I5742b0daf3d56b1092c8767ebeeb08f420377626
2018-08-10 22:18:55 +02:00
Translation updater bot be31c3474d Localisation updates from https://translatewiki.net.
Change-Id: I681e3ef9924b41d420528d871af6d2d43d1b7cc4
2018-08-06 22:22:32 +02:00
Thiemo Kreuz 2d5b40c40b Make use of JavaScript "in" feature instead of "undefined"
Change-Id: I914f7281101bc4873eff3574c884253775e9b4bb
2018-08-02 09:35:37 +02:00
jenkins-bot 91c157e0f4 Merge "RevisionSlider: Fix missing pin icon" 2018-07-30 13:02:36 +00:00
libraryupgrader 1cc328810d build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I9d25db9e8168d2a4354bba1cfc596051e008ef2e
2018-07-27 16:42:52 +00:00
gopavasanth c1fada0773 RevisionSlider: Fix missing pin icon
Added show() and hide() for mw-revslider-auto-expand-button in collapse and expand function.

Bug: T200263
Change-Id: Ic24a175dfe8d19853e32669f12b9f17e26730d6b
2018-07-24 18:46:22 +05:30
Translation updater bot 195458d368 Localisation updates from https://translatewiki.net.
Change-Id: I52671f1d694e0a422515193e4ef5cca598f74abd
2018-07-12 22:38:51 +02:00
jenkins-bot 4a6175b641 Merge "Limit fetchUserGenderData to maximum 50 users" 2018-07-04 11:54:33 +00:00
Thiemo Kreuz 3520a606c9 Limit fetchUserGenderData to maximum 50 users
The 50 is the default. The worst-case scenario here is that users
beyond this limit don't have a gender for a while, until the next call
to the same API endpoint fetches the next 50 users with an unknown
gender.

Doing multiple API calls in advance is not worth it, in my opinion.

Bug: T197858
Change-Id: I0fdcc7ea96a6a5ee3934600c6f0fdc65263276e8
2018-07-04 10:44:27 +00:00
Anmol Wassan 4ab8460fde Indicator flip issue on expand/collapse
The arrow in Revision Slider flips on expand and collapse which is not according to the standard of OOUI.

Bug: T198626
Change-Id: I4205a2260e8507a09f2950566e5033bd58a74345
2018-07-04 10:41:35 +00:00
jenkins-bot fecd8ca49f Merge "Use cookie to dismiss help dialog and fix failing browser tests" 2018-07-03 15:44:13 +00:00
Thiemo Kreuz 407c1de800 Use cookie to dismiss help dialog and fix failing browser tests
I have seen this failing:
https://integration.wikimedia.org/ci/job/mwext-mw-selenium-jessie/9255/console

The idea is to pre-set this cookie so the help dialog never shows up
in the first place. The tests do not need to look for the element, click
it, wait for the dialog to close. This should even speed up the browser
tests, I believe.

Also this adjustes waiting conditions in several places to address
timing issues with failing browser tests.

Since these tests should be replaced by Node.js on the long run I
added "sleep" in the cases although it's not recommended.

Change-Id: Ida381faa390aa62ebaadd3713864676be80abd51
2018-07-03 16:44:28 +02:00
Translation updater bot 2106e5188e Localisation updates from https://translatewiki.net.
Change-Id: I6a3c24cf51569d462b0b5f0637ca1c0ed7931af7
2018-06-29 22:27:33 +02:00
Translation updater bot 761530b847 Localisation updates from https://translatewiki.net.
Change-Id: I167ba9e07ad8ba0ef0646d857810bbae77eb2199
2018-06-28 22:21:36 +02:00
Translation updater bot 733e9eb3b9 Localisation updates from https://translatewiki.net.
Change-Id: Idf91e1ee03e7b6acac66c2400a5f43179101b1b0
2018-06-27 22:20:10 +02:00
Translation updater bot a5ddf57be2 Localisation updates from https://translatewiki.net.
Change-Id: I6fb65c921417ceb1be723546ec8d43217d0dfe0d
2018-06-26 22:13:52 +02:00
jenkins-bot 0fadc05265 Merge "Remove default "return true" from hook handlers" 2018-06-26 14:02:48 +00:00
Thiemo Kreuz c73bf149bf Remove default "return true" from hook handlers
Change-Id: I78d6d3034556a0bc513265a9f5af785a1843f229
2018-06-26 15:20:53 +02:00
jenkins-bot cb95b5310f Merge "Clean up phpcs and add function spacing check" 2018-06-21 08:43:22 +00:00
WMDE-Fisch 59435b4bf4 Clean up phpcs and add function spacing check
- added function spacing checks and fixed code
- removed vendor excludes since they are part of MW-CS
- reduced extensions to php, nothing else used here

Change-Id: I8dbdede97be965313e17357fa560d1c7e04686fb
2018-06-20 17:49:54 +02:00
Translation updater bot b2df40fb9b Localisation updates from https://translatewiki.net.
Change-Id: Iaea1517b8cf893e1f86efa2767331f558628c27a
2018-06-13 22:23:18 +02:00
libraryupgrader 467bd0b8ad build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I968f672fbb04c3d70e21068e849eec67da822f6f
2018-06-08 07:48:55 +00:00
Translation updater bot 3a70afdd55 Localisation updates from https://translatewiki.net.
Change-Id: I749f93a69bb577d562c43f2bdfcbbb05a498711d
2018-06-05 22:17:00 +02:00
Translation updater bot 36ce2bb52d Localisation updates from https://translatewiki.net.
Change-Id: I466a384613808dff56c9cd27a08422d3a810a9f1
2018-06-04 22:44:42 +02:00
Translation updater bot fdba45072b Localisation updates from https://translatewiki.net.
Change-Id: Iac2c3eaf36590bbdbdf2f1d8f1d259f06e26dccb
2018-06-03 22:36:35 +02:00
Translation updater bot b160736e71 Localisation updates from https://translatewiki.net.
Change-Id: I20df3f8f6c0ec9176db929a8f6b3df6d5a925f37
2018-06-02 22:41:37 +02:00
Translation updater bot b7dbca9c95 Localisation updates from https://translatewiki.net.
Change-Id: I4f7b596be1efed4d93d297263761fa9ef9528444
2018-05-31 22:28:44 +02:00
Fomafix 33b2b584a2 Remove dependencies on deprecated modules 'mediawiki.api.*'
In core, modules 'mediawiki.api.*' got merged into 'mediawiki.api' and
deprecated in I0afdc8ab50bc1354bb5099bf39923c07eab0b665.

This change increases the requirement to MediaWiki 1.32 or higher.

Change-Id: I60601c8fe97b251e8e2a186dec0149bbc1169f01
2018-05-31 14:28:38 +00:00