Parser::parse() a) is used by Article, CoreParserFunctions, EditPage, JobQueue, Outpu...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 15 Jan 2007 16:03:27 +0000 (16:03 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 15 Jan 2007 16:03:27 +0000 (16:03 +0000)
includes/Parser.php

index 32c3fc9..f8577f9 100644 (file)
@@ -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 <nowiki> sections, pass the rest off
                 * to internalParse() which does all the real work.