Wiki_maintenance.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Dashboard/Wiki maintenance - 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. <style data-source="xowa" type="text/css">
  9. .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
  10. .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
  11. .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
  12. .options_textbox {padding: 2px; border: 1px solid black;}
  13. .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
  14. .options_textarea {padding: 2px; border: 1px solid black;}
  15. .options_select {padding: 2px; border: 1px solid black;}
  16. .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
  17. .options_checkbox {padding: 2px; border: 1px solid black;}
  18. .options_readonly {background-color:#F9F9F9;}
  19. </style>
  20. <style data-source="xowa" type="text/css">
  21. .cell_center {text-align:center;}
  22. </style>
  23. </head>
  24. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  25. <div id="mw-page-base" class="noprint"></div>
  26. <div id="mw-head-base" class="noprint"></div>
  27. <div id="content" class="mw-body">
  28. <h1 id="firstHeading" class="firstHeading"><span>Dashboard/Wiki maintenance</span></h1>
  29. <div id="bodyContent" class="mw-body-content">
  30. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  31. <div id="contentSub"></div>
  32. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  33. <h2>
  34. <span class="mw-headline" id="Instructions">Instructions</span>
  35. </h2>
  36. <ul>
  37. <li>
  38. Click <code>Update dump status</code> to download the latest dump status from the dump servers
  39. </li>
  40. <li>
  41. Click <code>Import</code> to generate a script to import the latest wiki
  42. </li>
  43. <li>
  44. Click <code>Category</code> to generate a script to upgrade the category
  45. </li>
  46. <li>
  47. Click <code>Search</code> to generate a script to upgrade the category
  48. </li>
  49. <li>
  50. Go to the <a href="#Script" id="xolnki_2">Script</a> section and click <code>Run script</code>
  51. </li>
  52. </ul>
  53. <h2>
  54. <span class="mw-headline" id="XOWA_App">XOWA App</span>
  55. </h2>
  56. <p>
  57. <a href="https://github.com/gnosygnu/xowa/releases/" rel="nofollow" class="external text">Check online for the latest version</a>
  58. </p>
  59. <h2>
  60. <span class="mw-headline" id="Wikis">Wikis</span>
  61. </h2>
  62. <p>
  63. <button class='options_button' accesskey='u' id='xowa_update_dump_status' onclick='return update_dump_status();'>Update Dump Status</button><sup id="cite_ref-update_dump_status_0-0" class="reference"><a href="#cite_note-update_dump_status-0">[1]</a></sup> <a href="http://dumps.wikimedia.org/backup-index.html" rel="nofollow" class="external text">Dump server wiki status</a>
  64. </p>
  65. <table class='wikitable sortable'>
  66. <tr>
  67. <th>
  68. Domain
  69. </th>
  70. <th>
  71. Update?<sup id="cite_ref-wiki_update_needed_1-0" class="reference"><a href="#cite_note-wiki_update_needed-1">[2]</a></sup>
  72. </th>
  73. <th>
  74. Wiki<br>
  75. date<sup id="cite_ref-wiki_dump_date_2-0" class="reference"><a href="#cite_note-wiki_dump_date-2">[3]</a></sup>
  76. </th>
  77. <th>
  78. Latest<br>
  79. date<sup id="cite_ref-wmf_dump_date_3-0" class="reference"><a href="#cite_note-wmf_dump_date-3">[4]</a></sup>
  80. </th>
  81. <th>
  82. Latest<br>
  83. status<sup id="cite_ref-wmf_dump_status_4-0" class="reference"><a href="#cite_note-wmf_dump_status-4">[5]</a></sup>
  84. </th>
  85. <th>
  86. Type<sup id="cite_ref-wiki_type_5-0" class="reference"><a href="#cite_note-wiki_type-5">[6]</a></sup>
  87. </th>
  88. <th>
  89. Ctg<sup id="cite_ref-category_version_6-0" class="reference"><a href="#cite_note-category_version-6">[7]</a></sup>
  90. </th>
  91. <th>
  92. Search<sup id="cite_ref-search_version_7-0" class="reference"><a href="#cite_note-search_version-7">[8]</a></sup>
  93. </th>
  94. <th>
  95. Import<sup id="cite_ref-import_wiki_8-0" class="reference"><a href="#cite_note-import_wiki-8">[9]</a></sup>
  96. </th>
  97. <th>
  98. Category<sup id="cite_ref-upgrade_category_9-0" class="reference"><a href="#cite_note-upgrade_category-9">[10]</a></sup>
  99. </th>
  100. <th>
  101. Search<sup id="cite_ref-upgrade_search_10-0" class="reference"><a href="#cite_note-upgrade_search-10">[11]</a></sup>
  102. </th>
  103. </tr>
  104. </table>
  105. <h2>
  106. <span class="mw-headline" id="Script">Script</span>
  107. </h2>
  108. <p>
  109. <button class='options_button' accesskey='r' id='xowa_run_script' onclick='return run_script();'>Run Script</button>
  110. <textarea id='xowa_script_code' accesskey=',' cols='75' rows='20' class='options_textarea'>
  111. </textarea>
  112. </p>
  113. <h2>
  114. <span class="mw-headline" id="Usage_notes">Usage notes</span>
  115. </h2>
  116. <ol class="references">
  117. <li id="cite_note-update_dump_status-0">
  118. <span class="mw-cite-backlink"><a href="#cite_ref-update_dump_status_0-0">^</a></span> <span class="reference-text">Downloads latest dump status from <a href="http://dumps.wikimedia.org/backup-index.html" rel="nofollow" class="external free">http://dumps.wikimedia.org/backup-index.html</a> Note that the dump file is saved to /xowa/bin/any/html/xowa/maint/backup-index.html</span>
  119. </li>
  120. <li id="cite_note-wiki_update_needed-1">
  121. <span class="mw-cite-backlink"><a href="#cite_ref-wiki_update_needed_1-0">^</a></span> <span class="reference-text">y if wiki dump date is more than 1 day older than wmf_dump_date</span>
  122. </li>
  123. <li id="cite_note-wiki_dump_date-2">
  124. <span class="mw-cite-backlink"><a href="#cite_ref-wiki_dump_date_2-0">^</a></span> <span class="reference-text">Approximate date of current wiki. The dump xml files do not have a dump date in &lt;siteinfo&gt; so any date must be approximated. It can be either of the following</span>
  125. <ul>
  126. <li>
  127. <span class="reference-text"><code>latest modified for any page</code>: The most recent "modified_on" date of all pages in a wiki. (Only available for sqlite wikis imported in v0.8.2.0+)</span>
  128. </li>
  129. </ul>
  130. <dl>
  131. <dd>
  132. <span class="reference-text">Note that this value may be 1 day before the actual wmf dump date. For example, for dewikibooks, the WMF dump is 2013-08-14, but the latest "modified_on" is 2013-08-13.</span>
  133. </dd>
  134. </dl>
  135. <ul>
  136. <li>
  137. <span class="reference-text"><code>file modified timestamp of first sqlite database</code> The modified timestamp for the first sqlite database (".000.")</span>
  138. </li>
  139. </ul>
  140. <dl>
  141. <dd>
  142. <span class="reference-text">Note that this database's modified timestamp will change if any pages are ever updated. For example:</span>
  143. <dl>
  144. <dd>
  145. <span class="reference-text">simplewiki is imported on 2013-08-01 02:03:04</span>
  146. </dd>
  147. <dd>
  148. <span class="reference-text">File modified timestamp of simple.wikipedia.org.000.sqlite3 is "2013-08-01 02:03:04"</span>
  149. </dd>
  150. <dd>
  151. <span class="reference-text">The Earth page in simplewiki is edited to correct an error on "2013-08-05". The file_modified now reads "2013-08-05", even though the import date was "2013-08-01 02:03:04"</span>
  152. </dd>
  153. </dl>
  154. </dd>
  155. </dl>
  156. </li>
  157. <li id="cite_note-wmf_dump_date-3">
  158. <span class="mw-cite-backlink"><a href="#cite_ref-wmf_dump_date_3-0">^</a></span> <span class="reference-text">Latest available dump according to the dump server.</span>
  159. </li>
  160. <li id="cite_note-wmf_dump_status-4">
  161. <span class="mw-cite-backlink"><a href="#cite_ref-wmf_dump_status_4-0">^</a></span> <span class="reference-text">Latest available dump status according to the dump server.</span>
  162. </li>
  163. <li id="cite_note-wiki_type-5">
  164. <span class="mw-cite-backlink"><a href="#cite_ref-wiki_type_5-0">^</a></span> <span class="reference-text">Data storage for wiki. Can be either xdat or sqlite.</span>
  165. </li>
  166. <li id="cite_note-category_version-6">
  167. <span class="mw-cite-backlink"><a href="#cite_ref-category_version_6-0">^</a></span> <span class="reference-text">Current category level of wiki. Can be either 1 or 2. See <a href="/wiki/App/Category" id="xolnki_3" title="App/Category">App/Category</a> for more info</span>
  168. </li>
  169. <li id="cite_note-search_version-7">
  170. <span class="mw-cite-backlink"><a href="#cite_ref-search_version_7-0">^</a></span> <span class="reference-text">Current search level of wiki. Can be either 1 or 2. See <a href="/wiki/App/Search" id="xolnki_4" title="App/Search">App/Search</a> for more info</span>
  171. </li>
  172. <li id="cite_note-import_wiki-8">
  173. <span class="mw-cite-backlink"><a href="#cite_ref-import_wiki_8-0">^</a></span> <span class="reference-text">Generate script to import latest wiki</span>
  174. </li>
  175. <li id="cite_note-upgrade_category-9">
  176. <span class="mw-cite-backlink"><a href="#cite_ref-upgrade_category_9-0">^</a></span> <span class="reference-text">Generate script to upgrade category for wiki</span>
  177. </li>
  178. <li id="cite_note-upgrade_search-10">
  179. <span class="mw-cite-backlink"><a href="#cite_ref-upgrade_search_10-0">^</a></span> <span class="reference-text">Generate script to upgrade title search for wiki</span>
  180. </li>
  181. </ol>
  182. </div>
  183. </div>
  184. </div>
  185. <div id="mw-head" class="noprint">
  186. <div id="left-navigation">
  187. <div id="p-namespaces" class="vectorTabs">
  188. <h3>Namespaces</h3>
  189. <ul>
  190. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  191. </ul>
  192. </div>
  193. </div>
  194. </div>
  195. <div id='mw-panel' class='noprint'>
  196. <div id='p-logo'>
  197. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  198. </div>
  199. <div class="portal" id='xowa-portal-home'>
  200. <h3>XOWA</h3>
  201. <div class="body">
  202. <ul>
  203. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  204. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  205. <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
  206. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  207. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  208. </ul>
  209. </div>
  210. </div>
  211. <div class="portal" id='xowa-portal-started'>
  212. <h3>Getting started</h3>
  213. <div class="body">
  214. <ul>
  215. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  216. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  217. <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>
  218. <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>
  219. <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>
  220. </ul>
  221. </div>
  222. </div>
  223. <div class="portal" id='xowa-portal-android'>
  224. <h3>Android</h3>
  225. <div class="body">
  226. <ul>
  227. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  228. <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
  229. </ul>
  230. </div>
  231. </div>
  232. <div class="portal" id='xowa-portal-help'>
  233. <h3>Help</h3>
  234. <div class="body">
  235. <ul>
  236. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  237. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  238. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  239. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  240. </ul>
  241. </div>
  242. </div>
  243. <div class="portal" id='xowa-portal-blog'>
  244. <h3>Blog</h3>
  245. <div class="body">
  246. <ul>
  247. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  248. </ul>
  249. </div>
  250. </div>
  251. <div class="portal" id='xowa-portal-links'>
  252. <h3>Links</h3>
  253. <div class="body">
  254. <ul>
  255. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  256. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  257. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  258. </ul>
  259. </div>
  260. </div>
  261. <div class="portal" id='xowa-portal-donate'>
  262. <h3>Donate</h3>
  263. <div class="body">
  264. <ul>
  265. <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/ -->
  266. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  267. <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
  268. </ul>
  269. </div>
  270. </div>
  271. </div>
  272. </body>
  273. </html>