https://bugzilla.wikimedia.org/show_bug.cgi?id=41268

Markus Krötzsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
            Summary|Nesting of templates        |Documentation missing for
                   |withing ask-queries         |parameter
                   |(format=template) is        |SMWResultPrinter::$maxRecur
                   |limited to 2 template       |sionDepth (limits #ask
                   |levels (SMW 1.7.1)          |transclusion nesting depth)
           Severity|major                       |minor

--- Comment #1 from Markus Krötzsch <[email protected]> 2012-10-22 
17:11:44 UTC ---
This is an omission in the documentation. The template nesting depth can be
controlled with the parameter SMWResultPrinter::$maxRecursionDepth (in
LocalSetting.php; to be set only after enableSemantics() was called; else the
class won't be known).

The default of 2 is chosen since the total length of pages grows exponentially
in this number. If the wikitext is too large, PHP will run out of memory, the
page will appear blank and be hard to edit to correct the problem. This should
be avoided by default. If you know what you are doing, feel free to increase
the number to a higher value. It would be good to document this setting under
http://semantic-mediawiki.org/wiki/Help:Configuration, and maybe also have
pointers from the affected formats template and embedded.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to