File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -944,13 +944,12 @@ def analyze_templates(
944
944
included_map : defaultdict [str , set [str ]] = defaultdict (set )
945
945
946
946
for page in self .get_all_pages ([template_ns_id ]):
947
- if page .body is not None :
948
- used_templates , pre_expand = check_template_func (self , page )
949
- for used_template in used_templates :
950
- included_map [used_template ].add (page .title )
951
- if pre_expand :
952
- self .set_template_pre_expand (page .title )
953
- expand_stack .append (page )
947
+ used_templates , pre_expand = check_template_func (self , page )
948
+ for used_template in used_templates :
949
+ included_map [used_template ].add (page .title )
950
+ if pre_expand :
951
+ self .set_template_pre_expand (page .title )
952
+ expand_stack .append (page )
954
953
955
954
# XXX consider encoding template bodies here (also need to save related
956
955
# cookies). This could speed up their expansion, where the first
You can’t perform that action at this time.
0 commit comments