wiki.techinc.nl/tests/phpunit/includes/search
Erik Bernhardson b357416273 Go search to consider fragment only title invalid
When submiting using the 'go' feature of Special:Search (standard
usecase for autocomplete) a nearby title can be selected.
Unfortunately a fragment only title is considered valid, which
sends the user to Main_Page#searchterm.

Instead don't allow a search starting with # to trigger the go
feature.

Bug: T182452
Change-Id: I8ce3ce8633e23db41ae6eafb9996ca7294f8445a
2018-09-11 13:03:53 -07:00
..
ParserOutputSearchDataExtractorTest.php
SearchEnginePrefixTest.php Reset services before every test 2018-09-03 16:38:58 +00:00
SearchEngineTest.php Move utility methods from ApiTestCase to MediaWikiTestCase 2018-07-29 12:47:45 +03:00
SearchIndexFieldTest.php
SearchNearMatcherTest.php Go search to consider fragment only title invalid 2018-09-11 13:03:53 -07:00
SearchNearMatchResultSetTest.php
SearchResultSetTest.php Push pagination decision for search into SearchEngine 2018-06-11 13:35:44 -07:00
SearchResultTest.php
SearchSuggestionSetTest.php