Made Parser::addTrackingCategory() public to benefit tag hooks/parser functions devel...
authorMax Semenik <maxsem@users.mediawiki.org>
Wed, 11 Jan 2012 15:42:29 +0000 (15:42 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Wed, 11 Jan 2012 15:42:29 +0000 (15:42 +0000)
includes/parser/Parser.php

index 19e4b8e..51751aa 100644 (file)
@@ -3853,7 +3853,7 @@ class Parser {
         * @param $msg String: message key
         * @return Boolean: whether the addition was successful
         */
-       protected function addTrackingCategory( $msg ) {
+       public function addTrackingCategory( $msg ) {
                if ( $this->mTitle->getNamespace() === NS_SPECIAL ) {
                        wfDebug( __METHOD__.": Not adding tracking category $msg to special page!\n" );
                        return false;