Module:Navbar: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(also trap talk title)
(Let's not assume the error is because of the expensive function limit, it could be something else. Especially for people who import this module into MW 1.21 installations.)
Line 46: Line 46:
good, title, talk_title = pcall( getTitle, args[1] );
good, title, talk_title = pcall( getTitle, args[1] );
if not good then
if not good then
return error('Expensive parser function limit exceeded');
return error(title);
end
end