mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Add FAQ
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
Open the following file in a <a href="http://xowa.org/home/wiki/Dev/Environment/Text_editor.html" id="xolnki_2" title="Dev/Environment/Text editor">text editor</a>: <span class='path'>C:\xowa\xowa_build.gfs</span>. See Script below for the full text.
|
||||
Open the following file in a <a href="http://xowa.org/home/wiki/Dev/Environment/Text_editor" id="xolnki_2" title="Dev/Environment/Text editor">text editor</a>: <span class='path'>C:\xowa\xowa_build.gfs</span>. See Script below for the full text.
|
||||
</li>
|
||||
<li>
|
||||
Replace all instances of <span class='bold'>simple.wikipedia.org</span> with the domain name. For example, for English Wikipedia, use <span class='bold'>en.wikipedia.org</span>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<b>Current delay in XML dumps</b>: The last good wikidata XML dump was 2+ months old due to problems with dump generation. See: <a href="https://phabricator.wikimedia.org/T98585" rel="nofollow" class="external free">https://phabricator.wikimedia.org/T98585</a>
|
||||
</li>
|
||||
<li>
|
||||
<b>JSON dumps recommended</b>: Wikidata seems to prefer using the JSON dump over the XML dump. See: <a href="http://www.wikidata.org/wiki/Wikidata:Database_download" rel="nofollow" class="external free">http://www.wikidata.org/wiki/Wikidata:Database_download</a>
|
||||
<b>JSON dumps recommended</b>: Wikidata seems to prefer using the JSON dump over the XML dump. See: <a href="/site/www.wikidata.org/wiki/Database_download">http://www.wikidata.org/wiki/Wikidata:Database_download</a>
|
||||
</li>
|
||||
<li>
|
||||
<b>JSON dumps are more frequent</b>: The JSON dumps have been dumping regularly on a weekly basis. In contrast the XML dumps take 3 - 4 weeks.
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
Open up the config file in a text editor. (launch jEdit or Notepad++).
|
||||
</li>
|
||||
<li>
|
||||
Make the desired change. (see <a href="http://xowa.org/home/wiki/Dev/Config_files/Examples.html" id="xolnki_2" title="Dev/Config files/Examples">Dev/Config_files/Examples</a> for examples.)
|
||||
Make the desired change. (see <a href="http://xowa.org/home/wiki/Dev/Config_files/Examples" id="xolnki_2" title="Dev/Config files/Examples">Dev/Config_files/Examples</a> for examples.)
|
||||
</li>
|
||||
<li>
|
||||
Save and close the file.
|
||||
|
||||
@@ -22,19 +22,19 @@
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files.html" id="xolnki_2" title="Dev/Config files">Overview</a>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files" id="xolnki_2" title="Dev/Config files">Overview</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Examples.html" id="xolnki_3" title="Dev/Config files/Examples">Examples</a>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Examples" id="xolnki_3" title="Dev/Config files/Examples">Examples</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Files.html" id="xolnki_4" title="Dev/Config files/Files">Files</a>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Files" id="xolnki_4" title="Dev/Config files/Files">Files</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Details.html" id="xolnki_5" title="Dev/Config files/Details">Details and format</a>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Details" id="xolnki_5" title="Dev/Config files/Details">Details and format</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Syntax.html" id="xolnki_6" title="Dev/Config files/Syntax">Syntax and object model</a>
|
||||
<a href="http://xowa.org/home/wiki/Dev/Config_files/Syntax" id="xolnki_6" title="Dev/Config files/Syntax">Syntax and object model</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
|
||||
|
||||
<p>
|
||||
<a href="http://xowa.org/home/wiki/Template:Css/Sqlite.html" id="xolnki_2" title="Template:Css/Sqlite">Template:Css/Sqlite</a>
|
||||
<a href="http://xowa.org/home/wiki/Template:Css/Sqlite" id="xolnki_2" title="Template:Css/Sqlite">Template:Css/Sqlite</a>
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Get_the_file">Get the file</span>
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
launch sqlite3 shell. See <a href="http://xowa.org/home/wiki/Dev/Sqlite/Shell.html" id="xolnki_3" title="Dev/Sqlite/Shell">Dev/Sqlite/Shell</a>
|
||||
launch sqlite3 shell. See <a href="http://xowa.org/home/wiki/Dev/Sqlite/Shell" id="xolnki_3" title="Dev/Sqlite/Shell">Dev/Sqlite/Shell</a>
|
||||
</li>
|
||||
<li>
|
||||
Turn on some options
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
|
||||
|
||||
<p>
|
||||
The Wikimedia data dump files are released in compressed forms: <a href="http://en.wikipedia.org/bzip2" rel="nofollow" class="external text">bzip2</a> or <a href="http://en.wikipedia.org/gzip" rel="nofollow" class="external text">gzip</a>. Prior to v0.5.2, XOWA required that the files be uncompressed in order to read them. v0.5.2 allows the user the option to either read directly from the compressed or uncompressed file.
|
||||
The Wikimedia data dump files are released in compressed forms: <a href="/site/en.wikipedia.org/wiki/bzip2">bzip2</a> or <a href="/site/en.wikipedia.org/wiki/gzip">gzip</a>. Prior to v0.5.2, XOWA required that the files be uncompressed in order to read them. v0.5.2 allows the user the option to either read directly from the compressed or uncompressed file.
|
||||
</p>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle" class="toctitle">
|
||||
@@ -75,7 +75,7 @@
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Go to <a href="http://xowa.org/home/wiki/Options/Import.html" id="xolnki_2" title="Options/Import">Options/Import</a>
|
||||
Go to <a href="http://xowa.org/home/wiki/Options/Import" id="xolnki_2" title="Options/Import">Options/Import</a>
|
||||
</li>
|
||||
<li>
|
||||
Change <b>Custom wiki commands</b> to <code>wiki.download,wiki.import</code>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<span class="mw-headline" id="Options">Options</span>
|
||||
</h2>
|
||||
<p>
|
||||
General behavior for "single" vs "multiple" file import can be customized at <a href="http://xowa.org/home/wiki/Options/Import.html" id="xolnki_2" title="Options/Import">Options/Import</a> under Database Layout
|
||||
General behavior for "single" vs "multiple" file import can be customized at <a href="http://xowa.org/home/wiki/Options/Import" id="xolnki_2" title="Options/Import">Options/Import</a> under Database Layout
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Multi-file_layout">Multi-file layout</span>
|
||||
@@ -158,7 +158,7 @@
|
||||
en.wikipedia.org-text-ns.012.xowa
|
||||
</td>
|
||||
<td>
|
||||
Articles in the namespace will not be available. See <a href="http://en.wikipedia.org/wiki/Wikipedia:Namespace" rel="nofollow" class="external free">http://en.wikipedia.org/wiki/Wikipedia:Namespace</a> For example, ns.012 is for "Help:" articles
|
||||
Articles in the namespace will not be available. See <a href="/site/en.wikipedia.org/wiki/Wikipedia:Namespace">http://en.wikipedia.org/wiki/Wikipedia:Namespace</a> For example, ns.012 is for "Help:" articles
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<code>[ 50 GB; 03 h]</code> Import the Commons wiki with category level 2. See <a href="http://xowa.org/home/wiki/Dashboard/Import/Offline.html" id="xolnki_2" title="Dashboard/Import/Offline" class="xowa-visited">Dashboard/Import/Offline</a>
|
||||
<code>[ 50 GB; 03 h]</code> Import the Commons wiki with category level 2. See <a href="http://xowa.org/home/wiki/Dashboard/Import/Offline" id="xolnki_2" title="Dashboard/Import/Offline">Dashboard/Import/Offline</a>
|
||||
</li>
|
||||
<li>
|
||||
<code>[ 50 GB; 02 h]</code> Download and unzip commonswiki-latest-image.sql.gz
|
||||
|
||||
@@ -54,7 +54,7 @@ references
|
||||
All other extension tags will be disabled. For example, <math> will show up as just <math> LaTeX source instead of being replaced with graphical equations
|
||||
</p>
|
||||
<p>
|
||||
The main purpose of this functionality is to disable extensions in some wikis. For example, the <do> extension is only active in the Wikivoyage wiki. Otherwise, English Wikipedia has an article called <a href="https://en.wikipedia.org/wiki/Type_system" rel="nofollow" class="external text">Type system</a> which will render incorrectly with the following fragment:
|
||||
The main purpose of this functionality is to disable extensions in some wikis. For example, the <do> extension is only active in the Wikivoyage wiki. Otherwise, English Wikipedia has an article called <a href="/site/en.wikipedia.org/wiki/Type_system">Type system</a> which will render incorrectly with the following fragment:
|
||||
</p>
|
||||
<pre>
|
||||
<code>if <complex test> then <do something> else <generate type error></code>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<b>Large wikis and FAT32</b>:
|
||||
<ul>
|
||||
<li>
|
||||
Most flash memory cards use a <a href="http://en.wikipedia.org/wiki/FAT32" rel="nofollow" class="external text">FAT32</a> file-system. FAT32 is particulary convenient when exchanging files between Windows, Linux, Mac OS X and Android.
|
||||
Most flash memory cards use a <a href="/site/en.wikipedia.org/wiki/FAT32">FAT32</a> file-system. FAT32 is particulary convenient when exchanging files between Windows, Linux, Mac OS X and Android.
|
||||
</li>
|
||||
<li>
|
||||
FAT32 has a limit of 4GB for any one file. A large wiki like en.wikipedia.org will easily take 20 GB.
|
||||
|
||||
@@ -77,10 +77,10 @@
|
||||
XOWA assigns a file-type to its default viewer-application.
|
||||
</p>
|
||||
<p>
|
||||
The applications use defaults defined in the <a href="http://xowa.org/home/wiki/Dev/Config_files_files.html" id="xolnki_2" title="Dev/Config files files">config file</a>:
|
||||
The applications use defaults defined in the <a href="http://xowa.org/home/wiki/Dev/Config_files_files" id="xolnki_2" title="Dev/Config files files">config file</a>:
|
||||
</p>
|
||||
<p>
|
||||
If you wish to change the viewer application, you can do so in <a href="http://xowa.org/home/wiki/Options/Apps.html" id="xolnki_3" title="Options/Apps">Options/Apps</a>
|
||||
If you wish to change the viewer application, you can do so in <a href="http://xowa.org/home/wiki/Options/Apps" id="xolnki_3" title="Options/Apps">Options/Apps</a>
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="External_links">External links</span>
|
||||
@@ -89,7 +89,7 @@
|
||||
Many articles will have external links. By default, clicking on these links will not result in any action. If you want the external links to open in a web browser, you will need to enable the web viewer application
|
||||
</p>
|
||||
<p>
|
||||
If you wish to change the web browser, you can also do so in <a href="http://xowa.org/home/wiki/Options/Apps.html" id="xolnki_4" title="Options/Apps">Options/Apps</a>
|
||||
If you wish to change the web browser, you can also do so in <a href="http://xowa.org/home/wiki/Options/Apps" id="xolnki_4" title="Options/Apps">Options/Apps</a>
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Recommended_applications">Recommended applications</span>
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
Windows: <a href="http://xowa.org/home/wiki/Dev/File/Setup/Windows.html" id="xolnki_2" title="Dev/File/Setup/Windows">Dev/File/Setup/Windows</a>
|
||||
Windows: <a href="http://xowa.org/home/wiki/Dev/File/Setup/Windows" id="xolnki_2" title="Dev/File/Setup/Windows">Dev/File/Setup/Windows</a>
|
||||
</li>
|
||||
<li>
|
||||
Linux: <a href="http://xowa.org/home/wiki/Dev/File/Setup/Linux.html" id="xolnki_3" title="Dev/File/Setup/Linux">Dev/File/Setup/Linux</a>
|
||||
Linux: <a href="http://xowa.org/home/wiki/Dev/File/Setup/Linux" id="xolnki_3" title="Dev/File/Setup/Linux">Dev/File/Setup/Linux</a>
|
||||
</li>
|
||||
<li>
|
||||
Mac OS X: <a href="http://xowa.org/home/wiki/Dev/File/Setup/Mac_OS_X.html" id="xolnki_4" title="Dev/File/Setup/Mac OS X">Dev/File/Setup/Mac OS X</a>
|
||||
Mac OS X: <a href="http://xowa.org/home/wiki/Dev/File/Setup/Mac_OS_X" id="xolnki_4" title="Dev/File/Setup/Mac OS X">Dev/File/Setup/Mac OS X</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -24,14 +24,8 @@
|
||||
Ubuntu instructions are listed below. Other distro-specific instructions will be added as feedback is received.
|
||||
</p>
|
||||
<p>
|
||||
After ImageMagic and Inkscape are installed, you must click the following link to update XOWA's config:
|
||||
After ImageMagic and Inkscape are installed, you must click the following link to update XOWA's config: <a href="xowa-cmd:%0Aapp.setup.cmds%0A%2F%2F%20Config%20file%0A.cmd_add('wiki.image_cfg'%2C%20'%7E%7B%3C%3Euser_cfg_dir%3C%3E%7Duser_system_cfg.gfs')%0A%20%20.add('.download.enabled_(''n'')'%2C%20'.download.enabled_(''y'')'%0A).owner%0A.cmd_add('msg.ok'%2C%20'config%20updated').owner%0A.run;%0A">update xowa config<img src="file:///C:/xowa/bin/any/xowa/file/app.general/xowa_exec.png"></a>. You can also configure this option at <a href="http://xowa.org/home/wiki/Options/Files" id="xolnki_2" title="Options/Files">Options/Files</a>
|
||||
</p>
|
||||
<div>
|
||||
update xowa config ⊗
|
||||
</div>
|
||||
<p>
|
||||
. You can also configure this option at <a href="http://xowa.org/home/wiki/Options/Files.html" id="xolnki_2" title="Options/Files">Options/Files</a>
|
||||
</p>
|
||||
<p>
|
||||
For more information about the config, see the section below.
|
||||
</p>
|
||||
@@ -79,7 +73,7 @@ sudo apt-get install inkscape
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
Navigate to <a href="http://xowa.org/home/wiki/Options.html" id="xolnki_3" title="Options">Options</a> and check "Download enabled"
|
||||
Navigate to <a href="http://xowa.org/home/wiki/Options" id="xolnki_3" title="Options">Options</a> and check "Download enabled"
|
||||
</li>
|
||||
<li>
|
||||
Restart XOWA and navigate to any page. Any images will be downloaded automatically.
|
||||
@@ -103,7 +97,7 @@ sudo apt-get install inkscape
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
If these paths are different on your system, you will need to update the config file. Instructions are provided below. If you run into issues, you may want to visit <a href="http://xowa.org/home/wiki/Dev/Config_files.html" id="xolnki_4" title="Dev/Config files">Dev/Config_files</a> for more information.
|
||||
If these paths are different on your system, you will need to update the config file. Instructions are provided below. If you run into issues, you may want to visit <a href="http://xowa.org/home/wiki/Dev/Config_files" id="xolnki_4" title="Dev/Config files">Dev/Config_files</a> for more information.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -29,24 +29,21 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
After ImageMagic and Inkscape are installed, you must click the following link to update XOWA's config:
|
||||
After ImageMagic and Inkscape are installed, you must click the following link to update XOWA's config: <a href="xowa-cmd:%0Aapp.setup.cmds%0A%2F%2F%20Config%20file%0A.cmd_add('wiki.image_cfg'%2C%20'%7E%7B%3C%3Euser_cfg_dir%3C%3E%7Duser_system_cfg.gfs')%0A%20%20.add('.download.enabled_(''n'')'%2C%20'.download.enabled_(''y'')'%0A).owner%0A.cmd_add('msg.ok'%2C%20'config%20updated').owner%0A.run;%0A">update xowa config<img src="file:///C:/xowa/bin/any/xowa/file/app.general/xowa_exec.png"></a>
|
||||
</p>
|
||||
<div>
|
||||
update xowa config ⊗
|
||||
</div>
|
||||
<p>
|
||||
You can also do the following:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Navigate to <a href="http://xowa.org/home/wiki/Options/Files.html" id="xolnki_2" title="Options/Files">Options/Files</a> and check "Download enabled"
|
||||
Navigate to <a href="http://xowa.org/home/wiki/Options/Files" id="xolnki_2" title="Options/Files">Options/Files</a> and check "Download enabled"
|
||||
</li>
|
||||
<li>
|
||||
Restart XOWA and navigate to any page. Any images will be downloaded automatically.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
If you do succeed in installing ImageMagick/Inkscape, please help XOWA and detail your experience. See <a href="http://xowa.org/home/wiki/Help/Feedback.html" id="xolnki_3" title="Help/Feedback">Help/Feedback</a>.
|
||||
If you do succeed in installing ImageMagick/Inkscape, please help XOWA and detail your experience. See <a href="http://xowa.org/home/wiki/Help/Feedback" id="xolnki_3" title="Help/Feedback">Help/Feedback</a>.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
Navigate to <a href="http://xowa.org/home/wiki/Special:XowaCfg%3Fgrp%3Dxowa.files.general.html" id="xolnki_2" title="Special:XowaCfg?grp=xowa.files.general">Options: Files - General</a> and check "Download enabled"
|
||||
Navigate to <a href="http://xowa.org/home/wiki/Special:XowaCfg%3Fgrp%3Dxowa.files.general" id="xolnki_2" title="Special:XowaCfg?grp=xowa.files.general">Options: Files - General</a> and check "Download enabled"
|
||||
</li>
|
||||
<li>
|
||||
Restart XOWA and navigate to any page. Any images will be downloaded automatically.
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
Printing was not available. See: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358</a>
|
||||
</li>
|
||||
<li>
|
||||
A very small minority of pages would not render the same as a browser. For example, <a href="https://en.wikisource.org/wiki/Lubbers_Don't_Live" rel="nofollow" class="external free">https://en.wikisource.org/wiki/Lubbers_Don't_Live</a>!
|
||||
A very small minority of pages would not render the same as a browser. For example, <a href="/site/en.wikisource.org/wiki/Lubbers_Don%27t_Live">https://en.wikisource.org/wiki/Lubbers_Don't_Live</a>!
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user