Yuvi Panda

JupyterHub | MyBinder | Kubernetes | Open Culture

Calculating the population of India on Wikipedia

Exploring the English Wikipedia randomly, I encountered this template used to approximate the current live population of India. It uses the following simple formula:

(1176242 + 42.197260273969 * days_since(2010,1,26)) * 000

It’s based on population at a specific data + projected growth. The ‘update’ is done by (best guess) some bot hitting action=purge every night to re-do the calculation.

And where is this used? After looking at the template’s info page, the only article this seems to be used in is the India article, and that too only for population density statistics, rather than actual population statistics. Weird, since if Density can be calculated based on projection, I guess population could be too.

The machinations that people invent on Wikipedia are very fascinating! I hope to discover more over time. If you’ve suggestions on places for me to look (please, no WPBannerMeta / associated templates!), leave comments!


Share