https://bugzilla.wikimedia.org/show_bug.cgi?id=29760
Web browser: ---
Bug #: 29760
Summary: SearchEngine::getMWSuggestTemplate called from
LocalSettings.php throws "wfScript undefined" error in
maintenance/update.php
Product: MediaWiki
Version: 1.17
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Search
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l