Import.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Options/Import - 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/Import</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' selected='selected'>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' >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>General</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.bldr.import.dump_servers")' title='view more info'>&nbsp;</span>
  75. </div>
  76. <!-- TEXT:key -->
  77. <div id='xowa.bldr.import.dump_servers__name' class='xocfg_itm_name'>Dump servers</div>
  78. <!-- BTN:undo -->
  79. <div id='xowa.bldr.import.dump_servers__undo' data-xocfg-type='memo' class='xocfg_itm_delete xocfg_itm_hide'>
  80. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.dump_servers")' title="reset to &quot;http://dumps.wikimedia.your.org/,
  81. https://dumps.wikimedia.org/,
  82. http://wikipedia.c3sl.ufpr.br/,
  83. http://ftp.fi.muni.cz/pub/wikimedia/&quot;">&nbsp;</span>
  84. </div>
  85. <!-- TEXT:val -->
  86. <div class='xocfg_itm_data'>
  87. <textarea id="xowa.bldr.import.dump_servers" data-xocfg-key="xowa.bldr.import.dump_servers" data-xocfg-type="memo" accesskey="d" class="xocfg_data__memo" rows="4">http://dumps.wikimedia.your.org/,
  88. https://dumps.wikimedia.org/,
  89. http://wikipedia.c3sl.ufpr.br/,
  90. http://ftp.fi.muni.cz/pub/wikimedia/</textarea></div>
  91. <!-- HIDDEN:key,ctx -->
  92. <input type='hidden' id='xowa.bldr.import.dump_servers__key_box' value='xowa.bldr.import.dump_servers'></input>
  93. <input type='hidden' id='xowa.bldr.import.dump_servers__ctx_box' value='app'></input>
  94. </div>
  95. <!-- DIV:help -->
  96. <div id='xowa.bldr.import.dump_servers_help_div' class='xohelp_div'>
  97. <div id='xowa.bldr.import.dump_servers_help_msg' class='xohelp_msg'><p>Enter a list of server urls separated by a comma and newline.
  98. </p>
  99. <ul>
  100. <li> The default value is:
  101. </li>
  102. </ul>
  103. <pre>
  104. http://dumps.wikimedia.your.org/,
  105. https://dumps.wikimedia.org/,
  106. http://wikipedia.c3sl.ufpr.br/,
  107. http://ftp.fi.muni.cz/pub/wikimedia/
  108. </pre>
  109. <ul>
  110. <li> Note that servers are prioritized from left-to-right. In the default example, <b>your.org</b> will be tried first. If it is offline, then the next server -- <b>dumps.wikimedia.org</b> -- will be tried, etc.
  111. </li>
  112. <li> See <a href="/wiki/App/Import/Download/Dump_servers" id="xolnki_17" title="App/Import/Download/Dump servers" tabindex="-1">App/Import/Download/Dump_servers</a> for more info
  113. </li>
  114. </ul>
  115. </div>
  116. </div>
  117. <div class="xocfg_row flex_div">
  118. <!-- BTN:help_item -->
  119. <div class='xocfg_itm_help'>
  120. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.download_xowa_common")' title='view more info'>&nbsp;</span>
  121. </div>
  122. <!-- TEXT:key -->
  123. <div id='xowa.bldr.import.download_xowa_common__name' class='xocfg_itm_name'>Download xowa_common.css</div>
  124. <!-- BTN:undo -->
  125. <div id='xowa.bldr.import.download_xowa_common__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  126. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.download_xowa_common")' title="reset to &quot;y&quot;">&nbsp;</span>
  127. </div>
  128. <!-- TEXT:val -->
  129. <div class='xocfg_itm_data'>
  130. <input id="xowa.bldr.import.download_xowa_common" data-xocfg-key="xowa.bldr.import.download_xowa_common" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked"></input></div>
  131. <!-- HIDDEN:key,ctx -->
  132. <input type='hidden' id='xowa.bldr.import.download_xowa_common__key_box' value='xowa.bldr.import.download_xowa_common'></input>
  133. <input type='hidden' id='xowa.bldr.import.download_xowa_common__ctx_box' value='app'></input>
  134. </div>
  135. <!-- DIV:help -->
  136. <div id='xowa.bldr.import.download_xowa_common_help_div' class='xohelp_div'>
  137. <div id='xowa.bldr.import.download_xowa_common_help_msg' class='xohelp_msg'><p>Affects the xowa_common.css file in /xowa/user/anonymous/wiki/wiki_name/html/. Only occurs once when importing a wiki.
  138. </p>
  139. <ul>
  140. <li> <b>checked</b>: Downloads xowa_common.css from the Wikimedia servers. Note that this stylesheet will be the latest copy but it may cause unexpected formatting in XOWA.
  141. </li>
  142. <li> <b>unchecked</b>: Copies xowa_common.css from /xowa/bin/any/html/html/import/. Note that this stylesheet is the one XOWA is coded against. It is the most stable, but will not have the latest logo
  143. </li>
  144. </ul>
  145. </div>
  146. </div>
  147. <div class="xocfg_row flex_div">
  148. <!-- BTN:help_item -->
  149. <div class='xocfg_itm_help'>
  150. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.unzip_bz2_file")' title='view more info'>&nbsp;</span>
  151. </div>
  152. <!-- TEXT:key -->
  153. <div id='xowa.bldr.import.unzip_bz2_file__name' class='xocfg_itm_name'>Unzip bz2 file</div>
  154. <!-- BTN:undo -->
  155. <div id='xowa.bldr.import.unzip_bz2_file__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  156. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.unzip_bz2_file")' title="reset to &quot;n&quot;">&nbsp;</span>
  157. </div>
  158. <!-- TEXT:val -->
  159. <div class='xocfg_itm_data'>
  160. <input id="xowa.bldr.import.unzip_bz2_file" data-xocfg-key="xowa.bldr.import.unzip_bz2_file" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox"></input></div>
  161. <!-- HIDDEN:key,ctx -->
  162. <input type='hidden' id='xowa.bldr.import.unzip_bz2_file__key_box' value='xowa.bldr.import.unzip_bz2_file'></input>
  163. <input type='hidden' id='xowa.bldr.import.unzip_bz2_file__ctx_box' value='app'></input>
  164. </div>
  165. <!-- DIV:help -->
  166. <div id='xowa.bldr.import.unzip_bz2_file_help_div' class='xohelp_div'>
  167. <div id='xowa.bldr.import.unzip_bz2_file_help_msg' class='xohelp_msg'><p>Choose one of the following:
  168. </p>
  169. <ul>
  170. <li> <b>checked</b>: the .bz2 file will be unzipped to an .xml file. The import will be faster, but it will use more disk space
  171. </li>
  172. <li> <b>unchecked</b>: the .bz2 file will not be unzipped. The import will not be faster, but it will not use more disk space
  173. </li>
  174. </ul>
  175. <p>NOTE: When XOWA reads directly from the .bz2 file, the progress percentage will not be accurate. It may hover at 99.99% for several minutes'
  176. </p>
  177. </div>
  178. </div>
  179. <div class="xocfg_row flex_div">
  180. <!-- BTN:help_item -->
  181. <div class='xocfg_itm_help'>
  182. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.delete_xml_file")' title='view more info'>&nbsp;</span>
  183. </div>
  184. <!-- TEXT:key -->
  185. <div id='xowa.bldr.import.delete_xml_file__name' class='xocfg_itm_name'>Delete XML file after import</div>
  186. <!-- BTN:undo -->
  187. <div id='xowa.bldr.import.delete_xml_file__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  188. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.delete_xml_file")' title="reset to &quot;y&quot;">&nbsp;</span>
  189. </div>
  190. <!-- TEXT:val -->
  191. <div class='xocfg_itm_data'>
  192. <input id="xowa.bldr.import.delete_xml_file" data-xocfg-key="xowa.bldr.import.delete_xml_file" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked"></input></div>
  193. <!-- HIDDEN:key,ctx -->
  194. <input type='hidden' id='xowa.bldr.import.delete_xml_file__key_box' value='xowa.bldr.import.delete_xml_file'></input>
  195. <input type='hidden' id='xowa.bldr.import.delete_xml_file__ctx_box' value='app'></input>
  196. </div>
  197. <!-- DIV:help -->
  198. <div id='xowa.bldr.import.delete_xml_file_help_div' class='xohelp_div'>
  199. <div id='xowa.bldr.import.delete_xml_file_help_msg' class='xohelp_msg'><p>(Only relevant if 'Unzip bz2 file' is checked) Choose one of the following:
  200. </p>
  201. <ul>
  202. <li> <b>checked</b>: the .xml file is automatically deleted once the import process completes
  203. </li>
  204. <li> <b>unchecked</b>: the .xml file is untouched
  205. </li>
  206. </ul>
  207. </div>
  208. </div>
  209. <h2>bzip2 Options</h2>
  210. <div class="xocfg_row flex_div">
  211. <!-- BTN:help_item -->
  212. <div class='xocfg_itm_help'>
  213. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.apps.bz2_stdout.enabled")' title='view more info'>&nbsp;</span>
  214. </div>
  215. <!-- TEXT:key -->
  216. <div id='xowa.bldr.import.apps.bz2_stdout.enabled__name' class='xocfg_itm_name'>Stdout enabled</div>
  217. <!-- BTN:undo -->
  218. <div id='xowa.bldr.import.apps.bz2_stdout.enabled__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  219. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.apps.bz2_stdout.enabled")' title="reset to &quot;y&quot;">&nbsp;</span>
  220. </div>
  221. <!-- TEXT:val -->
  222. <div class='xocfg_itm_data'>
  223. <input id="xowa.bldr.import.apps.bz2_stdout.enabled" data-xocfg-key="xowa.bldr.import.apps.bz2_stdout.enabled" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked"></input></div>
  224. <!-- HIDDEN:key,ctx -->
  225. <input type='hidden' id='xowa.bldr.import.apps.bz2_stdout.enabled__key_box' value='xowa.bldr.import.apps.bz2_stdout.enabled'></input>
  226. <input type='hidden' id='xowa.bldr.import.apps.bz2_stdout.enabled__ctx_box' value='app'></input>
  227. </div>
  228. <!-- DIV:help -->
  229. <div id='xowa.bldr.import.apps.bz2_stdout.enabled_help_div' class='xohelp_div'>
  230. <div id='xowa.bldr.import.apps.bz2_stdout.enabled_help_msg' class='xohelp_msg'><p><b>NOTE: this option only applies if the &quot;Custom wiki commands&quot; option is <code>wiki.download,wiki.import</code> (wiki.unzip must be removed)</b><br/>
  231. Select the method for importing a wiki dump bz2 file.
  232. </p>
  233. <ul>
  234. <li> <b>checked</b> : import through a native process's stdout. This will be faster, but may not work on all Operating Systems. A 95 MB file takes 85 seconds
  235. </li>
  236. <li> <b>unchecked</b>: import though Apache Common's Java bz2 compression library. This will be slower, but will work on all Operating Systems. A 95 MB file takes 215 seconds.
  237. </li>
  238. </ul>
  239. </div>
  240. </div>
  241. <div class="xocfg_row flex_div">
  242. <!-- BTN:help_item -->
  243. <div class='xocfg_itm_help'>
  244. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.apps.bz2_stdout.cmd")' title='view more info'>&nbsp;</span>
  245. </div>
  246. <!-- TEXT:key -->
  247. <div id='xowa.bldr.import.apps.bz2_stdout.cmd__name' class='xocfg_itm_name'>Stdout process</div>
  248. <!-- BTN:undo -->
  249. <div id='xowa.bldr.import.apps.bz2_stdout.cmd__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
  250. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.apps.bz2_stdout.cmd")' title="reset to &quot;~{<>bin_plat_dir<>}7-zip\7za|x -so &quot;~{src}&quot;&quot;">&nbsp;</span>
  251. </div>
  252. <!-- TEXT:val -->
  253. <div class='xocfg_itm_data'>
  254. <input class="xocfg_data__io_cmd__exe__txt" id="xowa.bldr.import.apps.bz2_stdout.cmd-exe" data-xocfg-key="xowa.bldr.import.apps.bz2_stdout.cmd" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{<>bin_plat_dir<>}7-zip\7za"></input>
  255. <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.bldr.import.apps.bz2_stdout.cmd-exe", "Please select a file.");'>&nbsp;</span><br/>
  256. <input class="xocfg_data__io_cmd__arg__txt" id="xowa.bldr.import.apps.bz2_stdout.cmd-arg" data-xocfg-key="xowa.bldr.import.apps.bz2_stdout.cmd" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="x -so &quot;~{src}&quot;">
  257. </div>
  258. <!-- HIDDEN:key,ctx -->
  259. <input type='hidden' id='xowa.bldr.import.apps.bz2_stdout.cmd__key_box' value='xowa.bldr.import.apps.bz2_stdout.cmd'></input>
  260. <input type='hidden' id='xowa.bldr.import.apps.bz2_stdout.cmd__ctx_box' value='app'></input>
  261. </div>
  262. <!-- DIV:help -->
  263. <div id='xowa.bldr.import.apps.bz2_stdout.cmd_help_div' class='xohelp_div'>
  264. <div id='xowa.bldr.import.apps.bz2_stdout.cmd_help_msg' class='xohelp_msg'><p><b>NOTE: lbzip2 (Many thanks to Anselm for making this suggestion, as well as compiling the data to support it. See <a href="http://sourceforge.net/p/xowa/tickets/263/?limit=10&page=6#f2fb/dcb6" rel="nofollow" class="external free" tabindex="-1">http://sourceforge.net/p/xowa/tickets/263/?limit=10&page=6#f2fb/dcb6</a>)</b>
  265. Linux users should consider using lbzip2, as lbzip2 has significant performance differences (30% in many cases).
  266. </p>
  267. <ul>
  268. <li> install lbzip2
  269. <ul>
  270. <li> (Debian) <code>sudo apt-get install lbzip2</code>
  271. </li>
  272. </ul>
  273. </li>
  274. <li> change &quot;Import bz2 by stdout process&quot; to
  275. <ul>
  276. <li> <code>lbzip2</code>
  277. </li>
  278. <li> <code>-dkc &quot;~{src}&quot;</code>
  279. </li>
  280. </ul>
  281. </li>
  282. </ul>
  283. </div>
  284. </div>
  285. <h2>Apps</h2>
  286. <div class="xocfg_row flex_div">
  287. <!-- BTN:help_item -->
  288. <div class='xocfg_itm_help'>
  289. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.apps.bz2")' title='view more info'>&nbsp;</span>
  290. </div>
  291. <!-- TEXT:key -->
  292. <div id='xowa.bldr.import.apps.bz2__name' class='xocfg_itm_name'>bz2 app</div>
  293. <!-- BTN:undo -->
  294. <div id='xowa.bldr.import.apps.bz2__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
  295. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.apps.bz2")' title="reset to &quot;~{<>bin_plat_dir<>}7-zip\7za|x -y -r &quot;~{src}&quot; -o&quot;~{trg_dir}&quot;&quot;">&nbsp;</span>
  296. </div>
  297. <!-- TEXT:val -->
  298. <div class='xocfg_itm_data'>
  299. <input class="xocfg_data__io_cmd__exe__txt" id="xowa.bldr.import.apps.bz2-exe" data-xocfg-key="xowa.bldr.import.apps.bz2" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{<>bin_plat_dir<>}7-zip\7za"></input>
  300. <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.bldr.import.apps.bz2-exe", "Please select a file.");'>&nbsp;</span><br/>
  301. <input class="xocfg_data__io_cmd__arg__txt" id="xowa.bldr.import.apps.bz2-arg" data-xocfg-key="xowa.bldr.import.apps.bz2" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="x -y -r &quot;~{src}&quot; -o&quot;~{trg_dir}&quot;">
  302. </div>
  303. <!-- HIDDEN:key,ctx -->
  304. <input type='hidden' id='xowa.bldr.import.apps.bz2__key_box' value='xowa.bldr.import.apps.bz2'></input>
  305. <input type='hidden' id='xowa.bldr.import.apps.bz2__ctx_box' value='app'></input>
  306. </div>
  307. <!-- DIV:help -->
  308. <div id='xowa.bldr.import.apps.bz2_help_div' class='xohelp_div'>
  309. <div id='xowa.bldr.import.apps.bz2_help_msg' class='xohelp_msg'><p>Choose app to decompress bz2 file (Recommended: <a href="http://7-zip.org/" rel="nofollow" class="external text" tabindex="-1">7-zip</a>)
  310. </p>
  311. </div>
  312. </div>
  313. <div class="xocfg_row flex_div">
  314. <!-- BTN:help_item -->
  315. <div class='xocfg_itm_help'>
  316. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.apps.gz")' title='view more info'>&nbsp;</span>
  317. </div>
  318. <!-- TEXT:key -->
  319. <div id='xowa.bldr.import.apps.gz__name' class='xocfg_itm_name'>gzip app</div>
  320. <!-- BTN:undo -->
  321. <div id='xowa.bldr.import.apps.gz__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
  322. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.apps.gz")' title="reset to &quot;~{<>bin_plat_dir<>}7-zip\7za|x -y -r &quot;~{src}&quot; -o&quot;~{trg_dir}&quot;&quot;">&nbsp;</span>
  323. </div>
  324. <!-- TEXT:val -->
  325. <div class='xocfg_itm_data'>
  326. <input class="xocfg_data__io_cmd__exe__txt" id="xowa.bldr.import.apps.gz-exe" data-xocfg-key="xowa.bldr.import.apps.gz" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{<>bin_plat_dir<>}7-zip\7za"></input>
  327. <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.bldr.import.apps.gz-exe", "Please select a file.");'>&nbsp;</span><br/>
  328. <input class="xocfg_data__io_cmd__arg__txt" id="xowa.bldr.import.apps.gz-arg" data-xocfg-key="xowa.bldr.import.apps.gz" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="x -y -r &quot;~{src}&quot; -o&quot;~{trg_dir}&quot;">
  329. </div>
  330. <!-- HIDDEN:key,ctx -->
  331. <input type='hidden' id='xowa.bldr.import.apps.gz__key_box' value='xowa.bldr.import.apps.gz'></input>
  332. <input type='hidden' id='xowa.bldr.import.apps.gz__ctx_box' value='app'></input>
  333. </div>
  334. <!-- DIV:help -->
  335. <div id='xowa.bldr.import.apps.gz_help_div' class='xohelp_div'>
  336. <div id='xowa.bldr.import.apps.gz_help_msg' class='xohelp_msg'><p>Choose app to decompress gzip file (Recommended: <a href="http://7-zip.org/" rel="nofollow" class="external text" tabindex="-1">7-zip</a>)
  337. </p>
  338. </div>
  339. </div>
  340. <h2>Search</h2>
  341. <div class="xocfg_row flex_div">
  342. <!-- BTN:help_item -->
  343. <div class='xocfg_itm_help'>
  344. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.bldr.import.page_rank.iteration_max")' title='view more info'>&nbsp;</span>
  345. </div>
  346. <!-- TEXT:key -->
  347. <div id='xowa.bldr.import.page_rank.iteration_max__name' class='xocfg_itm_name'>PageRank iterations</div>
  348. <!-- BTN:undo -->
  349. <div id='xowa.bldr.import.page_rank.iteration_max__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
  350. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.bldr.import.page_rank.iteration_max")' title="reset to &quot;0&quot;">&nbsp;</span>
  351. </div>
  352. <!-- TEXT:val -->
  353. <div class='xocfg_itm_data'>
  354. <input id="xowa.bldr.import.page_rank.iteration_max" data-xocfg-key="xowa.bldr.import.page_rank.iteration_max" data-xocfg-type="int" accesskey="d" class="xocfg_data__int" type="text" value="0"></input></div>
  355. <!-- HIDDEN:key,ctx -->
  356. <input type='hidden' id='xowa.bldr.import.page_rank.iteration_max__key_box' value='xowa.bldr.import.page_rank.iteration_max'></input>
  357. <input type='hidden' id='xowa.bldr.import.page_rank.iteration_max__ctx_box' value='app'></input>
  358. </div>
  359. <!-- DIV:help -->
  360. <div id='xowa.bldr.import.page_rank.iteration_max_help_div' class='xohelp_div'>
  361. <div id='xowa.bldr.import.page_rank.iteration_max_help_msg' class='xohelp_msg'><p>Specify one of the following:
  362. </p>
  363. <ul>
  364. <li> <b>0</b> : (default) page rank is disabled
  365. </li>
  366. <li> <b>(number greater than 1)</b>: page rank will be calculated until it is finished or maximum number of interations are reached. For more info, see <a href="/wiki/Help/Features/Search/Build" id="xolnki_18" title="Help/Features/Search/Build" tabindex="-1">Help/Features/Search/Build</a>
  367. </li>
  368. </ul>
  369. </div>
  370. </div>
  371. </div>
  372. </div>
  373. </div>
  374. </div>
  375. </div>
  376. <div id="mw-head" class="noprint">
  377. <div id="left-navigation">
  378. <div id="p-namespaces" class="vectorTabs">
  379. <h3>Namespaces</h3>
  380. <ul>
  381. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  382. </ul>
  383. </div>
  384. </div>
  385. </div>
  386. <div id='mw-panel' class='noprint'>
  387. <div id='p-logo'>
  388. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  389. </div>
  390. <div class="portal" id='xowa-portal-home'>
  391. <h3>XOWA</h3>
  392. <div class="body">
  393. <ul>
  394. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  395. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  396. <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
  397. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  398. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  399. </ul>
  400. </div>
  401. </div>
  402. <div class="portal" id='xowa-portal-started'>
  403. <h3>Getting started</h3>
  404. <div class="body">
  405. <ul>
  406. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  407. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  408. <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>
  409. <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>
  410. <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>
  411. </ul>
  412. </div>
  413. </div>
  414. <div class="portal" id='xowa-portal-android'>
  415. <h3>Android</h3>
  416. <div class="body">
  417. <ul>
  418. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  419. <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
  420. </ul>
  421. </div>
  422. </div>
  423. <div class="portal" id='xowa-portal-help'>
  424. <h3>Help</h3>
  425. <div class="body">
  426. <ul>
  427. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  428. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  429. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  430. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  431. </ul>
  432. </div>
  433. </div>
  434. <div class="portal" id='xowa-portal-blog'>
  435. <h3>Blog</h3>
  436. <div class="body">
  437. <ul>
  438. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  439. </ul>
  440. </div>
  441. </div>
  442. <div class="portal" id='xowa-portal-links'>
  443. <h3>Links</h3>
  444. <div class="body">
  445. <ul>
  446. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  447. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  448. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  449. </ul>
  450. </div>
  451. </div>
  452. <div class="portal" id='xowa-portal-donate'>
  453. <h3>Donate</h3>
  454. <div class="body">
  455. <ul>
  456. <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/ -->
  457. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  458. <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
  459. </ul>
  460. </div>
  461. </div>
  462. </div>
  463. </body>
  464. </html>