drop the loop number to 3, 10 seems a bit much..

master
joey 2006-08-31 19:47:41 +00:00
parent 999559cbc9
commit 575cfa085c
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ sub preprocess ($$$) { #{{{
push @params, $val, '';
}
}
if ($preprocessing{$page}++ > 10) {
if ($preprocessing{$page}++ > 3) {
# Avoid loops of preprocessed pages preprocessing
# other pages that preprocess them, etc.
return "[[$command preprocessing loop detected on $page at depth $preprocessing{$page}]]";