Commit graph

6775 commits

Author SHA1 Message Date
Alexander Vorwerk 5bd08e95ee Update job name to match $wgJobClasses key
The key must match what is specified in the constructor of the
EchoNotificationDeleteJob.

The job specify their name in the constructor through __CLASS__, which
means that with the class rename this key also needs to be updated.

Bug: T322342
Change-Id: Id1eebb0cc3ddcdabe31c5531cd32f032ed52a69c
2022-11-05 16:33:27 +01:00
Alexander Vorwerk 7498391ef9 Fix NotificationDeleteJob class name
Follow-Up: Ib8870284465e00308f475fe492fa579babe23d79

Bug: T322342
Change-Id: I98e9862d27ebe63de23ef54a6bc6b74ede90e21f
2022-11-05 09:42:32 +00:00
Reedy c85fe25fe7 Namespace Mapper
Change-Id: I8a02082466ef39db32ffa7562b02db61929346cd
2022-11-04 18:05:34 +00:00
jenkins-bot e6251eb642 Merge "Namespace Iterator" 2022-11-04 11:06:51 +00:00
Translation updater bot 22e26b5c41 Localisation updates from https://translatewiki.net.
Change-Id: I177d25c25fa9a253a38036c0fc2860dbc6c55a2b
2022-11-04 09:02:29 +01:00
Reedy 0f0c6c4fa6 Namespace Iterator
Change-Id: I87fa703da9e7725370d72c58fc40eb204a309e67
2022-11-02 16:51:39 -06:00
Reedy 3609edf153 Namespace Cache
Change-Id: I8ead3ee485528f08f71c21cf401880bf369dbeac
2022-11-02 16:37:48 -06:00
jenkins-bot 548e8f1628 Merge "Namespace Jobs" 2022-11-02 22:36:30 +00:00
jenkins-bot f4a68c4c77 Merge "Namespace Controller" 2022-11-02 22:34:13 +00:00
jenkins-bot 32d58a5751 Merge "Clean up test case" 2022-11-02 21:44:48 +00:00
daniel 16425ff5ee Clean up test case
- Don't manipulate $wgHooks directly, use setTemporaryHook.
- Avoid premature access to MediaWikiServices from data providers
- use overrideSettings instead of setMwGlobals

Needed-By: I0ebba9a29f81b0d86ad8fd84d478fb244f9e9c15
Change-Id: I52b9251793a5d559658fcf1e0d20f5a497e5fc43
2022-11-02 21:55:56 +01:00
Reedy 6046c48593 Namespace Jobs
Change-Id: Ib8870284465e00308f475fe492fa579babe23d79
2022-11-02 14:52:32 -06:00
Reedy d3cc06cc6a Namespace Controller
Change-Id: Ice356e774c153c353eb6ed71b8a02afd1ad1e654
2022-11-02 14:52:29 -06:00
Reedy fb4478454d Namespace Gateway
Change-Id: I7501be6e57cec92b2b4175b8772d213c7fd031d4
2022-11-02 14:52:04 -06:00
Reedy 8aa42e0946 Namespace Exception
Change-Id: I71a995adb8000ec32de3d99c7bf33bf0fa7d0176
2022-11-02 14:03:10 -06:00
thiemowmde 44eb02cae8 Fix incompatible type null vs. string failing in PHP 8.1
This is not allowed to be null. It was always forcefully cast to an
empty string anyway.

Change-Id: I4134da00014d84818751f68b2c85dbc28b042034
2022-11-02 12:31:26 +01:00
jenkins-bot fff51b80bd Merge "Namespace Echo Formatters" 2022-11-02 08:51:07 +00:00
jenkins-bot a5c0620dcb Merge "formatters: Minor cleanup" 2022-11-02 08:49:01 +00:00
Translation updater bot b3b937ee6b Localisation updates from https://translatewiki.net.
Change-Id: Ida6a8ae4e8ac7365ab17438354bcbeedc589be3d
2022-11-02 08:38:02 +01:00
Reedy 7619a76877 Namespace Echo Formatters
Change-Id: I5bf398cdb76a577543f6526ac1bee4a73897103d
2022-11-01 21:20:06 -06:00
Reedy bd062137bb formatters: Minor cleanup
* Fix some indenting
* Remove some unnecessary temporary variables

