Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -231,8 +231,6 @@ |
232 | 232 | * If an edit summary exceeds 250 bytes and is truncated, add an ellipse. |
233 | 233 | * (bug 26638) Database error pages display correctly in RTL languages. |
234 | 234 | * (bug 26187) Confirmrecreate no longer parses the edit summary. |
235 | | -* (bug 25506) Exception is thrown if OutputPage::parse is called inside a tag |
236 | | - hook, which would reset parser state. |
237 | 235 | * (bug 26208) Mark directionality of some interlanguage links. |
238 | 236 | * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain |
239 | 237 | selected when the action is "purge". |
Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1465,13 +1465,6 @@ |
1466 | 1466 | * @return String: HTML |
1467 | 1467 | */ |
1468 | 1468 | public function parse( $text, $linestart = true, $interface = false, $language = null ) { |
1469 | | - // Check one for one common cause for parser state resetting |
1470 | | - $callers = wfGetAllCallers( 10 ); |
1471 | | - if ( strpos( $callers, 'Parser::extensionSubstitution' ) !== false ) { |
1472 | | - throw new MWException( "wfMsg* function with parsing cannot be used " . |
1473 | | - "inside a tag hook. Should use parser->recursiveTagParse() instead" ); |
1474 | | - } |
1475 | | - |
1476 | 1469 | global $wgParser; |
1477 | 1470 | |
1478 | 1471 | if( is_null( $this->getTitle() ) ) { |