Wikipedia:Most frequently edited pages/How to generate the lists

This page explains how to generate the following lists.


 * en:Wikipedia:Most frequently edited pages
 * ja:Wikipedia:編集回数の多いページの一覧
 * de:Wikipedia:Seiten nach Zahl von Bearbeitungen
 * zh:Wikipedia:最多修订页面

Preconditions

 * A computer system (e.g. personal computer) that can run Java.
 * UNIX or Unix-like system (including GNU/Linux and Mac OS X)
 * Windows
 * Java Development Kit (JDK) and Java Runtime Environment (JRE) are installed on your computer (Java SE 5.0 or later).
 * The following Java programs are compiled and deployed on the computer.

Instructions

 * Download the latest database dump from http://download.wikimedia.org/.
 * The following files are required.
 * stub-meta-history.xml.gz
 * You can read the RSS feed for wikipedia dump progress.
 * e.g. enwiki-latest-stub-meta-history.xml.gz.xml at http://download.wikimedia.org/enwiki/latest/.
 * Run the Java program(s) to generate a list.
 * Upload.

The case of en:Wikipedia:Most frequently edited pages
java -Dbegin.date=2008-04-01 -Dend.date=2008-04-30 -Dlimit=5000 -Dmin.edits=80 PagesByNumberOfRecentEdits_en enwiki-20080501-stub-meta-history.xml.gz > result.txt
 * Download from: http://download.wikimedia.org/enwiki/
 * Run the Java program as following.

The case of ja:Wikipedia:編集回数の多いページの一覧
java -Dbegin.date=2008-04-01 -Dend.date=2008-04-30 -Dlimit=1000 -Dmin.edits=20 PagesByNumberOfRecentEdits_ja jawiki-20080501-stub-meta-history.xml.gz > result.txt
 * Download from: http://download.wikimedia.org/jawiki/
 * Run the Java program as following.

The case of de:Wikipedia:Seiten nach Zahl von Bearbeitungen
java -Dbegin.date=2008-04-01 -Dend.date=2008-04-30 -Dlimit=1000 -Dmin.edits=40 PagesByNumberOfRecentEdits_de dewiki-20080501-stub-meta-history.xml.gz > result.txt
 * Download from: http://download.wikimedia.org/dewiki/
 * Run the Java program as following.

The case of zh:Wikipedia:最多修订页面
java -Dbegin.date=2008-04-01 -Dend.date=2008-04-30 -Dlimit=1000 PagesByNumberOfRecentEdits_zh zhwiki-20080501-stub-meta-history.xml.gz > result.txt
 * Download from: http://download.wikimedia.org/zhwiki/
 * Run the Java program as following.