Commit graph

1541 commits

Author SHA1 Message Date
jenkins-bot 2794f04b35 Merge "Add more tests" 2024-05-20 20:18:10 +00:00
jenkins-bot 1ca6d02541 Merge "Explain capitalization process" 2024-05-20 19:30:56 +00:00
Translation updater bot ac8944930e Localisation updates from https://translatewiki.net.
Change-Id: Ibed00a6ba386d5dd23980513cf63a98a439a2e31
2024-05-20 09:25:46 +02:00
Umherirrender bfea4d093b build: Add stylelint for less file
Follow-Up: I76b9bbb939afde1d7d951925818fd15f40022ead
Change-Id: I6e08d26bce3c6903002dabf9f117ea7ff2f69383
2024-05-18 22:10:50 +02:00
libraryupgrader 3224e41f04 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I3a651078abb34bcd50bf00d3f4348744833a3fcc
2024-05-18 19:07:55 +00:00
Translation updater bot 2801ad821c Localisation updates from https://translatewiki.net.
Change-Id: Ie2b0b86146ff534a3082bd0cc695a92555b3a121
2024-05-16 09:27:05 +02:00
Translation updater bot d6f771e0af Localisation updates from https://translatewiki.net.
Change-Id: I65ee392b223b71a68d8be97643e3b7a100212d12
2024-05-14 09:26:52 +02:00
Chlod Alejandro 19c6fb0125
Add more tests
- Add tests to reach 100% coverage
- Ignore some methods which are simple enough
- Change some tests to fit with the new ones

Change-Id: Ic15d4431dc8509ac2732ebce7517522e27d8f5a3
2024-05-13 15:30:08 +08:00
Translation updater bot 07dcfb8469 Localisation updates from https://translatewiki.net.
Change-Id: I7dbc051a1f3ccda829d988a842401d62b38d16ab
2024-05-13 09:27:38 +02:00
Chlod Alejandro b7a0be19c5
Explain capitalization process
Add comments into the code for converting page cases
from lowercase (first letter) to uppercase.

Change-Id: I3ae3602d826e232adc1ce6063ac6b50eac01d5bc
2024-05-12 17:50:12 +08:00
libraryupgrader a7bc0add20 build: Updating grunt-banana-checker to 0.12.0
Change-Id: I532301e1a35c4a88a22a8cdf1486381f3b3300ed
2024-05-10 17:48:54 +00:00
Translation updater bot ae21fed2aa Localisation updates from https://translatewiki.net.
Change-Id: Id8de40b163ec9606c839d119f18823213089eab5
2024-05-09 09:39:44 +02:00
Translation updater bot 5676e6c6c0 Localisation updates from https://translatewiki.net.
Change-Id: I679ac10de11ef014048a93e8b564a7ba4aacdf4c
2024-05-08 09:24:04 +02:00
Translation updater bot 94c0e04368 Localisation updates from https://translatewiki.net.
Change-Id: I1e292c048456f047a35a2f2cde670cb8a6a69532
2024-05-07 09:23:18 +02:00
jenkins-bot 501a7b2c5e Merge "build: Updating composer dependencies" 2024-05-06 20:05:23 +00:00
Translation updater bot abf702ced2 Localisation updates from https://translatewiki.net.
Change-Id: I728c53c210694ca62f6a23c379a7dc109df6d768
2024-05-06 09:26:17 +02:00
libraryupgrader e574ea29d2 build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: I7adae2cf536bbd4121bca7cdbc36bba23d462fa8
2024-05-06 05:40:15 +00:00
jenkins-bot 77f19d09dd Merge "Cleanup code comment on Special:Nuke" 2024-05-05 12:23:00 +00:00
jenkins-bot e60c6c85ee Merge "Add tests to Nuke" 2024-05-05 12:08:26 +00:00
suecarmol 1aee0f10e8 Add tests to Nuke
Added more tests to Nuke

