Commit graph

2889 commits

Author SHA1 Message Date
jenkins-bot be909fbe78 Merge "build: Bump mediawiki-codesniffer to 22.0.0" 2018-09-06 15:53:12 +00:00
Jakob Warkotsch b8153d0d24 Ensure database tests run as part of --group Database
The comments behind @group Database prevented the tests from being run
as part of the --group Database phpunit jobs.

Bug: T202223
Change-Id: I8dc68d3d90502fa7bd691cf18f0e296d97d3c893
2018-09-06 11:49:07 +00:00
James D. Forrester 087a973f30 build: Bump mediawiki-codesniffer to 22.0.0
Change-Id: I448e8d368d76eee40fe57c89428a0ce472c48d01
2018-09-06 11:48:25 +00:00
Zoranzoki21 4f5225d612 Fix common typos in code
Bug: T201491
Change-Id: Ib1f2e5ea8a67311702d82c46741903f58449a09b
2018-09-06 11:00:32 +00:00
Željko Filipin 42da15f63a 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: I7dba2c80ab8de641a012aa92bbd8453bc24c7b14
2018-09-03 15:29:50 +00:00
Translation updater bot d6d2588ecc Localisation updates from https://translatewiki.net.
Change-Id: I52ebcff3b4a00db1f4dac7586c672526c949fea6
2018-09-01 22:33:40 +02:00
Translation updater bot 39d7a52bb3 Localisation updates from https://translatewiki.net.
Change-Id: Iaab3b65d140fe430a1828b4af0d54ed5518fa8b3
2018-08-28 22:22:50 +02:00
Translation updater bot 904e03ffc0 Localisation updates from https://translatewiki.net.
Change-Id: I86f042542e615ec2f49ef612cba8f136278915fc
2018-08-17 23:36:42 +02:00
Translation updater bot 140db62b16 Localisation updates from https://translatewiki.net.
Change-Id: I51631853ed31223d36cadb9eeb94f19d7173b1a6
2018-08-13 22:14:40 +02:00
Translation updater bot 457f8879a4 Localisation updates from https://translatewiki.net.
Change-Id: I1f5eabe1d877b5f4bc251803b0a22ed9ceb9fe36
2018-08-11 22:18:05 +02:00
Translation updater bot ffa87a46ac Localisation updates from https://translatewiki.net.
Change-Id: I7f3bc4fc5161cccd56a3aff859a151270ecebb26
2018-08-10 22:18:40 +02:00
Translation updater bot e9263e4a60 Localisation updates from https://translatewiki.net.
Change-Id: Iace23fe40e7d1861bf8cf82406336d172d3245fc
2018-08-09 22:23:54 +02:00
Translation updater bot 0efaaa009e Localisation updates from https://translatewiki.net.
Change-Id: I0b6fa97e210cdbb1196ba8555cf5a9df141b6f7c
2018-08-07 22:31:52 +02:00
jenkins-bot b542793035 Merge "Remove @return from MathRenderer::setPurge" 2018-08-07 17:14:53 +00:00
jenkins-bot 2eb412663b Merge "Add math related styles and script via appropriate hook" 2018-08-07 08:17:37 +00:00
Umherirrender da2b19de0c Remove @return from MathRenderer::setPurge
The function does not return anything

Change-Id: Id3eca085c0419aef02c59be5973bb27a4635ccb7
2018-08-07 09:42:17 +02:00
Kunal Mehta fc05cfe92a 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: I32513cdc3ce577b8188176294ba09cbd680a3e52
2018-08-03 21:05:16 -07:00
Translation updater bot b05cf69270 Localisation updates from https://translatewiki.net.
Change-Id: I4fa7f0aadb246f763323f2b4fc233d33ff5f8323
2018-07-27 22:17:57 +02:00
libraryupgrader c459081dbb build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionAnnotations.UnrecognizedAnnotation

