Commit graph

1274 commits

Author SHA1 Message Date
Translation updater bot 90e7eb352c Localisation updates from https://translatewiki.net.
Change-Id: I314da0310300304fed97a525711c9546a1492fdc
2018-04-01 09:39:13 +02:00
libraryupgrader 7973dff09a build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PhpunitAnnotations.NotTestClass

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I56ea06397c7c2b586cc9dca2425535eb565ea231
2018-03-29 05:35:12 +00:00
Translation updater bot ee928717b6 Localisation updates from https://translatewiki.net.
Change-Id: I1fd387e3586c90d9e3248b8d0182527b91fdd670
2018-03-24 22:29:39 +01:00
Translation updater bot 53cbdf07f4 Localisation updates from https://translatewiki.net.
Change-Id: I3f7553fe92f3be240c0a7b6c8e7daf2d9f8841da
2018-03-23 22:13:18 +01:00
Thiemo Mättig 856217d7ad Stop using deprecated class from UtfNormal library
Change-Id: I966a68c52eb4a59d91dc8a597c364f4e1ac44073
2018-03-22 11:06:15 +01:00
Translation updater bot da15d0b15a Localisation updates from https://translatewiki.net.
Change-Id: Ice4d4c23a553e8036b6015a9ad2ad8703cd58cdf
2018-03-19 22:19:56 +01:00
jenkins-bot d57a47bb29 Merge "Rename test classes to end with Test" 2018-03-18 03:49:22 +00:00
Translation updater bot 369aa0649b Localisation updates from https://translatewiki.net.
Change-Id: Id4252ccd6f09ad33339aca316e2e567848c3dafc
2018-03-11 22:31:15 +01:00
Umherirrender 44fe3df9bf Rename test classes to end with Test
Change-Id: I510e5516d56b28d26510423da840b4b496a10833
2018-03-10 14:25:38 +01:00
libraryupgrader 1df0fc6eaa build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Icfff6679043fe9367c70db640dfe71b3938c5ad5
2018-03-10 04:01:42 +00:00
Translation updater bot 90d884d808 Localisation updates from https://translatewiki.net.
Change-Id: Icb60ab0573879499e62db68f3571c5d49e510c61
2018-03-06 22:18:50 +01:00
Translation updater bot 8e747ef890 Localisation updates from https://translatewiki.net.
Change-Id: Ia5761f794b08a83d62cb42f1ff468897190a2de6
2018-03-02 22:31:28 +01:00
Translation updater bot ae2c9140bc Localisation updates from https://translatewiki.net.
Change-Id: Ieeb6e748322906333e11e6c4b4344d2d72859cf9
2018-03-01 22:42:00 +01:00
jenkins-bot 0da1f424fa Merge "Add namespace names for Sindhi" 2018-02-28 09:33:06 +00:00
Translation updater bot f541d315e1 Localisation updates from https://translatewiki.net.
Change-Id: Ic274f79bf093a5321cc0fe07e268646d5531f7a5
2018-02-27 22:25:56 +01:00
Translation updater bot 9663f32361 Localisation updates from https://translatewiki.net.
Change-Id: Ia3b95b1518a9c3b4247ba4969d75bfcdfc80b34e
2018-02-26 22:20:48 +01:00
libraryupgrader 48492a4cf4 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I5a08a0305dbd340b347b9152075e70d8a717c7ed
2018-02-25 10:58:53 +00:00
Kunal Mehta 27a7eb0f58 Use namespaced PHPUnit\Framework\TestCase
For future compatibility with PHPUnit 6.

Bug: T188166
Change-Id: Id1e951d7e9a2092500408ab865427db45c025bde
2018-02-24 00:23:15 -08:00
Translation updater bot c5589f012c Localisation updates from https://translatewiki.net.
Change-Id: Idc13fa021f205483236fa03adda3ca2f142b0214
2018-02-23 23:01:50 +01:00
Translation updater bot 3966323873 Localisation updates from https://translatewiki.net.
Change-Id: I2e7e6b8b54866d3bafbffb286e603fc8300f794d
2018-02-22 23:22:27 +01:00
jhsoby ba9e0a9d02 Add namespace names for Sindhi
Bug: T186943
Change-Id: I17c64c9884fdb6b1259f1c93378d4f8e0a1894e2
2018-02-19 14:30:40 +00:00
Translation updater bot 69de9ca845 Localisation updates from https://translatewiki.net.
Change-Id: I8be6c1ab8833c9ad718a4e489e8ef36cb487cbd7
2018-02-18 22:41:05 +01:00
libraryupgrader 90e6f2f3f1 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I6b93b27c81042db74923086c378b8f37a3f4d928
2018-02-18 08:24:23 +00:00
libraryupgrader 6d1a6ffb01 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers

Change-Id: I07b2cf945f44fd5532812a712f7dd40d2f208be2
2018-02-15 13:57:18 +00:00
Jayprakash12345 9808ec80dc Update at-ease calls in extensions
Bug: T187037
Change-Id: I008412187a23dc1a4b23eda12b215d60333f525e
2018-02-12 18:37:16 +00:00
Translation updater bot db5323238f Localisation updates from https://translatewiki.net.
Change-Id: I475d58badd87e7cb89af5e1488dd0c0080dd7766
2018-02-12 09:23:52 +01:00
jenkins-bot 2b0314e4ab Merge "Use PSR-3 logging instead of wfDebug()" 2018-02-11 14:54:14 +00:00
Kunal Mehta d8687a5c82 Use PSR-3 logging instead of wfDebug()
Change-Id: Id9fe3adb18e07e16703e9da878278d9a3d25f554
2018-02-11 05:58:31 +00:00
jenkins-bot 8d844ef647 Merge "Sanify handling of array keys" 2018-02-10 09:21:31 +00:00
Brad Jorsch 6c69cd2ddf SECURITY: Reduce precision on os.clock() to mitigate timing attacks
While there is currently no demonstrated vulnerability, this provides
additional hardening against SPECTRE-like attacks, and any potential
future timing attacks.

