Commit graph

1588 commits

Author SHA1 Message Date
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
libraryupgrader 8260c52e02 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I55b83a7be2661a0551d7567479b04108d4a058cf
2021-10-05 04:18:29 +00:00
Translation updater bot e81b685e69 Localisation updates from https://translatewiki.net.
Change-Id: I83d8f68f8196e659a29f2a329f44c4e3a717d837
2021-09-10 08:15:49 +02:00
libraryupgrader 09a9e996ca build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I2cc62a2e418bfd7a87cf7b21535874e0f9cb46d5
2021-09-09 04:38:44 +00:00
Translation updater bot 3fe7fa039b Localisation updates from https://translatewiki.net.
Change-Id: Iad5798b6b1d4e13ec27e47ced3435cd12dd5e561
2021-09-08 08:10:30 +02:00
Translation updater bot dda212ce36 Localisation updates from https://translatewiki.net.
Change-Id: I1024559b668fbe86ab750bd90a659ad9a9564f4e
2021-08-30 08:20:25 +02:00
Translation updater bot 7a49924836 Localisation updates from https://translatewiki.net.
Change-Id: I23bfe4714d4695f2da1808f9aa2e995feebc8c3d
2021-08-26 08:36:38 +02:00
libraryupgrader fbb0cd671b build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I5abdb891c1c91893ff06e9849fd1c336ef2edbed
2021-08-25 09:09:54 +00:00
Alexander Vorwerk df1cd09150 Use the new Hook system
Bug: T271020
Change-Id: Icd15d5f483dd0e73cedf5604ec27e42c8f7e341d
2021-08-24 17:30:10 +00:00
Translation updater bot 3aba8fd035 Localisation updates from https://translatewiki.net.
Change-Id: Id0747bb76560b0dbcb3052e364c4319716732a90
2021-08-23 09:04:12 +02:00
Alexander Vorwerk 5169b386ca Replace usage of deprecated global function wfLocalFile()
wfLocalFile is deprecated and emits deprecation warnings. It's usages
should be replaced with FileRepo::newFile()

Follow-Up: I0a9c414da4cb0cec686e1e91b5d0babe055925a6

Bug: T288641
Change-Id: Ie6046ac1e12b4f09a856045f40aa87485b32b39e
2021-08-11 18:40:17 +00:00
DannyS712 94a3043d0d Minor cleanup to SpecialNuke::doDelete
Don't re-fetch the context user each time
through a loop.

Change-Id: I0a9c414da4cb0cec686e1e91b5d0babe055925a6
2021-08-02 06:55:02 +00:00
Translation updater bot 77a9707ecd Localisation updates from https://translatewiki.net.
Change-Id: I34d0f95ddb658b441004399f6fbb864c5d16af7d
2021-07-30 08:27:53 +02:00
libraryupgrader 77d5af5365 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: I8a4c04d6e6db5f4a2ef799d2852ae9affea3fd46
2021-07-23 05:08:39 +00:00
Translation updater bot 7c71e61479 Localisation updates from https://translatewiki.net.
Change-Id: I9517da412d75604b3847edd4428b1e3dd47da426
2021-07-14 08:03:00 +02:00
Translation updater bot 3acb279cd8 Localisation updates from https://translatewiki.net.
Change-Id: I9b150362b662e8d5da130b5d5f25661d57b17d26
2021-05-31 08:32:03 +02:00