As a developer with a collection id I need to be able to generate a list of titles with a property telling me whether the page is in the given collection or not.
Use case: Do a prefix search and combine with this new query via a generator.
@Yurik proposed using a new prop
action=query & titles=pageA|pageB & prop=listmembership & lsmid=<listID>
Resulting in
{ 'query': { 'pages': [ {
'id':10, 'title':'pageA', listmembership:"" // becomes true if formatversion=2+
}, {
'id':15, 'title':'pageB'
}}]}}Because its a prop, it can easily use a generator to supply list of titles. Can also do lsmlabel=label, and possibly even other user's public lists with lsmowner=User