In my LocalSettings.php, I have the following line to modify $wgMWSuggestTemplate to increase the number of dropdown items:
$wgMWSuggestTemplate = SearchEngine::getMWSuggestTemplate() . '&limit=20';
This works perfectly in MediaWiki 1.16.4 and earlier. In 1.17.0, however, when I run maintenance/update.php, the above line causes this error to be thrown, aborting update.php:
PHP Fatal error: Call to undefined function wfScript()
in /.../includes/search/SearchEngine.php on line 457
Version: 1.17.x
Severity: normal