1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

v4.0.0.1701

This commit is contained in:
gnosygnu
2017-01-03 21:15:53 -05:00
parent a1c2b697ae
commit 54ee941f0a
114 changed files with 21822 additions and 18816 deletions

View File

@@ -5,213 +5,7 @@
<title>Options/Files - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
<style data-source="xowa" type="text/css">
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
.options_textbox {padding: 2px; border: 1px solid black;}
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
.options_textarea {padding: 2px; border: 1px solid black;}
.options_select {padding: 2px; border: 1px solid black;}
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
.options_checkbox {padding: 2px; border: 1px solid black;}
.options_readonly {background-color:#F9F9F9;}
</style>
<style data-source="xowa" type="text/css">
.optionsButton
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: lightgray;
text-align: center;
}
.optionsLink
{
color: black !important;
text-decoration: none;
}
.optionsButton.active
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: dimgray;
color: white !important;
border: solid 1px dimgray;
}
.optionsButton.active a
{
color: white !important;
}
.tabs
{
width: 100%;
margin-top: 10px;
}
.tab-links ul
{
margin-left: -40px;
}
.tab-links li
{
margin: 0px 0px 0px 0px;
float: left;
list-style: none;
}
.tab-links a
{
padding: 9px 15px 9px 15px;
border-radius: 3px 3px 0px 0px;
background: #f0f0f0;
font-family: 'Segoe UI';
font-size: 13px;
color: black !important;
text-decoration: none;
border-radius: 3px;
border-top: solid 1px gray;
border-left: solid 1px gray;
border-right: solid 1px gray;
}
.tab-links a:hover
{
background: #B0B0B0;
text-decoration: none;
}
li.active a, li.active a:hover
{
background: #fff;
color: #4c4c4c;
font-weight: bold;
}
.tab-content
{
padding: 15px;
border-radius: 3px;
background: #fff;
border-top: solid 1px gray;
margin-top: 5px;
min-height: 300px;
}
</style>
<style data-source="xowa" type="text/css">
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
.options_textbox {padding: 2px; border: 1px solid black;}
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
.options_textarea {padding: 2px; border: 1px solid black;}
.options_select {padding: 2px; border: 1px solid black;}
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
.options_checkbox {padding: 2px; border: 1px solid black;}
.options_readonly {background-color:#F9F9F9;}
</style>
<style data-source="xowa" type="text/css">
.optionsButton
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: lightgray;
text-align: center;
}
.optionsLink
{
color: black !important;
text-decoration: none;
}
.optionsButton.active
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: dimgray;
color: white !important;
border: solid 1px dimgray;
}
.optionsButton.active a
{
color: white !important;
}
.tabs
{
width: 100%;
margin-top: 10px;
}
.tab-links ul
{
margin-left: -40px;
}
.tab-links li
{
margin: 0px 0px 0px 0px;
float: left;
list-style: none;
}
.tab-links a
{
padding: 9px 15px 9px 15px;
border-radius: 3px 3px 0px 0px;
background: #f0f0f0;
font-family: 'Segoe UI';
font-size: 13px;
color: black !important;
text-decoration: none;
border-radius: 3px;
border-top: solid 1px gray;
border-left: solid 1px gray;
border-right: solid 1px gray;
}
.tab-links a:hover
{
background: #B0B0B0;
text-decoration: none;
}
li.active a, li.active a:hover
{
background: #fff;
color: #4c4c4c;
font-weight: bold;
}
.tab-content
{
padding: 15px;
border-radius: 3px;
background: #fff;
border-top: solid 1px gray;
margin-top: 5px;
min-height: 300px;
}
</style>
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
@@ -223,310 +17,285 @@ li.active a, li.active a:hover
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<div>
<table>
<tr>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
</td>
<td class='optionsButton active'>
<a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
</td>
</tr>
</table>
</div>
<div class="tabs">
<div id='xocfg_body'>
<div id='xocfg_err'>
</div>
<div>
<ul class='tab-links' style='margin-left:0px;'>
<li class=''>
<a href='/wiki/Options/Import'>Import</a>
</li>
<li class='active'>
<a href='/wiki/Options/Files'>Files</a>
</li>
<li class=''>
<a href='/wiki/Options/HTML_databases'>HTML databases</a>
</li>
<li class=''>
<a href='/wiki/Options/Page_sync'>Page sync</a>
</li>
<li class=''>
<a href='/wiki/Options/Category'>Category</a>
</li>
<li class=''>
<a href='/wiki/Options/Import_Dansguardian'>Import Dansguardian</a>
</li>
</ul>
</div><br>
<div class='tab-content'>
<div id="toc" class="toc">
<div id="toctitle">
<h2>
Contents
</h2>
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Files"><span class="tocnumber">1</span> <span class="toctext">Files</span></a>
</li>
<li class="toclevel-1 tocsection-2">
<a href="#Cache_.5B2.5D"><span class="tocnumber">2</span> <span class="toctext">Cache <sup>[2]</sup></span></a>
</li>
<li class="toclevel-1 tocsection-3">
<a href="#System_Applications"><span class="tocnumber">3</span> <span class="toctext">System Applications</span></a>
</li>
<li class="toclevel-1 tocsection-4">
<a href="#Notes"><span class="tocnumber">4</span> <span class="toctext">Notes</span></a>
</li>
</ul>
</div>
<div style='float:right; margin-right:10px; margin-top:5px;'>
<p>
<a href="xowa-cmd:app.user.prefs.save();" accesskey='s'><img src='file:///C:/xowa/bin/any/xowa/file/app.window/save.png' width="16" height="16">Save</a>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.cfg_edit.help__toggle_all()' title='toggle all help'>&nbsp;</span> <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
<option value='xowa.app.security'>
App - Security
</option>
<option value='xowa.app.startup'>
App - Startup
</option>
<option value='xowa.gui.general'>
Gui - General
</option>
<option value='xowa.gui.tabs'>
Gui - Tabs
</option>
<option value='xowa.gui.url_bar'>
Gui - Address bar
</option>
<option value='xowa.gui.menus'>
Gui - Menus
</option>
<option value='xowa.gui.shortcuts'>
Gui - Shortcuts
</option>
<option value='xowa.wiki.hdumps'>
Wiki - HTML Databases
</option>
<option value='xowa.wiki.edit'>
Wiki - Editing
</option>
<option value='xowa.bldr.general'>
Import - General
</option>
<option value='xowa.bldr.db'>
Import - Database
</option>
<option value='xowa.bldr.page_sync'>
Import - Page sync
</option>
<option value='xowa.bldr.dansguardian'>
Import - Dansguardian
</option>
<option value='xowa.html.css'>
HTML - CSS
</option>
<option value='xowa.html.page'>
HTML - Page
</option>
<option value='xowa.html.tidy'>
HTML - Tidy
</option>
<option value='xowa.html.scripting'>
HTML - Scripting
</option>
<option value='xowa.files.general' selected='selected'>
Files - General
</option>
<option value='xowa.files.apps'>
Files - Apps
</option>
<option value='xowa.addon.search'>
Addon - Search
</option>
<option value='xowa.addon.category'>
Addon - Category
</option>
<option value='xowa.addon.http_server'>
Addon - HTTP Server
</option>
<option value='xowa.addon.scribunto'>
Addon - Scribunto
</option>
<option value='xowa.addon.math'>
Addon - Math
</option>
<option value='xowa.addon.score'>
Addon - Score
</option>
<option value='xowa.addon.popups'>
Addon - Popups
</option>
<option value='xowa.addon.wikibase'>
Addon - Wikidata
</option>
<option value='xowa.dev.general'>
Dev - General
</option>
</select>
</div>
<div id='cfg_grps'>
<div>
<p id='page_help_para'>
</p>
</div><br>
<p>
<br>
</p>
</div>
<h2>
<span class="mw-headline" id="Files">Files</span>
Basic
</h2>
<table class='options_table'>
<tr>
<td class='options_row_label'>
Retrieval enabled: <sup id="cite_ref-download_enabled_0-0" class="reference"><a href="#cite_note-download_enabled-0">[1]</a></sup>
</td>
<td>
<input xowa_prop="app.files.download.enabled" type="checkbox" class="options_checkbox" id='xowa_prop_0' checked='checked'>
</td>
</tr>
</table>
<h2>
<span class="mw-headline" id="Cache_.5B2.5D">Cache <sup id="cite_ref-cache_1-0" class="reference"><a href="#cite_note-cache-1">[2]</a></sup></span>
</h2>
<table class='options_table'>
<tr>
<td class='options_row_label'>
Minumum disk space used: <sup id="cite_ref-fsys_size_min_2-0" class="reference"><a href="#cite_note-fsys_size_min-2">[3]</a></sup>
</td>
<td>
<input xowa_prop="xowa.api.usr.cache.fsys_size_min" class="options_textbox_num" style="width: 40px;" id='xowa_prop_1' value='75'>
</td>
</tr>
<tr>
<td class='options_row_label'>
Maxiumum disk space used: <sup id="cite_ref-fsys_size_max_3-0" class="reference"><a href="#cite_note-fsys_size_max-3">[4]</a></sup>
</td>
<td>
<input xowa_prop="xowa.api.usr.cache.fsys_size_max" class="options_textbox_num" style="width: 40px;" id='xowa_prop_2' value='100'>
</td>
</tr>
<tr>
<td class='options_row_label'>
Reduce cache to min<sup id="cite_ref-reduce_to_min_4-0" class="reference"><a href="#cite_note-reduce_to_min-4">[5]</a></sup>
</td>
<td>
<button class='options_button' id='xowa_update_dump_status' onclick='return cache_reduce_to_min();'>Reduce</button>
</td>
</tr>
<tr>
<td class='options_row_label'>
Clear cache<sup id="cite_ref-reduce_to_zero_5-0" class="reference"><a href="#cite_note-reduce_to_zero-5">[6]</a></sup>
</td>
<td>
<button class='options_button' accesskey='c' id='xowa_update_dump_status' onclick='return cache_reduce_to_zero();'><u>C</u>lear</button>
</td>
</tr>
<tr>
<td class='options_row_label'>
Info: <sup id="cite_ref-info_6-0" class="reference"><a href="#cite_note-info-6">[7]</a></sup>
</td>
<td>
<textarea xowa_prop="xowa.api.usr.cache.info" class="options_textbox options_readonly" readonly='readonly' style="width: 600px; height: 100px;" id='xowa_prop_3'>
cache folder: C:\xowa\file
space used: 19.884 MB
file count: 1464
oldest file: 2016-11-25 10:37:41
</textarea>
</td>
</tr>
</table>
<h2>
<span class="mw-headline" id="System_Applications">System Applications</span>
</h2>
<table class="options_table">
<tr>
<td class='options_row_label'>
ImageMagick - Identify:
<p>
<sup id="cite_ref-7" class="reference"><a href="#cite_note-7">[8]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.query_img_size.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_4' value='C:\xowa\bin\windows_64\imagemagick\identify'><button id='xowa_prop_4_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_4", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.query_img_size.args" class="options_textbox" style="width: 380px;" id='xowa_prop_5' value='-ping -format "&lt;{%w,%h}&gt;" "~{file}"'>
</p>
</td>
</tr>
<tr>
<td class='options_row_label'>
ImageMagick - Convert:
<p>
<sup id="cite_ref-8" class="reference"><a href="#cite_note-8">[9]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.resize_img.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_6' value='C:\xowa\bin\windows_64\imagemagick\convert'><button id='xowa_prop_6_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_6", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.resize_img.args" class="options_textbox" style="width: 380px;" id='xowa_prop_7' value='"~{source}" -coalesce -resize ~{width}x~{height} "~{target}"'>
</p>
</td>
</tr>
<tr>
<td class='options_row_label'>
Inkscape
<p>
<sup id="cite_ref-9" class="reference"><a href="#cite_note-9">[10]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.convert_svg_to_png.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_8' value='C:\xowa\bin\windows_64\inkscape\inkscape'><button id='xowa_prop_8_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_8", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.convert_svg_to_png.args" class="options_textbox" style="width: 380px;" id='xowa_prop_9' value='-z -w ~{width} -f "~{source}" -e "~{target}"'>
</p>
</td>
</tr>
<tr>
<td class='options_row_label'>
Djvu converter
<p>
<sup id="cite_ref-10" class="reference"><a href="#cite_note-10">[11]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.convert_djvu_to_tiff.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_10' value='C:\xowa\bin\windows_64\djvulibre\ddjvu'><button id='xowa_prop_10_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_10", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.convert_djvu_to_tiff.args" class="options_textbox" style="width: 380px;" id='xowa_prop_11' value='-format=tiff -page=1 "~{source}" "~{target}"'>
</p>
</td>
</tr>
</table>
<h2>
<span class="mw-headline" id="Notes">Notes</span>
</h2>
<ol class="references">
<li id="cite_note-download_enabled-0">
<span class="mw-cite-backlink"><a href="#cite_ref-download_enabled_0-0">^</a></span> <span class="reference-text">Choose one of the following (default is <code>unchecked</code>)</span>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.retrieval_enabled")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.retrieval_enabled__name' class='xocfg_itm_name'>
Retrieval enabled
</div>
<div id='xowa.files.retrieval_enabled__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.retrieval_enabled")' title="reset to &quot;y&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input id="xowa.files.retrieval_enabled" data-xocfg-key="xowa.files.retrieval_enabled" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked">
</div><input type='hidden' id='xowa.files.retrieval_enabled__key_box' value='xowa.files.retrieval_enabled'> <input type='hidden' id='xowa.files.retrieval_enabled__ctx_box' value='app'>
</div>
<div id='xowa.files.retrieval_enabled_help_div' class='xohelp_div'>
<div id='xowa.files.retrieval_enabled_help_msg' class='xohelp_msg'>
<p>
Choose one of the following:
</p>
<ul>
<li>
<span class="reference-text"><b>checked</b> to automatically download images / retrieve images from database</span>
<b>checked</b> to automatically download images / retrieve images from database
<ul>
<li>
<span class="reference-text">ImageMagick and Inkscape <b>must</b> be installed (See <a href="http://xowa.org/home/wiki/Dev/File/Setup.html" id="xolnki_2" title="Dev/File/Setup">Dev/File/Setup</a>)</span>
ImageMagick and Inkscape <b>must</b> be installed (See <a tabindex="-1" href="/wiki/Dev/File/Setup" id="xolnki_27" title="Dev/File/Setup">Dev/File/Setup</a>)
</li>
<li>
<span class="reference-text">An internet connection must be available, or a local tarball must be set up. (See <a href="http://xowa.org/home/wiki/Archive/Usage/Offline_images.html" id="xolnki_3" title="Archive/Usage/Offline images">Archive/Usage/Offline_images</a>)</span>
An internet connection must be available, or a local tarball must be set up. (See <a tabindex="-1" href="/wiki/Archive/Usage/Offline_images" id="xolnki_28" title="Archive/Usage/Offline images">Archive/Usage/Offline_images</a>)
</li>
</ul>
</li>
<li>
<span class="reference-text"><b>unchecked</b> to leave images unprocessed</span>
<b>unchecked</b> to leave images unprocessed
</li>
</ul>
</li>
<li id="cite_note-cache-1">
<span class="mw-cite-backlink"><a href="#cite_ref-cache_1-0">^</a></span> <span class="reference-text">Although files are saved in the bin.sqlite3 database, they are also cached locally at <code>C:\xowa\file</code>. This is done for the following reasons:</span>
</div>
</div>
<h2>
Cache
</h2>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.cache.fsys_size_min")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.cache.fsys_size_min__name' class='xocfg_itm_name'>
Minimum disk space used
</div>
<div id='xowa.files.cache.fsys_size_min__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.cache.fsys_size_min")' title="reset to &quot;75&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input id="xowa.files.cache.fsys_size_min" data-xocfg-key="xowa.files.cache.fsys_size_min" data-xocfg-type="int" accesskey="d" class="xocfg_data__int" type="text" value="75">
</div><input type='hidden' id='xowa.files.cache.fsys_size_min__key_box' value='xowa.files.cache.fsys_size_min'> <input type='hidden' id='xowa.files.cache.fsys_size_min__ctx_box' value='app'>
</div>
<div id='xowa.files.cache.fsys_size_min_help_div' class='xohelp_div'>
<div id='xowa.files.cache.fsys_size_min_help_msg' class='xohelp_msg'>
<p>
Enter a minimum size for the cache to use (in MB)<br>
</p>
<p>
This is an advanced configuration tweak. When the cache reaches its maximum size, it will delete files to free space. It will continue deleting files until the minimum size is reached.<br>
</p>
<p>
For example:
</p>
<ul>
<li>
<span class="reference-text"><b>The HTML browser must display the image</b>: The HTML browser cannot read directly from a sqlite database. The "src" attribute must point to a file resource. (It could take a base64 encoded string, but this has its own complications)</span>
If the max is set to 100 MB
</li>
<li>
<span class="reference-text"><b>Viewer apps must be able to access the image</b>: Similar to the above, when a file is clicked in the commons wiki, XOWA sends it to an external viewer app. These viewer apps will not be able to access files from the sqlite database or from a base64 encoded string</span>
... and the current size of all files in the cache is 99.9 MB
</li>
<li>
<span class="reference-text"><b>Performance</b>: Images will load more quickly if they are already on the file system (as opposed to being continually extracted from the database)</span>
</li>
</ul><span class="reference-text">Some other details worth noting:</span>
<ul>
<li>
<span class="reference-text">The cache is stored in <code>C:\xowa\user\user-anonymous.xowa</code></span>
... and a 200 KB file is added
</li>
<li>
<span class="reference-text">This value should not be set any lower than 5 MB (or else all images may not load on a page)</span>
Then the cache size will be temporarily 100.1 MB
</li>
<li>
... triggering the delete mechanism
</li>
<li>
... which will reduce the current size of all files to 75 MB
</li>
</ul>
</li>
<li id="cite_note-fsys_size_min-2">
<span class="mw-cite-backlink"><a href="#cite_ref-fsys_size_min_2-0">^</a></span> <span class="reference-text">Enter a minimum size for the cache to use (in MB) (default is <code>75</code>) .<br>
This is an advanced configuration tweak. When the cache reaches its maximum size, it will delete files to free space. It will continue deleting files until the minimum size is reached.<br>
For example:</span>
<ul>
<li>
<span class="reference-text">If the max is set to 100 MB</span>
</li>
<li>
<span class="reference-text">... and the current size of all files in the cache is 99.9 MB</span>
</li>
<li>
<span class="reference-text">... and a 200 KB file is added</span>
</li>
<li>
<span class="reference-text">Then the cache size will be temporarily 100.1 MB</span>
</li>
<li>
<span class="reference-text">... triggering the delete mechanism</span>
</li>
<li>
<span class="reference-text">... which will reduce the current size of all files to 75 MB</span>
</li>
</ul>
</li>
<li id="cite_note-fsys_size_max-3">
<span class="mw-cite-backlink"><a href="#cite_ref-fsys_size_max_3-0">^</a></span> <span class="reference-text">Enter a maximum size for the cache to use (in MB) (default is <code>100</code>) .<br>
</span>
</li>
<li id="cite_note-reduce_to_min-4">
<span class="mw-cite-backlink"><a href="#cite_ref-reduce_to_min_4-0">^</a></span> <span class="reference-text">Press to reduce the cache to the minimum now (typically 75 MB).</span>
</li>
<li id="cite_note-reduce_to_zero-5">
<span class="mw-cite-backlink"><a href="#cite_ref-reduce_to_zero_5-0">^</a></span> <span class="reference-text">Press to clear the cache (reduces to 0 MB).</span>
</li>
<li id="cite_note-info-6">
<span class="mw-cite-backlink"><a href="#cite_ref-info_6-0">^</a></span> <span class="reference-text">Miscellaneous information about the cache</span>
</li>
<li id="cite_note-7">
<span class="mw-cite-backlink"><a href="#cite_ref-7">^</a></span> <span class="reference-text">Queries image for size (needed for online images; not needed for offline databases) . Recommended: <a href="http://www.imagemagick.org/" rel="nofollow" class="external text">ImageMagick</a></span>
</li>
<li id="cite_note-8">
<span class="mw-cite-backlink"><a href="#cite_ref-8">^</a></span> <span class="reference-text">Resizes image (needed for online images; not needed for offline databases) . Recommended: <a href="http://www.imagemagick.org/" rel="nofollow" class="external text">ImageMagick</a></span>
</li>
<li id="cite_note-9">
<span class="mw-cite-backlink"><a href="#cite_ref-9">^</a></span> <span class="reference-text">Converts svg to png (needed for online images; not needed for offline databases) . Recommended: <a href="http://www.inkscape.org/" rel="nofollow" class="external text">Inkscape</a></span>
</li>
<li id="cite_note-10">
<span class="mw-cite-backlink"><a href="#cite_ref-10">^</a></span> <span class="reference-text">Converts djvu to png (needed for online images; not needed for offline databases) . Recommended: <a href="http://www.miktex.org/" rel="nofollow" class="external text">MikTeX</a></span>
</li>
</ol>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.cache.fsys_size_max")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.cache.fsys_size_max__name' class='xocfg_itm_name'>
Maximum disk space used
</div>
<div id='xowa.files.cache.fsys_size_max__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.cache.fsys_size_max")' title="reset to &quot;100&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input id="xowa.files.cache.fsys_size_max" data-xocfg-key="xowa.files.cache.fsys_size_max" data-xocfg-type="int" accesskey="d" class="xocfg_data__int" type="text" value="100">
</div><input type='hidden' id='xowa.files.cache.fsys_size_max__key_box' value='xowa.files.cache.fsys_size_max'> <input type='hidden' id='xowa.files.cache.fsys_size_max__ctx_box' value='app'>
</div>
<div id='xowa.files.cache.fsys_size_max_help_div' class='xohelp_div'>
<div id='xowa.files.cache.fsys_size_max_help_msg' class='xohelp_msg'>
<p>
Enter a maximum size for the cache to use (in MB)<br>
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.cache.reduce_to_min")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.cache.reduce_to_min__name' class='xocfg_itm_name'>
Reduce cache to min
</div>
<div id='xowa.files.cache.reduce_to_min__undo' data-xocfg-type='btn' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.cache.reduce_to_min")' title="reset to &quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<button id="xowa.files.cache.reduce_to_min" data-xocfg-key="xowa.files.cache.reduce_to_min" data-xocfg-type="btn" class="xocfg_data__btn">Reduce cache to min</button>
</div><input type='hidden' id='xowa.files.cache.reduce_to_min__key_box' value='xowa.files.cache.reduce_to_min'> <input type='hidden' id='xowa.files.cache.reduce_to_min__ctx_box' value='app'>
</div>
<div id='xowa.files.cache.reduce_to_min_help_div' class='xohelp_div'>
<div id='xowa.files.cache.reduce_to_min_help_msg' class='xohelp_msg'>
<p>
Press to reduce the cache to the minimum now (typically 75 MB).
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.cache.clear")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.cache.clear__name' class='xocfg_itm_name'>
Clear cache
</div>
<div id='xowa.files.cache.clear__undo' data-xocfg-type='btn' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.cache.clear")' title="reset to &quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<button id="xowa.files.cache.clear" data-xocfg-key="xowa.files.cache.clear" data-xocfg-type="btn" class="xocfg_data__btn">Clear cache</button>
</div><input type='hidden' id='xowa.files.cache.clear__key_box' value='xowa.files.cache.clear'> <input type='hidden' id='xowa.files.cache.clear__ctx_box' value='app'>
</div>
<div id='xowa.files.cache.clear_help_div' class='xohelp_div'>
<div id='xowa.files.cache.clear_help_msg' class='xohelp_msg'>
<p>
Press to clear the cache (reduces to 0 MB).
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.cache.info")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.cache.info__name' class='xocfg_itm_name'>
Info
</div>
<div id='xowa.files.cache.info__undo' data-xocfg-type='memo' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.cache.info")' title="reset to &quot;cache folder: C:\xowa\file
space used: 53.729 MB
file count: 3759
oldest file: 2016-12-28 21:57:02
&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<textarea id="xowa.files.cache.info" data-xocfg-key="xowa.files.cache.info" data-xocfg-type="memo" accesskey="d" class="xocfg_data__memo xocfg_data__readonly" readonly="true">
cache folder: C:\xowa\file
space used: 53.729 MB
file count: 3759
oldest file: 2016-12-28 21:57:02
</textarea>
</div><input type='hidden' id='xowa.files.cache.info__key_box' value='xowa.files.cache.info'> <input type='hidden' id='xowa.files.cache.info__ctx_box' value='app'>
</div>
<div id='xowa.files.cache.info_help_div' class='xohelp_div'>
<div id='xowa.files.cache.info_help_msg' class='xohelp_msg'>
<p>
Miscellaneous information about the cache
</p>
</div>
</div>
</div>
</div>