daniel
76b703fe5c
SearchHandler: add support for completion search
...
This defines a new REST route, /coredev/v0/search/title
Bug: T246387
Change-Id: Ib8d64f3028d3fa2ce239f922181064a3fc91a488
2020-03-26 20:38:30 +01:00
daniel
c647e16c92
SearchHandler: implement limit parameter
...
The integration tests in Search.js were copied from the api-testing repo, see
<https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/tools/api-testing/+/refs/heads/master/test/REST/Search.js >
Bug: T245676
Change-Id: Icb4e9b363586914f2c4bcf809bde003d90c017db
2020-03-04 11:13:55 +01:00
James D. Forrester
4f2d1efdda
Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse
...
Change-Id: I94a0ae83c65e8ee419bbd1ae1e86ab21ed4d8210
2020-01-10 09:32:25 -08:00
Nikki Nikkhoui
c514cd0bd9
Disable write access to Search Handler
...
Saw a function comment in Handler.php for needsWriteAccess() that stated: "The handler should override this if the route does not need to write to the database."
Adding that function in SearchHandler.php.
Change-Id: Ib320deb3f3f5464a50e8486142cc106a310948da
2019-11-22 09:20:09 -08:00
Nikki Nikkhoui
6c05a50a01
Basic Search endpoint
...
Implement basic Search endpoint for REST Api
Bug: T230844
Change-Id: I35052069c4835bf1538d292ac37c06039ef753e4
2019-11-19 09:04:29 -08:00