https://gerrit.wikimedia.org/r/#/c/320305 removed the hook SpecialSearchNogomatch. It did it without any prior deprecation, leaving references to it in hooks.txt. It wasn't mentioned in RELEASE-NOTES and mediawiki.org wasn't updated till I did it today -- https://www.mediawiki.org/w/index.php?title=Manual:Hooks/SpecialSearchNogomatch&curid=20309&diff=2420292&oldid=1421499
It's used in two extensions:
Targets
Occurrences of 'SpecialSearchNogomatch' in Directory /Users/reedy/PhpstormProjects/MediaWiki/extensions
Found Occurrences (4 usages found)
Unclassified occurrence (1 usage found)
MediaWiki (1 usage found)
extensions/SearchStats (1 usage found)
SearchStats.hooks.php (1 usage found)
39public static function onSpecialSearchNogomatch( &$title )
Usage in comments (1 usage found)
MediaWiki (1 usage found)
extensions/SearchStats (1 usage found)
SearchStats.hooks.php (1 usage found)
37 * https://www.mediawiki.org/wiki/Manual:Hooks/SpecialSearchNogomatch
Usage in string constants (2 usages found)
MediaWiki (2 usages found)
extensions/SearchStats (1 usage found)
SearchStats.php (1 usage found)
47$wgHooks['SpecialSearchNogomatch'][] = 'SearchStatsHooks::onSpecialSearchNogomatch';
extensions/WikiLexicalData (1 usage found)
App.php (1 usage found)
171$wgHooks['SpecialSearchNogomatch'][] = 'WikiLexicalDataHooks::onNoGoMatchHook';Please revert the change (some modification will probably be needed to put it back in the new/right place), deprecate it properly (annotating in RELEASE-NOTES and on the hook itself it's deprecated). Then optionally, update the usages in extensions, so it can be removed from MW core in a later release