From 9cd25c1e2ddcde1c6b410599663943e3079cd066 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 15 Jan 2007 16:03:27 +0000 Subject: [PATCH] Parser::parse() a) is used by Article, CoreParserFunctions, EditPage, JobQueue, OutputPage, and SkinTemplate; and b) is listed as an entry point in the Parser class documentations. I don't think it's very @private. --- includes/Parser.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 32c3fc961f..f8577f9f4e 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -262,7 +262,6 @@ class Parser * Convert wikitext to HTML * Do not call this function recursively. * - * @private * @param string $text Text we want to parse * @param Title &$title A title object * @param array $options @@ -271,7 +270,7 @@ class Parser * @param int $revid number to pass in {{REVISIONID}} * @return ParserOutput a ParserOutput */ - function parse( $text, &$title, $options, $linestart = true, $clearState = true, $revid = null ) { + public function parse( $text, &$title, $options, $linestart = true, $clearState = true, $revid = null ) { /** * First pass--just handle sections, pass the rest off * to internalParse() which does all the real work. -- 2.20.1