From 10263f3f68859f75be242a3b851c145c13194a24 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet Date: Tue, 28 Oct 2008 09:24:52 +0000 Subject: [PATCH] Adding function hook for numberofviews --- includes/parser/CoreParserFunctions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index e5fb65e79e..6465cc1ed2 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -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 ); -- 2.20.1