Bug: T184156
Change-Id: I2b5cc177bded1a9b5600d77116e67817841204be
2018-02-09 15:24:02 -08:00
jenkins-bot ca1c84f928 Merge "LuaStandalone: Improve passing of numeric values" 2018-02-09 23:15:57 +00:00
jenkins-bot 5947ee9700 Merge "LuaStandalone: Properly handle serialization errors" 2018-02-09 23:14:39 +00:00
jenkins-bot e5b57f10ee Merge "Invalidate slow function call cache to avoid warnings" 2018-02-09 19:00:32 +00:00
Kunal Mehta 03d256ffac Invalidate slow function call cache to avoid warnings
The serialization format of PSquare changed so that trying to unserialize
an older version of the class results in data corruption, causing
"Division by zero" warnings.

Bug: T186839
Change-Id: Ie5d68d98402d0ab74b800c874ae50bc36e23e2bf
2018-02-09 10:50:40 -08:00
Translation updater bot 05501a4bb9 Localisation updates from https://translatewiki.net.
Change-Id: Ifad5abe4a04ca6707e77f67b472181987d7fd14b
2018-02-09 09:41:15 +01:00
Brad Jorsch 790311faa3 Sanify handling of array keys
When passing an array from PHP to Lua, stringify integer array keys
beyond the range a lua_Number can represent.

When passing a table from Lua to PHP,
* Avoid exponential encoding for integer keys beyond 1e14, so Zend PHP
  will interpret them as integers.
* Always encode integer keys as integers, so HHVM will interpret them as
  integers.
* Detect collisions, e.g. { [0] = 'foo', ["0"] = 'bar' }

Bug: T186240
Change-Id: I078068ed57df078248a307608381614bdfc70801
2018-02-06 17:13:20 -05:00
Brad Jorsch 9aca31681a LuaStandalone: Improve passing of numeric values
For integers from Lua to PHP, make sure they won't use exponential
notation that will confuse unserialize(), and pass the integer size from
PHP so Lua can know which numbers are representable as integers.

For doubles in both directions, increase the precision to avoid
truncation of the least significant bits.

Change-Id: Icfaff71cab0ee1aac04acf752d108049b5569380
2018-02-06 16:54:52 -05:00
Brad Jorsch 2a70e8b3f1 LuaStandalone: Properly handle serialization errors
When we're making a call from Lua to PHP, serialization errors should be
propagated to whatever in Lua made the call. That works fine.

But when we're returning data in response to a call from PHP, if there's
a serialization error we need to catch it and tell PHP about it.
Otherwise PHP just gets a useless "the interpreter exited".

Change-Id: Iaac498fa2e486631d38e2366977b360140756519
2018-02-06 15:53:40 -05:00
Translation updater bot c3f6e81839 Localisation updates from https://translatewiki.net.
Change-Id: I3280b59090f744a3b80143c9bd395ff55061dc7e
2018-02-05 22:37:00 +01:00
jenkins-bot 63f169cd82 Merge "build: Update linters" 2018-02-04 23:25:41 +00:00
Ed Sanders f03a32f6f8 build: Update linters
Change-Id: Iec64688e03c6efe81e3f5e4e5809290a1789bcd0
2018-02-04 22:10:26 +00:00
Translation updater bot 936aaa89a2 Localisation updates from https://translatewiki.net.
Change-Id: Id93fdbea42d709522476d2ad7af7932aacdba550
2018-02-04 22:44:02 +01:00
zoranzoki21 e41a3dc368 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: I2b5941d2dcee3a998b3c1ece7dd4a6b36cc1e9c9
2018-02-03 17:23:40 +01:00
Kunal Mehta ec7b1b05cf Fix Scribunto_LuaStandaloneInterpreterTest::testGetStatus on 7.1+
The extraneous whitespace in the return value from wfShellExec() causes
multiplying $size to trigger the newly introduced "A non well formed
numeric value encountered" warning in PHP 7.1+.

Work around that by using trim() to get rid of the whitespace.

Bug: T186299
Change-Id: I3d47ef6cc7fb99b4d4840dc847d150c3939ee535
2018-02-01 21:08:32 -08:00
Tulsi Bhagat 0f213156e5 Update the Module & Module talk namespace in Nepali Wikipedia
Bug: T186187
Change-Id: Ic0008c221f0e1449b913c4c69437cce828ed9adf
2018-02-01 09:40:22 +00:00
Translation updater bot 452476d3d0 Localisation updates from https://translatewiki.net.
Change-Id: I8b5e5480802969d69b9d2fa9863fd3b048fafb18
2018-01-31 22:20:20 +01:00
Translation updater bot abea26e38d Localisation updates from https://translatewiki.net.
Change-Id: Iea7a1b9e4e4a6f28aa26990efe687c0aa6ab77e9
2018-01-29 22:20:35 +01:00
Jayprakash12345 0f285d0516 Use SPDX 3.0 license identifier
Bug: T183858
Change-Id: I405b1e6744dac319c1fb519a85e8a7a92978cd9a
2018-01-29 06:00:10 +00:00
Translation updater bot 4f2c6220e7 Localisation updates from https://translatewiki.net.
Change-Id: I3a9aa805d2907dcf7d4c0d100ff7e9bf34b92cbd
2018-01-24 22:21:01 +01:00
Translation updater bot 5267e81c95 Localisation updates from https://translatewiki.net.
Change-Id: I4dea3ed42b3112e7435aeb43a89edff4fa4e2de9
2018-01-21 22:17:22 +01:00