Commit graph

1122 commits

Author SHA1 Message Date
victorbarbu 4c29dba5e8 Add license information
Bug: T123943
Change-Id: Ib8de2c84e7e962efce656530021a44617a9dcb8a
2016-01-23 13:04:40 +02:00
Jackmcbarn dc9446b84d Remove loadedLibraries
Nothing actually uses this, so I'm not sure why we ever kept track of it.

Change-Id: I60480b96a83731c7b25aed55099886a86efc08b1
2016-01-19 02:25:25 +00:00
Translation updater bot dbd18285ed Localisation updates from https://translatewiki.net.
Change-Id: Icdad6367012572e137e2312a12b019c3689eda80
2016-01-18 21:37:17 +01:00
Translation updater bot ab1e3d81a1 Localisation updates from https://translatewiki.net.
Change-Id: I8680e91480889ce81da6dc76899a5ec7d5086ec6
2016-01-13 23:30:52 +01:00
Translation updater bot 4502686a8d Localisation updates from https://translatewiki.net.
Change-Id: I6d0cb0e11c026369d5af4c7c5de5e218858f4de3
2016-01-12 22:47:55 +01:00
Translation updater bot 201da404a5 Localisation updates from https://translatewiki.net.
Change-Id: I960cc58236fc597439286b94503123fc7ae21876
2016-01-08 22:20:36 +01:00
Translation updater bot f61da4de47 Localisation updates from https://translatewiki.net.
Change-Id: I07599f596b757f665eb8f7dd53c72f33e13cbd61
2016-01-07 23:37:51 +01:00
Translation updater bot 1a48d0c7f2 Merge "Localisation updates from https://translatewiki.net." 2016-01-03 20:45:07 +00:00
Translation updater bot 957bb7948e Localisation updates from https://translatewiki.net.
Change-Id: I7de4a8bbcb4dee08f3c4e42d852278971000d645
2016-01-03 21:44:01 +01:00
jenkins-bot 2473efdb2a Merge "Use correct variable in ustring.lua" 2016-01-03 20:41:02 +00:00
Ricordisamoa f378c13472 build: Enable and configure jscs, fix some errors
Change-Id: I17115bfe09b91e6fcf84b329a12deab6c708086b
2016-01-03 05:07:04 +01:00
Brad Jorsch 29266a9a0f Use correct variable in ustring.lua
Change-Id: Ic576b8c31c487c106593050538f9f2cc5b722b62
2016-01-02 10:49:48 -05:00
Translation updater bot 3a7bf89d17 Localisation updates from https://translatewiki.net.
Change-Id: I7534220d3813754189d9390a9f67f47f230d6019
2016-01-01 20:05:19 +01:00
Translation updater bot 5cc055d385 Localisation updates from https://translatewiki.net.
Change-Id: I18a8cc188acd00cd88016c3697cd6cefbf1b6efb
2015-12-30 21:44:50 +01:00
Kunal Mehta f446449faf build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I634532264a4f00f3cc5c8c5237b75685ad152f5f
2015-12-29 11:53:15 -08:00
Translation updater bot e6dc978522 Localisation updates from https://translatewiki.net.
Change-Id: Iec2f8b05d904379dabbae7f53e66403a4311c182
2015-12-15 22:24:48 +01:00
Translation updater bot 160a2f0cb2 Localisation updates from https://translatewiki.net.
Change-Id: I681c61a298b42337877302dc4ccba568141df000
2015-12-11 23:53:44 +01:00
Translation updater bot 7ff1e942db Localisation updates from https://translatewiki.net.
Change-Id: Idece018eb0491fceae32bc662e4e94093f1d5b94
2015-12-07 23:15:02 +01:00
Translation updater bot 6c93653c16 Localisation updates from https://translatewiki.net.
Change-Id: Ief6c8da0e62f9a9136eb1ac9a0a8b62db6b1a7b3
2015-12-02 21:59:12 +01:00
Translation updater bot 49f50176b2 Localisation updates from https://translatewiki.net.
Change-Id: Ib0981e06bde66006b5717a49f225cc6aa95c0d38
2015-11-27 22:47:29 +01:00
Translation updater bot 4939d7f258 Localisation updates from https://translatewiki.net.
Change-Id: Iaf54dbb7efba936c4a4589e997ae9948e04dcf61
2015-11-26 22:03:38 +01:00
Translation updater bot f600c2bb4d Localisation updates from https://translatewiki.net.
Change-Id: I6cfcd3625c0c03d4ab6e34bec220d8b99ffe4dbd
2015-11-24 23:10:46 +01:00
Translation updater bot 430f71925f Localisation updates from https://translatewiki.net.
Change-Id: I39b79113cb80cb262f6b0d74960d740b24037b75
2015-11-22 20:46:26 +01:00
Translation updater bot a10aa8b054 Localisation updates from https://translatewiki.net.
Change-Id: Ia80511b9fa0d4d7f055c080736a12d1a1335cb6e
2015-11-19 21:39:55 +01:00
Translation updater bot 8ac8c5468a Localisation updates from https://translatewiki.net.
Change-Id: I551f7719334034ab154f1b6cf17d0565531441c2
2015-11-17 21:53:46 +01:00
Translation updater bot 6df4147e4f Localisation updates from https://translatewiki.net.
Change-Id: Id061d32a4ae21736e3db203dd4a6ca530a286153
2015-11-14 22:17:46 +01:00
jenkins-bot dae93fd4b3 Merge "Fix typo in comment and missing spaces" 2015-11-12 17:28:41 +00:00
Jan Zerebecki 1517a1ba2e Fix typo in comment and missing spaces
Change-Id: Ifda05edd9b488768814d3251a93d71e9b55ea5a6
2015-11-11 23:08:15 +00:00
jenkins-bot 48e353d926 Merge "Temporarily skip a test that fails on HHVM." 2015-11-11 21:45:47 +00:00
Translation updater bot 838afbf9cc Localisation updates from https://translatewiki.net.
Change-Id: Ic34c080fab02bfde9e244fbebae02265be22b2c2
2015-11-11 21:55:57 +01:00
Jan Zerebecki fa0e32ce99 Temporarily skip a test that fails on HHVM.
HHVM has a bug in json decode https://github.com/facebook/hhvm/issues/5813 .
Skip the test until there is a fix upstream.

