Module:Remove parentheses: Difference between revisions
From Amaranth Legacy, available at amaranth-legacy.community
More actions
Content deleted Content added
Tesinormed (talk | contribs) Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame) if not args['scope'] then error('"scope" argument is required') end local scope = args['scope'] return frame:callParserFunction('DISPLAYTITLE', 'a' .. mw.title.getCurrentTitle()) end return p" |
Tesinormed (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
local scope = args['scope'] |
local scope = args['scope'] |
||
return frame:callParserFunction('DISPLAYTITLE', 'a' .. mw.title.getCurrentTitle()) |
return frame:callParserFunction('DISPLAYTITLE', 'a' .. mw.title.getCurrentTitle().fullText) |
||
end |
end |
||
Revision as of 17:26, January 28, 2025
Removes parentheses in a page title; used by Template:Remove parentheses