Commit graph

1817 commits

Author SHA1 Message Date
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
Jon Harald Søby fac29e90da Add module namespace translations for Inari Sámi (smn)
Bug: T264082
Change-Id: I748bda2ff5901b1a2ace0e0209690a7579fa3ccc
2020-09-29 13:04:47 +02:00
Translation updater bot 8d7f399b4d Localisation updates from https://translatewiki.net.
Change-Id: I97e6d8b441fad385cda004e150650e2f0b5d2e46
2020-09-28 08:30:18 +02:00
libraryupgrader a92058e1e7 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: If7af8169d797d9c27dbeff127cd8becc6013bbdd
2020-09-25 08:35:51 +00:00
Translation updater bot 303283cb97 Localisation updates from https://translatewiki.net.
Change-Id: I191fd4e7e87b6aef2cff9e22aa41ae0415ea800d
2020-09-24 08:29:43 +02:00
C. Scott Ananian 2bec230e3d Use Language::formatNumNoSeparators where appropriate
Avoids using the deprecated $noSeparators parameter to Language::formatNum
in favor of Language::formatNumNoSeparators, which has been around since
MW 1.21.

Change-Id: If3de5645a92514f605d4117fea3a820ed6c86624
2020-09-09 18:17:23 -04:00
Translation updater bot cacb86c00a Localisation updates from https://translatewiki.net.
Change-Id: I42a4ac77f3475bcb5294ba58247cfcaf729c426c
2020-09-06 20:56:33 +02:00
libraryupgrader 33f7395c9d build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: If8e492d6daedb26efb1ef63337a9b9ff578df2cb
2020-09-04 18:51:50 +00:00
Translation updater bot 55ce16c41f Localisation updates from https://translatewiki.net.
Change-Id: Icadd912443b0bc9b480a84b7a738e99c73ebffa6
2020-09-03 10:05:12 +02:00
Translation updater bot 7dc1c03c96 Localisation updates from https://translatewiki.net.
Change-Id: Ic0a26e38962ca5c370318c8af9256b8b49bcf3a1
2020-08-31 09:49:29 +02:00
Translation updater bot 4aa985b20d Localisation updates from https://translatewiki.net.
Change-Id: I1d53f9b0964c82d311c8772757e49e3d8377724b
2020-08-20 08:27:29 +02:00
Translation updater bot 6626bed9f7 Localisation updates from https://translatewiki.net.
Change-Id: I48ba303359af8930467d6c4fe6e099b32347fb0b
2020-08-14 08:39:22 +02:00
Translation updater bot 671253c5d6 Localisation updates from https://translatewiki.net.
Change-Id: Ic47555459ff4ceb2337da612d397f76327c4d394
2020-08-12 08:19:47 +02:00
Translation updater bot 20cfd35874 Localisation updates from https://translatewiki.net.
Change-Id: I77881d3294946362763127ad3f84e3e14a92c9b2
2020-07-30 08:36:07 +02:00
Translation updater bot 636f06d857 Localisation updates from https://translatewiki.net.
Change-Id: Id3cb7efe6881a43aee5d8b6077977213961644aa
2020-07-27 08:38:23 +02:00
Translation updater bot 85d1e1890e Localisation updates from https://translatewiki.net.
Change-Id: Ia728a0c7a358324284fbb38874499888d38a7f70
2020-07-22 08:27:11 +02:00
Translation updater bot 0305fde631 Localisation updates from https://translatewiki.net.
Change-Id: I846fda89ac4379f4c6ee441232661a16eefe5118
2020-07-21 09:13:22 +02:00
libraryupgrader 588f802734 build: Updating grunt to 1.2.1
Change-Id: I0ebe49dfbca1223943510cf23a6cc7fdd4be577c
2020-07-18 22:43:38 +00:00
libraryupgrader 1f0293e77e build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0

Change-Id: I28449f7ec6ca0cef7eb72708764eae226e403468
2020-07-17 04:04:46 +00:00