Commit graph

1635 commits

Author SHA1 Message Date
Translation updater bot f58f72d8cd Localisation updates from https://translatewiki.net.
Change-Id: Ic1c4fa3cd64836e62ac0606afa4e032f04961b9a
2021-02-01 08:48:40 +01:00
libraryupgrader a93a84aed0 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Removing manual extensions for eslint.

Change-Id: I0708a8d34353bf9e71290dc0c7ace8bef5dc9664
2021-01-30 10:41:13 +00:00
Umherirrender f129988d82 Improve function and property documentation in tests
Change-Id: I81e957035175f9fe0dad9494c92ab342283df983
2021-01-29 08:06:12 +00:00
Translation updater bot 383369c309 Localisation updates from https://translatewiki.net.
Change-Id: I5a35d836aee3fe895e1f623a1b13e5b9ba5d23c9
2021-01-29 08:38:38 +01:00
Translation updater bot 87399db8aa Localisation updates from https://translatewiki.net.
Change-Id: I4ed65490ac7ba50f67d717eca8a44702c9f91057
2021-01-25 08:54:42 +01:00
Translation updater bot e6b52280c6 Localisation updates from https://translatewiki.net.
Change-Id: Id59ece9a8e87e65a2cc84892e1672c76915dbaa3
2021-01-18 08:39:37 +01:00
Martin Urbanec ee42f562b7 Translate namespaces into alt
Bug: T271981
Change-Id: Iffe4cea0fde9d6a5873d5fb6650b2f3abbe74afd
2021-01-13 21:43:06 +01:00
Translation updater bot 88cd95e338 Localisation updates from https://translatewiki.net.
Change-Id: Iebbfd79882016503f5273b54a07e8b12f1fd0159
2021-01-13 08:37:01 +01:00
Ed Sanders 999ec38d90 Add line link anchors
Bug: T29531
Change-Id: I312169142fa901bb4bd0a359089b90e7b8dc35c5
2021-01-11 19:06:04 +00:00
Translation updater bot 6345a7064b Localisation updates from https://translatewiki.net.
Change-Id: I4263f900b0297967be296f083198fe142523bbcb
2021-01-04 08:44:36 +01:00
Ed Sanders 68191f337c Show line numbers on Module pages
Bug: T270991
Depends-On: Ic5d5c341687e965804cb33da07dda23913718ff5
Change-Id: Ifdc2f1527435140caec86dbda68dc73e392a18a9
2021-01-01 19:41:00 +00:00
Ed Sanders 16f2db8987 Use strict equality when comparing namespaces
Change-Id: I15288a83d1ddb3744653077daddd7ebb7e8bba73
2021-01-01 16:44:40 +00:00
libraryupgrader 5610142a87 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I4d39bb3cd56dcbf00f27e4a8fc556d2c0adc3be9
2020-12-31 02:47:45 +00:00
libraryupgrader 7e49f2396e build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I400be95d82c6cc5d0473eaba932b34146526eff8
2020-12-30 14:30:00 +00:00
Translation updater bot 9cb282efd9 Localisation updates from https://translatewiki.net.
Change-Id: Ic6984b752739c1e7505b7b0402ff3341b6f31321
2020-12-30 10:14:49 +01:00
Translation updater bot fa35ffa52a Localisation updates from https://translatewiki.net.
Change-Id: I9ae9b7e20646670aad7a0f35c92a572d56b9cd5e
2020-12-28 10:39:50 +01:00
C. Scott Ananian 93662aabf1 TitleLibraryTest: Don't use deprecated InterwikiLoadPrefix hook
Use $wgInterwikiCache to setup interwiki prefixes for testing instead
of the deprecated InterwikiLoadPrefix hook.  This simplifies the test
setup quite a bit as well.

