Commit graph

2035 commits

Author SHA1 Message Date
Bartosz Dziewoński b8bf159e5d Do not use deprecated EditPageBeforeEditChecks hook
We don't actually add any checkboxes, so there's no reason to use it.
(We used to, but that was removed in 9b0060c8.)

Bug: T161813
Change-Id: Ia6c9df9cadb81387d4e00210d293d4d66bed8cd8
2017-03-30 19:07:47 +02:00
Translation updater bot ed13fe77a1 Localisation updates from https://translatewiki.net.
Change-Id: Ie260bc55cfcc5ccaee6a2437401c961057ba99c0
2017-03-29 22:43:42 +02:00
Translation updater bot f574fceb78 Localisation updates from https://translatewiki.net.
Change-Id: Ida20edc2dcab9e2740d6b230f3396801f30fbf82
2017-03-28 22:57:08 +02:00
Translation updater bot 80c8d1a15f Localisation updates from https://translatewiki.net.
Change-Id: Ie5424f50994856ea72f550f6e6bf389740cce5f5
2017-03-24 22:57:02 +01:00
jenkins-bot ad76e92f76 Merge "Make the maximum language cache size configurable" 2017-03-23 14:37:13 +00:00
Tim Starling 0cf603ca9d Make the maximum language cache size configurable
Make the language cache size configurable, and increase the default from
20 to 30. It needs to be fairly small on default installations, but can
be essentially unlimited if $wgLocalisationCacheConf['manualRecache'] is
true.

Bug: T85461
Change-Id: Idb17691b30b0d2565a1624e5159df7d9b795764d
2017-03-23 15:24:00 +11:00
Translation updater bot 948f62803b Localisation updates from https://translatewiki.net.
Change-Id: Ib4ece192633c98839fd9547928847aff03d69b73
2017-03-21 22:47:39 +01:00
Translation updater bot d0a18c006e Localisation updates from https://translatewiki.net.
Change-Id: Ie88d9f4debabc9a8d7249375f93592773291f9a7
2017-03-17 22:44:08 +01:00
Translation updater bot 0796b87fa4 Localisation updates from https://translatewiki.net.
Change-Id: I513e56c2ee2b318620423d270a3e458d0b4a3368
2017-03-16 23:28:04 +01:00
coderwassananmol 9a56f262a1 Fix pre-wrap formatting for Mozilla Firefox
The pre-wrap is unprefixed since Firefox 3.0. The prefixed version is not supported in the current version of Firefox, so the console makes the page very wide.

Bug: T157947
Change-Id: I2a56e5b8f97deb35e5f2fed0d4083ffa7df11833
2017-03-16 01:29:12 +05:30
Translation updater bot ec2eccc05b Localisation updates from https://translatewiki.net.
Change-Id: I91e9c0c548eeca2287a4318e85b0ff5cfe23d427
2017-03-14 22:49:01 +01:00
Translation updater bot 6a304bbb86 Localisation updates from https://translatewiki.net.
Change-Id: I288aa20b73a9c5715aeb5c7a9ac39ce5a0f231dc
2017-03-12 22:53:29 +01:00
jenkins-bot c3d13130b7 Merge "Speed up PHP mw.ustring.gcodepoint" 2017-03-09 23:37:54 +00:00
jenkins-bot 7532489e53 Merge "LuaStandalone: Fix signal handling" 2017-03-09 23:23:37 +00:00
Brad Jorsch 7f94d88733 LuaStandalone: Fix signal handling
I252ec046 noticeably broke things by adding a dependency on the pcntl
functions, which tend not to be present under Apache.

It also subtly broke exit handling by using proc_close()'s return value,
which PHP mangles in such a way that we can't tell the difference
between an actual XCPU kill and exit( SIGXCPU ). This one wasn't noticed
because the pcntl functions interpret everything proc_close() is going
to return as a signal kill and we didn't test the 'exited' code path.

I'm not sure what was going on in I57cdf8aa since it provides no details
about what it was trying to fix, but that would have broken signal
handling in the other way: Ibf5f4656 worked because proc_open() on Linux
executes the command by passing it to /bin/sh -c, and that shell is
going to turn any signal that kills Lua (e.g. the SIGXCPU) into an exit
status of 128+signum.

To avoid proc_close()'s broken return value while also avoiding the
race, we can loop on proc_get_status() until $status['running'] is
false.

