Module:Contentious topics/talk notice: Difference between revisions

Content deleted Content added
Fix Linter errors.
 
(2 intermediate revisions by the same user not shown)
Line 239:
.. ' relate to <b>'
.. getTopicBlurb(topic)
.. '</b>, a contentious topic.</p>')
end
else
addToMessage(' This ' .. articleOrPage .. ' relates to <b>'
.. getTopicBlurb(completeTopics[1])
.. '</b>, a contentious topic.</p>'
)
end
Line 283:
if yesno(scope, nil) == nil then
-- the scope is not a boolean value, so we have a free-text explanation of the applicable parts
addToMessage(', in particular the parts about <b>' .. scope .. '</b>.')
else
addToMessage('.')
end
addToMessage('.</p>')
end
end
Line 327 ⟶ 326:
if not yesno(args.brief) then
addToMessage(' <p>Editors who repeatedly or seriously fail to adhere to the [[WP:Five pillars|purpose of Wikipedia]], '
.. 'any expected [[WP:Etiquette|standards of behaviour]], '
.. 'or any [[WP:List of policies|normal editorial process]] may be blocked or restricted by an administrator.</p>')
Line 421 ⟶ 420:
 
-- set the tracking category
unknownParameterTable['unknown'] = '[[Category:' .. categoryDatabase['unknown'] .. '|_VALUE_' .. currentTitleObject.text .. ']]'
-- an finally, call the unknownParameterCheck