Adding function hook for numberofviews
authorNicolas Dumazet <nicdumz@users.mediawiki.org>
Tue, 28 Oct 2008 09:24:52 +0000 (09:24 +0000)
committerNicolas Dumazet <nicdumz@users.mediawiki.org>
Tue, 28 Oct 2008 09:24:52 +0000 (09:24 +0000)
includes/parser/CoreParserFunctions.php

index e5fb65e..6465cc1 100644 (file)
@@ -35,6 +35,7 @@ class CoreParserFunctions {
                $parser->setFunctionHook( 'numberofadmins',   array( __CLASS__, 'numberofadmins'   ), SFH_NO_HASH );
                $parser->setFunctionHook( 'numberingroup',    array( __CLASS__, 'numberingroup'    ), SFH_NO_HASH );
                $parser->setFunctionHook( 'numberofedits',    array( __CLASS__, 'numberofedits'    ), SFH_NO_HASH );
+               $parser->setFunctionHook( 'numberofviews',    array( __CLASS__, 'numberofviews'    ), SFH_NO_HASH );
                $parser->setFunctionHook( 'language',         array( __CLASS__, 'language'         ), SFH_NO_HASH );
                $parser->setFunctionHook( 'padleft',          array( __CLASS__, 'padleft'          ), SFH_NO_HASH );
                $parser->setFunctionHook( 'padright',         array( __CLASS__, 'padright'         ), SFH_NO_HASH );