r42721 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42720‎ | r42721 | r42722 >
Date:09:24, 28 October 2008
Author:nicdumz
Status:old
Tags:
Comment:
Adding function hook for numberofviews
Modified paths:
  • /trunk/phase3/includes/parser/CoreParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/CoreParserFunctions.php
@@ -35,6 +35,7 @@
3636 $parser->setFunctionHook( 'numberofadmins', array( __CLASS__, 'numberofadmins' ), SFH_NO_HASH );
3737 $parser->setFunctionHook( 'numberingroup', array( __CLASS__, 'numberingroup' ), SFH_NO_HASH );
3838 $parser->setFunctionHook( 'numberofedits', array( __CLASS__, 'numberofedits' ), SFH_NO_HASH );
 39+ $parser->setFunctionHook( 'numberofviews', array( __CLASS__, 'numberofviews' ), SFH_NO_HASH );
3940 $parser->setFunctionHook( 'language', array( __CLASS__, 'language' ), SFH_NO_HASH );
4041 $parser->setFunctionHook( 'padleft', array( __CLASS__, 'padleft' ), SFH_NO_HASH );
4142 $parser->setFunctionHook( 'padright', array( __CLASS__, 'padright' ), SFH_NO_HASH );

Status & tagging log