r57990 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57989‎ | r57990 | r57991 >
Date:21:22, 21 October 2009
Author:ialex
Status:ok
Tags:
Comment:
Fix for r57986: Notice: Undefined variable: wgEnableOpenSearchSuggest in includes/api/ApiOpenSearch.php on line 53
Modified paths:
  • /trunk/phase3/includes/api/ApiOpenSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiOpenSearch.php
@@ -42,7 +42,7 @@
4343 }
4444
4545 public function execute() {
46 - global $wgEnableMWSuggest;
 46+ global $wgEnableOpenSearchSuggest;
4747 $params = $this->extractRequestParams();
4848 $search = $params['search'];
4949 $limit = $params['limit'];

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57986Split allowing &suggest requests in API opensearch from $wgEnableMWSuggest to...catrope18:44, 21 October 2009

Status & tagging log