Commit graph

1706 commits

Author SHA1 Message Date
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
Translation updater bot ffc6b2aa24 Localisation updates from https://translatewiki.net.
Change-Id: I0f9ddc51ceb30fc67f6df101e922ff1baf70e708
2015-10-09 22:33:34 +02:00
Translation updater bot ba92310f08 Localisation updates from https://translatewiki.net.
Change-Id: I7e1bb777f1a6d78c2023a57d435c74a9822fd85d
2015-10-07 22:02:45 +02:00
Jan Berkel fb20934b16 Fix a problem with simple pattern detection
A string with a dot pattern is only "simple" if
followed by +, - or *. The end of string condition was not checked
properly.

Change-Id: Ia10b9164caeabe464c76441cc82eef37a7013048
2015-10-07 10:27:45 -04:00
Translation updater bot dfb59d508d Localisation updates from https://translatewiki.net.
Change-Id: I06402e78565b28edc0c13652738d584e2f7bd160
2015-10-03 22:13:45 +02:00
Translation updater bot a51644831d Localisation updates from https://translatewiki.net.
Change-Id: I3fd6fe9e1f3ff3fcbc90b38985fed088a4195c13
2015-09-26 21:16:20 +02:00
Translation updater bot c663dcde12 Localisation updates from https://translatewiki.net.
Change-Id: Idccff25c64128773a05ac0c1caaa58dee847ebfa
2015-09-24 21:31:32 +02:00
Translation updater bot 0038ca1c0e Localisation updates from https://translatewiki.net.
Change-Id: Ic09bfa8f215708593d0a15d8d917e8e717069df2
2015-09-23 21:34:35 +02:00
Jan Berkel 7c5454b36c Fix off-by one error in gsub
Change-Id: I49c0386970e007271d23087fd112580af7b21c9c
2015-09-23 17:41:15 +01:00
Translation updater bot 49e26b6f38 Localisation updates from https://translatewiki.net.
Change-Id: I7535df3ad6fc4bf44843d2f758ada803df821cdd
2015-09-22 22:27:16 +02:00
Translation updater bot 36c5f82b9e Localisation updates from https://translatewiki.net.
Change-Id: I4d0e827feb5b2e6d0f7893262eab150aedf64544
2015-09-21 21:58:08 +02:00
Translation updater bot dd26eaa8e7 Localisation updates from https://translatewiki.net.
Change-Id: I6e7615bfe40ad58ed0957f7ff8d0a16bdf7291b6
2015-09-19 23:11:35 +02:00
Translation updater bot 715e904425 Localisation updates from https://translatewiki.net.
Change-Id: I52bc25e26548bfb10c32dca514a9752cfff7f906
2015-09-14 22:07:08 +02:00
Translation updater bot 003ad2caec Localisation updates from https://translatewiki.net.
Change-Id: Idedab5785520da5abf4ad6e906c05861188810c2
2015-09-06 21:42:42 +02:00
jenkins-bot 99c0e198e4 Merge "Localize Module and Module_talk namespaces for Armenian wikis" 2015-09-05 10:53:01 +00:00
Translation updater bot 9192d586d3 Localisation updates from https://translatewiki.net.
Change-Id: I3e56e2534966b06c1d0328cb72eb07adeaecdefe
2015-09-04 21:53:17 +02:00
maurelio ead95a5f71 Localize Module and Module_talk namespaces for Armenian wikis
Bug: T111376
Change-Id: I312082aba0eff4f434a1ba05715161b0df69dee3
2015-09-03 16:21:25 +00:00