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