Hello. There are a lot of situations when we use Special:Search for bots' eyes only, and it is very unconvenient to create a result pages list without all the notice citations with relevant page lines. It needs copy paste each page to Excel, create formulae to recognize the page names, remove the rest, aggregate all and so on.
Could you, please, add a shortened mode to the Special:Search? When using it, we'll see the page names only, possibly 200 on every page in category tree format, until 50 pages (because search maximum is 10,000 pages), with ability to enlarge the limit to 5,000, as usual in such kind of pages.
Thank you very much in advance.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T153313 Add a special page that creates subpage with given sql query | |||
Declined | None | T155638 Add short view for Wikipedia Search with pages names only |
Event Timeline
If you need to access search results from a bot perspective - use API for example:
https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=meaning&srprop=
Thanks, but I need a list, for bot or half automatic tool, not json or xml structure.
Special:Search (just like anything else that outputs HTML instead of bot-readable formats) is for humans only. Bots should use the API.
@MaxSem, I'm talking as AWB user, not developer. I need page names list to put it in makelist feature, and can't get it, as I know.
Maybe with a simple command line? (requires curl and jq):
curl -s 'https://en.wikipedia.org/w/api.php?action=query&format=json&list=search&srsearch=test&srprop=' | jq .query.search[].title
Will output:
"Test" "Test cricket" "Mantoux test" "Test automation" "Test card" "Test (assessment)" "Pregnancy test" "Student's t-test" "Coombs test" "Flight test"
To build the API request you can use the api sandbox
Thank you, but I want to get a simple solution, not a hack. I, as user, can't use command line, but it's irrelevant. I spoke about something simple.
Yes, @matmarex, ant it is broken, and AWB developers hope it will work in a couple of years.