Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.
Revision as of 17:26, January 28, 2025 by Tesinormed (talk | contribs)

Removes parentheses in a page title; used by Template:Remove parentheses


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().fullText)
end

return p