dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Convert Special:DeletedContributions to use OOUI."
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialMostlinkedcategories.php
diff --git
a/includes/specials/SpecialMostlinkedcategories.php
b/includes/specials/SpecialMostlinkedcategories.php
index
3ead08a
..
41678cb
100644
(file)
--- a/
includes/specials/SpecialMostlinkedcategories.php
+++ b/
includes/specials/SpecialMostlinkedcategories.php
@@
-59,18
+59,7
@@
class MostlinkedCategoriesPage extends QueryPage {
* @param ResultWrapper $res
*/
function preprocessResults( $db, $res ) {
* @param ResultWrapper $res
*/
function preprocessResults( $db, $res ) {
- if ( !$res->numRows() ) {
- return;
- }
-
- $batch = new LinkBatch;
- foreach ( $res as $row ) {
- $batch->add( NS_CATEGORY, $row->title );
- }
- $batch->execute();
-
- // Back to start for display
- $res->seek( 0 );
+ $this->executeLBFromResultWrapper( $res );
}
/**
}
/**