Change-Id: Ia23cd3d8952708d3037f0bfbde6079bbd0a6fbc7
2018-07-27 09:00:46 +00:00
Moritz Schubotz (physikerwelt) f0c8840148
Add math related styles and script via appropriate hook
Create MathDataUpdater class that checks if statements
are using math and adds the stlyes required for math in that case.

This patch has no effect until
I5bc0622ee7338f3215d14e15331a0a1931ca1ae0
is merged.

After both changes are in effect
I0abd6acbfa12fd503d11476f0c8c8c8a8a851cdc
can be merged.

Bug: T173949
Change-Id: I0e24bbb53e6e01d549f534744780ca1afc49fdd7
2018-07-24 16:40:52 +02:00
jenkins-bot 20f8d16e0c Merge "Selenium: add selenium-daily NPM script" 2018-07-23 12:39:14 +00:00
Translation updater bot c80c6b3222 Localisation updates from https://translatewiki.net.
Change-Id: I310abbee6e55f47454612b5c4fbffcc4717538a5
2018-07-18 22:12:35 +02:00
Željko Filipin 9085447f52 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.

Change-Id: Ia9ed4f7314570f886dabe7702418068971656aa5
Job: Math-npm-browser-run-selenium-daily-node-6-docker
Bug: T188742
2018-07-13 18:59:34 +02:00
Translation updater bot a84bd1a6d9 Localisation updates from https://translatewiki.net.
Change-Id: I07aa803605973bfca8e3ec95b3e34b858ed63193
2018-07-10 22:16:06 +02:00
Translation updater bot 5e4ac08f5b Localisation updates from https://translatewiki.net.
Change-Id: I9e33e0046e3c6cb5477439502beac6f29884816c
2018-07-09 22:11:10 +02:00
Translation updater bot 186041a91c Localisation updates from https://translatewiki.net.
Change-Id: If3f1f843dbb7ea0c8354ce0153b1dfc665a1999a
2018-07-05 22:43:53 +02:00
Translation updater bot cc33a3092d Localisation updates from https://translatewiki.net.
Change-Id: Idfeba66af546d84cc6798f595e65ae1f5812f62a
2018-07-03 22:16:43 +02:00
Translation updater bot 30283282a2 Localisation updates from https://translatewiki.net.
Change-Id: Iba53a77aa0500cd9954dd218fe077aed2d0b3b9b
2018-06-27 22:19:29 +02:00
Translation updater bot 183c4fcc6f Localisation updates from https://translatewiki.net.
Change-Id: Ie3515f340a4d09e203211d073c0d04beec784a33
2018-06-24 22:25:48 +02:00
Translation updater bot 96716ed27f Localisation updates from https://translatewiki.net.
Change-Id: Ib815dfb5a6bdef36c58bf83156670660880db679
2018-06-21 22:42:36 +02:00
jenkins-bot b01297823c Merge "Remove unnecessary else statements and indenting" 2018-06-21 13:40:36 +00:00
jenkins-bot f77d9e1f87 Merge "remove problematic texvc from VE suggestions" 2018-06-21 08:09:13 +00:00
Debenben 19d97c4377 remove problematic texvc from VE suggestions
The patch removes the following texvc macros conflicting with generic LaTeX syntax from the autocomplete suggestions of the visual formula editor:
* \and
* \or
* \pagecolor
* \part
* \ang
* \C
* \H
* \bold
* \Bbb
and replaces the following commands with the LaTeX equivalents in the visual formula editors math dialogue
* \and -> \land
* \or -> \lor
according to https://www.mediawiki.org/w/index.php?title=Extension:Math/Roadmap&oldid=2808288

