Commit graph

1987 commits

Author SHA1 Message Date
Translation updater bot 9914ef7f64 Localisation updates from https://translatewiki.net.
Change-Id: Ic2b4b349d69b935dd8175f63256324c20ac23d67
2018-10-03 18:53:47 +02:00
Translation updater bot c4b9a00806 Localisation updates from https://translatewiki.net.
Change-Id: Ib662518d5dd54e07b6863c13711d4abcc41322a1
2018-09-26 13:46:17 +02:00
libraryupgrader fe11833277 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I34ee2ce13f1c9f17609af30bf23ffd8b166907ac
2018-09-08 05:35:16 +00:00
Translation updater bot 4abe128eb1 Localisation updates from https://translatewiki.net.
Change-Id: Icc9dbe5a0f5560bdd6a425bb3a2b2409c696d1da
2018-09-07 09:03:02 +02:00
Translation updater bot b1abdf0786 Localisation updates from https://translatewiki.net.
Change-Id: I9f5dee3ad20531c619d75a1b9d16154a80f44163
2018-09-06 09:02:10 +02:00
libraryupgrader 8b489ca160 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I091003f69b82c7cacc4cda320a38b1b07f3cdb6b
2018-09-03 21:33:35 +00:00
Translation updater bot d1844ed5f6 Localisation updates from https://translatewiki.net.
Change-Id: Ifdf7df1a8ee3de7e812227538020b6b5652d65f1
2018-09-03 22:15:33 +02:00
Kunal Mehta fed937741f 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.

Change-Id: I09c53f9148aad57f73ddf917a84d053e48c07037
2018-08-31 22:05:27 -07:00
Brian Wolff 961405f222 Suppress phan-taint-check false positives in make-normalization-table.php
Its a command line script, so echoing is not an XSS. It can
do malicious things if given a malicious command line argument,
but that is by design

The last remaining phan-taint-check warning is due to a bug
in the plugin.

Bug: T202380
Change-Id: I19a07f741980a7e4d5e8458395c67523d240d221
2018-08-31 11:23:04 -07:00
Translation updater bot 1c58734c55 Localisation updates from https://translatewiki.net.
Change-Id: I29f33d9c5eeb0deb5e9cc2e9e15b74415cf93bd5
2018-07-31 22:33:15 +02:00
Translation updater bot a6afac8e04 Localisation updates from https://translatewiki.net.
Change-Id: I19a07f741980a7e4d5e8458395c67523d240ddc9
2018-07-27 22:18:09 +02:00
libraryupgrader 1d7a373a4c build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I02d3748d210647d22e69fc7b75421dbf8f23be46
2018-07-27 17:28:00 +00:00
Translation updater bot fa1c9d9f0c Localisation updates from https://translatewiki.net.
Change-Id: I47c5381d0cb5445497130ea530b440abf3eafaf3
2018-07-22 22:09:08 +02:00
Translation updater bot 8328c0a251 Localisation updates from https://translatewiki.net.
Change-Id: Ic66978be7d6666d75c3498a0ffd073c5db8fc54e
2018-07-19 22:30:57 +02:00
Translation updater bot 1026eea611 Localisation updates from https://translatewiki.net.
Change-Id: Iad4f2b72e3eeca5585c3729f53517d2e82a39959
2018-07-17 22:14:05 +02:00
Translation updater bot 57f426c2c5 Localisation updates from https://translatewiki.net.
Change-Id: I4af80584f0b6f415afc650d21328fd30909a342d
2018-07-16 22:20:20 +02:00
Martin Urbanec df120420fa Localize Scribunto namespaces to Santali
Bug: T198405
Change-Id: I0e05b9c5871c80465e4887e6497318f7d9955323
2018-07-16 16:12:20 +00:00
Translation updater bot cd51a58433 Localisation updates from https://translatewiki.net.
Change-Id: Ia27c75422973c88d2ba24764cbffedae2f739805
2018-07-15 22:11:03 +02:00
Translation updater bot 3020397186 Localisation updates from https://translatewiki.net.
Change-Id: I6740ee678142088d386c8f5988d5b596b872397e
2018-07-13 22:31:18 +02:00
Brad Jorsch a54087abee Remove unreachable code path
The $options parameter to ScribuntoContent::fillParserOutput() is
typehinted as `ParserOptions` and is not nullable, so the code path for
`!$options` will never be reached.

Also fix the @param doc to match.

Bug: T194263
Change-Id: I254a583b7f7ddd1797aa40f0ddfb973161185a49
2018-07-11 18:43:52 +00:00
jenkins-bot ea0c6d614d Merge "Get rid of call_user_func_array()" 2018-07-04 03:58:20 +00:00
Max Semenik eb8ccf03db Get rid of call_user_func_array()
Yay PHP7!

Change-Id: I777ed78d22efbddacaab22c4614a0defa6ad3f94
2018-07-03 19:40:19 -07:00
Translation updater bot 1975cd96a7 Localisation updates from https://translatewiki.net.
Change-Id: I0aefbc258926d2f12193f4857a5e8e05c75f422e
2018-06-27 22:20:12 +02:00
Translation updater bot 4c38fd4711 Localisation updates from https://translatewiki.net.
Change-Id: I83327d3a9a2232ecdcac1cb99c97707a18ada393
2018-06-24 22:26:00 +02:00
Translation updater bot 70979e9298 Localisation updates from https://translatewiki.net.
Change-Id: Ib9a163aed7bec4da5f7a2928c05148c7559e928b
2018-06-21 22:42:45 +02:00
Translation updater bot ceeed31a7b Localisation updates from https://translatewiki.net.
Change-Id: Icd526fe1080ce744157bef8d898bb81a660cfe2d
2018-06-16 22:26:23 +02:00
Translation updater bot 721f01fc7a Localisation updates from https://translatewiki.net.
Change-Id: Ifd5d5b6522250b58787b59bb23b02ff58521e2c7
2018-06-11 22:34:20 +02:00
jenkins-bot cdc5646f0c Merge "build: Updating mediawiki/mediawiki-phan-config to 0.3.0" 2018-06-08 18:28:59 +00:00
libraryupgrader f694518df8 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I9d1ee6e54a1f48469cb6438af726e067ab60ce87
2018-06-08 07:49:07 +00:00
Kunal Mehta df7666aab6 Don't use deprecated Interwiki static method
Change-Id: If6d8681c84be4820724468f92c6f3cdb65a11736
2018-06-07 11:40:08 -07:00
Translation updater bot 71701d2983 Localisation updates from https://translatewiki.net.
Change-Id: I623dfaa9868d3098d6d089f3b162cfe80d7b4b87
2018-06-02 22:41:39 +02:00
jenkins-bot 3162912421 Merge "Add @covers tags to all tests" 2018-05-29 19:02:25 +00:00
Kunal Mehta d91a8cf8a0 Add @covers tags to all tests
Bug: T195160
Change-Id: I77ce544e9c166fef6c6fb02f67d1de6ddf0c2465
2018-05-29 11:37:27 -07:00
Translation updater bot 56e5766d49 Localisation updates from https://translatewiki.net.
Change-Id: Id23502004ec3af569ede1c4056cf5b3f1137134b
2018-05-28 22:42:38 +02:00
libraryupgrader c88d231aed build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.ForbiddenFunctions.popen
* MediaWiki.Usage.ForbiddenFunctions.proc_open
* MediaWiki.Usage.ForbiddenFunctions.shell_exec

Change-Id: I39e352194565a5526c1a8a34992c028fb305b03b
2018-05-26 06:18:46 +00:00
Kunal Mehta f76ba3c465 Disable Squiz.Classes.ValidClassName.NotCamelCaps globally
Instead of per-file. This happens to also fix a false positive with the
PhpunitAnnotations sniff.

Change-Id: I22621c37217ed2db9d8b3591df1a1421c25fa7f6
2018-05-24 22:26:11 -07:00
Translation updater bot 478c2a6221 Localisation updates from https://translatewiki.net.
Change-Id: If759e616f98e49b481560eb1258edfa092cbb58e
2018-05-23 22:20:23 +02:00
Brad Jorsch 32718af677 ustring: Handle invalid types in gsub
If the replacement table or function results in a value that isn't a
string or number (or nil), string.gsub raises an error. Have ustring
raise the same error.

Bug: T195326
Change-Id: Ic36f9f5d7adc0c14e7a4a94d3747335107acd8b6
2018-05-22 18:55:49 -04:00
Translation updater bot 131af4d277 Localisation updates from https://translatewiki.net.
Change-Id: I67b8a1f2300805df232effe92b166b4db50c4798
2018-05-20 22:44:36 +02:00
Translation updater bot ba357cff4f Localisation updates from https://translatewiki.net.
Change-Id: Ia991c716a89e99965e746c0a0a00fdf6899feaea
2018-05-19 22:20:04 +02:00
Translation updater bot 96dfe06857 Localisation updates from https://translatewiki.net.
Change-Id: I0c36293945548421122eb401e3cfb4d98650ebf7
2018-05-16 23:07:58 +02:00
Kunal Mehta d245edbb94 Add phan configuration
Manually import LuaSandbox's git repository as a composer dependency to
provide the PHP stubs for phan.

Change-Id: I6226b9211f31d829da5a2775c6f5cf3599dd8ebc
2018-05-14 18:41:59 -07:00
Translation updater bot 68212f5cc3 Localisation updates from https://translatewiki.net.
Change-Id: Iaec0b9470f013bd3ecf2b6ea59569a847e27fb89
2018-05-06 22:22:47 +02:00
Translation updater bot a250202bc7 Localisation updates from https://translatewiki.net.
Change-Id: I44cea06be21225920d89ae3d91725a896e730057
2018-05-03 22:21:49 +02:00
Martin Urbanec a81d7d90bb Localize into inh
Bug: T184512
Change-Id: Ifc6c92ce730d82082be5094db9a58667d20f7c14
2018-05-03 13:43:48 +00:00
Translation updater bot 0f8f298ad8 Localisation updates from https://translatewiki.net.
Change-Id: I127b03cbbe1fdac860275a2a4bbf189f94502111
2018-04-30 22:22:30 +02:00
Martin Urbanec f96af727f5 Localize Scribunto namespaces into lfn
Bug: T184516
Change-Id: I1e171a9ca7836988afbd8c4028393e4d300ed94b
2018-04-23 12:50:24 +02:00
jenkins-bot fb06f727f7 Merge "Update at-ease calls" 2018-04-18 18:47:16 +00:00
Gergő Tisza 8fb655258d Fix SyntaxHighlight incompatibility
The class existence check Scribunto used to tell apart current and
B/C versions of SyntaxHighlight does not work with recent versions.
This caused the B/C branch to be invoked unnecessarily, which
resulted in deprecation warnings.

Also, the supposedly non-B/C branch also invoked B/C code which has
no error handling.

The commit removes B/C support and adds a new way of interacting with
SyntaxHighlight.

Bug: T109873
Change-Id: I2d518b5412efbe4e8ddb43e7c465ea55dc44b1a3
2018-04-18 16:46:17 +00:00
Reedy 73f21a1155 Update at-ease calls
Bug: T187037
Change-Id: I9b681cf900a3aaf1be3e688d12e3e83f44bff91b
2018-04-18 14:31:04 +00:00