Commit graph

7068 commits

Author SHA1 Message Date
Fomafix 5595193eb3 Inject services into TitleLocalCache
Change-Id: Ib1259484436591dd30b29651ccca474c0ce16d13
2024-03-17 21:22:00 +00:00
Fomafix 98feb3f3fd Inject service RevisionStore into RevisionLocalCache
Change-Id: I4945d582138af4500f8c6929ca0c97d05f10377e
2024-03-17 20:15:51 +00:00
Fomafix 73bd6e8ef1 Inject service LinkBatchFactory into ApiEchoMute
Change-Id: I98c1d2f6b1aa04eb64cef299a6aca475658bdd74
2024-03-17 19:13:44 +00:00
jenkins-bot 2dd93768c5 Merge "Style fixes to ApiEchoMute" 2024-03-15 08:16:37 +00:00
Translation updater bot 6d814c4c6c Localisation updates from https://translatewiki.net.
Change-Id: I717b4a36c1e10d904147acc4827d7e26d77b069d
2024-03-15 08:33:22 +01:00
Gergő Tisza c6accbeff0 Style fixes to ApiEchoMute
Change-Id: Ic70095d44282b19fb10239c6e579acbbeccae5bd
2024-03-15 00:36:43 +00:00
Reedy 2b58f29d8c Fix casing of MediaWiki
Change-Id: If581a54ac1025bb13ff8fce5e8f64b92c71de986
2024-03-12 15:25:19 +00:00
Translation updater bot e42ce1da5f Localisation updates from https://translatewiki.net.
Change-Id: I913c6b2e5fd416ac2be18be9810d23a729ece095
2024-03-11 08:26:49 +01:00
Umherirrender d60c797629 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: Ie03e1cdbf7f3a18c4e02e08fbd81c148f7da4d5a
2024-03-10 19:22:36 +01:00
Ed Sanders 2cac61da34 Move var declarations inline
Change-Id: I8734c30880bcb416a4945f6653555dc1189e7733
2024-03-05 22:39:09 +00:00
Ed Sanders 1b5116d668 Use native URL API, instead of deprecated mw.Uri
Change-Id: Ia6bf82de647eb051f2719c13ceff5a2b07a3721f
2024-03-05 22:08:59 +00:00
Translation updater bot f5ebd41ec9 Localisation updates from https://translatewiki.net.
Change-Id: I9da22fb5018dd048361fb06e79df3483374428be
2024-03-04 08:23:17 +01:00
jenkins-bot 1789715929 Merge "Stop inserting new user_properties rows on signup" 2024-02-29 15:31:50 +00:00
Translation updater bot 4ca1d30110 Localisation updates from https://translatewiki.net.
Change-Id: If686d672b48a7d578a86e8b67d6cc558107189aa
2024-02-29 08:35:54 +01:00
Translation updater bot a5e8f738ba Localisation updates from https://translatewiki.net.
Change-Id: I20806b479a67a6471e4d540c749fe96f62ea3be6
2024-02-28 08:14:12 +01:00
Martin Urbanec 9daf86b662 Stop inserting new user_properties rows on signup
This starts using conditional user defaults, which were
already deployed to WMF production config.

Bug: T353225
Change-Id: I93c6efc40d1ef6c46d8711fc5a4161e5d8f683e3
2024-02-26 15:09:02 +00:00
Translation updater bot da7ecaf1dd Localisation updates from https://translatewiki.net.
Change-Id: I0cd767c107793a5c138a5e2885c1982485cb9d6a
2024-02-26 08:35:56 +01:00
Translation updater bot 9ca25b1316 Localisation updates from https://translatewiki.net.
Change-Id: I3df50bbd303decc60caa7eefc20bed54dde2a473
2024-02-23 08:44:18 +01:00
Jan Drewniak 7f23c77614 Support night mode in Minerva with .skin-invert class
Adds support for the night-mode theme in Minerva by
adding the `.skin-invert` class to the mobile overlay content.