Bug: T197842
Change-Id: Id3a085dc0a7551b582a9a0a759a838411d1ecf71
2018-06-21 05:15:09 +00:00
Thiemo Kreuz 97000ed8b0 Fix "@param $…" missing the type
Change-Id: I8d20ae852100a6ecc39df05eab3aa8e2b9c09480
2018-06-20 11:10:43 +02:00
jenkins-bot d5a3fd8a16 Merge "Improve test coverage for MathSource" 2018-06-17 16:52:51 +00:00
Moritz Schubotz (physikerwelt) 2f5d249821
Cleanup: Remove Makefile
The folder the makefile referes to was deleted.

Bug: T195847
Change-Id: I443099c1ae570b6c667bd9b028d77ba314dbae6b
2018-06-17 14:34:17 +02:00
Translation updater bot 5d9e158241 Localisation updates from https://translatewiki.net.
Change-Id: Ib51aaad45c12b24fc11131bda5d214b932a96e6a
2018-06-13 22:23:05 +02:00
Translation updater bot 0fe1ec90bb Localisation updates from https://translatewiki.net.
Change-Id: Ic8f860e151bdb285ebdc30d602505cae41ab5a5c
2018-06-11 22:34:04 +02:00
James D. Forrester 0e47032839 MWLatexDialog: Fix hard-coded line height
This changed after the OOUI font-size change. Also reduce
the preview height which is measure in em's so that it is
closer to its original pixel value.

Also fix line height for error messages.

Change-Id: I3537d33dc1889e0154f4574bb33b22b3c006fe9c
2018-06-08 19:12:21 +01:00
Moritz Schubotz (physikerwelt) 9a04cd6de3
Improve test coverage for MathSource
Change-Id: I82d76db4b087b6472c2856806c70f4ef1ffbc8df
2018-06-08 16:25:11 +02:00
Reedy f46452a196 Remove unnecessary else statements and indenting
Change-Id: Ifa36998ca089d2a045e821bc1b941c5eec7e9474
2018-06-07 02:06:59 +01:00
jenkins-bot ec99401072 Merge "Make use of the …::class feature whenever possible" 2018-06-06 12:24:31 +00:00
Moritz Schubotz (physikerwelt) e359eafe6c Improve tests coverage for MathPng
Change-Id: Ibb5138512afd20304983be44e0ab45a244634b4b
2018-06-06 10:30:53 +00:00
Thiemo Kreuz 5648b8e2c3 Make use of the …::class feature whenever possible
Note that a class is not resolved this was. …::class is not a function
call. It's more like a named string constant. Technically still a
string. The advantage is that IDEs and tools like linters can much easier
understand that these strings refer to a class, and list them in usage
reports, renames, and such.

Change-Id: I5225543dbb837685a1840837cb2772dd576cca38
2018-06-06 12:13:04 +02:00
Ed Sanders 9b2ba59ac9 Move icons to RL image module and generate variants
Bug: T196050
Change-Id: Ie6acbeac3d74b99278b8d5b0db3ca1d349065d5e
2018-06-02 21:56:49 +01:00
Translation updater bot b8dbfe7d87 Localisation updates from https://translatewiki.net.
Change-Id: If1c2baa7f3bd3192dfc9c8704d9f70f963486935
2018-06-01 22:27:37 +02:00
Moritz Schubotz (physikerwelt) aa2c4cf913 Improve tests coverage for MathMathML
* deprecate and fix pickHost. It was broken and never used.
* simplify inputTypeSelection
* remove superfluous is_array check for the result of explode

Change-Id: I392f22f074facfe30b97d53a3002f464a471b67e
2018-06-01 15:36:35 +00:00
Moritz Schubotz (physikerwelt) c1c4e42c86 Improve tests coverage for MathFormatter
Change-Id: I2c9141753b59d99a1caf84279a0afcaf8431e631
2018-06-01 14:45:04 +00:00
Translation updater bot 6f32168683 Localisation updates from https://translatewiki.net.
Change-Id: I86e4be45559253e83163f5a87100110f83191f80
2018-05-31 22:28:37 +02:00
jenkins-bot c9f3df706a Merge "Remove dead texvc code from the math extension" 2018-05-31 12:33:08 +00:00