Throw an error if calling parser recursively
authorBrian Wolff <bawolff+wn@gmail.com>
Sun, 27 Oct 2013 20:18:06 +0000 (17:18 -0300)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 9 May 2014 07:53:21 +0000 (09:53 +0200)
commit5a81ad0e8a698cb3e9c6b513b2003b198d5c00a1
tree78e5ae666f6e12e19cb92efd5c6d92f8d99cc3d7
parent767b1d8574716e59852c701e514c2d449d92664b
Throw an error if calling parser recursively

People accidentally (or sometimes intentionally) calling the
parser recursively has been a major source of bugs over the
years. I think its much better to fail suddenly, instead
of having unclear signs like UNIQ's all over the place.

Change-Id: I0e42aa69835c15a5df7aecb0dc5c3dec946bdf6a
RELEASE-NOTES-1.24
includes/parser/Parser.php
tests/phpunit/includes/parser/ParserMethodsTest.php