On Wed, 10 Jul 2013 10:49:27 -0700, Ryan Kaldari
<rkaldari(a)wikimedia.org> wrote:
Disambiguator implements an API for retrieving
all disambiguation pages:
api.php?action=query&list=querypage&qppage=DisambiguationPages
Unfortunately, since the WMF wikis run in MiserMode, this API will
only return a maximum of 1000-5000 results (depending on what wiki
you're on). I'm going to do some profiling/optimization on the query
though and see if it would be possible to remove the 'expensive'
designation, which would allow retrieving all the disambiguation pages.
Ryan Kaldari
Wasn't the expensive designation due to the use of multiple
templatelinks in the query? Now that page_props are being used instead
the expensive bit might go away
I've optimized the query so that it is no longer expensive. Just needs
code review: