Merge "Adding param documentation for Parser::internalParse()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 18 Apr 2016 07:30:53 +0000 (07:30 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 18 Apr 2016 07:30:53 +0000 (07:30 +0000)
1  2 
includes/parser/Parser.php

@@@ -1115,7 -1115,7 +1115,7 @@@ class Parser 
  
                                // Implies both are valid for table headings.
                                if ( $first_character === '!' ) {
 -                                      $line = str_replace( '!!', '||', $line );
 +                                      $line = StringUtils::replaceMarkup( '!!', '||', $line );
                                }
  
                                # Split up multiple cells on the same line.
         *
         * @private
         *
-        * @param string $text
-        * @param bool $isMain
-        * @param PPFrame|bool $frame
+        * @param string $text The text to parse
+        * @param bool $isMain Whether this is being called from the main parse() function
+        * @param PPFrame|bool $frame A pre-processor frame
         *
         * @return string
         */