XOWA releases monthly updates of English Wikipedia images. However, every month, English Wikipedia removes many old images. Over time, the removed images will cause XOWA's image databases to grow larger than necessary.
</p>
<p>
As of 2014-07-07, XOWA's image database for English Wikipedia was 92 GB. It should be 68 GB.
</p>
<p>
If you want to reduce your image database size for English Wikipedia, you can try either of the two options below.
</p>
<h2>
<spanclass="mw-headline"id="Option_1:_Download_the_updated_set">Option 1: Download the updated set</span>
</h2>
<p>
The simplest approach is to download the <ahref="https://archive.org/details/Xowa_enwiki_latest"rel="nofollow"class="external text">latest set</a>. Note that this will require downloading approximately 62 GB of compressed data. Users who have bandwidth issues (caps / low connectivity) may want to look at the next option.
</p>
<h2>
<spanclass="mw-headline"id="Option_2:_Prune_the_images_manually">Option 2: Prune the images manually</span>
</h2>
<p>
Note the following:
</p>
<ul>
<li>
This is an advanced step that requires command-line usage
</li>
<li>
It will take anywhere between 2 and 10 hours depending on your machine's speed
</li>
<li>
It works by runing about 200 .sql files on over 90 GB of databases
</li>
<li>
It is the exact same process I used to generate the update set above.
</li>
</ul>
<p>
The following steps are required:
</p>
<ul>
<li>
Download the Xowa_enwiki_2014-07-07_prune.7z file at <ahref="https://archive.org/details/Xowa_enwiki_latest"rel="nofollow"class="external free">https://archive.org/details/Xowa_enwiki_latest</a> Note that the .7z file is 3 MB.
</li>
<li>
Unzip them to your XOWA root directory. When you are done, you will have a file called <code>/xowa/file/en.wikipedia.org/tmp_sql/en.wikipedia.org-000-atr.sql</code> as well as many others
</li>
<li>
Create a xowa_prune.gfs file in your xowa root with the following text. Note that the file must have UNIX style new lines (Windows users should use a text editor like Notepad++)
</li>
</ul>
<pre>
app.bldr.pause_at_end_('n');
app.scripts.run_file_by_type('xowa_cfg_app');
app.bldr.cmds {
add ('en.wikipedia.org' , 'file.diff_regy.exec');
}
app.bldr.run;
</pre>
<ul>
<li>
Open up the command line and run the following (change xowa_windows.jar as per your Operating System):
If you run into problems, feel free to contact me as per <ahref="http://xowa.org/home/wiki/Help/Feedback.html"id="xolnki_2"title="Help/Feedback"class="xowa-visited">Help/Feedback</a>
<li><ahref="http://dumps.wikimedia.org/backup-index.html"title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><ahref="https://archive.org/search.php?query=xowa"title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><ahref="http://en.wikipedia.org"title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<divclass="portal"id='xowa-portal-donate'>
<h3>Donate</h3>
<divclass="body">
<ul>
<li><ahref="https://archive.org/donate/index.php"title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->