Fix exception while bubbling titles
authorNik Everett <neverett@wikimedia.org>
Mon, 20 Oct 2014 16:17:15 +0000 (12:17 -0400)
committerNik Everett <neverett@wikimedia.org>
Mon, 20 Oct 2014 16:32:36 +0000 (12:32 -0400)
commit2c121e0f67093c2213000b74a6260cd3fd113660
tree836bb75d10b5474206c90b2cdc41485090e64d1c
parent25162299c8762f0250708b1cb2a1f06e38d0dd7b
Fix exception while bubbling titles

In prefix search if the search text is actually a title we make sure it is at
the top of the results.  But if it isn't a valid title we shouldn't blow up
because blowing up is bad.

Bug: 72260
Change-Id: I5bd795df447a33bb003a38ec2068dc184379a813
includes/PrefixSearch.php