1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

v4.5.2.1704

This commit is contained in:
gnosygnu
2017-04-27 21:02:09 -04:00
parent 328c8aadbe
commit fe28f573fb
242 changed files with 3997 additions and 3175 deletions

View File

@@ -21,7 +21,7 @@
XOWA wiki pages are styled with CSS.
</p>
<h2>
<span class="mw-headline" id="Overview">Overview</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/CSS?action=edit&amp;section_key=Overview" title="Edit section: Overview" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Overview">Overview</span>
</h2>
<p>
XOWA stores the CSS for a wiki page in the following directory: C:\xowa\user\anonymous\wiki\ For example, for simple.wikipedia.org, the css is in C:\xowa\user\anonymous\wiki\simple.wikipedia.org

View File

@@ -45,7 +45,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="bzip2:_disk_space_vs_speed">bzip2: disk space vs speed</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Data_dump_format?action=edit&amp;section_key=bzip2:_disk_space_vs_speed" title="Edit section: bzip2:_disk_space_vs_speed" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="bzip2:_disk_space_vs_speed">bzip2: disk space vs speed</span>
</h2>
<p>
Currently, reading from a bzip2 file is much slower than unzipping and reading from the xml file.<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup>
@@ -65,7 +65,7 @@
If you have the extra disk space, you will want to use the <b>unzip</b> route. If you are low on disk space, then you can use the <b>bzip2</b> route instead
</p>
<h2>
<span class="mw-headline" id="bzip2:_Application_install_.28GUI.29">bzip2: Application install (GUI)</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Data_dump_format?action=edit&amp;section_key=bzip2:_Application_install_.28GUI.29" title="Edit section: bzip2:_Application_install_.28GUI.29" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="bzip2:_Application_install_.28GUI.29">bzip2: Application install (GUI)</span>
</h2>
<p>
By default, the application install uses the <b>unzip</b> route.
@@ -87,7 +87,7 @@
</dd>
</dl>
<h2>
<span class="mw-headline" id="Command-line_install">Command-line install</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Data_dump_format?action=edit&amp;section_key=Command-line_install" title="Edit section: Command-line_install" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Command-line_install">Command-line install</span>
</h2>
<p>
The <code>core_init</code> build step now has an extra property: <code>src_bz2_fil_</code>. A sample invocation would be
@@ -113,7 +113,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="gzip">gzip</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Data_dump_format?action=edit&amp;section_key=gzip" title="Edit section: gzip" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="gzip">gzip</span>
</h2>
<p>
Currently, gzip is only used for the /category2/ system.
@@ -127,7 +127,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="References">References</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Data_dump_format?action=edit&amp;section_key=References" title="Edit section: References" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="References">References</span>
</h2>
<ol class="references">
<li id="cite_note-0">

View File

@@ -42,13 +42,13 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Overview">Overview</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Database?action=edit&amp;section_key=Overview" title="Edit section: Overview" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Overview">Overview</span>
</h2>
<p>
As of v2.4.1.1, XOWA has changed the database layout to be more simple and portable. Regular users should not notice any difference. Users who move XOWA wikis between computer systems will notice some benefits.
</p>
<h2>
<span class="mw-headline" id="Details">Details</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Database?action=edit&amp;section_key=Details" title="Edit section: Details" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Details">Details</span>
</h2>
<ul>
<li>
@@ -84,13 +84,13 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Options">Options</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Database?action=edit&amp;section_key=Options" title="Edit section: Options" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<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
</p>
<h2>
<span class="mw-headline" id="Multi-file_layout">Multi-file layout</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Database?action=edit&amp;section_key=Multi-file_layout" title="Edit section: Multi-file_layout" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Multi-file_layout">Multi-file layout</span>
</h2>
<p>
Large wikis will still generate multiple files. This includes English Wikipedia, German Wikipedia as well as about a dozen others. The primary reasons are as follows:
@@ -218,7 +218,7 @@
</tr>
</table>
<h2>
<span class="mw-headline" id="Version_compatibility">Version compatibility</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Database?action=edit&amp;section_key=Version_compatibility" title="Edit section: Version_compatibility" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Version_compatibility">Version compatibility</span>
</h2>
<p>
The formats for wiks and files are interchangable between old and new formats. A user may keep their existing <b>old</b> file databases and still generate <b>new</b> wikis whenever they want to.

View File

