https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Effective_protection_expiry&feed=atom&action=history
Module:Effective protection expiry - Revision history
2024-03-28T16:26:54Z
Revision history for this page on the wiki
MediaWiki 1.41.0
https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Effective_protection_expiry&diff=26478&oldid=prev
Johnrdorazio: 1 revision imported
2022-10-23T14:10:32Z
<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:10, October 23, 2022</td>
</tr><tr><td colspan="4" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr>
<!-- diff cache key seminaverbi_en:diff:1.41:old-26477:rev-26478 -->
</table>
Johnrdorazio
https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Effective_protection_expiry&diff=26477&oldid=prev
en>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))
2022-02-23T10:59:29Z
<p>Changed protection settings for "<a href="/wiki/Module:Effective_protection_expiry" title="Module:Effective protection expiry">Module:Effective protection expiry</a>": used in the mediawiki interface / match <a href="/wiki/Module:Effective_protection_level" title="Module:Effective protection level">Module:Effective protection level</a> ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:59, February 23, 2022</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
en>Xaosflux
https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Effective_protection_expiry&diff=270&oldid=prev
Johnrdorazio: 1 revision imported
2020-08-21T10:10:45Z
<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:10, August 21, 2020</td>
</tr><tr><td colspan="4" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr>
<!-- diff cache key seminaverbi_en:diff:1.41:old-269:rev-270 -->
</table>
Johnrdorazio
https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Effective_protection_expiry&diff=269&oldid=prev
en>MusikAnimal: 1 revision imported
2020-04-01T06:12:42Z
<p>1 revision imported</p>
<p><b>New page</b></p><div>local p = {}<br />
<br />
-- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known.<br />
-- If no title is specified, the title of the page being displayed is used.<br />
function p._main(action, pagename)<br />
local title<br />
if type(pagename) == 'table' and pagename.prefixedText then<br />
title = pagename<br />
elseif pagename then<br />
title = mw.title.new(pagename)<br />
else<br />
title = mw.title.getCurrentTitle()<br />
end<br />
pagename = title.prefixedText<br />
if action == 'autoreview' then<br />
local stabilitySettings = mw.ext.FlaggedRevs.getStabilitySettings(title)<br />
return stabilitySettings and stabilitySettings.expiry or 'unknown'<br />
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then<br />
error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 )<br />
end<br />
local rawExpiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename)<br />
if rawExpiry == 'infinity' then<br />
return 'infinity'<br />
elseif rawExpiry == '' then<br />
return 'unknown'<br />
else<br />
local year, month, day, hour, minute, second = rawExpiry:match(<br />
'^(%d%d%d%d)(%d%d)(%d%d)(%d%d)(%d%d)(%d%d)$'<br />
)<br />
if year then<br />
return string.format(<br />
'%s-%s-%sT%s:%s:%s',<br />
year, month, day, hour, minute, second<br />
)<br />
else<br />
error('internal error in Module:Effective protection expiry; malformed expiry timestamp')<br />
end<br />
end<br />
end<br />
<br />
setmetatable(p, { __index = function(t, k)<br />
return function(frame)<br />
return t._main(k, frame.args[1])<br />
end<br />
end })<br />
<br />
return p</div>
en>MusikAnimal