Bug: T356425
Change-Id: I5ccb486d7af798a9e3da83c28246dafb49b72443
2024-02-22 14:02:43 -05:00
Translation updater bot 1910aeacf1 Localisation updates from https://translatewiki.net.
Change-Id: I7fb408a43aa6752c11c6d17c4dedfdd8431194d2
2024-02-22 08:43:28 +01:00
Translation updater bot 4da1d366ab Localisation updates from https://translatewiki.net.
Change-Id: Icd1e27c27f202059172fb698b2af40855b96ad3b
2024-02-21 08:35:33 +01:00
Translation updater bot b1096eb76e Localisation updates from https://translatewiki.net.
Change-Id: I39896c7ad26574fc5d777a07d1690be005a657b3
2024-02-19 08:40:07 +01:00
jenkins-bot 3c4218d871 Merge "UserLocator: replace deprecated usage of wfGetDB" 2024-02-15 15:26:51 +00:00
Translation updater bot 8b15246bff Localisation updates from https://translatewiki.net.
Change-Id: I0610cec645fd47a1d97ed602c058e2715f92bd55
2024-02-15 13:28:05 +01:00
jenkins-bot b0d1a454fe Merge "build: Updating dependencies" 2024-02-14 17:15:45 +00:00
Sergio Gimeno 6db95fa229 UserLocator: replace deprecated usage of wfGetDB
Follow-up: I863dc67e3196ea20c4f6145c5d3bb68b445b5195
Bug: T330641
Change-Id: Ifa2a0a21157ddd08622b25b08c3d33d915798d85
2024-02-14 17:56:27 +01:00
James D. Forrester f20ebbd77f Replace wfGetDB() with ICP getReplicaDatabase()
Bug: T330641
Change-Id: I6a96d8b7a99f4832d5c68134fba12ad93b4da86b
2024-02-14 11:09:34 -05:00
libraryupgrader 5e30e6cda9 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* postcss: 8.4.28 → 8.4.35
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 5.7.1, 7.5.4 → 5.7.2, 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Change-Id: I7cb9f94d14abb512228f2a70cd1e978f849c03b5
2024-02-14 07:34:28 -05:00
Translation updater bot 184dc0625c Localisation updates from https://translatewiki.net.
Change-Id: I04d41e227e6028b377d398503007170e1af915cd
2024-02-14 08:18:42 +01:00
Sergio Gimeno 152db8a06f Replace deprecated usage of wfGetDB
Bug: T330641
Change-Id: I863dc67e3196ea20c4f6145c5d3bb68b445b5195
2024-02-13 20:22:33 +01:00
Translation updater bot 15895ad922 Localisation updates from https://translatewiki.net.
Change-Id: I02680904ff5dd0e43fe6047bc9cf18b5087ddda1
2024-02-12 14:49:27 +01:00
Translation updater bot f690b1f5fa Localisation updates from https://translatewiki.net.
Change-Id: Ia7c0a2771a4c4252b7bf186bd6811b345535f083
2024-02-08 09:15:04 +01:00
Translation updater bot 01e59278bc Localisation updates from https://translatewiki.net.
Change-Id: I91806125a2f3ee1bc9cd969a11f4b39c12a314d0
2024-02-05 08:49:37 +01:00
Bartosz Dziewoński b0da8ddee6 maintenance: Replace unnecessary uses of LBFactory::waitForReplication()
Change-Id: If464548416d5aa4c7aefdc24055f6ad1fdb26acf
2024-02-03 02:52:49 +01:00
Translation updater bot 9135191259 Localisation updates from https://translatewiki.net.
Change-Id: I448cf2b3376557b61a0ee24f749b175b35d00a5e
2024-02-01 09:01:41 +01:00
Translation updater bot fa08c5a5e4 Localisation updates from https://translatewiki.net.
Change-Id: If2cf6aef5e04f5ae3774f32c4e68fb9f924f66bf
2024-01-30 09:38:58 +01:00
Translation updater bot c6d17f7793 Localisation updates from https://translatewiki.net.
Change-Id: I046d4867e986d62c1f71cab2e0b926d78d0c48eb
2024-01-28 16:06:24 +01:00
James D. Forrester 34ffba5b03 Swap uses of Title::GAID_FOR_UPDATE for IDBAccessObject::READ_LATEST
Deprecated in MediaWiki 1.34.

