Anonymous user
Module:Redirect template: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
need a newline to keep Tidy from breaking everything
(need pairs) |
m (need a newline to keep Tidy from breaking everything) |
||
Line 44:
local namespace = mw.title.getCurrentTitle().namespace
local otherCategory = args['other category'] and (args.category or string.format('[[Category:%s]]', args['other category']))
local retval = string.format('*%sThis is a redirect%s%s. %s\n',
args.name and getPrettyName(args) or '',
args.from and (' from ' .. args.from) or '',
|