Refactored parser output handling slightly, and added a hook function, to allow exten...
[lhc/web/wiklou.git] / includes / SpecialUnusedtemplates.php
index 8782b81..b33a24d 100644 (file)
@@ -9,9 +9,6 @@
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
  */
 
-/* */
-require_once 'QueryPage.php';
-
 /**
  * @package MediaWiki
  * @subpackage SpecialPage
@@ -43,7 +40,7 @@ class UnusedtemplatesPage extends QueryPage {
                        Title::makeTitle( NS_SPECIAL, 'Whatlinkshere' ),
                        wfMsgHtml( 'unusedtemplateswlh' ),
                        'target=' . $title->getPrefixedUrl() );
-               return( $pageLink . ' (' . $wlhLink . ')' );
+               return wfSpecialList( $pageLink, $wlhLink );
        }
 
        function getPageHeader() {
@@ -59,4 +56,4 @@ function wfSpecialUnusedtemplates() {
        $utp->doQuery( $offset, $limit );
 }
 
-?>
\ No newline at end of file
+?>