Per https://www.mediawiki.org/wiki/Deprecation_policy#Deprecation,
the version for hard deprecation must be exactly the same as the
one it was soft deprecated in.
Bug: T221431
Change-Id: Ib7c2b569959194e15f50c62fe0eca1c3011bc50e
* @return array Array of strings
*/
public static function titleSearch( $search, $limit, $namespaces = [], $offset = 0 ) {
- wfDeprecated( __METHOD__, '1.34' );
+ wfDeprecated( __METHOD__, '1.23' );
$prefixSearch = new StringPrefixSearch;
return $prefixSearch->search( $search, $limit, $namespaces, $offset );
}
* search engine
*/
public function transformSearchTerm( $term ) {
- wfDeprecated( __METHOD__, '1.34' );
+ wfDeprecated( __METHOD__, '1.32' );
return $term;
}