Commit graph

563 commits

Author SHA1 Message Date
Translation updater bot c32365b81f Localisation updates from https://translatewiki.net.
Change-Id: If3cee2ecee3cecab465522aff0bff2c5b2c36ca0
2019-01-13 22:13:40 +01:00
Translation updater bot 00e76f2228 Localisation updates from https://translatewiki.net.
Change-Id: Ida69961b37ffcb596f3512df2f6c3712ec3246b9
2018-12-01 22:17:39 +01:00
libraryupgrader b203a142f7 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I3e5dc39c5edf917bfb586b47a430b669a4660fa8
2018-11-16 08:26:25 +00:00
Ed Sanders 7b0c26ba59 build: Update devDependencies
eslint-config-wikimedia      0.5.0  →   0.8.1
 grunt-eslint                20.1.0  →  21.0.0
 grunt-stylelint              0.9.0  →  0.10.1
 stylelint                    8.2.0  →   9.2.0
 stylelint-config-wikimedia   0.4.2  →   0.4.3

Add "eslint-plugin-qunit"

Change-Id: I4761b12a9c3d4cb35bb891a7f999a84be46f543e
2018-11-12 22:24:07 +00:00
Translation updater bot b9f89c7345 Localisation updates from https://translatewiki.net.
Change-Id: I0276c84fcae297895ab12ea9994a606fd8d2aeff
2018-11-05 22:24:42 +01:00
Translation updater bot beb4887a3d Localisation updates from https://translatewiki.net.
Change-Id: I766bdae86d6b6936321efd9679c93f54d0cd1bd1
2018-11-04 22:42:36 +01:00
Volker E 68e0e12794 Increase headline color contrast slightly to conform to AA ratio
Bug: T208343
Change-Id: I31d3c0a06de9597a8fc1367a7d3b906b8ffe9921
2018-10-30 12:33:45 -07:00
Translation updater bot ddf0654fa8 Localisation updates from https://translatewiki.net.
Change-Id: Ic5e9e93ca65fc32ba813b12045be964ed95fe191
2018-10-19 22:20:00 +02:00
libraryupgrader bb1c52f03e build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: Ie9eab8555af9470b46fcca24260bbae9d5ab570e
2018-10-11 10:37:05 +00:00
Translation updater bot 150edb6da9 Localisation updates from https://translatewiki.net.
Change-Id: Iebd63b7696e24dead2e28176e22898bf1411cea8
2018-09-26 13:46:15 +02:00
jdlrobson 6b49ddff1b Remove EventLogging/A-B test code from RelatedArticles
With RelatedArticlesEnabledBucketSize now removed, installation of this
extension will turn it on for 100% users without any mechanism to turn
it off.

Additional changes:
* Bump version
* Add Readers team to contributors

Bug: T202306
Change-Id: I7dc270a06dd3afd4e894c8298165d6d6d4fda8d6
2018-09-20 11:13:13 -07:00
Jan Drewniak 6856ef8b5e Renaming QUnit test files from "test_" to "test.js"
Updates QUnit test files from starting with "test_" to ending with
"test.js" in accordance with the Readers Wed coding conventions.

https://www.mediawiki.org/wiki/Reading/Web/Coding_conventions

Bug: T197884
Change-Id: I3c15385d22d308b8b465985ca55e8b802d72dae4
2018-09-19 14:54:48 +02:00
Fomafix 00405b0309 Remove mediaWiki and jQuery from eslint globals
Remove all mappings in the closures like in
I7cf2426cde597259e8c6f3f6f615a1a81a0ca82b in core.

Change-Id: Ie9a2fadb8e276774784a4937bb5c3ec11f213352
2018-09-15 17:54:03 +00:00
jenkins-bot 609b2811ac Merge "Selenium: Simplify selenium-daily NPM script" 2018-09-11 10:00:04 +00:00
libraryupgrader 37beb7dfae build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I327f22412a6ad54eae8d5c70e0a4e751c5022a3c
2018-09-08 05:21:57 +00:00
Translation updater bot 3207196964 Localisation updates from https://translatewiki.net.
Change-Id: I9fc6e430c445053f1325504e6ec59f9efb1ff931
2018-09-03 22:15:32 +02:00
Željko Filipin 937980a9b0 Selenium: Simplify selenium-daily NPM script
selenium-daily now just calls selenium-test. Environment variables are set up in
the Jenkins job, so they are removed.
selenium-daily might seem redundant, but it provides flexibility. In case a
repository does not want to run all tests daily, that's easily fixed by updating the
selenium-daily script.

Bug: T188742
Change-Id: If0d3b508fb9a711afdfd1d18086071ed4c9cb0ed
2018-09-03 17:29:37 +02:00
libraryupgrader c199126902 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: Iecc747be0ae2f2c4c3c6b4cf481d5bd5fc4a0bc1
2018-09-03 14:19:23 +00:00
libraryupgrader c46c56ae65 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I803ea3fb34cc09e35f584512aef887fbb9d42dd8
2018-09-01 13:45:56 +00:00
jenkins-bot 90681f1a79 Merge "Remove unused jshint comment" 2018-08-21 07:39:27 +00:00
libraryupgrader fbe7003f21 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I7fd1fec50544b0b29aa2b9fa03bdbe1b33cf761b
2018-08-19 15:55:19 +00:00
Fomafix 969ae7c05f Remove unused jshint comment
Change-Id: If1db410a48a754a4f892b6164f6a4997bed3bec4
2018-08-17 14:06:24 +02:00
Fomafix 0464e7a7c0 Remove eslint rule "no-use-before-define": 1
Add no-use-before-define to the line where the rules is violated.

Change-Id: Ieb50b11292cff6b40fdd5f06c76d61bb01e86e4c
2018-08-17 13:29:08 +02:00
Fomafix 0fa064728f Use native JavaScript instead of jQuery
Replace
* $.each( array, function ( index, value ) { ... } ) by
  array.forEach( function ( value ) { ... } )

* $.map( array, function ( value ) { ... } ) by
  array.map( function ( value ) { ... } )

* $.isArray( var ) by
  Array.isArray( var )

* $.isFunction( var ) by
  typeof var === 'function'

Change-Id: I450f5a75eb9c3fe20517da02986b0a491ebca67a
2018-08-17 12:45:12 +02:00
Stephen Niedzielski 4e92ea4680 Fix: replace deviceTabletWidth w/ width-breakpoint-tablet in LESS
T140804 dropped the support for deviceTabletWidth in core
(https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/451648/9/includes/DefaultSettings.php).

Bug: T202021
Change-Id: I0d215bcd66654ac8646e6cc66f673e7e7b7fe945
2018-08-16 09:23:56 -05:00
Željko Filipin 5c8571317b Selenium: add selenium-daily NPM script
The script is needed to run the new Docker-based Jenkins job that runs daily and targets beta cluster.
selenium-test script, NPM packages and wdio.conf.js files are dependencies.

Change-Id: Ic0fb26cfdd07225260b6ef70ce81a49ee73af331
Job: RelatedArticles-npm-browser-run-selenium-daily-node-6-docker
Bug: T188742
2018-08-10 08:32:24 -05:00
Timo Tijhof f6c23000f2 Remove use of deprecated 'ext.eventLogging.Schema' module
This is the last remaining use of the module name "ext.eventLogging.Schema"
in Wikimedia Git. It is an alias for "ext.eventLogging.subscriber".

Change-Id: Idf295ef9c550ad7f1a19ac0b84e856d606ab8eb3
2018-08-06 17:40:05 +02:00
Kunal Mehta 34a18a4c99 Configure phan-taint-check-plugin
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.

See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.

Bug: T201219
Change-Id: I609fcfe54f635199b4228773b6338fe88572b68d
2018-08-03 21:30:18 -07:00
libraryupgrader 163b7bdc15 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I94d6c6459dec2cf7fd940ef13b1b70a09d1e763a
2018-07-27 15:36:16 +00:00
Umherirrender a00a0fdd61 Require MediaWiki 1.31 in extension.json for AutoloadNamespaces
AutoloadNamespaces is a new feature in 1.31

