Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -682,10 +682,8 @@ |
683 | 683 | * @param $matches Out parameter, Array: extracted tags |
684 | 684 | * @param $uniq_prefix |
685 | 685 | * @return String: stripped text |
686 | | - * |
687 | | - * @static |
688 | 686 | */ |
689 | | - public function extractTagsAndParams( $elements, $text, &$matches, $uniq_prefix = '' ) { |
| 687 | + public static function extractTagsAndParams( $elements, $text, &$matches, $uniq_prefix = '' ) { |
690 | 688 | static $n = 1; |
691 | 689 | $stripped = ''; |
692 | 690 | $matches = array(); |
— | — | @@ -5117,7 +5115,7 @@ |
5118 | 5116 | function replaceTransparentTags( $text ) { |
5119 | 5117 | $matches = array(); |
5120 | 5118 | $elements = array_keys( $this->mTransparentTagHooks ); |
5121 | | - $text = $this->extractTagsAndParams( $elements, $text, $matches, $this->mUniqPrefix ); |
| 5119 | + $text = self::extractTagsAndParams( $elements, $text, $matches, $this->mUniqPrefix ); |
5122 | 5120 | |
5123 | 5121 | foreach ( $matches as $marker => $data ) { |
5124 | 5122 | list( $element, $content, $params, $tag ) = $data; |