Page MenuHomePhabricator

Add srprop parameter to API list=search (damn, lot of nines)
Closed, ResolvedPublic

Description

Author: herd

Description:
With r52854 and r53904 list=search is now a bit spammy (mostly the snippet). Could we have a srprop parameter with options like srprop=size|wordcount|timestamp|snippet (all on by default of course, but disableable).

... and possiby some non-default options like 'content'? That'd be sweet.


Version: 1.16.x
Severity: enhancement
URL: http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=foobar&format=jsonfm

Details

Reference
bz19999

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:42 PM
bzimport set Reference to bz19999.

Bryan.TongMinh wrote:

r55586. For content you can use a generator.