Extensions that have hooks for
UpdateUserMailerFormattedPageStatus (to provide additional
pageStatus indicators) need a way to make sure that, when their
hook is called in SendWatchlistemailNotification, they only
notifications handling their pageStatus indicator. This allows them
to fetch the protected property.
Bug: T175104
Change-Id: I2beb5b3576f2cd739dab16b9adf613c96636edd3
*/
protected $editor;
+ /**
+ * Extensions that have hooks for
+ * UpdateUserMailerFormattedPageStatus (to provide additional
+ * pageStatus indicators) need a way to make sure that, when their
+ * hook is called in SendWatchlistemailNotification, they only
+ * handle notifications using their pageStatus indicator.
+ *
+ * @since 1.33
+ * @return string
+ */
+ public function getPageStatus() {
+ return $this->pageStatus;
+ }
+
/**
* @deprecated since 1.27 use WatchedItemStore::updateNotificationTimestamp directly
*