Index: trunk/phase3/includes/parser/ParserOutput.php |
— | — | @@ -158,6 +158,8 @@ |
159 | 159 | if ( $this->mEditSectionTokens ) { |
160 | 160 | return preg_replace_callback( ParserOutput::EDITSECTION_REGEX, |
161 | 161 | array( &$this, 'replaceEditSectionLinksCallback' ), $this->mText ); |
| 162 | + } else { |
| 163 | + return preg_replace( ParserOutput::EDITSECTION_REGEX, '\3', $this->mText ); |
162 | 164 | } |
163 | 165 | return $this->mText; |
164 | 166 | } |