Anonymous user
Module:Redirect template: Difference between revisions
fix bug reported on VPT
m (Protected Module:Redirect template: Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
(fix bug reported on VPT) |
||
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.
args.name and getPrettyName(args) or '',
args.from and (' from ' .. args.from) or '',
|