(bug 11562) API: Added a user_registration parameter/field to the list=allusers query...
[lhc/web/wiklou.git] / includes / SpecialUnusedtemplates.php
index 033066d..79e99f3 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 /**
+ * implements Special:Unusedtemplates
  * @author Rob Church <robchur@gmail.com>
  * @copyright © 2006 Rob Church
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
@@ -36,8 +37,7 @@ class UnusedtemplatesPage extends QueryPage {
        }
 
        function getPageHeader() {
-               global $wgOut;
-               return $wgOut->parse( wfMsg( 'unusedtemplatestext' ) );
+               return wfMsgExt( 'unusedtemplatestext', array( 'parse' ) );
        }
 
 }
@@ -48,4 +48,4 @@ function wfSpecialUnusedtemplates() {
        $utp->doQuery( $offset, $limit );
 }
 
-?>
+