Shrinking.html 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>App/Import/Shrinking - 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>App/Import/Shrinking</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. <p>
  19. This article explains how to reduce disk space for a wiki. It will focus on English Wikipedia, but the same steps apply to any other wiki.
  20. </p>
  21. <h2>
  22. <span class="mw-headline" id="BZ2_file">BZ2 file</span>
  23. </h2>
  24. <p>
  25. The main BZ2 file takes 9 GB. This BZ2 file is located wherever you downloaded it.
  26. </p>
  27. <p>
  28. This file is not used by XOWA, and can be removed from the system.
  29. </p>
  30. <p>
  31. If you are using the automated set up from <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online">Dashboard/Import/Online</a>, the BZ2 file is moved to /xowa/wiki/#done. XOWA does not delete this file in case the user wants to re-import the wiki, and avoid redownloading the entire file.
  32. </p>
  33. <p>
  34. <br>
  35. </p>
  36. <h2>
  37. <span class="mw-headline" id="Namespace_removal">Namespace removal</span>
  38. </h2>
  39. <p>
  40. You can prune entire namespaces. For example, some users may not be interested in the Wikipedia namespace as it contains mostly meta-information about Wikipedia. The namespace itself is about 3.0 GB.
  41. </p>
  42. <p>
  43. To remove this namespace, you can delete the entire namespace db. The file would be en.wikipedia.org-text-ns.004.xowa
  44. </p>
  45. </div>
  46. </div>
  47. </div>
  48. <div id="mw-head" class="noprint">
  49. <div id="left-navigation">
  50. <div id="p-namespaces" class="vectorTabs">
  51. <h3>Namespaces</h3>
  52. <ul>
  53. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  54. </ul>
  55. </div>
  56. </div>
  57. </div>
  58. <div id='mw-panel' class='noprint'>
  59. <div id='p-logo'>
  60. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  61. </div>
  62. <div class="portal" id='xowa-portal-home'>
  63. <h3>XOWA</h3>
  64. <div class="body">
  65. <ul>
  66. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  67. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  68. <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
  69. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  70. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  71. </ul>
  72. </div>
  73. </div>
  74. <div class="portal" id='xowa-portal-started'>
  75. <h3>Getting started</h3>
  76. <div class="body">
  77. <ul>
  78. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  79. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  80. <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>
  81. <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>
  82. <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>
  83. </ul>
  84. </div>
  85. </div>
  86. <div class="portal" id='xowa-portal-android'>
  87. <h3>Android</h3>
  88. <div class="body">
  89. <ul>
  90. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  91. <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
  92. </ul>
  93. </div>
  94. </div>
  95. <div class="portal" id='xowa-portal-help'>
  96. <h3>Help</h3>
  97. <div class="body">
  98. <ul>
  99. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  100. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  101. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  102. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  103. </ul>
  104. </div>
  105. </div>
  106. <div class="portal" id='xowa-portal-blog'>
  107. <h3>Blog</h3>
  108. <div class="body">
  109. <ul>
  110. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  111. </ul>
  112. </div>
  113. </div>
  114. <div class="portal" id='xowa-portal-links'>
  115. <h3>Links</h3>
  116. <div class="body">
  117. <ul>
  118. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  119. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  120. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  121. </ul>
  122. </div>
  123. </div>
  124. <div class="portal" id='xowa-portal-donate'>
  125. <h3>Donate</h3>
  126. <div class="body">
  127. <ul>
  128. <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/ -->
  129. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  130. <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
  131. </ul>
  132. </div>
  133. </div>
  134. </div>
  135. </body>
  136. </html>