exception ID is the same as the request ID, from WebRequest::getRequestId().
* SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
You can use SearchEngine::getNearMatcher() instead.
+* EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
+ removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
=== Deprecations in 1.33 ===
* The configuration option $wgUseESI has been deprecated, and is expected
* @author Luke Welling lwelling@wikimedia.org
*/
-use MediaWiki\Linker\LinkTarget;
use MediaWiki\MediaWikiServices;
/**
return $this->pageStatus;
}
- /**
- * @deprecated since 1.27 use WatchedItemStore::updateNotificationTimestamp directly
- *
- * @param User $editor The editor that triggered the update. Their notification
- * timestamp will not be updated(they have already seen it)
- * @param LinkTarget $linkTarget The link target of the title to update timestamps for
- * @param string $timestamp Set the update timestamp to this value
- *
- * @return int[] Array of user IDs
- */
- public static function updateWatchlistTimestamp(
- User $editor,
- LinkTarget $linkTarget,
- $timestamp
- ) {
- wfDeprecated( __METHOD__, '1.27' );
- $config = RequestContext::getMain()->getConfig();
- if ( !$config->get( 'EnotifWatchlist' ) && !$config->get( 'ShowUpdatedMarker' ) ) {
- return [];
- }
- return MediaWikiServices::getInstance()->getWatchedItemStore()->updateNotificationTimestamp(
- $editor,
- $linkTarget,
- $timestamp
- );
- }
-
/**
* Send emails corresponding to the user $editor editing the page $title.
*