Bug: T315761
Change-Id: Iaf23e4eda040d446c3ad4518d2d47d26385592f4
2024-05-05 14:47:02 +03:00
jenkins-bot 0cd2396a43 Merge "Update maximum pages string for clarity" 2024-05-05 11:44:05 +00:00
jenkins-bot 9663707fba Merge "Replace rc_new for rc_source in DB query" 2024-05-05 11:43:53 +00:00
Samwalton9 9c46d32dbf Update maximum pages string for clarity
It's confusing that you can change this number to more than 500 but then only 500 are deleted. This change clarifies the maximum is 500 even if changed.

Change-Id: Iedcf3e48aef03a7ed40a11cf6d179df54cc7132c
2024-05-05 14:14:11 +03:00
Samwalton9 8385ddbb74 Add talk page link to Nuke confirmation form
Added talk page links to aid in uncovering which talk pages may require further inspection. Also reorganised the information a little, made some terminology consistent, and added a .less file to store Nuke styles.

Bug: T364143
Change-Id: I76b9bbb939afde1d7d951925818fd15f40022ead
2024-05-05 10:55:52 +03:00
suecarmol 4873bf7040 Cleanup code comment on Special:Nuke
Removed a comment that no longer applied to Nuke

Bug: T234726
Change-Id: I560666e0ec47fb48acc51baaa46ebd4767e84fad
2024-05-04 20:07:53 +03:00
Samwalton9 e506e68969 Italicize redirects in Nuke page list
When pages are redirects, admins may not want to delete them, as they are less likely to contain bad content. This patch highlights them by using the allpagesredirect styling which provides the same italicizing behaviour for Special:AllPages.

Bug: T278625
Change-Id: I027cad868ed13190424612d1f9c2bdaf6456f49e
2024-05-04 18:21:26 +03:00
suecarmol 00894a4484 Replace rc_new for rc_source in DB query
Replaces the rc_new field for rc_source because rc_new has become obsolete.

Bug: T36320
Change-Id: I821332c2484850dd3ad293703faafbd29379a83e
2024-05-04 16:15:28 +03:00
Seb35 fb60b51cd8
Permit spaces in the SQL LIKE pattern
The search is against the MediaWiki-DB-encoded title (with '_' for space
and initial uppercase letter): these constraints are converted in this
patch to let the user use MediaWiki-displayed titles if they want.

It was taken care about of the configuration-specific case where some
namespaces are first-case-insensitive but other namespaces are first-case-
sensitive, by partitioning the namespace space into to distinct spaces.

Bug: T234726
Co-authored-by: Chlod Alejandro <chlod@chlod.net>
Change-Id: Id83832c256660b691a896113c98641700ed02707
2024-05-04 16:15:24 +03:00
Samwalton9 3ffd53dbb8 Update default deletion confirmation header text in Nuke
Bug: T364192
Change-Id: I2f84b19c1a914ce1edd5d963cf37d581062bfb46
2024-05-04 11:09:17 +03:00
xiplus 52352320c2
Query current page name for moved pages
Join "page" table to query current page name for moved pages.

Bug: T43351
Co-authored-by: Chlod Alejandro <chlod@chlod.net>
Change-Id: I127bc413c8ef25bbc24cb27b2cdc6d1ec08142ab
2024-05-03 13:39:07 +03:00
Translation updater bot 0bfb641b58 Localisation updates from https://translatewiki.net.
Change-Id: I5fb1696044074e108c2cd2c1ff8cbce46a8b1d0a
2024-04-29 09:23:48 +02:00
Translation updater bot 23774a40e7 Localisation updates from https://translatewiki.net.
Change-Id: I2900342d6f081819952077f677a1016bbf1bad16
2024-04-22 09:29:01 +02:00
jenkins-bot 2982814a9b Merge "Modernize the code a little bit" 2024-04-21 10:32:58 +00:00
libraryupgrader b0343b38ab build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: Iafe50b161800c4b7d701b70c2a6bcc35ad4d08dd
2024-04-20 04:32:29 +00:00
thiemowmde 9fb95da819 Modernize the code a little bit
For example:
* Remove redundant PHPDoc blocks that just duplicate existing
  information and aren't needed any more with our current PHPCS
  rule set.
