تغییرات
پرش به ناوبری
پرش به جستجو
جزسطر ۱۵:
سطر ۱۵:
− +
سطر ۵۰۸:
سطر ۵۰۸:
− +
Changed protection level for "Module:String": Cascade-protected from main page, so no point in enabling TE ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
error_category: If an error occurs, specifies the name of a category to
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
include with the error message. The default category is
[Category:خطاهای گزارششده توسط پودمان String].
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
no_category: If set to 'true' or 1, no category will be added if an error
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 'خطاهای گزارششده توسط پودمان String'
local error_category = frame.args.error_category or 'Errors reported by Module 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