User:Waldyrious/DYK yearly stats
Appearance
From Wikipedia, the free encyclopedia
- Copy the rows of all month tables (e.g. Wikipedia:Did you know/Statistics/Monthly DYK pageview leaders/2024/December) into a single document in a text editor
- Delete:
- Single entries with <1500 views/hour:
^\{\{DYK stats table row\|[^|]+\|[^|]*\|202\d-\d\d-\d\d\|[0-9,]+\|(1,[0-4]\d\d\|\d+)\.\d\|.+\n
- Multiple entries with <1500 total views/hour:
\{\{DYK stats table multi begin\|.+\n(\{\{DYK stats table multi\|.+\n)*\{\{DYK stats table multi total\|[0-9,]+\|(1,[0-4]\d\d|\d+)\.\d\}\}\n
- Single entries with <1500 views/hour:
- Highlight views/hour as visual aid for the sorting:
(?<=202\d-\d\d-\d\d\|[0-9,]+\|)\d+,\d+\.\d
- Sort the lines by views/hour
- Add the sorted into the new year page, e.g. Wikipedia:Did you know/Statistics/Monthly DYK pageview leaders/2024