simplify query for faster performance
Updates for Special:WantedPage have been disabled on en.wikibooks. I tried asking on #mediawiki-tech, yesterday and was told it was probably due to being inefficient. Since updates to Special:WantedCategories are still being allowed currently, I propose simplifying Special:WantedPages since that would appear to be the reason.
I have included an attached patch which I believe does simplify the query and reduces the performance impact, without reducing functionality.
attachment simplify_wantedpages.patch ignored as obsolete