That is why I was suggesting adding a field to the page table, instead of using page_props
On Wed, Dec 26, 2012 at 9:56 AM, Andrew Dunbar <[email protected]> wrote: > It would also be great if these pages were marked in the dump files too. > > It should be exactly the same way as how redirect pages are marked. > > > On 27 December 2012 01:41, Brad Jorsch <[email protected]> wrote: > >> On Tue, Dec 25, 2012 at 6:00 AM, Liangent <[email protected]> wrote: >> > Is this enough? >> > >> > api.php?action=query&prop=pageprops&ppprop=disambiguation&titles= >> >> One thing that would be nice would be the ability to go the other way. >> Consider for example this similar query that tests if the specified >> pages are in a category: >> >> >> api.php?action=query&prop=categories&clcategories=Category:All_disambiguation_pages&titles= >> >> We can do the "opposite", getting a list of pages in the category, >> something like this: >> >> >> api.php?action=query&list=categorymembers&cmtitle=Category:All_disambiguation_pages >> >> It would be nice to have a corresponding >> api.php?action=query&list=pageswithprop&pwpprop=disambiguation. At a >> glance, it looks like we could do it easily enough if someone adds an >> index on page_props (pp_propname,pp_page). >> >> _______________________________________________ >> Wikitech-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
