Commit graph

1940 commits

Author SHA1 Message Date
Translation updater bot 09207f38f1 Localisation updates from https://translatewiki.net.
Change-Id: Ied328a5d38fd5f3f6c4a0a8cd37d5fa845dca6ac
2019-07-27 09:30:54 +02:00
Amir Sarabadani 5be8a76d0f Reduce CPU timeout time in testTimeLimit
This makes these tests the slowest ones to run

Change-Id: Ibfb021d63432f556d1eb5de31341a5bc64d76a85
2019-07-23 14:47:14 +00:00
Amir Sarabadani 0cfb5422dc Suppress wrong phan errors
\BagOStuff::makeKey() and \BagOStuff::makeGlobalKey() can take
any number of arguments but phan gives out PhanParamTooMany
and this breaks master avoiding anything to be merged

Change-Id: I4b313606e03565182552d9c581feccabaa408022
2019-07-22 14:57:05 +00:00
Aaron Schulz e5097e6145 Use "vary-revision-sha1" over "vary-revision" in getContentInternal()
These allows for some chance of avoiding extra save parses.
Also add wfDebug() call to mention the vary-* flag.

Bug: T226432
Depends-on: Idcd30a3fa3f7012dac76ce8bbf46625453ae331f
Change-Id: Id3bc207382aac90bd63df2d83d6334aae9b2477d
2019-07-18 01:48:12 +00:00
James D. Forrester 9309269892 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I3aa1b3ee7de78c11b66fdce02686720587eb4f72
2019-07-11 08:13:40 +00:00
Translation updater bot 210a4a8bcc Localisation updates from https://translatewiki.net.
Change-Id: Ia2278a3ce2845d42406be197f9a2aa607c262e34
2019-07-07 22:41:30 +02:00
Tulsi Bhagat 57755a6ebb Add Namespaces translation for Punjabi
Bug: T226959
Change-Id: Ic0685cf4db833b5a73203a007de8b1bb236f55a0
2019-07-02 08:46:49 +00:00
Translation updater bot 93a187ceb8 Localisation updates from https://translatewiki.net.
Change-Id: I54b873efa8eb245629790dc97208492baba61dfb
2019-06-30 22:39:23 +02:00
Translation updater bot 4ae828fe9e Localisation updates from https://translatewiki.net.
Change-Id: If7e2e43000a29101971a51929da39ad280468c34
2019-06-24 08:39:43 +02:00
Reedy f386ff68d5 Remove PHP entry point
Move NS constants to seperate file for static analysis

Bug: T140007
Change-Id: I525c6e5b1c8e934d179e330c89f3f29cce335bd6
2019-06-21 00:02:08 +00:00
Reedy 860f0284eb Rescue PHP comments into config descriptions
Change-Id: I46b46558344b2752f27d447c47270b4986923c3c
2019-06-20 23:56:31 +00:00
Reedy e4a59833b7 Update manifest_version to version 2
Change-Id: Ied0149f8d23bbc50d9f84736e44e1079f2b7d7ab
2019-06-20 23:34:10 +00:00
Brad Jorsch 88be4ec461 LuaInterpreterTest: Limit the busy loop
The test currently runs a busy loop that does string operations 1
billion times, when really it just needs something that takes more than
2 seconds of CPU time. On the other hand, there's another test that uses
the same method to run only 100 string operations for a different test.

Add a second parameter to have it exit early if enough CPU time has been
used, and use it in the first test.

Bug: T220685
Change-Id: I32309f049bcfb2e1310651818ff8674f0a311f40
2019-06-20 12:11:40 -04:00
libraryupgrader 0014240a8f build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I0396326049bbfa53934b645ba8d3e0120030341d
2019-06-11 00:09:17 +00:00
Brad Jorsch 164974c4b5 ustring: Replace UtfNormal hack with a different one
Ideally we'd just have composer.json require UtfNormal so we'd know
where it is and have an autoloader to load it for us, but that seems to
not be done in the world of MediaWiki extensions.

