Files.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Options/Files - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. </head>
  9. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  10. <div id="mw-page-base" class="noprint"></div>
  11. <div id="mw-head-base" class="noprint"></div>
  12. <div id="content" class="mw-body">
  13. <h1 id="firstHeading" class="firstHeading"><span>Options/Files</span></h1>
  14. <div id="bodyContent" class="mw-body-content">
  15. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  16. <div id="contentSub"></div>
  17. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  18. <div id='xocfg_body'>
  19. <!-- TEXT:err_msg -->
  20. <div id='xocfg_err'></div>
  21. <div>
  22. <!-- BTN:info -->
  23. <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>
  24. <!-- COMBO:cfg_grps -->
  25. <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
  26. <option value='xowa.app.security' >App - Security</option>
  27. <option value='xowa.app.startup' >App - Startup</option>
  28. <option value='xowa.app.dbs' >App - Databases</option>
  29. <option value='xowa.app.update' >App - Update</option>
  30. <option value='xowa.gui.general' >Gui - General</option>
  31. <option value='xowa.gui.tabs' >Gui - Tabs</option>
  32. <option value='xowa.gui.url_bar' >Gui - Address bar</option>
  33. <option value='xowa.gui.menus' >Gui - Menus</option>
  34. <option value='xowa.gui.shortcuts' >Gui - Shortcuts</option>
  35. <option value='xowa.gui.nightmode' >Gui - Nightmode</option>
  36. <option value='xowa.wiki.hdumps' >Wiki - HTML Databases</option>
  37. <option value='xowa.wiki.edit' >Wiki - Editing</option>
  38. <option value='xowa.bldr.general' >Import - General</option>
  39. <option value='xowa.bldr.db' >Import - Database</option>
  40. <option value='xowa.bldr.page_sync' >Import - Page sync</option>
  41. <option value='xowa.bldr.dansguardian' >Import - Dansguardian</option>
  42. <option value='xowa.html.css' >HTML - CSS</option>
  43. <option value='xowa.html.page' >HTML - Page</option>
  44. <option value='xowa.html.tidy' >HTML - Tidy</option>
  45. <option value='xowa.html.scripting' >HTML - Scripting</option>
  46. <option value='xowa.files.general' selected='selected'>Files - General</option>
  47. <option value='xowa.files.apps' >Files - Apps</option>
  48. <option value='xowa.addon.search' >Addon - Search</option>
  49. <option value='xowa.addon.fulltext_search' >Addon - Full-text search</option>
  50. <option value='xowa.addon.category' >Addon - Category</option>
  51. <option value='xowa.addon.http_server' >Addon - HTTP Server</option>
  52. <option value='xowa.addon.scribunto' >Addon - Scribunto</option>
  53. <option value='xowa.addon.math' >Addon - Math</option>
  54. <option value='xowa.addon.score' >Addon - Score</option>
  55. <option value='xowa.addon.popups' >Addon - Popups</option>
  56. <option value='xowa.addon.wikibase' >Addon - Wikidata</option>
  57. <option value='xowa.dev.general' >Dev - General</option>
  58. <option value='xowa.app.settings' >App - Settings</option>
  59. </select>
  60. <!-- LINK:cfg_link -->
  61. <div style='float:right;margin:2px 7px;'>
  62. <a id='options_lnk'>options link</a>
  63. </div>
  64. </div>
  65. <div id='cfg_grps'>
  66. <!-- TEXT:page_help -->
  67. <div>
  68. <p id='page_help_para'></p>
  69. </div>
  70. <h2>Basic</h2>
  71. <div class="xocfg_row flex_div">
  72. <!-- BTN:help_item -->
  73. <div class='xocfg_itm_help'>
  74. <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>
  75. </div>
  76. <!-- TEXT:key -->
  77. <div id='xowa.files.retrieval_enabled__name' class='xocfg_itm_name'>Retrieval enabled</div>
  78. <!-- BTN:undo -->
  79. <div id='xowa.files.retrieval_enabled__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  80. <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>
  81. </div>
  82. <!-- TEXT:val -->
  83. <div class='xocfg_itm_data'>
  84. <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"></input></div>
  85. <!-- HIDDEN:key,ctx -->
  86. <input type='hidden' id='xowa.files.retrieval_enabled__key_box' value='xowa.files.retrieval_enabled'></input>
  87. <input type='hidden' id='xowa.files.retrieval_enabled__ctx_box' value='app'></input>
  88. </div>
  89. <!-- DIV:help -->
  90. <div id='xowa.files.retrieval_enabled_help_div' class='xohelp_div'>
  91. <div id='xowa.files.retrieval_enabled_help_msg' class='xohelp_msg'><p>Choose one of the following:
  92. </p>
  93. <ul>
  94. <li> <b>checked</b> to automatically download images / retrieve images from database
  95. <ul>
  96. <li> ImageMagick and Inkscape <b>must</b> be installed (See <a href="/wiki/Dev/File/Setup" id="xolnki_27" title="Dev/File/Setup" tabindex="-1">Dev/File/Setup</a>)
  97. </li>
  98. <li> An internet connection must be available, or a local tarball must be set up. (See <a href="/wiki/Archive/Usage/Offline_images" id="xolnki_28" title="Archive/Usage/Offline images" tabindex="-1">Archive/Usage/Offline_images</a>)
  99. </li>
  100. </ul>
  101. </li>
  102. <li> <b>unchecked</b> to leave images unprocessed
  103. </li>
  104. </ul>
  105. </div>
  106. </div>
  107. <h2>Cache</h2>
  108. <div class="xocfg_row flex_div">
  109. <!-- BTN:help_item -->
  110. <div class='xocfg_itm_help'>
  111. <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>
  112. </div>
  113. <!-- TEXT:key -->
  114. <div id='xowa.files.cache.fsys_size_min__name' class='xocfg_itm_name'>Minimum disk space used</div>
  115. <!-- BTN:undo -->
  116. <div id='xowa.files.cache.fsys_size_min__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
  117. <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>
  118. </div>
  119. <!-- TEXT:val -->
  120. <div class='xocfg_itm_data'>
  121. <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"></input></div>
  122. <!-- HIDDEN:key,ctx -->
  123. <input type='hidden' id='xowa.files.cache.fsys_size_min__key_box' value='xowa.files.cache.fsys_size_min'></input>
  124. <input type='hidden' id='xowa.files.cache.fsys_size_min__ctx_box' value='app'></input>
  125. </div>
  126. <!-- DIV:help -->
  127. <div id='xowa.files.cache.fsys_size_min_help_div' class='xohelp_div'>
  128. <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/>
  129. </p>
  130. <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/>
  131. </p>
  132. <p>For example:
  133. </p>
  134. <ul>
  135. <li> If the max is set to 100 MB
  136. </li>
  137. <li> ... and the current size of all files in the cache is 99.9 MB
  138. </li>
  139. <li> ... and a 200 KB file is added
  140. </li>
  141. <li> Then the cache size will be temporarily 100.1 MB
  142. </li>
  143. <li> ... triggering the delete mechanism
  144. </li>
  145. <li> ... which will reduce the current size of all files to 75 MB
  146. </li>
  147. </ul>
  148. </div>
  149. </div>
  150. <div class="xocfg_row flex_div">
  151. <!-- BTN:help_item -->
  152. <div class='xocfg_itm_help'>
  153. <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>
  154. </div>
  155. <!-- TEXT:key -->
  156. <div id='xowa.files.cache.fsys_size_max__name' class='xocfg_itm_name'>Maximum disk space used</div>
  157. <!-- BTN:undo -->
  158. <div id='xowa.files.cache.fsys_size_max__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
  159. <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>
  160. </div>
  161. <!-- TEXT:val -->
  162. <div class='xocfg_itm_data'>
  163. <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"></input></div>
  164. <!-- HIDDEN:key,ctx -->
  165. <input type='hidden' id='xowa.files.cache.fsys_size_max__key_box' value='xowa.files.cache.fsys_size_max'></input>
  166. <input type='hidden' id='xowa.files.cache.fsys_size_max__ctx_box' value='app'></input>
  167. </div>
  168. <!-- DIV:help -->
  169. <div id='xowa.files.cache.fsys_size_max_help_div' class='xohelp_div'>
  170. <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/>
  171. </p>
  172. </div>
  173. </div>
  174. <div class="xocfg_row flex_div">
  175. <!-- BTN:help_item -->
  176. <div class='xocfg_itm_help'>
  177. <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>
  178. </div>
  179. <!-- TEXT:key -->
  180. <div id='xowa.files.cache.reduce_to_min__name' class='xocfg_itm_name'>Reduce cache to min</div>
  181. <!-- BTN:undo -->
  182. <div id='xowa.files.cache.reduce_to_min__undo' data-xocfg-type='btn' class='xocfg_itm_delete xocfg_itm_hide'>
  183. <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>
  184. </div>
  185. <!-- TEXT:val -->
  186. <div class='xocfg_itm_data'>
  187. <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>
  188. <!-- HIDDEN:key,ctx -->
  189. <input type='hidden' id='xowa.files.cache.reduce_to_min__key_box' value='xowa.files.cache.reduce_to_min'></input>
  190. <input type='hidden' id='xowa.files.cache.reduce_to_min__ctx_box' value='app'></input>
  191. </div>
  192. <!-- DIV:help -->
  193. <div id='xowa.files.cache.reduce_to_min_help_div' class='xohelp_div'>
  194. <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).
  195. </p>
  196. </div>
  197. </div>
  198. <div class="xocfg_row flex_div">
  199. <!-- BTN:help_item -->
  200. <div class='xocfg_itm_help'>
  201. <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>
  202. </div>
  203. <!-- TEXT:key -->
  204. <div id='xowa.files.cache.clear__name' class='xocfg_itm_name'>Clear cache</div>
  205. <!-- BTN:undo -->
  206. <div id='xowa.files.cache.clear__undo' data-xocfg-type='btn' class='xocfg_itm_delete xocfg_itm_hide'>
  207. <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>
  208. </div>
  209. <!-- TEXT:val -->
  210. <div class='xocfg_itm_data'>
  211. <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>
  212. <!-- HIDDEN:key,ctx -->
  213. <input type='hidden' id='xowa.files.cache.clear__key_box' value='xowa.files.cache.clear'></input>
  214. <input type='hidden' id='xowa.files.cache.clear__ctx_box' value='app'></input>
  215. </div>
  216. <!-- DIV:help -->
  217. <div id='xowa.files.cache.clear_help_div' class='xohelp_div'>
  218. <div id='xowa.files.cache.clear_help_msg' class='xohelp_msg'><p>Press to clear the cache (reduces to 0 MB).
  219. </p>
  220. </div>
  221. </div>
  222. <div class="xocfg_row flex_div">
  223. <!-- BTN:help_item -->
  224. <div class='xocfg_itm_help'>
  225. <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>
  226. </div>
  227. <!-- TEXT:key -->
  228. <div id='xowa.files.cache.info__name' class='xocfg_itm_name'>Info</div>
  229. <!-- BTN:undo -->
  230. <div id='xowa.files.cache.info__undo' data-xocfg-type='memo' class='xocfg_itm_delete xocfg_itm_hide'>
  231. <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_release\file
  232. space used: 0.000 B
  233. file count: 0
  234. oldest file:
  235. &quot;">&nbsp;</span>
  236. </div>
  237. <!-- TEXT:val -->
  238. <div class='xocfg_itm_data'>
  239. <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_release\file
  240. space used: 0.000 B
  241. file count: 0
  242. oldest file:
  243. </textarea></div>
  244. <!-- HIDDEN:key,ctx -->
  245. <input type='hidden' id='xowa.files.cache.info__key_box' value='xowa.files.cache.info'></input>
  246. <input type='hidden' id='xowa.files.cache.info__ctx_box' value='app'></input>
  247. </div>
  248. <!-- DIV:help -->
  249. <div id='xowa.files.cache.info_help_div' class='xohelp_div'>
  250. <div id='xowa.files.cache.info_help_msg' class='xohelp_msg'><p>Miscellaneous information about the cache
  251. </p>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. <div id="mw-head" class="noprint">
  260. <div id="left-navigation">
  261. <div id="p-namespaces" class="vectorTabs">
  262. <h3>Namespaces</h3>
  263. <ul>
  264. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  265. </ul>
  266. </div>
  267. </div>
  268. </div>
  269. <div id='mw-panel' class='noprint'>
  270. <div id='p-logo'>
  271. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  272. </div>
  273. <div class="portal" id='xowa-portal-home'>
  274. <h3>XOWA</h3>
  275. <div class="body">
  276. <ul>
  277. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  278. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  279. <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
  280. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  281. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  282. </ul>
  283. </div>
  284. </div>
  285. <div class="portal" id='xowa-portal-started'>
  286. <h3>Getting started</h3>
  287. <div class="body">
  288. <ul>
  289. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  290. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  291. <li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
  292. <li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
  293. <li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
  294. </ul>
  295. </div>
  296. </div>
  297. <div class="portal" id='xowa-portal-android'>
  298. <h3>Android</h3>
  299. <div class="body">
  300. <ul>
  301. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  302. <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
  303. </ul>
  304. </div>
  305. </div>
  306. <div class="portal" id='xowa-portal-help'>
  307. <h3>Help</h3>
  308. <div class="body">
  309. <ul>
  310. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  311. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  312. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  313. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  314. </ul>
  315. </div>
  316. </div>
  317. <div class="portal" id='xowa-portal-blog'>
  318. <h3>Blog</h3>
  319. <div class="body">
  320. <ul>
  321. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  322. </ul>
  323. </div>
  324. </div>
  325. <div class="portal" id='xowa-portal-links'>
  326. <h3>Links</h3>
  327. <div class="body">
  328. <ul>
  329. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  330. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  331. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  332. </ul>
  333. </div>
  334. </div>
  335. <div class="portal" id='xowa-portal-donate'>
  336. <h3>Donate</h3>
  337. <div class="body">
  338. <ul>
  339. <li><a href="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/ -->
  340. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  341. <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
  342. </ul>
  343. </div>
  344. </div>
  345. </div>
  346. </body>
  347. </html>