Commit graph

1595 commits

Author SHA1 Message Date
Winston Sung 142715da1e Nuke: Special page aliases should not store in zh
Bug: T286291
Change-Id: I995407c638cfd2bfa7c8cc98b00ee55b4452fea5
2023-03-22 12:23:14 +00:00
libraryupgrader 6605d773fc build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: I5a975fd07f8c713d396ff02228b3b3baa7e36053
2023-03-16 03:25:47 +00:00
Translation updater bot 3176ab53fc Localisation updates from https://translatewiki.net.
Change-Id: I32db9696957e1ac533111336a054addecd83c299
2023-03-13 08:39:22 +01:00
libraryupgrader 24a7865454 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I7d2871c9e3fbe11c8dd8c24cdb774752c3da47f2
2023-03-12 07:03:55 +00:00
Translation updater bot b3db6cb5e3 Localisation updates from https://translatewiki.net.
Change-Id: I382ff09ebff71cf5cb88c803f6e29d26245e949c
2023-03-09 09:05:43 +01:00
Translation updater bot 46ccc0a78e Localisation updates from https://translatewiki.net.
Change-Id: If8219dcc92e3f9526b4fee613f804ce83405b395
2023-02-21 08:21:28 +01:00
Translation updater bot 2f21faa9c9 Localisation updates from https://translatewiki.net.
Change-Id: I6ea1fb61d10499db440d07312ac00f7dd16487f7
2022-12-29 10:02:07 +01:00
Translation updater bot 7184dcf576 Localisation updates from https://translatewiki.net.
Change-Id: I00fc415596143b979dbc2280bba490ef4ab43204
2022-12-26 09:10:36 +01:00
Translation updater bot 435fb5ddf5 Localisation updates from https://translatewiki.net.
Change-Id: I05d809d220c6351a6cf87ac851858a1d0583e910
2022-12-21 09:16:52 +01:00
Translation updater bot ad3fdb7d36 Localisation updates from https://translatewiki.net.
Change-Id: I7ad8f442ec04e19d4033b5d56e5a750c510ef95c
2022-12-16 08:47:16 +01:00
Translation updater bot 11567dbe51 Localisation updates from https://translatewiki.net.
Change-Id: I12776dfbf3949654f1dead5059274c583e6575ec
2022-12-13 08:17:15 +01:00
Translation updater bot 2235e06329 Localisation updates from https://translatewiki.net.
Change-Id: I413a11535ec548bd91ccb36053faebf17e9d8860
2022-12-09 08:47:03 +01:00
Translation updater bot 5912d745ad Localisation updates from https://translatewiki.net.
Change-Id: I4297e2e7015c13ce7f4f542d28427236a2ed7703
2022-12-08 08:29:33 +01:00
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