Commit graph

1532 commits

Author SHA1 Message Date
Translation updater bot a4c8835cf9 Localisation updates from https://translatewiki.net.
Change-Id: I68ce95ff6408bda27b7591d493bd896766b7b324
2022-11-29 08:59:00 +01:00
Translation updater bot 4d7c0c4a0a Localisation updates from https://translatewiki.net.
Change-Id: I9681c25c057c8ccb47c1679f05b0127d8a2fc129
2022-11-25 08:26:27 +01:00
libraryupgrader 1b0ea22712 build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: Iced846a9b8f3fd83f06f7616c46f93d0ada748b6
2022-11-16 11:00:57 +00:00
Translation updater bot 98177eb3ad Localisation updates from https://translatewiki.net.
Change-Id: I05c6286dd48ae8ee2454db137d1ae57f747b99e5
2022-11-07 08:34:59 +01:00
jenkins-bot 87d106f51d Merge "Inject services" 2022-11-05 12:47:53 +00:00
jenkins-bot 160e3d8e48 Merge "Remove phpcs exclude rules and update PHP code" 2022-11-05 12:44:15 +00:00
jenkins-bot ef0a197e58 Merge "Use WebRequest::getIntOrNull and avoid ctype_digit" 2022-11-04 18:08:44 +00:00
jenkins-bot d0a58cfa50 Merge "Increase requires to "MediaWiki": ">= 1.37"" 2022-11-04 13:28:57 +00:00
Fomafix 698188afd4 Use WebRequest::getIntOrNull and avoid ctype_digit
This avoids the deprecation warning:
ctype_digit(): Argument of type null will be interpreted as string in the future

Bug: T322079
Change-Id: Id1e7ec7d73028339b53047ebfd6a975d23c3d180
2022-11-04 13:17:05 +00:00
Fomafix 42ef4ee402 Remove phpcs exclude rules and update PHP code
Change-Id: Ifecf2f8a053b9304a8e9e6558cd7c1f570f15084
2022-11-04 13:09:25 +00:00
Fomafix 49df51e106 Inject services
Change-Id: I7f11825af2bb96ad61aa2cefcc47fcad706388af
2022-11-04 11:21:00 +00:00
Fomafix 6f8f4d759f Increase requires to "MediaWiki": ">= 1.37"
The extension Nuke uses since 92c45955 already
MediaWikiServices::getJobQueueGroup which exists in MediaWiki core
since 1.37.

Change-Id: I500023023bd0ef38d3a75edb1872cc8d55da347c
2022-11-04 11:19:43 +00:00
Fomafix 35abb011cf Use short array destructuring instead of list()
Introduced in PHP 7.1. Because it's shorter and looks nice.

Change-Id: Ia857f37abdb17fe88e91ae17a5610c027c97376e
2022-11-04 10:47:02 +00:00
Translation updater bot c9c8af5690 Localisation updates from https://translatewiki.net.
Change-Id: I0f2795c4d4d0ea0063551fd6cb0794dd5fb5dbea
2022-10-27 08:55:38 +02:00
libraryupgrader d078bf9f54 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I83cdf6a71db7acc1763b281255e1e25eb37a7f70
2022-10-21 09:04:55 +00:00
libraryupgrader 81da7f0573 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I2cefa4f4a6de7e156209a875387179e89f5ac80d
2022-10-09 07:38:52 +00:00
libraryupgrader fed0070df5 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Ia01085d0be0fc79faad43f4393224f0f85729834
2022-10-07 02:35:14 +00:00
Translation updater bot 172fdd535c Localisation updates from https://translatewiki.net.
Change-Id: I747d4c28bfad3687a63c1653b7baf03b177ed1b0
2022-10-05 08:24:58 +02:00
Translation updater bot 1ed9cbc87c Localisation updates from https://translatewiki.net.
Change-Id: If46f00e25090aaf47af1cdaa862c4bbb8a97024f
2022-09-28 08:22:15 +02:00
Translation updater bot 8d25294afc Localisation updates from https://translatewiki.net.
Change-Id: Id0f3c7b0b4e3c269924df7396bd3f9499b446e85
2022-09-22 08:46:41 +02:00
Translation updater bot 3d14c371a7 Localisation updates from https://translatewiki.net.
Change-Id: I0d6aca6879e88ca3383300104aeeeed902d278e3
2022-09-05 10:11:27 +02:00
jenkins-bot d7f428d5e1 Merge "Use WebRequest::getRawVal instead of WebRequest::getText" 2022-09-01 21:58:53 +00:00
Fomafix 7cd544c4ca Use \u{00A0} instead of  
Directly use the UTF-8 encoding of the 'NO-BREAK SPACE' (U+00A0)
instead of the HTML entity  .

Bug: T154300
Change-Id: I2f50fd24772eacd0bddf90c982fd7112196e6ad2
2022-08-30 13:24:53 +00:00
Fomafix cfc33f1a2a Use WebRequest::getRawVal instead of WebRequest::getText
The UTF-8 normalization for the URL attributes `action` and `namespace`
are not needed.

Also use === instead of ==.

Change-Id: I03a844d58b11f45dc67f3dfb861d8f6e9ffcc18d
2022-08-30 08:47:34 +00:00
Fomafix b124456dff Remove LEFT-TO-RIGHT MARK (U+200E) from comments
'LEFT-TO-RIGHT MARK' (U+200E) is not needed in the source code
comments.

c8caf26ffd9 removed already the LRM/RLM from Names.php in core.

