Navigation menu

Module:High-use: Difference between revisions

From Video Credit Archive

Remove all pages parameter as there should be no need to set that manually
wikpedia>GKFX
(couple of mistakes)
wikpedia>GKFX
(Remove all pages parameter as there should be no need to set that manually)
Line 34:
end
-- Insert percentpercentage of pages if that is likely to be >= 1%
if frame.args["all-pages"]count and frame.args["all-pages"]count ~=> ""250000 then
local percent = math.floor( ( (count/frame:callParserFunction('NUMBEROFPAGES', 'R') ) * 100) + 0.5)
return_value = string.format("%s pages, or roughly %s%% of all", return_value, percent)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.