Commit graph

1368 commits

Author SHA1 Message Date
Marius Hoch ab15dfe4ff Make sure interface functions with the same name don't clash
Test case (greatly simplified) by Anomie.

Bug: T211203
Change-Id: Id05c226b80343b1c333ae622d7390a96ff88ea99
2018-12-06 08:15:43 +01:00
Translation updater bot 687d244a24 Localisation updates from https://translatewiki.net.
Change-Id: I6f7dcea32d65cf5c4140429a6a795e88fdb0c1c3
2018-12-03 22:35:30 +01:00
Lucas Werkmeister (WMDE) a55cfc2078 Revert "Adding a unit test for CVE-2014-5461 in Scribunto."
This test causes spurious CI failures in other projects; to unblock them
for now, remove the test again until we can figure out how to make it
work better.

This reverts commit 7a7f522676.

Bug: T209232
Change-Id: Id2eeeb781b7a8a6298ba06d78bab238b37dac9ca
2018-11-30 14:14:40 +00:00
Translation updater bot 80d365df33 Localisation updates from https://translatewiki.net.
Change-Id: I7f3802e63288b4c391c44cf95b02fec956f59bf8
2018-11-29 22:27:36 +01:00
Mogmog123 7a7f522676 Adding a unit test for CVE-2014-5461 in Scribunto.
Bug: T209232
Change-Id: I84a4ec014875764bcba4d603b0e27d210d4a9308
2018-11-26 20:36:45 +00:00
Translation updater bot d365ad3427 Localisation updates from https://translatewiki.net.
Change-Id: Ice3fb1633313e92233dc8ff6100a56a7ce31586a
2018-11-23 22:17:50 +01:00
Translation updater bot cdf41bb365 Localisation updates from https://translatewiki.net.
Change-Id: Ibf8f84bf6484705b3e90c2a62ce23d84ec9acbc0
2018-11-22 22:22:19 +01:00
Rafid Aslam f447357856 Move all apihelp translatable messages to separate files
Should be merged along with
I7d78958232089a9c5f4fa340aa6e1b2bf8e2c931

Bug: T189982
Change-Id: If175ec538827056d0ab9a3bdda6370e0fca6508d
2018-11-22 13:28:11 +00:00
Translation updater bot 2b3b40dd26 Localisation updates from https://translatewiki.net.
Change-Id: I8957ffdcb32e51f82b87af2ace86e67781a3e115
2018-11-21 22:29:26 +01:00
Urbanecm 5ebc7731b0 Remove zero width space from Shan localization
Bug: T209934
Change-Id: Iae08d45efad07e393a30aef3cc086d3fb2644e87
2018-11-20 11:34:49 +00:00
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