Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/RELEASE-NOTES-1.44 b/RELEASE-NOTES-1.44
index a2f7c65cc87..6b331281d3b 100644
--- a/RELEASE-NOTES-1.44
+++ b/RELEASE-NOTES-1.44
@@ -741,6 +741,8 @@ because of Phabricator reports.
- Only pass a string to $wiki
* UserMailer::sanitizeHeaderValue emits deprecation warnings. This function
is no longer used within core/extensions. No replacement is provided.
+* (T387995) Deprecated AbortTalkPageEmailNotification hook. Use the Notification
+ Middleware to filter our Talk Page notifications
* …
=== Other changes in 1.44 ===
diff --git a/includes/HookContainer/DeprecatedHooks.php b/includes/HookContainer/DeprecatedHooks.php
index 49b691fb506..29e4acce55d 100644
--- a/includes/HookContainer/DeprecatedHooks.php
+++ b/includes/HookContainer/DeprecatedHooks.php
@@ -35,6 +35,7 @@ class DeprecatedHooks {
* @phpcs-require-sorted-array
*/
private $deprecatedHooks = [
+ 'AbortTalkPageEmailNotification' => [ 'deprecatedVersion' => '1.44' ],
'AddNewAccount' => [ 'deprecatedVersion' => '1.27' ],
'ArticleDelete' => [ 'deprecatedVersion' => '1.37', 'silent' => true ],
'ArticleDeleteComplete' => [ 'deprecatedVersion' => '1.37', 'silent' => true ],
diff --git a/includes/mail/Hook/AbortTalkPageEmailNotificationHook.php b/includes/mail/Hook/AbortTalkPageEmailNotificationHook.php
index 317a0c714f6..b70bafe8bbd 100644
--- a/includes/mail/Hook/AbortTalkPageEmailNotificationHook.php
+++ b/includes/mail/Hook/AbortTalkPageEmailNotificationHook.php
@@ -10,6 +10,7 @@ use MediaWiki\User\User;
* Use the hook name "AbortTalkPageEmailNotification" to register handlers implementing this interface.
*
* @stable to implement
+ * @deprecated since 1.44 Use the NotificationMiddleware instead
* @ingroup Hooks
*/
interface AbortTalkPageEmailNotificationHook {

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:32 AM (17 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227574
Default Alt Text
(1 KB)

Event Timeline