diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index dbbe93ec69a..cac07a1de6c 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -499,11 +499,9 @@ class Parser * are removed, but templates arguments and parser functions are untouched. * * This is not called by the parser itself, see braceSubstitution for its transclusion. - * - * @public */ - function getTransclusionText( $title ) { - list($text, $title) = $this->getTemplateDom( $title ); + public function getTransclusionText( $title ) { + list( $text, $title ) = $this->getTemplateDom( $title ); $flags = PPFrame::NO_ARGS | PPFrame::NO_TEMPLATES; return $this->getPreprocessor()->newFrame()->expand( $text, $flags ); }