* Add some very obvious type declarations.
* Use ??= where it makes sense.

Change-Id: I5c182cc961c6eeccead79ff49b0376eee2418acf
2024-04-19 15:10:15 +02:00
thiemowmde ea573ea99e Replace trivial Xml::… methods with Html::…
This code isn't even generating XML. I'm intentionally leaving a few
Xml::… usages behind that are more complicated. This is for later
patches.

Bug: T341775
Change-Id: Icc693968f0cf726b8ed616c38b7cfd422f481da5
2024-04-19 14:54:09 +02:00
Translation updater bot f667a85e04 Localisation updates from https://translatewiki.net.
Change-Id: Ifedfb5d155ed48bf4710bd2521256d496ae0e12d
2024-04-18 09:21:01 +02:00
Translation updater bot 1c087bfe16 Localisation updates from https://translatewiki.net.
Change-Id: I5507ed9dbc1bdca5442fe2e511e5944d80720805
2024-04-11 09:21:50 +02:00
Translation updater bot cd98b6c1bb Localisation updates from https://translatewiki.net.
Change-Id: If73d3f425937d7eb69b4becacd9e3ca66833a735
2024-04-04 09:38:51 +02:00
Translation updater bot a86e42a2b5 Localisation updates from https://translatewiki.net.
Change-Id: Ifd0ef8c6663a38f5cf3479ea41f34a70e3bcb3b1
2024-03-26 08:20:19 +01:00
Translation updater bot c6de3aadd4 Localisation updates from https://translatewiki.net.
Change-Id: Idd62c7bb0d32bbeeab26d237311022186d7fef25
2024-03-25 08:36:24 +01:00
libraryupgrader 39df7930b6 build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: I80ef69d88943e6cce887d23c46b4ebb1b5063e6d
2024-03-17 21:59:26 +00:00
Translation updater bot 592e24919a Localisation updates from https://translatewiki.net.
Change-Id: I74a2592007d3304997b2d74e7478cff0e849cfff
2024-03-11 08:27:35 +01:00
Umherirrender 373042d9d0 Fix casing of dropdown-related methods
Methods gets renamed to lowercase variant in core (f1d7e68c)

Follow-Up: Ifda13ba9dee316709c424636ec3b285de8d0e9b1
Change-Id: I9a1e6d191bc5217e555d23746793ddee472faf47
2024-03-09 15:45:40 +01:00
Translation updater bot ceb983f328 Localisation updates from https://translatewiki.net.
Change-Id: I80e286e6d628f060b8bd19e1f2ba302959a02845
2024-03-08 08:23:25 +01:00
Translation updater bot fe64335594 Localisation updates from https://translatewiki.net.
Change-Id: Ie935a7c2f940c13f954062b65de7b7ed6a4e4642
2024-03-04 08:23:47 +01:00
Translation updater bot f7d0475845 Localisation updates from https://translatewiki.net.
Change-Id: Id4b9faef37f71eb38dd4e37ebdfd2baa97d94bac
2024-02-26 08:36:39 +01:00
libraryupgrader a240680ed1 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* grunt-banana-checker: 0.11.0 → 0.11.1

Change-Id: I557499c29c8248e790d8ad60e5731eba831ea490
2024-02-10 20:52:25 +00:00
libraryupgrader 683f0861c4 build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I667ea19c646b3965be781aadccd5b67f7e99602d
2024-02-09 08:31:12 +00:00
libraryupgrader de8c97dc22 build: Updating npm dependencies
* eslint-plugin-compat: 4.0.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* semver: 7.3.5 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
  * https://github.com/advisories/GHSA-j8xg-fqg3-53r7

Change-Id: I8cb730c78a2d80293910ae7cd0630ded508d7ad8
2024-02-04 06:12:49 +00:00