* Fixed template loop check, broken by changes in parse order
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 11 Jan 2008 03:25:41 +0000 (03:25 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 11 Jan 2008 03:25:41 +0000 (03:25 +0000)
commitc0c8bc506b8a203c44f26b60442153921d15c43f
tree0a98eebad6e82690788a0f66cb2ab2bba688b9df
parent09cfa64fa0275afe6ed90afae84af7405371494c
* Fixed template loop check, broken by changes in parse order
* Added template recursion depth limit. It needs a small limit, because of exorbitant stack space usage, xdebug compatibility problems, and the potential for O(N^2) memory usage in the template loop check.
* Made these two error messages more obvious in the parser output, with <span class="error"> instead of a comment. This is similar to the #expr error messages, which seem to have been well received by our template programmer community.
includes/DefaultSettings.php
includes/Parser.php
includes/ParserOptions.php