Previously we had been taking paths to the two data files from UtfNormal
and loading them into a stub class, but phan has started complaining
about the definition of the stub class colliding with the real UtfNormal.
So let's try loading the real UtfNormal\Validator and its data files.
Hopefully this continues to not try to pull in any other files via the
nonexistent autoloader.

Change-Id: I93baf20f0eef1892685e272793b4f99236e8c905
2019-06-11 00:09:15 +00:00
Translation updater bot 263e754238 Localisation updates from https://translatewiki.net.
Change-Id: Id35ba6e80c615a1b8aef89cae3afd46268715670
2019-06-10 22:55:43 +02:00
libraryupgrader 25c181a5d1 build: Updating npm dependencies for security issues
Committed package-lock.json (T179229) too.

Change-Id: I870cf94d758e2cfbd2838f6f39aacb96d295f012
2019-06-08 20:48:26 +00:00
Translation updater bot 93099e36d6 Localisation updates from https://translatewiki.net.
Change-Id: Iec574c5b38e37ac7761520e9273b584a4c974ee5
2019-06-06 22:48:59 +02:00
Translation updater bot 8d57046743 Localisation updates from https://translatewiki.net.
Change-Id: I00308023f60645f9732568ee3e499b8be7108ad5
2019-06-03 22:31:14 +02:00
Translation updater bot 3362bffe0e Localisation updates from https://translatewiki.net.
Change-Id: Ie4dcf810bb67de69aec7978052db09e9a564a847
2019-06-02 22:30:51 +02:00
Translation updater bot c2978dbd90 Localisation updates from https://translatewiki.net.
Change-Id: Id9c1e895f30257f749e712b843d552732b68fc0d
2019-05-22 22:31:56 +02:00
James D. Forrester efb73e9b3d build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I289a94450f3053ecf6d4555525e6dc09a21a0ca3
2019-05-19 12:38:55 +00:00
Brad Jorsch 2e79d0a719 mw.uri: Support IP-Literal syntax
RFC 3986 allows IPv6 literals (and future IP versions) by having the
"host" enclosed in brackets, like `http://[2001:db8::]`. mw.uri should
handle these appropriately.

Bug: T223267
Change-Id: I6f712b87bc376cf606c6c2ebbe80176037d6dddb
2019-05-19 07:55:29 +00:00
Translation updater bot 158a8c8efa Localisation updates from https://translatewiki.net.
Change-Id: I5857fddb72476fb614acdad499a8877899ea7643
2019-05-15 09:14:22 +02:00
Translation updater bot b2f83e3723 Localisation updates from https://translatewiki.net.
Change-Id: If1007561a10be9b823c7e45ccd068cea16e1ef02
2019-05-12 22:34:18 +02:00
James D. Forrester 14c09ad705 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I7e0ea80e93f813e62a73e6672b3210c81aeaa18a
2019-05-07 10:40:41 -07:00
Translation updater bot f26c087292 Localisation updates from https://translatewiki.net.
Change-Id: I783370a3d2a911b04085e2c137966dfde706ff66
2019-05-06 09:05:07 +02:00
Translation updater bot f64ec2712e Localisation updates from https://translatewiki.net.
Change-Id: I557c31035d27f92acd6fab0f652ad8006e419bb1
2019-04-29 22:16:18 +02:00
Translation updater bot c1acb302a2 Localisation updates from https://translatewiki.net.
Change-Id: Idfc905793b4fc12c712c87b4f54dafafae0adb9d
2019-04-22 09:24:06 +02:00
Translation updater bot 883a8b5652 Localisation updates from https://translatewiki.net.
Change-Id: If7f80e43a0e63187e7b5a9589ee628a3bf2193f3
2019-04-19 09:54:08 +02:00
Translation updater bot 42ee9b78cd Localisation updates from https://translatewiki.net.
Change-Id: I8601eb41de1ca1d28ca2a1021e7c221627ae11e7
2019-04-17 22:13:17 +02:00
James D. Forrester d7f4812022 build: Update eslint-config-wikimedia from 0.8.1 to 0.11.0
Change-Id: Ifdda75899ef679bfd819ff044d5c23a7578637f7
2019-04-12 13:00:29 -07:00
Ammar f05d097a1a Update Module_talk name in Telugu
Bug: T218982
Change-Id: I3ac76185635556ffadb61ea6eb2ffa94080a3a42
2019-04-12 18:14:14 +00:00
Translation updater bot a14555950f Localisation updates from https://translatewiki.net.
Change-Id: Ie63fa9a229f475f0074830f25b01d6b394f1327e
2019-04-04 14:54:46 +02:00
Translation updater bot c8c841ddbe Localisation updates from https://translatewiki.net.
Change-Id: I1ac6eb5400f06ca13af71eba85c4ab568d742b62
2019-03-31 22:17:11 +02:00
Amir Aharoni 9ec52b689d Add namespace translation for N'Ko
Contributed by User:Youssoufkadialy

