細
Changed protection settings for "Module:Effective protection expiry": used in the mediawiki interface / match Module:Effective protection level ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
bsd>ネイ 細 (「モジュール:Effective protection expiry」を保護しました: 影響が特に大きいテンプレート: 使用数9,300 ([編集=拡張承認された利用者と管理者に許可] (無期限) [移動=拡張承認された利用者と管理者に許可] (無期限))) |
bsd>Xaosflux 細 (Changed protection settings for "Module:Effective protection expiry": used in the mediawiki interface / match Module:Effective protection level ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))) |
||
17行目: | 17行目: | ||
return stabilitySettings and stabilitySettings.expiry or 'unknown' | return stabilitySettings and stabilitySettings.expiry or 'unknown' | ||
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then | elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then | ||
error( ' | error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 ) | ||
end | end | ||
local rawExpiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename) | local rawExpiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename) | ||
34行目: | 34行目: | ||
) | ) | ||
else | else | ||
error(' | error('internal error in Module:Effective protection expiry; malformed expiry timestamp') | ||
end | end | ||
end | end |