To have signals that kill Lua actually be interpreted as signals, we
have two options: add an "exec" in front of the command so proc_open()'s
/bin/sh -c is execed away, or detect shell-style signal reporting and
convert it. We may as well do both.

Bug: T128048
Change-Id: I8a62e1660fe1694e9ba5de77d01960c1ab4580aa
2017-03-09 23:16:28 +00:00
Bartosz Dziewoński cb8b8b8463 Add namespace translations for Western Punjabi (pnb)
Bug: T157871
Change-Id: I10a5fa3ac2a4ef60d7373b24b82e3a94d84b88ca
2017-03-08 00:56:04 +01:00
Brad Jorsch 5e28f67e88 Speed up PHP mw.ustring.gcodepoint
It seems to be over 200 times faster to iterate over the array instead
of shifting off the front.

Change-Id: Id29a4739ae2bd5dac4197e110ea73f74794e6d9f
2017-03-06 12:53:25 -05:00
Translation updater bot fefbffdfbf Localisation updates from https://translatewiki.net.
Change-Id: Ibea9779ef6b103916844abc644c707a337df2bae
2017-03-01 22:39:51 +01:00
Translation updater bot 56c620a377 Localisation updates from https://translatewiki.net.
Change-Id: Ia200e3ade3bfb782e661a14c18625ab20a5b3a84
2017-02-22 22:46:58 +01:00
Translation updater bot 90ee30abc9 Localisation updates from https://translatewiki.net.
Change-Id: I9c9eb21d3dd9ef40a67e90c24f02de6108e1954f
2017-02-20 23:54:44 +01:00
Translation updater bot 9c4e6e6282 Localisation updates from https://translatewiki.net.
Change-Id: I58df304ad4b7ac988dd75232b2411bf6204d46fe
2017-02-19 22:44:38 +01:00
Translation updater bot 27625a39a9 Localisation updates from https://translatewiki.net.
Change-Id: I19a35524cecf5515e7850a3e0b0dab2a70dcf547
2017-02-16 23:01:08 +01:00
WMDE-Fisch 7e4997758e Replace deprecated suppress warning methods
Change-Id: If633b8007890e0bfd790b506feaf72c9fd271708
2017-02-15 14:52:38 +01:00
Translation updater bot 924ec1caac Localisation updates from https://translatewiki.net.
Change-Id: I4b7b03471747dc576be4a3e4a54c1cc08380091e
2017-02-14 22:49:24 +01:00
Translation updater bot 2c9f3eb916 Localisation updates from https://translatewiki.net.
Change-Id: I5f1a12e16fde8645b31cb5c19efa873c8655c89a
2017-02-13 23:11:42 +01:00
Translation updater bot 42dfc2f012 Localisation updates from https://translatewiki.net.
Change-Id: I806b1dedd6a4c73d6afa1f838527ed79cda17efe
2017-02-12 22:35:53 +01:00
Translation updater bot 260f3f2cd3 Localisation updates from https://translatewiki.net.
Change-Id: I24686cc40ca2aa9e0c8175ae316709fa977aa17f
2017-02-10 22:46:09 +01:00
Translation updater bot 161a99536c Localisation updates from https://translatewiki.net.
Change-Id: I23d2bd2d6048a5eae3c9cb85f0df0d399ca5c741
2017-02-06 22:50:00 +01:00
jenkins-bot 54677032e3 Merge "Localize namespaces in Kurdish" 2017-02-03 14:57:26 +00:00
Translation updater bot 7df732da91 Localisation updates from https://translatewiki.net.
Change-Id: I017e66e500f8756b24e43ec0cd585b4ff1c42919
2017-02-01 22:42:24 +01:00
Sébastien Santoro fdb4e52192 Localize namespaces in Kurdish
Bug: T156277
Change-Id: Idfb6515b6da8c82ba750004fed4d1e69e6158a86
2017-02-01 19:15:49 +00:00
Translation updater bot e6d8b8309e Localisation updates from https://translatewiki.net.
Change-Id: I1226ef0c453ab7794488051a76da36dd52a70791
2017-01-30 22:44:52 +01:00
Translation updater bot 54b5e31068 Localisation updates from https://translatewiki.net.
Change-Id: I33e40d2b53bdc945354d4579cc1c612f5336b18c
2017-01-25 14:41:58 +01:00
Translation updater bot bf7c8f74c8 Localisation updates from https://translatewiki.net.
Change-Id: I447329d9825eb932c4fb36012b45bbd809f36ff4
2017-01-23 22:43:45 +01:00
Translation updater bot 4d94850177 Localisation updates from https://translatewiki.net.
Change-Id: I04cd987e97d96c9ac311de938e54c1885327d095
2017-01-22 22:38:31 +01:00
Brad Jorsch fe094e7bae Update ustring data tables
normalization-data.lua is updated to Unicode 6.3.0.

