Module:High-use and Module:High-use/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Fix fetch=no and no-percent=yes |
concision |
||
Line 45: | Line 45: | ||
no_percent = no_percent or args['no-percent'] |
no_percent = no_percent or args['no-percent'] |
||
if count and count > 250000 and not yesno (no_percent) then |
if count and count > 250000 and not yesno (no_percent) then |
||
local |
local = mw.getCurrentFrame():callParserFunction('NUMBEROFPAGES', 'R') |
||
local |
local = math.floor( ( ( count/ ) * 100) + 0.5) |
||
⚫ | |||
local num_mainspace_pages = mw.getCurrentFrame():callParserFunction('NUMBEROFARTICLES', 'R') |
|||
⚫ | |||
local mainspace_percent = math.floor( ( ( count/num_mainspace_pages ) * 100) + 0.5) |
|||
⚫ | |||
⚫ | |||
end |
end |
||
end |
end |
||
end |
end |