Module:String: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Add "rep" function per request by User:קיפודנחש at Wikipedia:Lua requests#Template:Loop and Template:Loop15. Copied from sandbox.)
pt>!Silent
m (Protegeu "Módulo:String": Módulo com impacto significativo em outras páginas ([Editar=Permitir apenas autorrevisores] (indefinidamente) [Mover=Permitir apenas autorrevisores] (indefinidamente)))
Line 423: Line 423:
function str._error( error_str )
function str._error( error_str )
local frame = mw.getCurrentFrame();
local frame = mw.getCurrentFrame();
local error_category = frame.args.error_category or 'Errors reported by Module String';
local error_category = frame.args.error_category or '!Erros reportados pelo Módulo String';
local ignore_errors = frame.args.ignore_errors or false;
local ignore_errors = frame.args.ignore_errors or false;
local no_category = frame.args.no_category or false;
local no_category = frame.args.no_category or false;