upper.lua and lower.lua are updated to match HHVM 3.12.1's mb_strtoupper
and mb_strtolower. I don't know what version of Unicode that might be,
but it seems old.

Bug: T86096
Change-Id: I1a0c8be2756f86db5f36dd67319a1f79aea98b3e
2017-01-21 03:26:27 +00:00
Antoine Musso 1cf6339a1b test: change interwiki to a meaningful name
When investigating a test failure on T155600 I found the title
'scribuntotitletest:Module:TestFramework' to be rather obscure.  Had to
browse the code to findout 'scribuntotitletest' is an interwiki prefix.

Update TitleLibraryTest php/lua and change the interwiki prefix to the
more meaningful 'interwikiprefix'.

Bug: T155600
Change-Id: Iec63734c82b0835a7f2444ea9af35617876831d5
2017-01-19 09:48:55 +01:00
Translation updater bot edf1fea5f4 Localisation updates from https://translatewiki.net.
Change-Id: I5e978fadcdb0f6feddc83c2476fb8fbfcaf3e35b
2017-01-16 14:29:50 +01:00
Umherirrender 1d5355f190 Remove entry from ExtensionMessagesFiles
Scribunto.i18n.php is not part of this repo

Change-Id: Id016f163fcebf8f94197968c45c2189a25cb7c2e
2017-01-12 21:47:57 +01:00
Translation updater bot 96820f1c7b Localisation updates from https://translatewiki.net.
Change-Id: I0e92ec6fe2666061071de5273a5a2562e52d0668
2017-01-11 23:18:41 +01:00
Translation updater bot bf2ebc0b75 Localisation updates from https://translatewiki.net.
Change-Id: I4e1c182110bf2e773011ebf02ce349ccb5002cc6
2017-01-07 22:13:37 +01:00
Translation updater bot b083356eee Localisation updates from https://translatewiki.net.
Change-Id: I7846b782ed0ffde8897845dc835db7119b87a2c8
2017-01-06 23:12:53 +01:00
Translation updater bot fdc5d96de4 Localisation updates from https://translatewiki.net.
Change-Id: I008c7dab115a59fc450a310063c85fb410a2a1e1
2017-01-05 23:48:31 +01:00
Translation updater bot 45bbfcec4f Localisation updates from https://translatewiki.net.
Change-Id: Ibdc3b948df691120ca5915459d84aab89cbce43a
2017-01-01 10:10:08 +01:00
Translation updater bot a30e9cec04 Localisation updates from https://translatewiki.net.
Change-Id: I142986279b00d8a8cdfb9f3b7f8dd32298e4be4d
2016-12-26 22:41:01 +01:00
Translation updater bot e11080f680 Localisation updates from https://translatewiki.net.
Change-Id: Ibfc991e31e185d13cd477f81b2458a902c46a8fc
2016-12-25 22:19:40 +01:00
Translation updater bot af5d947cb3 Localisation updates from https://translatewiki.net.
Change-Id: I015441a17bec56c0652e0e213e27ad550cf3b05b
2016-12-24 22:39:48 +01:00
jenkins-bot 24e5ce2a14 Merge "Adding i18n for the Module tab" 2016-12-23 21:30:56 +00:00
Base 212325d8d3 Adding i18n for the Module tab
Adding i18n for nstab-module (tab) and tooltip-ca-nstab-module (tab's hovertext) messages

Change-Id: I8263b632f54b5caa22d412cde397a1d8dd96b2fb
2016-12-23 19:56:55 +00:00
Translation updater bot de4cb23e6f Localisation updates from https://translatewiki.net.
Change-Id: I783b3d382d871015a5a2c28d12358b469e039804
2016-12-22 22:57:48 +01:00