Deprecate SearchResult::termMatches()
[lhc/web/wiklou.git] / RELEASE-NOTES-1.34
index 0755609..bba7df1 100644 (file)
@@ -33,6 +33,9 @@ For notes on 1.33.x and older releases, see HISTORY.
   the code as the request identificator. Otherwise, the sent header will be
   ignored and the request ID will either be taken from Apache's mod_unique
   module or will be generated by Mediawiki itself (depending on the set-up).
+* $wgEnableSpecialMute (T218265) - This configuration controls whether
+  Special:Mute is available and whether to include a link to it on emails
+  originating from Special:Email.
 
 ==== Changed configuration ====
 * $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four
@@ -57,7 +60,8 @@ For notes on 1.33.x and older releases, see HISTORY.
   wikidiff2.moved_paragraph_detection_cutoff.
 
 === New user-facing features in 1.34 ===
-* …
+* Special:Mute has been added as a quick way for users to block unwanted emails
+  from other users originating from Special:EmailUser.
 
 === New developer features in 1.34 ===
 * Language::formatTimePeriod now supports the new 'avoidhours' option to output
@@ -304,6 +308,18 @@ because of Phabricator reports.
   instead.
 * Sanitizer::attributeWhitelist() and Sanitizer::setupAttributeWhitelist()
   have been deprecated; they will be made private in the future.
+* SearchResult::termMatches() method is deprecated. It was unreliable because
+  only populated by few search engine implementations. Use
+  SqlSearchResult::getTermMatches() if really needed.
+* SearchResult::getTextSnippet( $terms ) the $terms param is being deprecated
+  and should no longer be passed. Search engine implemenations should be
+  responsible for carrying relevant information needed for highlighting with
+  their own SearchResultSet/SearchResult sub-classes.
+* SearchEngine::$searchTerms protected field is deprecated. Moved to
+  SearchDatabase.
+* The use of the $terms param in the ShowSearchHit and ShowSearchHitTitle
+  hooks is highly discouraged as it's only populated by SearchDatabase search
+  engines.
 
 === Other changes in 1.34 ===
 * …