Bureaucrats, coding, Administrators
2,634
edits
(Support non-link/template returning in links and template filters. Necessary for link -> template conversion.) |
mNo edit summary |
||
Line 745: | Line 745: | ||
f, params = f | f, params = f | ||
for i in range(len(templatelist)): | for i in range(len(templatelist)): | ||
if templatelist[i] is not None and isinstance( | if templatelist[i] is not None and isinstance(templatelist[i], template): | ||
oldTemplate = u(templatelist[i]) | oldTemplate = u(templatelist[i]) | ||
templatelist[i] = f(templatelist[i], **kwargs) | templatelist[i] = f(templatelist[i], **kwargs) |