This should now use ``wfMessage( 'wikiasearch2-results-redirected-from' )->text();`` as the wfMsg* methods are deprecated. See this page for the new methods to use:
https://www.mediawiki.org/wiki/Manual:Messages_API

Otherwise, looks good. :)