Merge "Special:RC tests: ignore order when asserting conditions"
[lhc/web/wiklou.git] / includes / specials / SpecialUnusedcategories.php
index 45efaf3..ec39ccf 100644 (file)
@@ -70,10 +70,14 @@ class UnusedCategoriesPage extends QueryPage {
        function formatResult( $skin, $result ) {
                $title = Title::makeTitle( NS_CATEGORY, $result->title );
 
-               return Linker::link( $title, htmlspecialchars( $title->getText() ) );
+               return $this->getLinkRenderer()->makeLink( $title, $title->getText() );
        }
 
        protected function getGroupName() {
                return 'maintenance';
        }
+
+       public function preprocessResults( $db, $res ) {
+               $this->executeLBFromResultWrapper( $res );
+       }
 }