Move LinkBatch operations for QueryPage to a helper function
authorFlorian Schmidt <florian.schmidt.stargatewissen@gmail.com>
Sat, 29 Oct 2016 20:46:17 +0000 (22:46 +0200)
committerFlorian Schmidt <florian.schmidt.stargatewissen@gmail.com>
Sat, 29 Oct 2016 21:09:06 +0000 (23:09 +0200)
commit88db9249f2e7fcbcb73ffacd7b49fefb9c09e624
treeb4ac09640af36f1e8d544dce15001ed993b8d292
parent000b60bd8a8586bfc2c8db67a65fa3ffe21e9e80
Move LinkBatch operations for QueryPage to a helper function

This is easier to maintain as duplicated code everywhere.

This change also adds LinkBatch operations to specialpages, that does
not had it so far, but where it's useful.

Change-Id: I4936ecfb2be3a7709d99570c0561ab0cc9cd754f
16 files changed:
includes/specialpage/PageQueryPage.php
includes/specialpage/QueryPage.php
includes/specialpage/WantedQueryPage.php
includes/specials/SpecialAncientpages.php
includes/specials/SpecialBrokenRedirects.php
includes/specials/SpecialLinkSearch.php
includes/specials/SpecialListDuplicatedFiles.php
includes/specials/SpecialMIMEsearch.php
includes/specials/SpecialMediaStatistics.php
includes/specials/SpecialMostcategories.php
includes/specials/SpecialMostinterwikis.php
includes/specials/SpecialMostlinked.php
includes/specials/SpecialMostlinkedcategories.php
includes/specials/SpecialMostlinkedtemplates.php
includes/specials/SpecialShortpages.php
includes/specials/SpecialUnusedcategories.php