Module:DYK checklist and Module:DYK checklist/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
m Sentence case (per edit req) |
use require('strict') instead of require('Module:No globals') |
||
Line 10: | Line 10: | ||
-- Template for making collapsed sections. |
-- Template for making collapsed sections. |
||
local COLLAPSED_WIKITABLE = [[ |
local COLLAPSED_WIKITABLE = [[ |
||
{| class=" |
{| class="collapsible collapsed" border="1" style="border-collapse:collapse;" |
||
|- |
|- |
||
! style="font-weight:normal; " | %s |
! style="font-weight:normal; " | %s |
||
Line 168: | Line 168: | ||
local function makeGeneralEligibilitySection(args) |
local function makeGeneralEligibilitySection(args) |
||
return makeSection{ |
return makeSection{ |
||
unresolvedHeader = "'''General |
unresolvedHeader = "'''General eligiblity:'''", |
||
resolvedHeader = "'''General:''' Article is new enough and long enough", |
resolvedHeader = "'''General:''' Article is new enough and long enough", |
||
mainIssues = { |
mainIssues = { |
||
{ |
{ |
||
issue = '[[WP:Did you know#New|New |
issue = '[[WP:Did you know#New|New Enough]]', |
||
status = args.newness, |
status = args.newness, |
||
}, |
}, |
||
{ |
{ |
||
issue = '[[WP:Did you know#Long enough|Long |
issue = '[[WP:Did you know#Long enough|Long Enough]]', |
||
status = args.length, |
status = args.length, |
||
}, |
}, |
||
Line 219: | Line 219: | ||
-- Generate output |
-- Generate output |
||
return makeSection{ |
return makeSection{ |
||
unresolvedHeader = "'''Hook |
unresolvedHeader = "'''Hook eligiblity:'''", |
||
resolvedHeader = "'''Hook:''' Hook has been verified by provided inline citation", |
resolvedHeader = "'''Hook:''' Hook has been verified by provided inline citation", |
||
mainIssues = { |
mainIssues = { |
||
Line 347: | Line 347: | ||
'policyother', |
'policyother', |
||
'hookcited', |
'hookcited', |
||
'hookinterest', |
|||
'hookother', |
'hookother', |
||
'hookcited', |
|||
'picfree', |
'picfree', |
||
'picused', |
'picused', |