(bug 18151) Clean up duplicate code between Special:WantedPages, WantedFiles, WantedT...