Commit graph

1408 commits

Author SHA1 Message Date
Umherirrender 55bd9d22bb Add method scope visibility
Change-Id: I2efe0f71266d70e9a41e044406d82ef7daa31296
2018-11-19 21:18:12 +00:00
Translation updater bot 1b3acf8431 Localisation updates from https://translatewiki.net.
Change-Id: I199a6cc0dac8cdb0f1f7b16e2992036d6db7bc71
2018-11-18 22:48:44 +01:00
Translation updater bot 2913c35ae9 Localisation updates from https://translatewiki.net.
Change-Id: I0f77f851c36ca655e43204b10be9f61c1c5d6002
2018-11-16 22:29:44 +01:00
Ed Sanders 9fd85984a3 Remove unused jQuery global alias
Change-Id: Ieeea7b4e5b430def6cef6d8be8a07c932a1d1fa7
2018-11-16 18:24:42 +00:00
libraryupgrader eb846c758c build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I234e1c487dcbc4b6148380d8af04067e19713997
2018-11-16 08:42:21 +00:00
Translation updater bot 590164ac3f Localisation updates from https://translatewiki.net.
Change-Id: Ibf802ce1f0724ac358c9b183e9c293f33f255b53
2018-11-07 22:22:28 +01:00
Ed Sanders 91981b59f9 build: Re-use MessageDirs in banana conf
Change-Id: I9c8097ff5fb6f5495b3157b33df4a9a536e02a75
2018-11-05 19:31:09 +00:00
Ed Sanders 9619727f3c 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

Change-Id: I4c39a42f84303ee0d5d66032bf4cacd9e90821e9
2018-11-05 19:31:08 +00:00
Translation updater bot ff51327970 Localisation updates from https://translatewiki.net.
Change-Id: Iea15da85eb710d4ca40620036c26518a70b0aaf3
2018-11-04 22:42:39 +01:00
Translation updater bot baaedc4033 Localisation updates from https://translatewiki.net.
Change-Id: Ie368e6ab10568be48be4cfe44f38cc038adcf4eb
2018-11-01 22:23:28 +01:00
Brad Jorsch 18c08c23fc ustring: Match undocumented string.gsub behavior
As documented, string.gub( 'foo', '%a', '%1' ) should raise an invalid
capture index error because there is no capture with index 1 in the
pattern. But in fact it treats %1 as %0 in this situation. The ustring
library should match this behavior.

This patch also adds some tests for the behavior of gsub with table and
function replacements when the pattern does have captures.

Bug: T207623
Change-Id: Ie3e6c2eafa4a05989815c62c7037167642581751
2018-11-01 03:59:35 +00:00
Umherirrender fa7481b6f6 Start showing warning for deprecated PHP entry point
Change-Id: I2aa3c8fa4b04618b7b50e27858cfcb28ce468c66
2018-10-30 16:39:24 +00:00
stibba 946874ef01 Update mediawiki http to https in Scribunto extension
This patch updates the scribunto extension so all old http links
to wikimedia are now https.

Bug: T189687
Change-Id: I3f030063e7c6277abd3b0458eaf4b973145afed2
2018-10-29 14:33:03 +01:00
Translation updater bot f1fdde58cd Localisation updates from https://translatewiki.net.
Change-Id: Ied79134c2d631414828c22a8fcc0929902c7bfe4
2018-10-28 22:22:03 +01:00
Translation updater bot 9967f47167 Localisation updates from https://translatewiki.net.
Change-Id: I21b0d73b06012771009b8f9aec59b069cbf861b7
2018-10-23 22:09:05 +02:00
Translation updater bot c124be08de Localisation updates from https://translatewiki.net.
Change-Id: I75c0431153fcacf59a172cf6c9b27f9c7eeefcf1
2018-10-18 22:34:30 +02:00
Martin Urbanec 0d6a8f6981 Localize namespaces to Shan
Bug: T206919
Change-Id: I247fd0c2caa5433a577ccb7dd7b597127abc2b4c
2018-10-15 08:56:11 +00:00
Translation updater bot 9d1e25af18 Localisation updates from https://translatewiki.net.
Change-Id: I62ffeb3002e5f5518b94a5ea6316b5ccd028e345
2018-10-13 10:19:26 +02:00
libraryupgrader 62f52b53d1 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I6a270abbcb13ff4bdc46c6b92c9cb6a0c7811154
2018-10-11 10:43:59 +00:00
Translation updater bot f3c911d042 Localisation updates from https://translatewiki.net.
Change-Id: Ic9504c8d4fda4368766523285cdd4d04fbdebd0a
2018-10-08 23:20:01 +02:00
Translation updater bot 8c0901b8e2 Localisation updates from https://translatewiki.net.
Change-Id: I5a024664d5eec631998c14097dc090dddd0a6ec0
2018-10-04 14:24:34 +02:00
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