@@ -51,7 +51,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Overview">Overview</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=Overview" title="Edit section: Overview" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Overview">Overview</span>
</h2>
<p>
Some wikis are not Wikimedia Foundation wikis, and may not have their images / files arranged in a WMF filesystem layout
@@ -63,7 +63,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Background">Background</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=Background" title="Edit section: Background" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Background">Background</span>
</h2>
<p>
Wikimedia Foundation wikis place their images in a precisely defined filesystem layout.
@@ -84,7 +84,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Instructions">Instructions</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=Instructions" title="Edit section: Instructions" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Instructions">Instructions</span>
</h2>
<ul>
<li>
@@ -127,7 +127,7 @@ app.wikis.get('my_wiki').files.wkrs.get('fs.dir') {
<br>
</p>
<h2>
<span class="mw-headline" id="Image_Magic_and_Inkscape">Image Magic and Inkscape</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=Image_Magic_and_Inkscape" title="Edit section: Image_Magic_and_Inkscape" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Image_Magic_and_Inkscape">Image Magic and Inkscape</span>
</h2>
<ul>
<li>
@@ -146,7 +146,7 @@ app.wikis.get('my_wiki').files.wkrs.get('fs.dir') {
<br>
</p>
<h2>
<span class="mw-headline" id=".5Eorig_regy.sqlite3">^orig_regy.sqlite3</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=.5Eorig_regy.sqlite3" title="Edit section: .5Eorig_regy.sqlite3" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id=".5Eorig_regy.sqlite3">^orig_regy.sqlite3</span>
</h2>
<ul>
<li>
@@ -165,7 +165,7 @@ app.wikis.get('my_wiki').files.wkrs.get('fs.dir') {
<br>
</p>
<h2>
<span class="mw-headline" id="Urls">Urls</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=Urls" title="Edit section: Urls" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Urls">Urls</span>
</h2>
<ul>
<li>
@@ -192,7 +192,7 @@ app.wikis.get('my_wiki').files.wkrs.get('fs.dir') {
<br>
</p>
<h2>
<span class="mw-headline" id="Orig_directory">Orig directory</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=Orig_directory" title="Edit section: Orig_directory" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Orig_directory">Orig directory</span>
</h2>
<ul>
<li>
@@ -217,7 +217,7 @@ app.wikis.get('my_wiki').files.wkrs.get('fs.dir') {
<br>
</p>
<h2>
<span class="mw-headline" id="Thumb_directory">Thumb directory</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Files/Wikia?action=edit&amp;section_key=Thumb_directory" title="Edit section: Thumb_directory" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Thumb_directory">Thumb directory</span>
</h2>
<ul>
<li>

View File

@@ -35,7 +35,7 @@
Note that Simple Wikipedia will take 24+ hours and 120 GB for the first run.
</p>
<h2>
<span class="mw-headline" id="Commons_process">Commons process</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Offline_files?action=edit&amp;section_key=Commons_process" title="Edit section: Commons_process" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Commons_process">Commons process</span>
</h2>
<p>
Since most images reside in the commons wiki, commons must be set up. Note that this only needs to be done once for all wikis.
@@ -55,7 +55,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Wiki_process">Wiki process</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Offline_files?action=edit&amp;section_key=Wiki_process" title="Edit section: Wiki_process" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Wiki_process">Wiki process</span>
</h2>
<p>
These steps must be run for the given wiki. Estimated size / times are provided for Simple Wikipedia.

View File

@@ -18,7 +18,7 @@
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<h2>
<span class="mw-headline" id="Sample_files">Sample files</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Site_config?action=edit&amp;section_key=Sample_files" title="Edit section: Sample_files" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="Sample_files">Sample files</span>
</h2>
<p>
In /xowa/bin/any/xowa/cfg/wiki/api/, each folder has a sample file that can be used for a wiki. To use it do the following:
@@ -41,7 +41,7 @@
The remainder of this article documents the purpose of each file.
</p>
<h2>
<span class="mw-headline" id="extensiontags">extensiontags</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Site_config?action=edit&amp;section_key=extensiontags" title="Edit section: extensiontags" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="extensiontags">extensiontags</span>
</h2>
<p>
The "extensiontags" file lists active extensions. For example, to enable only &lt;ref&gt; and &lt;references&gt;, use the following two lines:
@@ -60,7 +60,7 @@ references
&lt;code&gt;if &lt;complex test&gt; then &lt;do something&gt; else &lt;generate type error&gt;&lt;/code&gt;
</pre>
<h2>
<span class="mw-headline" id="interwikimap">interwikimap</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Site_config?action=edit&amp;section_key=interwikimap" title="Edit section: interwikimap" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="interwikimap">interwikimap</span>
</h2>
<p>
The "interwikimap" file lists active interwiki prefixes. For example, to enable only the interwiki prefix for commons, use the following:

View File

@@ -82,7 +82,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="ns_file_map">ns_file_map</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Sqlite/File-sizes?action=edit&amp;section_key=ns_file_map" title="Edit section: ns_file_map" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="ns_file_map">ns_file_map</span>
</h2>
<p>
The ns_file_map argument is a new-line/semi-colon delimited string. The default value is the following:
@@ -97,7 +97,7 @@ Template;Module
Note that an empty string will default everything to be stored in the core database. If a single file database is desired, specify "".
</p>
<h2>
<span class="mw-headline" id="db_text_max_value">db_text_max value</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Sqlite/File-sizes?action=edit&amp;section_key=db_text_max_value" title="Edit section: db_text_max_value" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="db_text_max_value">db_text_max value</span>
</h2>
<p>
This is a number that represents the maximum number of MB of text data that can be stored in the file. Note the following
@@ -131,7 +131,7 @@ Template;Module
</dd>
</dl>
<h2>
<span class="mw-headline" id="db_categorylink_max_and_db_wikidata_max_value">db_categorylink_max and db_wikidata_max value</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Sqlite/File-sizes?action=edit&amp;section_key=db_categorylink_max_and_db_wikidata_max_value" title="Edit section: db_categorylink_max_and_db_wikidata_max_value" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="db_categorylink_max_and_db_wikidata_max_value">db_categorylink_max and db_wikidata_max value</span>
</h2>
<p>
This is a number that represents the maximum number of MB of categorylink data that can be stored in the file. Note the following:
@@ -145,7 +145,7 @@ Template;Module
</li>
</ul>
<h2>
<span class="mw-headline" id="db_wikidata_max_value">db_wikidata_max value</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/Dev/Design/Sqlite/File-sizes?action=edit&amp;section_key=db_wikidata_max_value" title="Edit section: db_wikidata_max_value" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
<span class="mw-headline" id="db_wikidata_max_value">db_wikidata_max value</span>
</h2>
<p>
This is a number that represents the maximum number of MB of wikidata label data that can be stored in the file. Note the following: