Commit graph

589 commits

Author SHA1 Message Date
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
Translation updater bot 9f1b608d1e Localisation updates from https://translatewiki.net.
Change-Id: Ib0943db748e5a3f4550c256c9f79a1fae66c5f74
2018-03-02 22:31:25 +01:00
Željko Filipin 0a482c7e5c Update README file for Selenium tests
Bug: T187862
Change-Id: I20a3f0b87b5940c81c227d236262f036a17528d3
2018-02-27 14:06:27 +01:00
libraryupgrader b15b709eae build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I51e48d77f4f788c91e956b8e944fc1896edf4e7f
2018-02-25 10:49:07 +00:00
Stephen Niedzielski bc70678d22 Fix: wait to show related articles until ready
Wait until the Document is ready before appending related articles to
avoid the "last edited" link appended in afterwards.

This fix is untested as I've been unable to repro the issue reported.

Bug: T187479
Change-Id: Ieefaf644040ea057a65649a3ce14de3531ec2e72
2018-02-22 08:53:17 -06:00
Translation updater bot e2aa9d7ae0 Localisation updates from https://translatewiki.net.
Change-Id: I7e7f30c9186a32ceef14b3f0914a3653102f1c0b
2018-02-19 22:25:55 +01:00
libraryupgrader 7eb490fe1a build: Updating mediawiki/minus-x to 0.3.1
Change-Id: If133d7d47c10e66545aadecb683431914968434e
2018-02-18 07:56:25 +00:00
libraryupgrader 754f6f8102 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I69a260376a1952b4e9491a4d15ed66bca88f06b6
2018-02-15 13:56:35 +00:00
Translation updater bot 96db992ecc Localisation updates from https://translatewiki.net.
Change-Id: I99f59a09fe92856740984b9ab9c6537944e090a1
2018-02-12 09:23:51 +01:00
Ed Sanders 1c7676da81 build: Update linters
Change-Id: Ifa6756f5a5f1d4ea77e15d61e0219c2b97ecb7ae
2018-02-04 22:09:55 +00:00
Translation updater bot bfa92688c7 Localisation updates from https://translatewiki.net.
Change-Id: Ic2256fa6b3af3efb4ec4f46501d6d7a56f68a562
2018-01-18 22:49:49 +01:00
Translation updater bot 3d51307fd4 Localisation updates from https://translatewiki.net.
Change-Id: Iede1bbddf7b6aec53ad3b0fa2405c3622ee1156e
2018-01-08 22:36:14 +01:00
Translation updater bot 9ef68fc6ee Localisation updates from https://translatewiki.net.
Change-Id: I89376c5b48ddb678a8ede433d5dfdfc0cc5a8627
2018-01-06 09:14:28 +01:00
libraryupgrader abacaef616 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: I484254e724786f0f023a829dfe50a1e4781c102b
2017-12-30 02:27:33 +00:00
Željko Filipin 265a1c5f8f Clean up ESLint configuration
parserOptions is redundant sice env is already set to es6.

Bug: T164024
Change-Id: Iec58f229352446d95fef111b659d5e32b9bdb523
2017-12-22 16:15:44 +01:00
Translation updater bot d2a83beacf Localisation updates from https://translatewiki.net.
Change-Id: Idc311782e2f8defdd15e9d02c1f6376ef01d3715
2017-12-21 23:15:25 +01:00
Translation updater bot e983b4b77c Localisation updates from https://translatewiki.net.
Change-Id: I9b844dd872bac01a630cf6ad318b9941a1f7a036
2017-12-20 23:22:59 +01:00
Željko Filipin cf04eaa480 Fix location of LocalSettings.php
It used to be in tests/browser, now it's in tests/selenium.

Bug: T164024
Change-Id: Ie05744fa18c983458f7f50a42d2f120e84b99c54
2017-12-19 13:46:53 +01:00
Volker E 2e0c5719ea Unify SVG markup
Align SVG markup across Foundation products by
- unifying XML declaration,
- removing `enable-background` as it's deprecated and
- unifying whitespace.

Bug: T178867
Change-Id: I32972de815484fa89bd7cdacbbcd65f4663a4161
2017-12-18 19:43:17 -08:00
jenkins-bot 077152bba7 Merge "Rename file ResourceLoaderMuhoganModule.php to match class" 2017-12-11 09:24:32 +00:00
libraryupgrader 503b642a02 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: Ieaed565066ddd9ab0bca5577bc728a61886ae565
2017-12-11 06:53:41 +00:00
Umherirrender 72bf976e12 Rename file ResourceLoaderMuhoganModule.php to match class
Change-Id: Ibdabb503fbbe6c17f041943cae8fa6ee4dbdfe20
2017-12-09 23:15:30 +01:00
Translation updater bot 4e79380f69 Localisation updates from https://translatewiki.net.
Change-Id: I525e66146334392eb9d33780c3b33de87cbba5b3
2017-12-07 23:07:52 +01:00
Translation updater bot df53e35cf2 Localisation updates from https://translatewiki.net.
Change-Id: Iebfa7df0a60be37fd12529c68a707c638b8ba913
2017-12-05 09:41:34 +01:00
Kunal Mehta f0d6da4ae0 build: Adding MinusX
Change-Id: Ia17c357e36ebdb41527cb5b09fc71af0289a150f
2017-11-11 19:39:09 +01:00