Change-Id: I0ee5de22a50d8aec3bd0f52744119de074651158
2018-07-07 12:00:25 +02:00
Translation updater bot c82eb58c0a Localisation updates from https://translatewiki.net.
Change-Id: I314141bc7200e6a602c8d836d27c75ff6c23e3d2
2018-06-27 22:20:08 +02:00
jenkins-bot 2d5f93f87b Merge "Use wdio-mediawiki in selenium tests" 2018-06-20 17:56:08 +00:00
jdlrobson 993c4e227e Use wdio-mediawiki in selenium tests
Change-Id: If48e0a885acdf4bca73ec2a9d613fe2f0403dd61
2018-06-20 10:23:11 -05:00
jdlrobson efb41140a5 Contain code in own call stack
Per Timo's recommendation on Ife362f43d061d32fb0441dd1136fb11b46b475ae
use then instead of done for callback handling

Change-Id: I18dbfff59cb90a5076aa6f3b077ba9c264f7c139
2018-06-19 11:41:25 -07:00
Kunal Mehta eacbd18d3a Switch to PSR-4 autoloader
Change-Id: I1add76d094ea8a122442bfe06fbd67c3c819b9fa
2018-06-11 18:34:07 -07:00
Kunal Mehta 0837f19dcd Register EventLogging schema in extension.json
Change-Id: I4079f13a6708ad4376b7686c3926cd59ff90aaa7
2018-06-11 18:30:22 -07:00
jenkins-bot d76a4fde65 Merge "Correctly remove node without exception" 2018-06-06 10:42:44 +00:00
jdlrobson 7f7b2022a7 Correctly remove node without exception
$( '.read-more-container' ).get( 0 ) returns a DOMElement not a
jQuery object so there is no remove method. This will throw a
JavaScript exception.

It seems JavaScript exceptions can impact the loading of Wikidata
Page banners.

Bug: T152185
Change-Id: Ife362f43d061d32fb0441dd1136fb11b46b475ae
2018-06-06 11:27:06 +01:00
libraryupgrader e11bfc4b46 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I3f583a53f094b267a6caf9de41578fcbfb04db01
2018-05-26 06:06:24 +00:00
Translation updater bot e4ecfd2145 Localisation updates from https://translatewiki.net.
Change-Id: Icd50f960ea495adb9c753cc63728cee0a0c1bba1
2018-05-03 22:21:47 +02:00
Translation updater bot a2b32cdf66 Localisation updates from https://translatewiki.net.
Change-Id: I50cb706a5fd0fd349070f9cd62c9493b4c46ca9d
2018-04-21 22:15:47 +02:00
libraryupgrader 365b7be528 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I5836f4ad01e155e3343191c151527927a2223415
2018-04-14 05:41:32 +00:00
Jan Drewniak 816bda69c5 Replace pageterms with description API
Bug: T190953
Change-Id: Ia188a7bdc4d3533d6ee0e9bb06fa62da4b759c66
2018-04-13 10:02:14 +02:00
Translation updater bot ed90ee091c Localisation updates from https://translatewiki.net.
Change-Id: I403017224f18211b1fd73ef4c9f9812f398b0a9d
2018-04-10 22:15:37 +02:00
Translation updater bot 8870625f91 Localisation updates from https://translatewiki.net.
Change-Id: I9036b2e2e2e668ff6c92bd94ce629c3d9f71a754
2018-04-08 22:30:21 +02:00
libraryupgrader 77df83cc25 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: I794870ab03883c395a48ea8dd44469103fb676e1
2018-03-29 05:25:34 +00:00
Translation updater bot 6b115a87cf Localisation updates from https://translatewiki.net.
Change-Id: Ib5e53caf6c9868437e126097d7dcf2b0d4f618ee
2018-03-24 22:29:37 +01:00
Translation updater bot 04813e6001 Localisation updates from https://translatewiki.net.
Change-Id: I3b5c73ae3158eaa057c06e3fd11531a77717fc49
2018-03-19 22:19:53 +01:00
libraryupgrader d16d67a108 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ib8b0e8a0fc9d23fc0cd188690cd3781958e9afe3
2018-03-10 03:25:19 +00:00
Kunal Mehta 1e57f034bd Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Id06c20eb9e1d97b6b8aa1fd2195ec1002066690d
2018-03-02 15:35:10 -08:00