Bug: T270444
Change-Id: Icb772fcee07103a06548011ddd653487477ebfcc
2020-12-22 20:41:24 +00:00
Translation updater bot 0a1f6d74a8 Localisation updates from https://translatewiki.net.
Change-Id: Id1e25e0cb591755b88a36697922f37aa811acdc0
2020-12-22 08:32:39 +01:00
Umherirrender cb39fead91 Add missing @var and improve documentation
Change-Id: Idb7ff848ba702eac2cde31c6198a70311e3bdb69
2020-12-22 01:15:00 +00:00
shubham656 11244fed16 Add length attribute in TitleLibrary.php
Bug: T209679
Change-Id: Ieb7aac0c4131b76ae872151d6f5b815ce9ca3e0a
2020-12-21 09:15:55 +00:00
Translation updater bot 65519df8ef Localisation updates from https://translatewiki.net.
Change-Id: I1c776a017337b0ddd28c7307077aa80d45650e79
2020-12-21 08:40:00 +01:00
Translation updater bot 23929f88c1 Localisation updates from https://translatewiki.net.
Change-Id: I84722145602c37048839be1a764c78c5830e97ec
2020-12-14 08:43:17 +01:00
libraryupgrader 66e8b6a46f build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.7
  * https://npmjs.com/advisories/1589

Change-Id: I334074a31e68cdd8fb4f278fe279d6e1e11d78d6
2020-12-11 16:24:46 +00:00
Translation updater bot f8944e897f Localisation updates from https://translatewiki.net.
Change-Id: Ie4d056604ea0dbb7bf29cd0fbab72d9f744bf28c
2020-12-11 08:36:26 +01:00
Translation updater bot 2c68c838de Localisation updates from https://translatewiki.net.
Change-Id: Ie1dba1a059006db0261c9f1a3e584cbfe3340c68
2020-12-07 08:47:09 +01:00
libraryupgrader dfe8e85257 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I290f2fd5a57db27ea63a978a3430f60585d5454d
2020-12-07 00:52:53 +00:00
Derk-Jan Hartman d65c61e49b Error message for formatNum should not refer to formatDate
These new error messages were referring to formatDate instead of
formatNum.

Change-Id: Ic20a5a5515ee55d46087449627138cc779909ec3
Follow-up: Ib7706ad40f7ee2da6ab7c6b2dab6ae8d129dab52
Bug: T268758
2020-11-26 14:12:15 +01:00
DannyS712 d3e3124652 Fix a typo: emtpy -> empty
Bug: T201491
Change-Id: I447b318a7d898a083fc4f9129efbf4cac5517972
2020-11-22 14:22:33 +00:00
libraryupgrader 764eccceb2 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I30406b457a9b5c53570471e98ed2ef93e19b68a2
2020-11-22 09:37:29 +00:00
libraryupgrader 14046a6414 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Additionally, unbreak master build after core change T10327.

Change-Id: I8fb240c9b8291d907b857f17d6f4960a24de2ef7
2020-11-20 17:01:25 +00:00
C. Scott Ananian 078253bd06 library: Lua formatNum should check that the value is not infinity or NaN
The core formatNum method only works on strings which pass `is_numeric`,
not NaN and +/- infinity.

Bug: T267587
Change-Id: Ib7706ad40f7ee2da6ab7c6b2dab6ae8d129dab52
2020-11-16 17:44:17 +00:00
Translation updater bot f0c3975e43 Localisation updates from https://translatewiki.net.
Change-Id: I451ddf1510e9552595fba533870afac60776a06c
2020-11-16 08:37:55 +01:00
Translation updater bot 9eedc707b1 Localisation updates from https://translatewiki.net.
Change-Id: I3fb9ffdde5fffb145bc6bdf3b36ec011026a9da4
2020-11-12 08:22:35 +01:00
Tim Starling eb01c6ad22 Fix invalid UTF-8 in LuaSandbox profiler data
Bug: T228746
Change-Id: Idf5cd4ed230a40f6894ed7b435c28c9ec2764b9b
2020-11-10 15:13:27 +00:00
Translation updater bot 8f09186a99 Localisation updates from https://translatewiki.net.
Change-Id: I9052766d8c17cdbf864db01bfb19ab607b3e8167
2020-11-09 08:35:43 +01:00
Translation updater bot bfd128f734 Localisation updates from https://translatewiki.net.
Change-Id: I38a2ff2569399558726ad93b886a9eff4c9b84f0
2020-11-06 08:34:36 +01:00
C. Scott Ananian 7ec0ebfb2a Format Scribunto Lua Preview Limit Report memory numbers in bytes
Makes it consistent with other entries

