Content deleted Content added
m replace deprecated "Image:" with "File:" |
Newslinger (talk | contribs) Close added "p" tags |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 141:
:css('font-size', '120%')
:wikitext("'''WARNING: ACTIVE COMMUNITY SANCTIONS'''")
end▼
if hasRestrictions then▼
:tag('p')
:wikitext("The article [[:{{SUBJECTPAGENAME}}]], along with other pages relating to "..topic:get('scope')..", is
else
out
:tag('p')
:wikitext("<strong>The use of the [[Wikipedia:
end
Line 160 ⟶ 157:
restrictionList
:tag('li')
:wikitext("'''Limit of one revert in 24 hours:''' This article is under [[Wikipedia:Edit warring#Other revert rules|WP:1RR]] (one [[Wikipedia:Reverting|revert]] per editor per article ''per 24-hour period'') [[Category:Wikipedia pages subject to a one-revert restriction]]")
end
Line 167 ⟶ 164:
restrictionList
:tag('li')
:wikitext("'''Consensus required:''' All editors must obtain [[WP:Consensus|consensus]] on the talk page of this article before reinstating ''any edits that have been challenged (via reversion).'' This includes making edits similar to the ones that have been challenged. If in doubt, do not make the edit. [[Category:Wikipedia pages subject to a consensus required restriction]]")
end
Line 173 ⟶ 170:
restrictionList
:tag('li')
:wikitext("'''24-hr [[Wikipedia:BOLD, revert, discuss cycle|BRD cycle]]:''' If a change you make to this article is reverted, you may not reinstate that change unless you discuss the issue on the talk page and wait 24 hours (from the time of the original edit). Partial reverts/reinstatements that reasonably address objections of other editors [[Wikipedia:BOLD, revert, discuss cycle#WP:BRR|are preferable]] to wholesale reverts. [[Category:Wikipedia pages subject to an enforced BRD restriction]]")
end
Line 202 ⟶ 199:
local enforcementProcedures = mw.html.create('ul')
:tag('li')▼
:wikitext("Violations of any restrictions " .. (hasRevertRestrictions and "(excluding 1RR/reverting violations) " or "") .. "and other conduct issues should be reported to the [[Wikipedia:Administrators' noticeboard/Incidents|administrators' incidents noticeboard]]." .. (hasRevertRestrictions and " Violations of revert restrictions should be reported to the [[Wikipedia:Administrators' noticeboard/Edit warring|administrators' edit warring noticeboard]]." or ""))▼
▲ :done()
:tag('li')▼
:wikitext("Editors who violate any listed restrictions may be blocked by any uninvolved administrator, even on a first offense.")▼
:done()▼
:tag('li')▼
:done()▼
end▼
enforcementProcedures
:tag('li')
▲
:wikitext("An editor must be [[Wikipedia:Arbitration_Committee/Discretionary_sanctions#Awareness|aware]] before they can be sanctioned.")▼
▲
▲ :wikitext("An editor must be [[Wikipedia:
:allDone()
furtherInfo:node(enforcementProcedures)
Line 260 ⟶ 248:
local box = messageBox.main( 'tmbox', {
type = '
image = type == 'long' and '[[File:Commons-emblem-issue.svg|50px]]' or '[[File:Commons-emblem-hand-orange.svg|40px]]',
text = frame:preprocess(tostring(out))
Line 274 ⟶ 262:
-- @returns String representation of notice
local function buildAlert(frame, topic, sig)
local hasRestrictions = topic:hasAnyRestrictions()
local restrictionIntro
local restrictionList
▲ if hasRestrictions then
restrictionIntro = mw.html.create('p')
restrictionIntro:wikitext("Additionally, the following restriction(s) apply to this topic area:")
restrictionList = mw.html.create('ul')
if topic:hasRestriction('1rr') then
restrictionList
:wikitext("All articles in this topic area are under [[Wikipedia:Edit warring#Other revert rules|WP:1RR]] (a limit of one [[Wikipedia:Reverting|revert]] per editor per article per 24-hour period). When in doubt, assume an edit is related and so is a revert. Clear vandalism of whatever origin may be reverted without restriction. Reverts of edits made by anonymous IP editors that are not vandalism are exempt from 1RR but are subject to the usual rules on edit warring. Editors who otherwise violate this 1RR restriction may be blocked without warning by any uninvolved administrator, even on a first offence.")
local customRestrictions = topic:getCustomRestrictions()
for _, v in ipairs(customRestrictions) do
restrictionList
:tag('li')
end
▲ end
local out = mw.html.create('table')
:addClass('gs-alert')
Line 285 ⟶ 297:
:done()
:tag('td')
:tag('p')
:wikitext("This is a standard message to notify contributors about an administrative ruling in effect. ''It does '''not''' imply that there are any issues with your contributions to date.''")
▲ :newline()
:done()
:wikitext("You have shown interest in ".. topic:get('scope') ..". Due to past disruption in this topic area, the community has authorised uninvolved administrators to impose [[Wikipedia:Arbitration Committee/Discretionary sanctions|discretionary sanctions]]—such as [[Wikipedia:Editing restrictions#Types of restrictions|editing restrictions]], [[Wikipedia:Banning policy#Types of bans|bans]], or [[WP:Blocking policy|blocks]]—on editors who do not strictly follow [[Wikipedia:List of policies|Wikipedia's policies]], expected [[Wikipedia:Etiquette|standards of behaviour]], or the [[Wikipedia:Arbitration_Committee/Discretionary_sanctions#Page_restrictions|page-specific restrictions]], when making edits related to the topic.")▼
:
▲ :wikitext("You have shown interest in ".. topic:get('scope') ..". Due to past disruption in this topic area, the community has authorised uninvolved administrators to impose [[Wikipedia:
:wikitext("For additional information, please see the [[".. topic:get('wikilink') .."|guidance on these sanctions]]. If you have any questions, or any doubts regarding what edits are appropriate, you are welcome to discuss them with me or any other editor." .. (sig and ' '..sig or ''))▼
:done()
:node(restrictionIntro)
:node(restrictionList)
:tag('p')
▲ :wikitext("For additional information, please see the [[".. topic:get('wikilink') .."|guidance on these sanctions]]. If you have any questions, or any doubts regarding what edits are appropriate, you are welcome to discuss them with me or any other editor." .. (sig and ' '..sig or ''))
:done()
return frame:preprocess(tostring(out))
Line 298 ⟶ 316:
local enHeader = mw.html.create('')
local restrictionMsgs = {}
local expiry = args['expiry'] or 'indefinite'
local redirect = args['redirect'] or ''
if topic:hasRestriction('1rr') then
Line 328 ⟶ 348:
enText
:tag('p')
:wikitext("<strong>Breaching the restriction on this page may result in a block or other sanctions.</strong> In addition, please note that because this topic area has been disrupted in the past, the community has [["..topic:get('wikilink').."|authorised]] administrators to take [[Wikipedia:
:done()
local editnotice = frame:expandTemplate{ title = 'editnotice', args = {
expiry =
headerstyle = "font-size: 120%;",
style = "background: ivory;",
image = "Commons-emblem-issue.svg",
imagesize = "50px",
redirect = tostring(redirect),
header = tostring(enHeader),
text = tostring(enText)
Line 382 ⟶ 403:
return frame:preprocess(syntaxHelp())
elseif not topic:hasRestriction('ds') then
return frame:preprocess('<span class="error">
end
Line 420 ⟶ 441:
:css('font-size', '9pt')
:css('background', 'transparent')
:css('color', 'inherit')
-- Headers
|