PrefixSearch: Implement searching in multiple namespaces
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Mon, 2 Jun 2014 18:34:52 +0000 (18:34 +0000)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Thu, 15 Sep 2016 12:48:35 +0000 (14:48 +0200)
commit64670b28d20da2bd2ea84eeb7b860c3fd844070e
tree4538bbec9e17cf332a7e36a1b6d17d8fcf45547c
parenta1d2f59d9f92ad01081279a0459c675d94dc58ee
PrefixSearch: Implement searching in multiple namespaces

I thought there was just an issue with capitalization, but in fact the
code explicitly only searched one namespace anyway. Fixed that while
taking capitalization differences in namespaces into account.

This by extend also brings support for multiple namespaces to the
opensearch API.

Follows-up I3487bb69.

Bug: T67752
Bug: T32323
Change-Id: I4bec7b5548fc27ac51a1b4d4961c3bbc31eb7337
includes/PrefixSearch.php
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/PrefixSearchTest.php