Bug: T263592
Change-Id: Icc303455feab27966480854ea1c055ceab864ee0
2020-11-05 13:43:27 -05:00
libraryupgrader 00fc2c3f1e build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle

Additional changes:
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Added the `wikimedia/jquery` profile in .eslintrc.json (T262222).
* Removed global `$`, included in the `wikimedia/jquery` profile (T262222).
* Removed global `mw`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: Ib0acbf92bcb8327ecd065db5db1083d7b222976c
2020-11-04 17:24:30 +00:00
Translation updater bot a133d61b97 Localisation updates from https://translatewiki.net.
Change-Id: I30f85e3680d0372a6721c33423fb11acd4462106
2020-11-02 08:53:46 +01:00
Translation updater bot 08688c6954 Localisation updates from https://translatewiki.net.
Change-Id: Ie0cc21eaebfcf7f69f8b0202e76e8ca8bff29d0e
2020-10-26 08:32:02 +01:00
Reedy b53689abde Fix double formatting of memory units
Bug: T263592
Change-Id: If8a71419d656530859552abaddeed66d5a9ddc4b
2020-10-23 19:46:57 +00:00
C. Scott Ananian 0cd8904842 Suppress phan false positives in LuaSandboxEngine::formatLimitData()
Most of this function deals with values for the single
scribunto-limitreport-profile key, where $value is an array of
strings.  Phan's security check plugin was getting confused because
*in general* the $value passed to a ParserLimitReportFormat hook can
be almost anything.

Change-Id: I0ef5ef71f00a92bd5db0df340725c88595fcb0c6
2020-10-23 17:02:23 +00:00
Reedy 664c866980 Use tab indenting consistently
Change-Id: I7387882d8ece9bb7f2eac8891c010a2fcb0a57b0
2020-10-23 16:39:12 +01:00
C. Scott Ananian 6a999fb6aa Fix a lua test which uses a deprecated Message formatter feature
Message formatters which expect numeric arguments should not be passed
non-numeric arguments; they will emit a deprecation message if they are
given such (core commit 448a51ae083abc1ca9fccb51a5a533e0fe9f8b71).

Change-Id: I431538873083e14dbd85cb1c8889c3a8350aa75a
2020-10-23 11:10:16 -04:00
Translation updater bot 6b907fd8c6 Localisation updates from https://translatewiki.net.
Change-Id: Ic74f805ec33f3d5462bcd2fe738ba3eace5c1c26
2020-10-20 08:31:15 +02:00
Translation updater bot 451d838de4 Localisation updates from https://translatewiki.net.
Change-Id: Ie96369437ce8e01989168b6f8666dff8a6144a95
2020-10-16 08:29:46 +02:00
Translation updater bot 91d3fed63e Localisation updates from https://translatewiki.net.
Change-Id: I886c90cafba34eef4577a5d6d8a3e64ebb0c078b
2020-10-13 08:43:45 +02:00
Translation updater bot fdc6b8e93b Localisation updates from https://translatewiki.net.
Change-Id: I5bdb846d8896444abc819306a3429cb21051a713
2020-10-12 08:35:59 +02:00
Translation updater bot 6ab77f9a48 Localisation updates from https://translatewiki.net.
Change-Id: Id123a21bdceb061178fe65cd89efa28162927695
2020-10-07 08:36:56 +02:00
Translation updater bot 628ecb11d1 Localisation updates from https://translatewiki.net.
Change-Id: I30a6e92cdf018add55590a0f6f23ac952ee33952
2020-10-02 08:25:01 +02:00