Commit graph

1264 commits

Author SHA1 Message Date
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
Reedy 41839c1b7a Update RunningStat use statement
Bug: T182273
Change-Id: Ida16060a6f0f125a0f5dabdb446b94b93db80cd1
2018-01-21 04:42:48 +00:00
Translation updater bot 747718e540 Localisation updates from https://translatewiki.net.
Change-Id: I9b30b0270a610cb42b4e3d885e0240e74a1a4f9a
2018-01-20 14:43:07 +01:00
Translation updater bot e22b485da1 Localisation updates from https://translatewiki.net.
Change-Id: I090d7b5215be5bbd66b457d87dbb1f09e576a905
2018-01-18 22:49:52 +01:00
jenkins-bot 252d117fdd Merge "Improve some parameter docs" 2018-01-16 16:21:51 +00:00
Translation updater bot ec96dc78e9 Localisation updates from https://translatewiki.net.
Change-Id: I0e34c009054ac363b81a633cd80198647298fdb2
2018-01-15 22:25:31 +01:00
Translation updater bot dbca18ad95 Localisation updates from https://translatewiki.net.
Change-Id: Ie54c2c53b153528ffeb613c3a3611c10b039ae73
2018-01-14 22:17:15 +01:00
Translation updater bot 4a3e803268 Localisation updates from https://translatewiki.net.
Change-Id: I209c4b1db263a3243062a12a70ae457c5df87bbb
2018-01-13 22:15:29 +01:00
Kunal Mehta 82584edd0e Don't use deprecated wfMemcKey() or wfGlobalCacheKey()
Change-Id: I7fe5a45226a92ef19c25790a800a7ae7b7a3a57a
2018-01-13 01:07:50 +05:30
Kunal Mehta f5a195a3db Remove no longer needed backwards-compatibility
This extension requires 1.31 (it follows the release branches compatibility
policy), so we can remove a lot of legacy checks and code.

Change-Id: Ieb42073010caffb1f6811d3a2f629aa60c1d2034
2018-01-12 07:07:21 +05:30
Umherirrender cfbd0a1a1b Improve some parameter docs
Change-Id: Ic85f74fc8dcefe86a3620e2d12f0b2ad2386ee23
2018-01-11 21:27:53 +01:00