Template:Archive URL counts
| This template uses Lua: |
{{Archive URL counts}} (aka {{NUMARCHIVES}}) shows statistics regarding external archive URL usage across Wikimedia Foundation projects. The data is updated automatically via bot and hosted on Wikimedia Commons at c:Data:Wikipedia statistics/exturls.tab. Statistics are updated once a month on the 15th (see "System notes" below).
Usage
[edit]There are 2 required parameters, and an optional third:
- First parameter (statistic):
pages,urls,uniqurls,pagesurls,waybackurls,uniqwaybackurls,pageswaybackurls,archivetodayurls,uniqarchivetodayurls,pagesarchivetodayurls,webciteurls,uniqwebciteurls,pageswebciteurls,ialiburls,uniqialiburls,pagesialiburls - Second parameter (site): The language and project code (e.g.,
en.wikipedia,fr.wikiquote,commons). If no project is specified, it defaults to.wikipedia(e.g.,enwill output data for English Wikipedia). - Third parameter (formatting): If not empty (such as
N), it will format the number with localized grouping separators (e.g., "1,000" instead of "1000").
Examples
[edit]Specific Sites
[edit]To show the total number of Wayback Machine URLs on the French Wikipedia (formatted with commas):
{{NUMARCHIVES|waybackurls|fr|N}}
- Result: 649,686
To show the number of unique Wayback Machine URLs on the English Wikipedia:
{{NUMARCHIVES|uniqwaybackurls|en|N}}
- Result: 12,362,372
To show the number of pages on English Wikipedia that contain a Wayback Machine URL:
{{NUMARCHIVES|pageswaybackurls|en|N}}
- Result: 3,163,414
To show the number of Archive.today URLs on English Wikipedia:
{{NUMARCHIVES|archivetodayurls|en.wikipedia|N}}
- Result: 118,987
To show how many pages on Wikidata have archive URLs:
{{NUMARCHIVES|pagesurls|wikidata|N}}
- Result: 56,264,159
Totals
[edit]Aggregate totals for the entire Wikimedia ecosystem.
To show the total number of Archive.today URLs across all Wikipedia language sites:
{{NUMARCHIVES|archivetodayurls|total.wikipedia|N}}
- Result: 1,571,484
To show the total number of WebCite URLs across all Wikisource language sites:
{{NUMARCHIVES|webciteurls|total.wikisource|N}}
- Result: 6
To show the grand total of all archive URLs across every Wikimedia project combined:
{{NUMARCHIVES|urls|total.all|N}}
- Result: 698,903,731
System notes
[edit]- The statics are hosted on Commons as a single JSON file exturls.tab. The JSON is generated by the bot Numberofurl (a variation of the bot Numberof). The bot uses the tool Findlinks to pull data via SQL queries from the WMF SQL database. The SQL database is the External Links dump which is generated once monthly by WMF. Likewise this tool updates statics once a month.
See also
[edit]{{NUMBEROF}}– for general wiki statistics (articles, active users, edits, etc.)