App/Category/Building

From XOWA: the free, open-source, offline wiki application

Application setup (GUI)

Command-line setup

  • Download and extract categorylinks.sql. For example, for Simple Wikipedia, do the following:
    • Navigate to http://dumps.wikimedia.org/simplewiki/latest/
    • Download the file marked simplewiki-latest-categorylinks.sql.gz
    • Unzip simplewiki-latest-categorylinks.sql.gz. When you are done, you will have a file called /xowa/wiki/simple.wikipedia.org/simplewiki-latest-categorylinks.sql
  • Download and extract page_props.sql. For example, for Simple Wikipedia, do the following:
    • Navigate to http://dumps.wikimedia.org/simplewiki/latest/
    • Download the file marked simplewiki-latest-page_props.sql.gz
    • Unzip simplewiki-latest-page_props.sql.gz. When you are done, you will have a file called /xowa/wiki/simple.wikipedia.org/simplewiki-latest-page_props.sql
  • Open up /xowa/xowa_build.gfs and replace the file with the following:
app.bldr.pause_at_end_('n');
app.bldr.cmds {
  add     ('simple.wikipedia.org' , 'text.cat.core');
  add     ('simple.wikipedia.org' , 'text.cat.link');
  add     ('simple.wikipedia.org' , 'text.cat.hidden');
}
app.bldr.run;
  • Run java -Xmx512m -jar xowa_linux_64.jar --cmd_file xowa_build.gfs --app_mode cmd

For Simple Wikipedia, the entire process should take less than 5 minutes. For English Wikipedia, the process will take about 1 hour.

Namespaces

XOWA

Getting started

Android

Help

Blog

Donate