dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Make api nearmatch search work same as 'go' feature"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryPrefixSearch.php
diff --git
a/includes/api/ApiQueryPrefixSearch.php
b/includes/api/ApiQueryPrefixSearch.php
index
35942ca
..
8eb644f
100644
(file)
--- a/
includes/api/ApiQueryPrefixSearch.php
+++ b/
includes/api/ApiQueryPrefixSearch.php
@@
-69,7
+69,7
@@
class ApiQueryPrefixSearch extends ApiQueryGeneratorBase {
'title' => $title->getPrefixedText(),
);
if ( $title->isSpecialPage() ) {
- $vals['special'] =
''
;
+ $vals['special'] =
true
;
} else {
$vals['pageid'] = intval( $title->getArticleId() );
}