Module:Navbar: Difference between revisions

Content added Content deleted
Enwikipedia>Dragons flight
(also trap talk title)
Enwikipedia>Anomie
(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