From: Max Semenik Date: Wed, 11 Jan 2012 15:42:29 +0000 (+0000) Subject: Made Parser::addTrackingCategory() public to benefit tag hooks/parser functions devel... X-Git-Tag: 1.31.0-rc.0~25347 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=b7e7a6c76ecca64693821777a3ddd524da8c868c;p=lhc%2Fweb%2Fwiklou.git Made Parser::addTrackingCategory() public to benefit tag hooks/parser functions developers --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 19e4b8e4d0..51751aac1d 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -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;