Jump to content

Module:Documentation: Difference between revisions

don't use title error message
m>Mr. Stradivarius
(convert a stray message name)
m>Mr. Stradivarius
(don't use title error message)
Line 195: Line 195:
if titleArg then
if titleArg then
title = mw.title.new(titleArg)
title = mw.title.new(titleArg)
if not title then
error(message('title-arg-error', {titleArg}))
end
else
else
title = mw.title.getCurrentTitle()
title = mw.title.getCurrentTitle()
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.