Change-Id: I3fff78ace5abf1b6c691e34d3c67c55da5c83ae4
2022-08-27 17:08:18 +00:00
Translation updater bot c0423ba9f6 Localisation updates from https://translatewiki.net.
Change-Id: If70a911b9d3fb69216c99910b42087a40fab5362
2022-08-15 08:26:50 +02:00
Translation updater bot bc4fb77914 Localisation updates from https://translatewiki.net.
Change-Id: Ief8a4f8e4e393ce4491eeaa87465ab4de32c984c
2022-08-08 08:59:07 +02:00
Translation updater bot 20434a0b4e Localisation updates from https://translatewiki.net.
Change-Id: I631a1007a30493ae3f84d474b12a06530a853669
2022-08-05 08:34:13 +02:00
Fomafix 2b320e7ec6 Use explicit mw.msg() instead of implicit mw.message()
The mw.Message object from mw.message() gets implicit converted to a
string.

Change-Id: Id95446bdd2a47bf0262220b3b962e4f747d7c31c
2022-07-24 18:44:16 +00:00
Reedy cbbf2cc376 SpecialNuke: Null coalescence in execute()
Bug: T313146
Change-Id: I40850e2f126728ab09ab89fc666241a7f041c7ee
2022-07-17 20:43:16 +01:00
Translation updater bot 79747c18e7 Localisation updates from https://translatewiki.net.
Change-Id: Ibe43939908d9bc1c113560310f29c48470eda029
2022-06-29 08:35:28 +02:00
TerraCodes 029111351c Add class to nuke contribs link
Continuation of MW core patch 603941

Change-Id: I3ae1aeddbd0c00ffecf7b8b8115cf161b0e15202
2022-06-17 18:53:57 +00:00
Translation updater bot 5cb6cece54 Localisation updates from https://translatewiki.net.
Change-Id: I664408e52814ed02038cda98850f1de89eb5427b
2022-06-06 09:26:18 +02:00
Translation updater bot 6652b35ba9 Localisation updates from https://translatewiki.net.
Change-Id: Icc37f6195c45f365099100707b4bd71c63268663
2022-05-30 09:23:51 +02:00
libraryupgrader 71e8f1eeef build: Updating grunt to 1.5.3
Change-Id: I44cb7e625a828aa3f67b2de2b1117e891c137130
2022-05-26 17:34:21 +00:00
Translation updater bot 970832c214 Localisation updates from https://translatewiki.net.
Change-Id: I3722cfd13e332f19ec78a586fb2fa4d6b7d058a0
2022-05-23 08:17:16 +02:00
libraryupgrader 894a1af3c5 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Additional changes:
* Set `name` in package.json.

Change-Id: Ib4874553b9119a0e8fcdc99231fbd9854c52fe2d
2022-05-21 08:29:16 +00:00
Translation updater bot efce4d2da8 Localisation updates from https://translatewiki.net.
Change-Id: I40e410221ca5493fc20585bed558df450a17a1f1
2022-05-17 08:28:34 +02:00
Translation updater bot 9eb2f95f89 Localisation updates from https://translatewiki.net.
Change-Id: Idbb6c16ca5086d508912e8f706df7ea99fc105fa
2022-04-28 09:28:47 +02:00
Translation updater bot df70fcfeae Localisation updates from https://translatewiki.net.
Change-Id: I9bb077b615820069a2ecbce7bd13a4a8c34392f7
2022-04-25 08:18:33 +02:00
Translation updater bot 27c9dcdd9e Localisation updates from https://translatewiki.net.
Change-Id: I2e47b08dc625a777c731fe78a8e9fad0843afd6c
2022-04-13 08:32:35 +02:00
Translation updater bot ae1e22a4d9 Localisation updates from https://translatewiki.net.
Change-Id: I6562fa284b943345a1bdf5bb1b2ef01a7efc3876
2022-04-06 08:27:02 +02:00
Translation updater bot a98699f2bb Localisation updates from https://translatewiki.net.
Change-Id: I0e0ff8161f2af547c9610fc810811138b0fa953e
2022-04-05 08:25:51 +02:00
jenkins-bot 0054f53e91 Merge "SpecialNuke: use Message::plaintextParams() for page titles" 2022-04-01 22:25:51 +00:00
Translation updater bot cb1a1c20fb Localisation updates from https://translatewiki.net.
Change-Id: Iad8096217327197547d7947e3d9646dcf005dadd
2022-03-30 08:18:26 +02:00
DannyS712 6620e7e686 SpecialNuke: use Message::plaintextParams() for page titles
So that their contents do not get parsed

Bug: T304777
Change-Id: I6f031d1b857ee0955b8966f5f63c63e269306568
2022-03-27 00:34:46 +00:00
Func bfe4c13c0b SpecialNuke: Don't set edit token in HTMLForm twice
HTMLForm would set it for post form, use setTokenSalt() to amend.

Change-Id: Ia79dbd261e9f0a34bf9f10660a1043355ab72ede
2022-03-18 12:03:12 +00:00
Alexander Vorwerk 0d1481dc5a Bump required MW version to 1.35.6
Title::getId() is @since 1.35.6.

Bug: T303871
Follow-Up: I61f47961e1d4739a290ed53704e87887e3f59f23
Change-Id: I8902988bb13b617db0b6e0c2c4d9c5771a40d214
2022-03-17 21:33:18 +00:00
DannyS712 022da28e19 Unsuppress MissingDocumentationProtected and add docs
Change-Id: I169df0d822232c74ad5069141e032dbb10af6ac1
2022-03-12 01:45:39 +00:00
Translation updater bot 6ef05943a1 Localisation updates from https://translatewiki.net.
Change-Id: If04b717e543a0ab6eff96dae7d7ef0a5d888b052
2022-02-28 14:29:07 +01:00