Module:High-use: Difference between revisions

imported>Zackmann08
updating approximate number of total pages. Per Special:Statistics today's count is 65,771,384.
 
imported>Paine Ellsworth
per edit request on talk page - update preview text
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
local lang_obj = mw.getContentLanguage() -- this here because the language object is used multiple places in the module
local lang_obj = mw.getContentLanguage() -- this here because the language object is used multiple places in the module
local large_count_cutoff = 100000
local large_count_cutoff = 100000
local approx_num_total_pages = 65700000
local approx_num_total_pages = 66000000


local user_subpage_info_page = 'Wikipedia:User pages#SUB'
local user_subpage_info_page = 'Wikipedia:User pages#SUB'
Line 129: Line 129:
if someone is actually editing the page and maybe trying to update the count.
if someone is actually editing the page and maybe trying to update the count.
]=]
]=]
local bot_text = (mw.getCurrentFrame():preprocess('{{REVISIONID}}') == '') and ("\n\n----\n'''Preview message''':" .. ' Transclusion count updated automatically ([[Template:High-use/doc#Technical details|see documentation]]).') or ''
local bot_text = (mw.getCurrentFrame():preprocess('{{REVISIONID}}') == '') and ("\n\n----\n'''Preview info''':" .. ' The number of transclusions [[Template:High-use/doc#Technical details|is updated automatically]].') or ''
if count == nil then
if count == nil then