Commit graph

1453 commits

Author SHA1 Message Date
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
Translation updater bot 671788dddb Localisation updates from https://translatewiki.net.
Change-Id: I57d5cec01ec2ffee8b9fb7c14d9a9c6eb05e0b3e
2022-02-25 09:44:49 +01:00
Translation updater bot 902db4949b Localisation updates from https://translatewiki.net.
Change-Id: I8fbf5c821276fec4fc92cc712e693c2044dd7000
2022-02-16 08:13:20 +01:00
Taavi Väänänen 42d4bdb9ef SpecialNuke: Add dropdown with predefined deletion reasons
This commit adds logic very similar to what DeleteAction does: there's a
dropdown with predefined reasons (from MediaWiki:Deletereason-dropdown)
and a text field where you can enter a custom reason that will be
appended to the one you chose to on the dropdown.

Bug: T25020
Change-Id: I9668244d165caae2d71467573f1204689f2600a8
2022-02-14 05:35:33 +00:00
Translation updater bot 66cede3b64 Localisation updates from https://translatewiki.net.
Change-Id: Ia954c76dbcdfbfd8ab9942aa0e5661432688b48e
2022-02-01 08:27:18 +01:00
Translation updater bot 369435ddf6 Localisation updates from https://translatewiki.net.
Change-Id: I8d6967498d3b7c54e85de9f86b9bbf18f6522fad
2022-01-25 08:33:02 +01:00
Translation updater bot 13a913a377 Localisation updates from https://translatewiki.net.
Change-Id: If068269443cbbdeaf1d9b4c5e55a728ccbaad1ac
2021-12-27 09:30:37 +01:00
Translation updater bot b2f6280c30 Localisation updates from https://translatewiki.net.
Change-Id: I8ceaae0f14e5a6f60034978df4bbf9765a17b261
2021-12-15 08:09:31 +01:00
Translation updater bot 0cf303c32e Localisation updates from https://translatewiki.net.
Change-Id: I5897f7df94c468a78a66105298cab2b983801441
2021-12-13 08:21:53 +01:00
Translation updater bot cd70940036 Localisation updates from https://translatewiki.net.
Change-Id: I3f47c44aab717676ca6102331165c7d0a27cefbc
2021-12-10 08:24:33 +01:00
Translation updater bot 9e045abee3 Localisation updates from https://translatewiki.net.
Change-Id: Ie78f3d6677919d120b34c68ef01a9caf7a95b623
2021-12-09 08:22:40 +01:00
Translation updater bot 52537cb9a2 Localisation updates from https://translatewiki.net.
Change-Id: I111898d459b59c329b1513c8091490d2e3cbf67e
2021-12-06 08:19:45 +01:00
Translation updater bot 90c9613e6f Localisation updates from https://translatewiki.net.
Change-Id: Icff30a72508b798bdb794ac98183fc8f92da2627
2021-11-29 08:12:13 +01:00
Translation updater bot 11e1538d85 Localisation updates from https://translatewiki.net.
Change-Id: Icd7398abc90bb54ac690c0f13ef0b455ef8601da
2021-11-24 08:22:15 +01:00
Translation updater bot 1630a2012f Localisation updates from https://translatewiki.net.
Change-Id: I95d63ccbd49ecc4f8f8ac2216505981fadf7287f
2021-11-22 09:03:27 +01:00
Translation updater bot 969a5a1c0d Localisation updates from https://translatewiki.net.
Change-Id: Icf5105d7b07fabca9cd1e5bab6121dccded41082
2021-11-17 08:30:47 +01:00
Translation updater bot 23953c5074 Localisation updates from https://translatewiki.net.
Change-Id: I37507d47d3aef9e8f6ae83622decfcb4dda7a1b5
2021-11-09 07:29:22 +01:00
jenkins-bot 09907e9ece Merge "Don't use GROUP BY in getNewPages" 2021-11-04 22:30:20 +00:00
Translation updater bot ac124a641e Localisation updates from https://translatewiki.net.
Change-Id: Icd0af2ba65542ccfe155c017ffac7115ee8f489a
2021-11-02 08:07:16 +01:00
Martin Urbanec 90e1590f70 SECURITY: Pass required parameters to DeletePageJob
Without the params, the job does not actually delete the page,
rendering Nuke useless.

Bug: T294686
Change-Id: I61f47961e1d4739a290ed53704e87887e3f59f23
2021-11-01 16:54:55 +01:00
Translation updater bot 41bf871873 Localisation updates from https://translatewiki.net.
Change-Id: Iab3d5bf1b8fe04be5dc8b5f3a2168bf0969e0969
2021-10-29 08:22:08 +02:00
Translation updater bot 2e67ed407c Localisation updates from https://translatewiki.net.
Change-Id: Ie169f459d79e0930c936e4a1e0b4f3398312553c
2021-10-25 08:52:09 +02:00
libraryupgrader 42f1c52de4 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I0d8035bdb67b99ddffc21a35e2a9e1253f20d693
2021-10-24 08:45:34 +00:00
Translation updater bot 77752364a2 Localisation updates from https://translatewiki.net.
Change-Id: I4750043abfe899beb29aae3746fe65f25091abe5
2021-10-21 08:22:16 +02:00
Translation updater bot 009f1228df Localisation updates from https://translatewiki.net.
Change-Id: Ib8010e116f90b483abd9984a0cd0401a2ee38d3a
2021-10-20 08:37:28 +02:00
jenkins-bot 0b26a0f25c Merge "Queue deletion job instead of trying to delete the pages" 2021-10-19 20:55:45 +00:00
Translation updater bot 9b48ec3675 Localisation updates from https://translatewiki.net.
Change-Id: Ifbd6e7ca66b4bee9733507bf3c1895f8a92eeb98
2021-10-18 15:20:51 +02:00
Amir Sarabadani 92c459552c Queue deletion job instead of trying to delete the pages
This would make running Special:Nuke much faster and avoid production
errors due to timeout.

Bug: T188679
Bug: T212690
Change-Id: I59d99068dd4d663261a5a5d0180105889fca66a2
2021-10-17 19:22:13 +02:00
Matěj Suchánek aca86ef6b3 Don't use GROUP BY in getNewPages
Bug: T212690
Change-Id: Ieec6d940073f69290d25967720fd72d751f4dd3e
2021-10-17 15:45:48 +02:00
Translation updater bot c49a668895 Localisation updates from https://translatewiki.net.
Change-Id: I4b069f5f2c0ff79c1577c515b61f6a8620342284
2021-10-08 09:21:22 +02:00