The page size is bigger than $wgMaxArticleSize after expanding all the templates, so some templates were not expanded.
$wgMaxArticleSize