Bug: T103346
Change-Id: I7e44d98c29ba9b9f5443665fc046382f696193c9
2015-11-11 21:49:12 +01:00
Translation updater bot ca2249c994 Localisation updates from https://translatewiki.net.
Change-Id: I5863509488f555e78c5d6b06850a464ec6fd2670
2015-11-09 21:48:08 +01:00
Translation updater bot e14d904716 Localisation updates from https://translatewiki.net.
Change-Id: I8c15982d4c20621194d80d734d067daf2e5b7c24
2015-11-02 22:38:40 +01:00
Translation updater bot 6a25b110bf Localisation updates from https://translatewiki.net.
Change-Id: I7c99795070378c80069938adcda82781ee32e806
2015-10-31 21:07:08 +01:00
jenkins-bot b8830a3e57 Merge "ustring: Handle "empty" charset like Lua does (part 2)" 2015-10-30 16:34:54 +00:00
Ori Livneh f3558e489d When logging perf stats, include wfWikiId() in metric key
...so that modules are easily locatable in multi-wiki environments (like
Wikimedia's).

Change-Id: I60b9eb6177294eedceaacd5398545a30ad896f11
2015-10-29 20:53:06 -07:00
Ori Livneh a5d97eaa90 Make the percentile threshold for slow function stats configurable
Introduce $wgScribuntoSlowFunctionThreshold, which is a float value between 0
and 1 (defaults to 0.9), specifying the percentile threshold for slow function
invocation reporting.

Change-Id: I3bd862347c21ba68d2f2f0729a834c4f7be3cd43
2015-10-30 00:16:03 +00:00
Ori Livneh b5df651e1e Scribunto_LuaSandboxEngine::getResourceUsage(): call load()
This is required for ensuring $this->interpreter is available. See
::getLimitReportData(), which does the same thing.

Change-Id: I275b093dd7d5f4873ec4b912823322e6e533cae1
2015-10-29 16:52:21 -07:00
Ori Livneh 7e63874c5c Move getResourceUsage to Scribunto_LuaSandboxEngine
Fix-up for I6a4ed03c126.

Change-Id: I69e9218c6a3da6ca2a6f13e5911fee1c78a8f4a0
2015-10-29 16:29:00 -07:00
Translation updater bot 8299a0a22d Localisation updates from https://translatewiki.net.
Change-Id: I1c4efebfbb44a1b727bbc03abfd4bee306d000c8
2015-10-29 21:25:57 +01:00
Ori Livneh 605b5ed742 Keep stats on slow function calls
Report timing data for the top 1% of Lua function invocations, measured by CPU
time. Use the PSquare class from RunningStat (Ibbd3925aa) to keep an online
estimate of the 99th percentile without storing observations.

Depends on Ibbd3925aa (and on a follow-up patch to bump the RunningStat version
in core's composer.json.)

Change-Id: I0d39920733fe719f87698f03408698ed032c9849
2015-10-28 21:34:50 -07:00
Ori Livneh 930421d242 Add ScribuntoEngineBase::getResourceUsage()
Introduce a method, ScribuntoEngineBase::getResourceUsage(), which may be
overridden by script engine implementations to provide CPU and memory usage
data.

Change-Id: I6a4ed03c1261f43a7ce7de6f274c32c450e66abb
2015-10-29 03:59:07 +00:00
Translation updater bot 36d108a02e Localisation updates from https://translatewiki.net.
Change-Id: I9f7abedbf5358c1b5cc3d2be704ab09c9dab282f
2015-10-28 21:55:28 +01:00
Translation updater bot 7053497390 Localisation updates from https://translatewiki.net.
Change-Id: Ie306f413abd9431f4bfc0ac0cdfb09ef0f2e1882
2015-10-25 22:07:06 +01:00
maurelio 920b6d190c Localization updates for Scribunto.namespaces from Meta
Languages changed: ast, eml, ka, lb, sr, th and zh.

@authors:

* ast: m:User:Xuacu
* ka: m:User:David1010
* lb: m:User:Robby
* sr: m:User:Milicevic01
* th: m:User:Pirun
* zh: m:User:Leiem, m:User:Liuxinyu970226

Comes from m:User:MarcoAurelio/NS Trans

Change-Id: Ic4b57d196faeaebe098caf5a13bc130ecb4b45b0
2015-10-20 18:12:35 +00:00
Translation updater bot 42eaa4f1e6 Localisation updates from https://translatewiki.net.
Change-Id: I8703b788076e40bab49a8eff5395cb4d2d0aeab5
2015-10-19 22:19:39 +02:00
Brad Jorsch cd618c7a92 ustring: Handle "empty" charset like Lua does (part 2)
Lua actually treats a close-bracket at the start of a bracketed
character class as a literal, rather than using it to close the
character class. Probably unintended behavior, but it happens.

Also, have the pure-lua version throw our more informative errors on
error even when falling back to string.find and the like, and fix some
other weird edge cases that came up in testing.

Bug: T95958
Bug: T115686
Change-Id: Iab783d4a3e58b1514cc09729d4a71c2cb1242ee8
2015-10-16 09:26:55 -04:00
Translation updater bot 0cb68ac7c3 Localisation updates from https://translatewiki.net.
Change-Id: I655883b806cf66bd4894abb4d75b9342fe811fc4
2015-10-15 09:50:16 +02:00
Translation updater bot 1716e7d297 Localisation updates from https://translatewiki.net.
Change-Id: I1e2d3dcde4a0a8bc5161f3cc31f21e73ba73feed
2015-10-14 21:55:27 +02:00
Kunal Mehta e084a3c31d build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: I50c4895e210b930f69c28fdeb65423b5a89e5d55
2015-10-11 11:58:37 -04:00