"मोड्युल:Effective protection expiry" का संशोधनहरू बिचको अन्तर

Jump to navigation Jump to search
don't error if the page isn't under PC
(using mw.ext.FlaggedRevs.getStabilitySettings(title) to get expiry for FlaggedRevs)
(don't error if the page isn't under PC)
pagename = title.prefixedText
if action == 'autoreview' then
returnlocal stabilitySettings = mw.ext.FlaggedRevs.getStabilitySettings(title).expiry
return stabilitySettings and stabilitySettings.expiry or 'unknown'
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then
error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 )

edits

"https://ne.wikipedia.org/wiki/विशेष:MobileDiff/574644" बाट अनुप्रेषित

पथप्रदर्शन विकल्प