Change-Id: I2330238a090b7f5ccd14d8e44aeaff10d731352e
2022-11-01 15:39:23 -06:00
jenkins-bot f74cee0b4f Merge "MWEchoEventLogging: Use $revId of -1 for Echo* schemas" 2022-11-01 21:11:43 +00:00
jenkins-bot b39be92fc5 Merge "Convert 10 hook subscribers to HookHandlers" 2022-11-01 21:08:19 +00:00
jenkins-bot 761a5a3b5e Merge "Convert 5 hook subscribers to HookHandlers" 2022-11-01 21:06:57 +00:00
jenkins-bot b897f2c841 Merge "Convert 9 hooks subscribers to HookHandlers" 2022-11-01 21:06:52 +00:00
Translation updater bot 73184532d5 Localisation updates from https://translatewiki.net.
Change-Id: I9e6d888eaadfff8fe6152c0a8e0c197bf13c7b35
2022-11-01 08:52:07 +01:00
Reedy adba9cbfcd Convert 10 hook subscribers to HookHandlers
Bug: T315938
Change-Id: I734ad484b049a90e579e712d1d38f07922f189de
2022-10-31 17:16:48 -06:00
Reedy a7ef347530 Convert 5 hook subscribers to HookHandlers
Bug: T315938
Change-Id: I6e967524d0327043c6eed4a18861e96c20aaecf6
2022-10-31 17:16:04 -06:00
Reedy 56dfaea949 Convert 9 hooks subscribers to HookHandlers
Bug: T315938
Change-Id: I4d061216da8a492fd0d28518d55e67f92e38ee78
2022-10-31 17:15:17 -06:00
Translation updater bot ef71c164a6 Localisation updates from https://translatewiki.net.
Change-Id: Ifc7f169452adc51742e0c14bfdce3c41612e78a8
2022-10-31 09:45:42 +01:00
Translation updater bot da53c23bb0 Localisation updates from https://translatewiki.net.
Change-Id: Ia0aa9c913fa6409580c25db2ffbaa2b620276e64
2022-10-27 08:54:51 +02:00
jenkins-bot 630e415ebb Merge "Use PHPUnit's shortcuts where it makes sense" 2022-10-26 16:21:20 +00:00
jenkins-bot 5e048d083e Merge "Fall back to local notification count when no global user is found" 2022-10-26 10:49:31 +00:00
Umherirrender b34e2c0697 Fall back to local notification count when no global user is found
When MWEchoNotifUser::getGlobalMemcKey does not find a global user,
MWEchoNotifUser::getCountsAndTimestamps can return null for 'global' key

Just fall back to the local count/timestamp

Bug: T317330
Change-Id: Ie11b0c93c0a45fb1f873bd26788beaa3d0c6a9d7
2022-10-26 10:33:02 +00:00
Thiemo Kreuz db79d76d83 Use PHPUnit's shortcuts where it makes sense
Notably: any() is the default anyway. It doesn't really make the
tests more specific or better readable when we repeat it all the
time.

Change-Id: I56d201bfce454587b00015b7208f313dd8ed9624
2022-10-26 11:53:57 +02:00
Translation updater bot 6f441ccc0d Localisation updates from https://translatewiki.net.
Change-Id: I12b4b597882ab41a5aef6e5e3d460a642abb2316
2022-10-26 08:19:06 +02:00
libraryupgrader 155c64bf04 build: Updating npm dependencies
* mocha: 9.2.1 → 9.2.2
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I8d401a8fa90a0698223e527b9c42ffd6658ae3ba
2022-10-26 01:45:34 +00:00
Translation updater bot f218e1a4d2 Localisation updates from https://translatewiki.net.
Change-Id: I0157977c816b99850e274ad96262befb7de65850
2022-10-24 08:22:38 +02:00
jenkins-bot f88c75c2e9 Merge "Add PreferencesGetIconHook" 2022-10-20 16:53:18 +00:00
Translation updater bot ea0b478e04 Localisation updates from https://translatewiki.net.
Change-Id: Ia67deacfd7eadf1afc976d664ecd35c477991135
2022-10-19 08:19:45 +02:00
Translation updater bot 43bb609aed Localisation updates from https://translatewiki.net.
Change-Id: I1217433ae7bbdc79dd55722da68b5fcab1777feb
2022-10-18 08:22:25 +02:00
Translation updater bot cd01f9b20b Localisation updates from https://translatewiki.net.
Change-Id: I5df55decc3ccbccd2f004cb8a7d96950e12d1b31
2022-10-17 08:21:09 +02:00
jenkins-bot 391ebd4b8b Merge "Api: Minor code updates" 2022-10-15 18:04:22 +00:00
jenkins-bot 7b68f3328b Merge "Namespace Api classes" 2022-10-15 18:04:20 +00:00
suecarmol 97209c3330 Add PreferencesGetIconHook
Added PreferencesGetIconHook to add an icon on the Special:Preferences section.

Bug: T317419
Depends-On: I6d5730d47e7595b1705787995fe5db2fe734d7f5
Change-Id: Ia5eefad09f533f4654bbda123b4588f246bc1ace
2022-10-13 20:00:13 -05:00
jenkins-bot 7c63b00b4c Merge "build: Updating mediawiki/mediawiki-phan-config to 0.12.0" 2022-10-13 13:21:06 +00:00
Translation updater bot 9f86ed337b Localisation updates from https://translatewiki.net.
Change-Id: If7bc4171242163e0e70e90d575e65c4e1adc1b73
2022-10-13 08:08:35 +02:00
Translation updater bot c49830592b Localisation updates from https://translatewiki.net.
Change-Id: I2e1d43997defb9dacc97f93414d8599404704ff0
2022-10-12 08:07:41 +02:00
Translation updater bot e80220ce67 Localisation updates from https://translatewiki.net.
Change-Id: I209875d148cf5e44b2522fe3a6d56211ec05ce03
2022-10-11 09:16:29 +02:00
libraryupgrader 4835b6b1cb build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Id35b9a47ce7ad7c96e70f43b2f4fe0933e12a9d4
2022-10-10 21:03:50 +00:00