Commit graph

1513 commits

Author SHA1 Message Date
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
Translation updater bot 172980438d Localisation updates from https://translatewiki.net.
Change-Id: I2d0653a8ae60794ef38ef3ea3cea6fd8d0f04776
2024-01-28 16:07:36 +01:00
Bartosz Dziewoński 80bdcd3004 Restore support for matching 'LIKE' patterns/wildcards
Follow-up to 910ce4c870.

Add a test so that we don't break this again.

Bug: T355478
Change-Id: I98620dd66a3c3a6913f999d6f96eef0ef69271d1
2024-01-22 11:30:50 +00:00
James D. Forrester 60d12bb79b build: Update MediaWiki requirement to 1.42
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Iac89357fd9299d97ec0a878c3dc47b056cbda116
2024-01-12 14:12:30 -05:00
Translation updater bot e2fe298b0a Localisation updates from https://translatewiki.net.
Change-Id: I1b6125680da84d5b1c3ef3cd68d34036f725f002
2024-01-11 10:05:14 +01:00
Translation updater bot 533e19b597 Localisation updates from https://translatewiki.net.
Change-Id: I2bbd9c8570d779380becbf2cbd3490c1fb63f5a5
2024-01-09 09:00:07 +01:00
Translation updater bot 808c21aa23 Localisation updates from https://translatewiki.net.
Change-Id: I947dcbec9196184216dd7d58464ff9ecda9e2f6a
2024-01-02 10:16:58 +01:00
Translation updater bot ebc0f9b675 Localisation updates from https://translatewiki.net.
Change-Id: I1a81dfffab785722aaf78c0eabfb8feae9daa50d
2023-12-26 14:43:16 +01:00
jenkins-bot b7374698ef Merge "Links to redirects should have ?redirect=no" 2023-12-23 07:49:11 +00:00
Translation updater bot 7c1e5f9688 Localisation updates from https://translatewiki.net.
Change-Id: Ic1529b55c30ad7d6db79533363526c1ea3f356ce
2023-12-22 17:46:31 +01:00
Novem Linguae 2f16b24b08 Links to redirects should have ?redirect=no
Bug: T351575
Change-Id: I8bced40d8f86010ec74ebc5ea81211bd7aaf3803
2023-12-22 02:15:33 -08:00
Translation updater bot fe2384d40e Localisation updates from https://translatewiki.net.
Change-Id: I287ee8b390929a41796e4d7d366a53523f5084a8
2023-12-21 19:45:41 +01:00
Amir Sarabadani 910ce4c870 Migrate to query builder and expression builders
As an Iranian, I'm a big fan of this extension so I decided to update
some parts of it to use new rdbms APIs.

Bug: T350984
Bug: T312361
Change-Id: Id374fc9143d40ac0c65ae99ffab945cde51f77d5
2023-12-19 17:03:57 +01:00
Func b5b1b11608 SpecialNuke: Escape the page title for messages
The page title should be substituted into the link syntax before the
wikitext is parsed, so we should use wfEscapeWikiText() instead of
plaintextParams.

Bug: T310015
Change-Id: Iad216ded7e25c7f84b6b9ae619ddd51b9140bd24
2023-12-06 03:31:20 +00:00
Translation updater bot b87f6f790b Localisation updates from https://translatewiki.net.
Change-Id: I0a557a67bfddd5f1b412efeaf21cbafa8bc8ee34
2023-12-04 09:05:01 +01:00
Translation updater bot 69459a0b75 Localisation updates from https://translatewiki.net.
Change-Id: If03daf7fdeb11f933cc742fd405ae952b35d275c
2023-11-23 11:56:57 +01:00
Translation updater bot 0d83921a7b Localisation updates from https://translatewiki.net.
Change-Id: If2c9bded60533a8e7d7089d373aa7c1c9f4cda8f
2023-11-16 09:09:37 +01:00
Translation updater bot 4155adfa1a Localisation updates from https://translatewiki.net.
Change-Id: I646227e7e2d6a3688e31c9d9993ea6379166acd8
2023-11-13 08:41:37 +01:00
Translation updater bot c7b8418f21 Localisation updates from https://translatewiki.net.
Change-Id: I14c49572e1aeaa4bd66c6ad852419e767a8aa052
2023-10-26 11:05:29 +02:00
Translation updater bot 8895b95e39 Localisation updates from https://translatewiki.net.
Change-Id: I0f464e09488c3b0a30fa024991b683432e4766f9
2023-10-16 09:16:12 +02:00
Translation updater bot 603bf67c51 Localisation updates from https://translatewiki.net.
Change-Id: I63577b6b763f668823f78f592e193b2506478554
2023-10-12 09:29:40 +02:00
Fomafix 4ce660a73c Use namespaced classes
Change-Id: I7ed3d04a7c4922d6ccfd21dc275751155da9e643
2023-10-02 21:09:38 +00:00
Translation updater bot 42449fb418 Localisation updates from https://translatewiki.net.
Change-Id: Ie819853d212404ec675ca1e2ffa2d53d8ca884d0
2023-09-18 08:44:14 +02:00
Translation updater bot 7b478426f1 Localisation updates from https://translatewiki.net.
Change-Id: Ib5cd9c943378d045404f6e5a5fbbcf1f30f3bd71
2023-09-11 09:04:29 +02:00
Translation updater bot e11589594d Localisation updates from https://translatewiki.net.
Change-Id: I25a21eeecdfd3ebb3ecaba87337e420ab7200c94
2023-09-07 11:12:23 +02:00
jenkins-bot f29f4a4b6d Merge "build: Update MediaWiki requirement to 1.41" 2023-08-19 15:58:44 +00:00
James D. Forrester 3c8f38c104 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ic7162fd8b3ef2700ad84349d3bb586b4fbcbf1a5
2023-08-19 13:55:47 +08:00
gerritbot 376dd4b74b Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: Ib8ea0118fa7946d8070b8894fa9d67a29191945a
2023-08-19 04:17:58 +00:00
Translation updater bot 832235bd96 Localisation updates from https://translatewiki.net.
Change-Id: Icd0b5f2ec39668f289a62afda8fc6ccc1123ceda
2023-08-17 12:10:30 +02:00