Commit graph

1393 commits

Author SHA1 Message Date
Translation updater bot 08039ba5af Localisation updates from https://translatewiki.net.
Change-Id: I8e94fe98749b4fa8ce71c5798238668419930af3
2019-02-19 22:20:10 +01:00
Translation updater bot c94b77e5c9 Localisation updates from https://translatewiki.net.
Change-Id: I3de3b2269552146a677702510edb0c7be07c8575
2019-02-18 22:23:23 +01:00
Translation updater bot fdb36e34ea Localisation updates from https://translatewiki.net.
Change-Id: Icafef1330c51b086a5a756dc02cec0c160627d17
2019-02-17 22:14:39 +01:00
Translation updater bot 7a2eeef7e3 Localisation updates from https://translatewiki.net.
Change-Id: Ia21df085e7cebde089e06f1356c9c39c10c049ff
2019-02-14 22:29:27 +01:00
Translation updater bot b9a6a14c37 Localisation updates from https://translatewiki.net.
Change-Id: I062e23c4af8ba3c4364be5075bcb93e122315454
2019-02-07 22:28:51 +01:00
libraryupgrader a8bf81966b build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I0c1daad234466436f062edcf432d974167dc7f81
2019-02-07 03:57:11 +00:00
Translation updater bot a2c20c1799 Localisation updates from https://translatewiki.net.
Change-Id: I390629171e7c006c7083bc14b6acfa5d0e652d7e
2019-01-30 22:14:30 +01:00
Translation updater bot 095de2fa73 Localisation updates from https://translatewiki.net.
Change-Id: If0013995b368c4743dffff09a36d77ec1f6d95b9
2019-01-22 22:17:45 +01:00
Translation updater bot 11408f0feb Localisation updates from https://translatewiki.net.
Change-Id: Id8d652f8ece600731fa2b9984a9ae740e72260ec
2019-01-20 22:36:07 +01:00
Translation updater bot 1fb722c7df Localisation updates from https://translatewiki.net.
Change-Id: I866098a23ede51d4521812f33f2f70aaf660f94c
2019-01-19 22:16:30 +01:00
Translation updater bot ee4e40d8d2 Localisation updates from https://translatewiki.net.
Change-Id: I36a27f9cd8aefbc312f094d70884412abb72dfe5
2019-01-17 09:12:57 +01:00
MGChecker 4bc7abb0ac Set "TemplateSandboxEditNamespaces" in extension.json
If TemplateStyles installed, then enable it in the Module namespace
by default. This change is analogous to I96d9601ff80c2d3eb052c01.

Since both extensions use the ContentHandlerDefaultModelFor hook, Scribunto
will check if the sanitized-css model has already been set, and if so, not
override it. If the page is in NS_MODULE, it will set the content model to
Scribunto, but allow further hooks to override it, in which case it is
expected that TemplateStyles would set it to sanitized-css.

Bug: T200914
Depends-On: I2fa9b822ee39bcc5f95a293c8c4aad4d53ede30a
Change-Id: I7a9b445accde35e4a5e7d13100c646f211d21afe
2019-01-15 09:39:30 -08:00
Kunal Mehta 3b0082e6b2 Add test for ScribuntoHooks::contentHandlerDefaultModelFor()
Change-Id: Ibce964bb308aa88b14a179310436db9c48640f76
2019-01-14 17:36:52 +00:00
Translation updater bot c7a1c236b5 Localisation updates from https://translatewiki.net.
Change-Id: I6e5b84819a643c389c1720e108fff70b789c63df
2019-01-13 22:13:41 +01:00
Translation updater bot 937c22ab8a Localisation updates from https://translatewiki.net.
Change-Id: I8608a84bd83c5714df33826c898625cc16f451aa
2019-01-09 22:18:57 +01:00
Kunal Mehta 237d059ea1 Add lua5.1 patch for CVE-2014-5461
For whenever anyone else has to recompile the binaries, it's easier if
the patch file is in git.

I copied it directly out of T72541, and verified with:
 patch -p1 < ../CVE-2014-5461.patch
in the lua5.1 source tree.

Change-Id: I714a9d55096d9b5d081cd3e54f3b2e6848dcafef
2019-01-08 21:33:47 -08:00
Translation updater bot 32d561ca07 Localisation updates from https://translatewiki.net.
Change-Id: Ife79eff108b1881754e0b84a7a05dcc081d62a25
2019-01-03 22:52:37 +01:00
Translation updater bot d83ffd7ad2 Localisation updates from https://translatewiki.net.
Change-Id: I5d395fc6d2bef6f6d91126d1f1454958cdcf2458
2019-01-01 22:21:43 +01:00
Kunal Mehta cb079ac995 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I73ecfa85451fe8e0d5777d2988d54624be549a6d
2018-12-17 18:58:09 -08:00
Translation updater bot cefb5d9a92 Localisation updates from https://translatewiki.net.
Change-Id: Ie793377a7b764b610cbc5e5196acb80e4372e42b
2018-12-17 22:19:37 +01:00
Translation updater bot 3272291b14 Localisation updates from https://translatewiki.net.
Change-Id: I83152f6b13b2409dc0458a3afcbc980ee15fb32c
2018-12-12 22:18:47 +01:00
Brad Jorsch 1ef78f3d7f ApiScribuntoConsole: Use 'text' type for text fields
In the rare case where someone needs to test the module with
Special:ApiSandbox, it's helpful if these fields show up as <textarea>
rather than <input type="text">

Change-Id: I712d2f74bccd5ceee608dbf51e28b16dc7ed56be
2018-12-12 02:39:51 +00:00
Brad Jorsch ec103b6966 Scribunto_LuaError: Make ->getMessage() return UTF-8 text
It's easily possible for Lua to raise errors where the string is not
valid UTF-8. When we turn that into a Scribunto_LuaError, we should
normalize it so other things don't break.

Bug: T208689
Change-Id: Idc5514261e99d64222b86877dd0500d425a26988
2018-12-11 14:46:56 -05:00
Marius Hoch 8dbde85b69 Parser profiling data: Nicer float format
No need to display three decimal points for the
given cpu limit all the time.

Will change outputs like:
"1.728/10.000 seconds"
to
"1.728/10 seconds"

Change-Id: Ib1f5b435825232eaf9fde7ff0d953c137c06ac32
2018-12-10 15:39:56 +00:00
MarcoAurelio 704f1231d2 Translate Scribunto namespaces to Neapolitan (nap)
Author: Ruthven <https://phabricator.wikimedia.org/T210825#4803438>

Bug: T210825
Change-Id: Ifa2324392655d7bb77e5d5db3443168eedce611f
2018-12-08 22:30:50 +00:00
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