Change-Id: I23732e29954d3410b22726a524c6e15b71b0d6a1
2024-01-26 13:37:47 -05:00
gerritbot ac49cd6a9f Remove indirect calls to IDBAccessObject::READ_* constants
We are getting rid of the schema of implementing this interface and
calling self::READ_* constants, it's confusing, inconsistent, prone to
clashes and isn't really useful for non-ORM systems (which we are not)

Bug: T354194
Change-Id: Ic05e9fa663ddb97fcc8290f2629d3ad89b6791a5
2024-01-26 14:00:49 +00:00
thiemowmde 9bd80c6f46 Fix EchoRevertedPresentationModel using null as string
Bug: T355751
Change-Id: I69cf14c81502dc10e333ae2536437cde043ba92b
2024-01-24 12:14:33 +01:00
Translation updater bot 16857ef7b7 Localisation updates from https://translatewiki.net.
Change-Id: I62dfab54557035283857438e080d74ab34c6ae9d
2024-01-19 09:16:50 +01:00
Translation updater bot 3d9fd4e1c1 Localisation updates from https://translatewiki.net.
Change-Id: Ibd2fc9fe89b44eade1b49042059c4491d2c5914f
2024-01-18 09:25:22 +01:00
Volker E 23697880e3 build: Unify on minify:svg command
Also pinning 'svgo' to 3.2.0 in 'package-lock.json' following up to
Ia2e8e947c7d10fa754885c8d917dc0616708fbaf.

Bug: T354875
Change-Id: I583db915f471295160c8637fd950bfda2f03e529
2024-01-16 13:35:19 +00:00
Translation updater bot 5ad5054cd7 Localisation updates from https://translatewiki.net.
Change-Id: Id469e9ba404ff880785180e76fefd2264e5704bb
2024-01-16 08:25:36 +01:00
Translation updater bot 2aed9ec2eb Localisation updates from https://translatewiki.net.
Change-Id: Ib9d672c4b921e72779096e006f0157ff07aa952f
2024-01-15 08:24:16 +01:00
Novem Linguae c71d826ede Remove $this->tablesUsed from PHPUnit tests
Deprecated in T342301 in v1.41. This is now tracked
automatically. The variable can be safely deleted.

Change-Id: I3864ee85e8b0ff74385eee88018a37f61927f5ef
2024-01-14 04:48:27 -08:00
Translation updater bot 1fff77c09d Localisation updates from https://translatewiki.net.
Change-Id: Idcb2e3b00a8d00c3890fcc214eb157e2ee8216da
2024-01-12 09:00:08 +01:00
Volker E 5255d40496 build: Update 'svgo' to latest v3.2.0
This update of 'svgo' dependency includes three optimizations on
converting path commands, which
- improves closing paths and how we determine if to use absolute or
  relative commands.
- round arc or convert to lines based on the geometric sagitta
- convert cubic Bézier curves to quadratic Bézier curves where possible

Bug: T354875
Change-Id: Ia2e8e947c7d10fa754885c8d917dc0616708fbaf
2024-01-11 19:07:46 +01:00
Translation updater bot a3ccdc70fb Localisation updates from https://translatewiki.net.
Change-Id: I7d889960688f2eb249beb0f587a62c10a7e83782
2024-01-10 08:32:47 +01:00
Func 00f464e0fe Revert "Set a fixed default for echo-email-format"
This reverts commit f305c2d778.

Reason for revert: This is not the way of setting the default user
option, the 'default' param for HTMLForm should be filled with the
user's current option.

Similar mistakes happened many times, maybe we should deprecate setting
this param for any field types other than the 'info' type at the
preferences form level.

Bug: T350530
Change-Id: I1d0fce3db4a4228a6adcd9fe12dbc3da7ac0f710
2024-01-10 02:56:54 +08:00