Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:WindBOT/CoreSource: Difference between revisions

From the Portal Wiki
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(linklist[i], template):
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)