Jump to content
Wikipedia The Free Encyclopedia

User:Waldyrious/DYK yearly stats

From Wikipedia, the free encyclopedia
  1. 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
  2. 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
  3. Highlight views/hour as visual aid for the sorting: (?<=202\d-\d\d-\d\d\|[0-9,]+\|)\d+,\d+\.\d
  4. Sort the lines by views/hour
  5. Add the sorted into the new year page, e.g. Wikipedia:Did you know/Statistics/Monthly DYK pageview leaders/2024

AltStyle によって変換されたページ (->オリジナル) /