User:Fbstj/reviewed

From The Coppermind
Jump to navigation Jump to search

this page lists all articles in the order that they were reviewed.

list of category: complete articles with completion
class="pillars" style="column-count: 3; ;" |
<dynamicpagelist>
category=complete articles
addfirstcategorydate=true
mode=ordered
order=ascending
</dynamicpagelist>
const api = new mw.Api
const resp = await api.get({
	"action": "query",
	"format": "json",
	"list": "categorymembers",
	"cmtitle": "Category:Complete_articles",
	"cmprop": "ids|title|timestamp",
	"cmtype": "page",
	"cmlimit": "5000"
})
const pages = resp.query.categorymembers

const per_year = pages.reduce(function pages_per_year(result, page) { const date = page.timestamp.split('-')[0]; if (!result[date]) result[date] = []; result[date].push(page.title); return result; }, {})
# 2014: 22, 2015: 28, 2016: 382, 2017: 161, 2018: 402, 2019: 501, 2020: 177

const per_month = pages.reduce(function pages_per_month(result, page) { const date = page.timestamp.substr(0, 7); if (!result[date]) result[date] = []; result[date].push(page.title); return result; }, {})
# 

const per_year = pages.reduce(function pages_per_date(result, page) { const date = page.timestamp.split('T')[0]; if (!result[date]) result[date] = []; result[date].push(page.title); return result; }, {})



Year Total January February March April May June July August Septermber October November December
2014 22 19 3
2015 28 6 9 1 5 2 1 2 2
2016 382 1 9 1 6 24 17 65 7 252
2017 161 2 4 1 58 7 1 1 78 9
2018 402 5 11 2 6 126 70 8 169 2 3
2019 501 22 13 119 30 26 82 49 43 37 34 22 24
2020 177 15 73 56 33