11.314
suntingan
dw>Xaosflux k (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))) |
(←Membuat halaman berisi 'local p = {} -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action...') |
||
Baris 34: | Baris 34: | ||
) | ) | ||
else | else | ||
error('internal error in | error('internal error in Modul:Effective protection expiry; malformed expiry timestamp') | ||
end | end | ||
end | end |