On Tue, 13 Jul 2004 23:08:08 +0200
Emmanuel Engelhart <emmanuel(a)engelhart.org> wrote:
On wikipedia the MAX_INCLUDE_REPEAT limit (=5) in
Parser.php is
problematic. I propose to change the sens of this constraint from
"max template inclusions" to "max different template inclusions".
To solve the memory usage problem, we could use a tempory table
containing the previously loaded templates in the article ? So, each
template replicated x time in an article would generate only one SQL
request.
An opinion ?
As Attachment, a very simple patch which implements this idea.
Emmanuel Engelhart
--
-------------------------------------------------------------------------
Sitôt que les hommes sont en société, ils perdent le sentiment de
leur faiblesse ; l'égalité qui était en eux cesse, et l'état de
guerre commence. Montesquieu, "de l'esprit des lois" livre I/III
-------------------------------------------------------------------------
Emmanuel Engelhart ICQ UIN : 53388731 TEL (+49)(0)6.22.15.88.03.31