Change-Id: Idc800ea280f7796a11600e2f97c9cc9ed3ebf84b
2019-03-27 10:20:54 -07:00
Holger Knust 6c231cbe4d Call method getText() instead of getNativeData()
Classes derived from TextContent support the getText method. The previously called method getNativeData is going to be deprecated.

Bug:  T155582
Change-Id: I550d2ecf2c4b71da17258af0c2306c1ca49806d3
2019-03-27 11:02:34 -04:00
Kunal Mehta 8328acb9b1 Upgrade to newer phan
Bug: T216940
Change-Id: If8c2027f6bb7b91504fb51a3d2668b6d929b5da1
2019-03-20 21:19:37 -07:00
Kunal Mehta 017d6a133b Fix @return for SiteLibrary::pagesInCategory()
If $which === '*', then it returns int[][].

Change-Id: If9204367ce7acf67625b343a35b61aba02dd6a31
2019-03-20 21:18:51 -07:00
Kunal Mehta c3d93b61e2 Use PHP 7 variadic params for LuaInterpreter::callFunction()
Change-Id: I3b32e73dcee6a92d91f29915a76dd4e83c080ada
2019-03-20 21:17:45 -07:00
Kunal Mehta f308135df3 Use PHP 7's ?? syntax
Change-Id: I768782b8acbc1776e29886d330358553675e272b
2019-03-20 21:16:08 -07:00
Translation updater bot 822d34c2a3 Localisation updates from https://translatewiki.net.
Change-Id: I4fd27ab18166efda828984fc18b78f23b1f29610
2019-03-20 22:27:24 +01:00
Arlo Breault cd9de940eb Update tests to match parser changes
Bug: T208070
Bug: T218702
Depends-On: I8b6a8c8241a8766fdccdcac45553298fa23a5046
Change-Id: I15c81a2c15311406b643fee5ec0ae597c1887b3f
2019-03-19 13:38:48 -04:00
Translation updater bot 91a02e769c Localisation updates from https://translatewiki.net.
Change-Id: I08a69acf838db7e0d0b907937c93ab5b01e20ffc
2019-03-17 22:14:22 +01:00
Translation updater bot 5c0f2bfe0a Localisation updates from https://translatewiki.net.
Change-Id: I22b233a5d76ef3a4c4bed7f0b5a994433d2a960c
2019-03-08 22:29:29 +01:00
Translation updater bot 0f10df1496 Localisation updates from https://translatewiki.net.
Change-Id: Ie8db23f7c7c730bae59bae52aa2f2f15bf44344d
2019-03-04 22:16:18 +01:00
Translation updater bot 0a518d066e Localisation updates from https://translatewiki.net.
Change-Id: I898ce5cd6e160a05820a8fc39f46d78c2c1ecb6f
2019-02-21 22:21:36 +01:00
Translation updater bot 08039ba5af Localisation updates from https://translatewiki.net.
Change-Id: I8e94fe98749b4fa8ce71c5798238668419930af3
2019-02-19 22:20:10 +01:00
Translation updater bot c94b77e5c9 Localisation updates from https://translatewiki.net.
Change-Id: I3de3b2269552146a677702510edb0c7be07c8575
2019-02-18 22:23:23 +01:00
Translation updater bot fdb36e34ea Localisation updates from https://translatewiki.net.
Change-Id: Icafef1330c51b086a5a756dc02cec0c160627d17
2019-02-17 22:14:39 +01:00