Fixed to work with MW v1.24

Per https://github.com/wikimedia/mediawiki/commit/9b3f84e763810ab101bfc2bdcee7a319eb73218c#diff-9ddd0ade45c3b97619eefbc8971ee8cd, the SearchResult constructor was removed.