Module:High-use: Difference between revisions

imported>Andrybak
Set `approx_num_total_pages = 66000000` (66 million). Special:Statistics shows 65,988,696 right now. We don't need a lot of precision here. Next update can be at 67 million.
imported>Paine Ellsworth
per edit request on talk page - update preview text
 
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