1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-10-27 20:34:16 +00:00

$version_number

This commit is contained in:
gnosygnu 2016-04-30 23:47:16 -04:00
parent eb72d05541
commit 8da3c512e5
21 changed files with 2243 additions and 30 deletions

222
home/wiki/App/Category.html Normal file
View File

@ -0,0 +1,222 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>App/Category - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>App/Category</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<p>
XOWA currently has two category systems. This page will explain the rationale / details behind both.
</p>
<p>
An overview follows below.
</p>
<p>
For more information about V2 setup see <a href="http://xowa.org/home/wiki/App/Category/Building.html" id="xolnki_2" title="App/Category/Building" class="xowa-visited">App/Category/Building</a>
</p>
<p>
For more information about V2 internals see <a href="http://xowa.org/home/wiki/App/Category/Internals.html" id="xolnki_3" title="App/Category/Internals">App/Category/Internals</a>
</p>
<h2>
<span class="mw-headline" id="Version_1">Version 1</span>
</h2>
<p>
Version 1 is a simplistic category system.
</p>
<ul>
<li>
It relies only on page content inside the xml file. It does not use any of the category*.sql dumps.
</li>
</ul>
<p>
Note the following limitations:
</p>
<ul>
<li>
Does not work with large categories. It gets linearly worse with more members (do not use it to load a category with over 10,000 members)
</li>
<li>
Does not support paging. If a category has 1,000 members, it will load title information on all 1,000 (instead of just the first 200)
</li>
<li>
Does not use sortkey. For example, Jimmy Wales will alphabetize under J (for Jimmy Wales) instead of W (for Wales, Jimmy)
</li>
<li>
Does not accurately reflect page membership in categories.
</li>
</ul>
<dl>
<dd>
For example, most hidden categories are added to a template which is then included in a page.
</dd>
<dd>
Specifically, a page called "File:GNU.png" may belong to "All free media". However, the "File:GNU.png" page doesn't have the [[Category:All_free_media]] but instead embeds a template {{All_non_free_media}} which has the [[Category:All_free_media]]
</dd>
<dd>
Since a full parse (with templates) of the entire xml file would take many hours, this membership data is omitted.
</dd>
</dl>
<p>
V1 should be considered obsolete. No signficant changes will be made to it, as V2 is the official category system.
</p>
<p>
However, because V1 is faster to setup than V2, it still remains the default (with a strong recommendation to upgrade to V2 when time permits)
</p>
<h2>
<span class="mw-headline" id="Version_2">Version 2</span>
</h2>
<p>
Version 2 is an accurate category system.
</p>
<ul>
<li>
It uses the Wikimedia dump files: categorylinks.sql, page_props.sql
</li>
</ul>
<p>
It addresses each of the limitations of version 1, including
</p>
<ul>
<li>
Works with large categories
</li>
<li>
Supports paging
</li>
<li>
Uses sortkey
</li>
<li>
Accurately includes all members of a category
</li>
</ul>
<p>
It has a few limitations:
</p>
<ul>
<li>
It requires additional dump files (as mentioned above).
</li>
<li>
It takes longer to setup. A separate .sql file must be parsed. For English Wikipedia this process takes about another hour.
</li>
<li>
It takes more disk space. The v2 system stores sortkeys individually per entry (just like Wikipedia). However this text data greatly increases the overall file size. English Wikipedia will have about 10.0 GB of extra data.
</li>
</ul>
<p>
V2 is the official category system and should generate Category pages just like Wikipedia.
</p>
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<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>
<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>
<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>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<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/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
</ul>
</div>
</div>
</div>
</body>
</html>

View File

@ -49,7 +49,7 @@
<span class="mw-headline" id="Import_by_command-line">Import by command-line</span>
</h2>
<p>
The <a href="http://xowa.org/home/wiki/Dev/Command-line/Overview.html" id="xolnki_4" title="Dev/Command-line/Overview" class="xowa-visited">Dev/Command-line/Overview</a> page offers instructions on importing through the command-line.
The <a href="http://xowa.org/home/wiki/Dev/Command-line.html" id="xolnki_4" title="Dev/Command-line" class="xowa-visited">Dev/Command-line</a> page offers instructions on importing through the command-line.
</p>
<ul>
<li>

707
home/wiki/App/Search.html Normal file
View File

@ -0,0 +1,707 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>App/Search - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
<style>
.symbol-col {
text-align:center;
}
code {
border: solid 1px gray;
background: #EFEFEF;
text-align:center;
padding: 1px;
}
.page-inc, .page-exc {
border: solid 1px gray;
text-align:center;
padding: 1px;
}
.page-inc {
background:#89C35C;
}
.page-exc {
background:#F62217;
}
.page-inc b, .page-exc b {
font-weight: bold;
}
</style>
<style>
.symbol-col {
text-align:center;
}
code {
border: solid 1px gray;
background: #EFEFEF;
text-align:center;
padding: 1px;
}
.page-inc, .page-exc {
border: solid 1px gray;
text-align:center;
padding: 1px;
}
.page-inc {
background:#89C35C;
}
.page-exc {
background:#F62217;
}
.page-inc b, .page-exc b {
font-weight: bold;
}
</style>
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>App/Search</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<p>
XOWA can search for a page by title
</p>
<div id="toc" class="toc">
<div id="toctitle">
<h2>
Contents
</h2>
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Search_by_page_title"><span class="tocnumber">1</span> <span class="toctext">Search by page title</span></a>
</li>
<li class="toclevel-1 tocsection-2">
<a href="#Usage"><span class="tocnumber">2</span> <span class="toctext">Usage</span></a>
</li>
<li class="toclevel-1 tocsection-3">
<a href="#Syntax"><span class="tocnumber">3</span> <span class="toctext">Syntax</span></a>
<ul>
<li class="toclevel-2 tocsection-4">
<a href="#General"><span class="tocnumber">3.1</span> <span class="toctext">General</span></a>
</li>
<li class="toclevel-2 tocsection-5">
<a href="#Wildcard"><span class="tocnumber">3.2</span> <span class="toctext">Wildcard</span></a>
</li>
<li class="toclevel-2 tocsection-6">
<a href="#Not"><span class="tocnumber">3.3</span> <span class="toctext">Not</span></a>
</li>
<li class="toclevel-2 tocsection-7">
<a href="#Quote"><span class="tocnumber">3.4</span> <span class="toctext">Quote</span></a>
</li>
</ul>
</li>
<li class="toclevel-1 tocsection-8">
<a href="#Sorting"><span class="tocnumber">4</span> <span class="toctext">Sorting</span></a>
</li>
<li class="toclevel-1 tocsection-9">
<a href="#Background_database_search"><span class="tocnumber">5</span> <span class="toctext">Background database search</span></a>
</li>
<li class="toclevel-1 tocsection-10">
<a href="#Database_update"><span class="tocnumber">6</span> <span class="toctext">Database update</span></a>
</li>
<li class="toclevel-1 tocsection-11">
<a href="#Options"><span class="tocnumber">7</span> <span class="toctext">Options</span></a>
</li>
</ul>
</div>
<h2>
<span class="mw-headline" id="Search_by_page_title">Search by page title</span>
</h2>
<p>
XOWA can find a page by words in its title. For example, typing <code>earth</code> will pull up all titles with the word, including <span class='page-inc'>Earth</span> and <span class='page-inc'>History of Earth</span>. More complicated searches can be performed, such as <code>earth + (history, future) -middle</code>
</p>
<p>
XOWA currently cannot search by text within a page (full-text search). This will be added in a future version.
</p>
<h2>
<span class="mw-headline" id="Usage">Usage</span>
</h2>
<p>
There are three ways to use search:
</p>
<ul>
<li>
Type into the address bar. A list of suggestions appear underneath.
</li>
<li>
Type into the suggest box. A list of suggestions appear underneath. Note that this box is near the top-right hand corner of the page between "View HTML" and the magnifying glass icon.
</li>
<li>
Type "?:some word" into the address bar. For example, enter <code>?:earth</code> in the address bar when in Simple Wikipedia
</li>
</ul>
<h2>
<span class="mw-headline" id="Syntax">Syntax</span>
</h2>
<p>
The following syntax is supported for search text:
</p>
<table class='wikitable' style='background: white;'>
<tr>
<th>
name
</th>
<th>
description
</th>
<th>
symbol
</th>
<th>
example
</th>
<th>
finds
</th>
<th>
skips
</th>
</tr>
<tr>
<td>
single word
</td>
<td>
finds pages which start with this word<br>
(automatic wildcard at the end)
</td>
<td>
</td>
<td>
<code>earth</code>
</td>
<td>
<p>
<span class='page-inc'><b>Earth</b></span><br>
<span class='page-inc'><b>History</b> of <b>Earth</b></span><br>
<span class='page-inc'><b>Earth</b>quake</span>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
single word with space
</td>
<td>
finds pages which have this word exactly<br>
(no automatic wildcard)
</td>
<td>
</td>
<td>
<code>earth&nbsp;</code>
</td>
<td>
<p>
<span class='page-inc'><b>Earth</b></span><br>
<span class='page-inc'><b>History</b> of <b>Earth</b></span>
</p>
</td>
<td>
<span class='page-exc'>Earthquake</span>
</td>
</tr>
<tr>
<td>
multiple words
</td>
<td>
finds pages which have all these words
</td>
<td>
</td>
<td>
<code>earth history</code>
</td>
<td>
<p>
<span class='page-inc'><b>History</b> of <b>Earth</b></span><br>
<span class='page-inc'><b>Earth</b> <b>history</b></span>
</p>
</td>
<td>
<span class='page-exc'>Earth</span>
</td>
</tr>
<tr>
<td>
wildcard
</td>
<td>
finds pages which start with these letters
</td>
<td class='symbol-col'>
<code>*</code>
</td>
<td>
<code>earth*</code>
</td>
<td>
<p>
<span class='page-inc'><b>Earth</b></span><br>
<span class='page-inc'>History of <b>Earth</b></span><br>
<span class='page-inc'><b>Earth</b>quake</span>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
finds pages which end with these letters
</td>
<td class='symbol-col'>
<code>*</code>
</td>
<td>
<code>*earth</code>
</td>
<td>
<p>
<span class='page-inc'><b>Earth</b></span><br>
<span class='page-inc'>History of <b>Earth</b></span><br>
<span class='page-inc'><b>Earth</b>quake</span><br>
<span class='page-inc'>H<b>earth</b></span>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
finds pages which start / end with these letters
</td>
<td class='symbol-col'>
<code>*</code>
</td>
<td>
<code>e*h</code>
</td>
<td>
<p>
<span class='page-inc'><b>Earth</b></span><br>
<span class='page-inc'>History of <b>Earth</b></span><br>
<span class='page-inc'><b>Earth</b>quake</span><br>
<span class='page-inc'><b>E</b>nglis<b>h</b> language</span>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
not
</td>
<td>
skips pages which have this word
</td>
<td class='symbol-col'>
<code>-</code>
</td>
<td>
<code>earth -history</code>
</td>
<td>
<span class='page-inc'><b>Earth</b></span>
</td>
<td>
<span class='page-exc'>History of Earth</span>
</td>
</tr>
<tr>
<td>
or
</td>
<td>
includes pages which have this word
</td>
<td class='symbol-col'>
<code>,</code>
</td>
<td>
<code>earth, history</code>
</td>
<td>
<p>
<span class='page-inc'><b>History</b> of <b>Earth</b></span><br>
<span class='page-inc'><b>Earth</b> <b>history</b></span><br>
<span class='page-inc'><b>History</b></span><br>
<span class='page-inc'><b>Earth</b></span>
</p>
</td>
</tr>
<tr>
<td>
and
</td>
<td>
requires pages to have this word
</td>
<td class='symbol-col'>
<code>+</code>
</td>
<td>
<code>earth + history</code>
</td>
<td>
<p>
<span class='page-inc'><b>History</b> of <b>Earth</b></span><br>
<span class='page-inc'><b>Earth</b> <b>history</b></span>
</p>
</td>
<td>
<span class='page-exc'>History</span><br>
<p>
<span class='page-exc'>Earth</span>
</p>
</td>
</tr>
<tr>
<td>
quote
</td>
<td>
requires pages to have this exact text
</td>
<td class='symbol-col'>
<code>"</code>
</td>
<td>
<code>"earth history"</code>
</td>
<td>
<p>
<span class='page-inc'><b>Earth history</b></span>
</p>
</td>
<td>
<p>
<span class='page-exc'>History of Earth</span><br>
<span class='page-exc'>History</span><br>
<span class='page-exc'>Earth</span>
</p>
</td>
</tr>
<tr>
<td>
parentheses
</td>
<td>
allows complicated and / or grouping
</td>
<td class='symbol-col'>
<code>(</code> <code>)</code>
</td>
<td>
<code>earth + (history, future)</code>
</td>
<td>
<p>
<span class='page-inc'><b>History</b> of <b>Earth</b></span><br>
<span class='page-inc'><b>Future</b> of <b>Earth</b></span>
</p>
</td>
<td>
<span class='page-exc'>Earth</span>
</td>
</tr>
<tr>
<td>
escape
</td>
<td>
allows searching for any symbols above
</td>
<td class='symbol-col'>
<code>\</code>
</td>
<td>
<code>c\+\+</code>
</td>
<td>
<p>
<span class='page-inc'><b>C++</b></span>
</p>
</td>
</tr>
</table>
<h3>
<span class="mw-headline" id="General">General</span>
</h3>
<ul>
<li>
Spaces are ignored
<ul>
<li>
<code>earth, history</code> is the same as <code>earth , history</code> or <code>earth ,history</code>
</li>
</ul>
</li>
<li>
Incorrect terms are auto-corrected as per the following:
<ul>
<li>
<code>earth - history</code> is the same as <code>earth history</code>
</li>
<li>
<code>earth +</code> is the same as <code>earth</code>
</li>
<li>
<code>earth,</code> is the same as <code>earth</code>
</li>
<li>
<code>"earth</code> is the same as <code>"earth"</code>. Note that <code>"earth history</code> becomes <code>"earth" history</code>.
</li>
<li>
<code>(earth</code> is the same as <code>earth</code>
</li>
<li>
<code>c\</code> is the same as <code>c</code>
</li>
</ul>
</li>
</ul>
<h3>
<span class="mw-headline" id="Wildcard">Wildcard</span>
</h3>
<ul>
<li>
Wildcards are automatically added to the last word. For example, <code>earth histor</code> is the same as <code>earth histor*</code>.
</li>
<li>
Wildcards will be slower than non-wildcarded versions. In terms of performance, they are ranked as following:
<ul>
<li>
<b>end of word</b>
<ul>
<li>
faster, especially when word is longer. EX: <code>abcdefghi*</code> vs <code>a*</code>
</li>
<li>
may be slow for certain multi-word queries. EX: <code>page meg*</code>
</li>
<li>
uses the <code>&gt;=</code> <code>&lt;</code> operators: <code>word_text &gt;= ? AND word_text &lt; ?</code>
</li>
<li>
uses an INDEX scan
</li>
</ul>
</li>
<li>
<b>beginning of word</b> / <b>middle of word</b>
<ul>
<li>
may be fast if matching a common string. EX: <code>*a</code>, <code>*arth</code>
</li>
<li>
will be slow for queries that don't match results. EX: <code>ea*rh</code>
</li>
<li>
uses the LIKE operator: <code>word_text LIKE ? ESCAPE '|'</code>
</li>
<li>
uses a TABLE scan
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>
<span class="mw-headline" id="Not">Not</span>
</h3>
<ul>
<li>
<code>-</code> only works at the start of the word
<ul>
<li>
<code>earth hi-story</code> is the same as <code>earth "hi-story"</code>. In other words, the <code>-</code> is literal
</li>
</ul>
</li>
<li>
<code>-</code> must be used with a word. Entering just <code>-QXZ</code> will return 0 results
</li>
</ul>
<h3>
<span class="mw-headline" id="Quote">Quote</span>
</h3>
<ul>
<li>
Quotes can also be used for escaping. For example <code>"c++"</code> is the same as <code>c\+\+</code>
</li>
<li>
Quotes must be doubled up inside quotes. For example <code>"a""b"</code> means search for a word with <code>a"b</code>
</li>
</ul>
<h2>
<span class="mw-headline" id="Sorting">Sorting</span>
</h2>
<p>
By default, XOWA returns results sorted by "page length descending". In other words, the largest page would be the first in the list and the smallest page would be the last.
</p>
<p>
If a wiki is built with PageRank, or if a wiki is downloaded from archive.org, then the results will be sorted by "PageRank descending". See <a href="http://xowa.org/home/wiki/Options/Search.html" id="xolnki_2" title="Options/Search" class="xowa-visited">Options/Search</a> for enabling PageRank.
</p>
<h2>
<span class="mw-headline" id="Background_database_search">Background database search</span>
</h2>
<p>
By default, XOWA runs database searches in the background. This will return results to the screen quickly for complicated searches. For example, consider a search for <code>Earth*</code>:
</p>
<ul>
<li>
When the search runs in the background, the first result shows up in 2 seconds, and more results show up every second afterwards. The search will complete in 5 seconds.
</li>
<li>
When the search does not run in the background, all the results show up at the 5 second mark.
</li>
</ul>
<p>
While a search is running in the background, there will be a link called <code>Stop searching</code>. Clicking on the link will stop the background search, though the current results may be incomplete.
</p>
<p>
Finally, all search results are cached. The first time you search for <code>Earth*</code>, XOWA will search the database. Every time afterwards, it will pull the results up from memory. If you restart XOWA, it will search the database again.
</p>
<h2>
<span class="mw-headline" id="Database_update">Database update</span>
</h2>
<p>
XOWA wikis created before v3.3.4.1 will need to be upgraded. XOWA will detect if an upgrade is needed, and show a message box for confirmation. The upgrade process will take a few minutes.
</p>
<p>
Note that new wikis created after v3.3.4.1 will automatically be in the new format.
</p>
<h2>
<span class="mw-headline" id="Options">Options</span>
</h2>
<p>
There are 2 pages for configuring Search
</p>
<ul>
<li>
<b>Configure PageRank</b>: See <a href="http://xowa.org/home/wiki/Options/Search.html" id="xolnki_3" title="Options/Search" class="xowa-visited">Options/Search</a>
</li>
<li>
<b>Configure Address bar autocomplete</b>: See <a href="http://xowa.org/home/wiki/Options/Search_suggest.html" id="xolnki_4" title="Options/Search suggest" class="xowa-visited">Options/Search_suggest</a>
</li>
</ul>
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<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>
<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>
<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>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<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/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
</ul>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,407 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>App/UI/Main window - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
<style>
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
.code
,.path
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
.bold {font-weight: 900;}
</style>
<style>
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
.code
,.path
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
.bold {font-weight: 900;}
</style>
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>App/UI/Main window</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<p>
The XOWA Window is meant to be a minimalistic representation of a web browser.
</p>
<div id="toc" class="toc">
<div id="toctitle">
<h2>
Contents
</h2>
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Back_button"><span class="tocnumber">1</span> <span class="toctext">Back button</span></a>
</li>
<li class="toclevel-1 tocsection-2">
<a href="#Forward_button"><span class="tocnumber">2</span> <span class="toctext">Forward button</span></a>
</li>
<li class="toclevel-1 tocsection-3">
<a href="#Address_bar"><span class="tocnumber">3</span> <span class="toctext">Address bar</span></a>
</li>
<li class="toclevel-1 tocsection-4">
<a href="#Address_bar_go_button"><span class="tocnumber">4</span> <span class="toctext">Address bar go button</span></a>
</li>
<li class="toclevel-1 tocsection-5">
<a href="#Search_box"><span class="tocnumber">5</span> <span class="toctext">Search box</span></a>
</li>
<li class="toclevel-1 tocsection-6">
<a href="#Search_activate_button"><span class="tocnumber">6</span> <span class="toctext">Search activate button</span></a>
</li>
<li class="toclevel-1 tocsection-7">
<a href="#Browser_box"><span class="tocnumber">7</span> <span class="toctext">Browser box</span></a>
</li>
<li class="toclevel-1 tocsection-8">
<a href="#Find_box"><span class="tocnumber">8</span> <span class="toctext">Find box</span></a>
</li>
<li class="toclevel-1 tocsection-9">
<a href="#Progress_box"><span class="tocnumber">9</span> <span class="toctext">Progress box</span></a>
</li>
<li class="toclevel-1 tocsection-10">
<a href="#Note_box"><span class="tocnumber">10</span> <span class="toctext">Note box</span></a>
</li>
<li class="toclevel-1 tocsection-11">
<a href="#Common_behavior"><span class="tocnumber">11</span> <span class="toctext">Common behavior</span></a>
</li>
</ul>
</div>
<h2>
<span class="mw-headline" id="Back_button">Back button</span>
</h2>
<ul>
<li>
This button is located in the top left hand corner of the screen. It is denoted by a green arrow pointing left.
</li>
<li>
It has the same functionality as a web browser's back button. It navigates you back to a page you left.
</li>
<li>
To move back, click the back button or press Alt+Left.
</li>
</ul>
<h2>
<span class="mw-headline" id="Forward_button">Forward button</span>
</h2>
<ul>
<li>
This button is located in the top left hand corner of the screen. It is denoted by a green arrow pointing right.
</li>
<li>
It has the same functionality as a web browser's forward button. It navigates you to a page you left with the back button.
</li>
<li>
To move forward, click the forward button or press Alt+Right.
</li>
</ul>
<h2>
<span class="mw-headline" id="Address_bar">Address bar</span>
</h2>
<ul>
<li>
The address bar is located at the top of the screen.
</li>
<li>
It can be used to navigate to other pages in the wiki.
<ul>
<li>
For example, type "Help/Contents" into the bar and press Enter. It will take you to the main Help page.
</li>
<li>
You can also use it to navigate to other wikis. If you type <span class='url'>simple.wikipedia.org</span> into the address bar, it will take you to the "Main Page" for Simple Wikipedia
</li>
</ul>
</li>
<li>
Note that you can also press the Go button instead of Enter to select the address.
</li>
<li>
There are other formats that can be entered into the address bar. For more information, see <a href="http://xowa.org/home/wiki/App/UI/Address_bar/Shortcuts.html" id="xolnki_2" title="App/UI/Address bar/Shortcuts">App/UI/Address_bar/Shortcuts</a>
</li>
<li>
To select the address bar, press Alt+D.
</li>
<li>
The address bar also has auto-completion. Try typing in "a", "b" in the address bar
</li>
</ul>
<h2>
<span class="mw-headline" id="Address_bar_go_button">Address bar go button</span>
</h2>
<ul>
<li>
The go button is located right of the address bar. It is denoted by the downward pointing green arrow.
</li>
<li>
It can be pressed to activate the address in the address bar. Note that you can also press Enter in the address bar.
</li>
</ul>
<h2>
<span class="mw-headline" id="Search_box">Search box</span>
</h2>
<ul>
<li>
The search box allows you to find all pages in a wiki starting with the term. This is the same as the Special:AllPages search feature
<ul>
<li>
For example, typing in "Earth" will find all pages in the wiki that start with the word "Earth".
</li>
</ul>
</li>
<li>
Note that you can also press the magnifying glass button instead of Enter to activate the search.
</li>
</ul>
<h2>
<span class="mw-headline" id="Search_activate_button">Search activate button</span>
</h2>
<ul>
<li>
The search button is located right of the search box. It is denoted by the magnifying glass icon.
</li>
<li>
It can be pressed to navigate to activate the search in the search bar.
</li>
</ul>
<h2>
<span class="mw-headline" id="Browser_box">Browser box</span>
</h2>
<ul>
<li>
The browser box takes up most of the screen.
</li>
<li>
Its main purpose is to render all content, such as the text you're reading now.
</li>
</ul>
<h2>
<span class="mw-headline" id="Find_box">Find box</span>
</h2>
<ul>
<li>
The find box is located in the bottom left hand corner of the screen.
</li>
<li>
It can be used to search for text on the page. If you type a word in the box, it will automatically find and highlight it in the browser box.
</li>
<li>
The find box defaults to a hidden state. To activate it, do one of the following:
<ul>
<li>
Press Ctrl+F
</li>
<li>
Choose the following from the Main Menu: Edit -&gt; Find
</li>
<li>
Right click in the browser box. Select Find from the popup menu.
</li>
</ul>
</li>
<li>
To use it, do the following:
<ul>
<li>
Type the word "box" in the find box. It will highlight the "box" in Browser box.
</li>
<li>
Press Enter. It will now highlight the next "box" word
</li>
</ul>
</li>
<li>
For more information, see <a href="http://xowa.org/home/wiki/App/UI/Find_box.html" id="xolnki_3" title="App/UI/Find box" class="xowa-visited">App/UI/Find_box</a>.
</li>
</ul>
<h2>
<span class="mw-headline" id="Progress_box">Progress box</span>
</h2>
<ul>
<li>
The progress box is located at the bottom of the screen.
</li>
<li>
It displays transient messages from the application.
</li>
<li>
To view the info box, do one of the following
<ul>
<li>
Press Ctrl+Alt+P
</li>
<li>
Choose the following from the Main Menu: View -&gt; Show Progress Messages
</li>
<li>
Middle-click the progress box
</li>
</ul>
</li>
</ul>
<h2>
<span class="mw-headline" id="Note_box">Note box</span>
</h2>
<ul>
<li>
The info box is located in the bottom-right hand corner of the screen.
</li>
<li>
It displays warnings from the application. It is disabled by default, but can be enabled through <a href="http://xowa.org/home/wiki/Options/Dev.html" id="xolnki_4" title="Options/Dev" class="xowa-visited">Options/Dev</a>
</li>
<li>
To select the info box, press Ctrl+Alt+N.
</li>
<li>
To clear messages, press Ctrl+Alt+C.
</li>
</ul>
<h2>
<span class="mw-headline" id="Common_behavior">Common behavior</span>
</h2>
<ul>
<li>
The "Address bar", "Find box", "Progress box", and "Note box" are standard text boxes. As such, the following behavior will work:
<ul>
<li>
Right clicking in the box will bring up the standard context menu of Cut, Copy, Paste, Undo, Select All
</li>
<li>
The standard keyboard shortcuts will work
<ul>
<li>
Ctrl+X: Cut
</li>
<li>
Ctrl+C: Copy
</li>
<li>
Ctrl+V: Paste
</li>
<li>
Ctrl+A: Select All
</li>
<li>
Ctrl+Z: Undo
</li>
<li>
Ctrl+Shift+Z: Redo
</li>
</ul>
</li>
</ul>
</li>
<li>
The "Browser box" has a right-click context menu. It also responds to the same keyboard shortcuts listed above.
</li>
</ul>
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<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>
<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>
<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>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<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/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
</ul>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,382 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>App/Xtn/Mediawiki/Scribunto - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>App/Xtn/Mediawiki/Scribunto</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<div id="toc" class="toc">
<div id="toctitle">
<h2>
Contents
</h2>
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Background"><span class="tocnumber">1</span> <span class="toctext">Background</span></a>
</li>
<li class="toclevel-1 tocsection-2">
<a href="#Status"><span class="tocnumber">2</span> <span class="toctext">Status</span></a>
</li>
<li class="toclevel-1 tocsection-3">
<a href="#Engines"><span class="tocnumber">3</span> <span class="toctext">Engines</span></a>
</li>
<li class="toclevel-1 tocsection-4">
<a href="#Lua"><span class="tocnumber">4</span> <span class="toctext">Lua</span></a>
<ul>
<li class="toclevel-2 tocsection-5">
<a href="#Binaries"><span class="tocnumber">4.1</span> <span class="toctext">Binaries</span></a>
</li>
<li class="toclevel-2 tocsection-6">
<a href="#Permissions"><span class="tocnumber">4.2</span> <span class="toctext">Permissions</span></a>
</li>
</ul>
</li>
<li class="toclevel-1 tocsection-7">
<a href="#Luaj"><span class="tocnumber">5</span> <span class="toctext">Luaj</span></a>
</li>
<li class="toclevel-1 tocsection-8">
<a href="#Scribunto_files"><span class="tocnumber">6</span> <span class="toctext">Scribunto files</span></a>
</li>
<li class="toclevel-1 tocsection-9">
<a href="#Links"><span class="tocnumber">7</span> <span class="toctext">Links</span></a>
</li>
</ul>
</div>
<h2>
<span class="mw-headline" id="Background">Background</span>
</h2>
<p>
Scribunto is a MediaWiki extension for embedding Lua code in wiki pages. Lua is used for programming constructs (conditional logic; loops) that were previously attempted by Templates.
</p>
<p>
For more information on Scribunto, see <a href="http://www.mediawiki.org/wiki/Extension:Scribunto" rel="nofollow" class="external free">http://www.mediawiki.org/wiki/Extension:Scribunto</a>
</p>
<p>
For the source code, see <a href="https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Scribunto.git;a=summary" rel="nofollow" class="external free">https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Scribunto.git;a=summary</a>
</p>
<h2>
<span class="mw-headline" id="Status">Status</span>
</h2>
<p>
The Wikimedia Foundation began rolling out Scribunto/Lua to its sites on 2013-02-15 and finished on 2013-03-13 (<a href="http://blog.wikimedia.org/2013/03/14/what-lua-scripting-means-wikimedia-open-source/" rel="nofollow" class="external free">http://blog.wikimedia.org/2013/03/14/what-lua-scripting-means-wikimedia-open-source/</a> . Data dumps after 2013-02-15 will probably have {{#invoke}} in their wikitext, which requires a lua processor.
</p>
<p>
Beginning with v0.3.2, XOWA included preliminary support for Scribunto. As of v1.3.1, the functionality level is approximately 95%+.
</p>
<h2>
<span class="mw-headline" id="Engines">Engines</span>
</h2>
<p>
XOWA provides two engines for processing Lua statements:
</p>
<ul>
<li>
<a href="http://lua.org/about" rel="nofollow" class="external text">lua</a>: the standard lua binary that is distributed with Scribunto. For MediaWiki developers, it is the <i>LuaStandalone</i> approach.
</li>
</ul>
<dl>
<dd>
<span style='text-decoration:underline'><b>advantages</b></span>
<ul>
<li>
<b>standard</b>: lua is the official reference standard
</li>
<li>
<b>performance</b>: lua is written in C which is highly performant. However...
</li>
</ul>
</dd>
<dd>
<span style='text-decoration:underline'><b>disadvantages</b></span>
<ul>
<li>
<b>performance</b>: lua needs every message to be serialized when communicating back and forth between the binary and Java (the same behavior as LuaStandalone). This can result in performance issues.
</li>
<li>
<b>limited platform support</b>: lua needs a binary compiled specifically for its OS. Although the major OSs are provided, some other OSs will require additional steps: See openSUSE 11.0 and <a href="#Binaries" id="xolnki_2">Binaries</a> below.
</li>
<li>
<b>permission setup</b>: lua needs to be granted execute permissions on Linux and Mac OS X. Although XOWA does this automatically, there may be complications. See <a href="#Permissions" id="xolnki_3">Permissions</a> below.
</li>
</ul>
</dd>
</dl>
<ul>
<li>
<a href="http://luaj.org/luaj/README.html" rel="nofollow" class="external text">luaj</a>: an open-source Java implementation of lua.
</li>
</ul>
<dl>
<dd>
<span style='text-decoration:underline'><b>advantages</b></span>
<ul>
<li>
<b>universal platform support</b>: luaj is written in Java and will automatically run on any platform that XOWA runs on
</li>
<li>
<b>consistent behavior</b>: luaj will run the same on all platforms. In contrast, lua will run differently on Windows versus Linux / Mac OS X (see os.time and mktime)
</li>
<li>
<b>easier customization</b>: luaj can be easily customized. In contrast, lua requires experience with C, and recompiling the source for each platform
</li>
<li>
<b>performance</b>: luaj runs in the same memory space as XOWA, and doesn't require message serializations for every call. In addition, the lua binary may not perform consistently on every OS. For some OSs, this makes a considerable difference. For example, it is reported that luaj runs dramatically faster than lua on Windows Vista (seconds versus minutes). However...
</li>
</ul>
</dd>
<dd>
<span style='text-decoration:underline'><b>disadvantages</b></span>
<ul>
<li>
<b>performance</b>: luaj is written in Java which is not as performant as C
</li>
</ul>
</dd>
</dl>
<p>
Luaj is the official Lua processor for XOWA.
</p>
<h2>
<span class="mw-headline" id="Lua">Lua</span>
</h2>
<h3>
<span class="mw-headline" id="Binaries">Binaries</span>
</h3>
<p>
XOWA packages the same Lua binaries (v5.1) that come with Scribunto. Note the following:
</p>
<ul>
<li>
The Windows, Linux, Linux 64, Mac OS X and Mac OS X 64 binaries have all been tested.
</li>
<li>
The Linux binaries may not work on older distributions. For example, the Linux 64 binary does not work on openSUSE 11.0. In these cases, you will need to get a lua binary for your distribution, or compile it manually.
</li>
<li>
XOWA/Lua has been tested on a Windows 7 64-bit machine. Note that the Windows 32-bit Lua binary is included, not the 64-bit one.
</li>
</ul>
<h3>
<span class="mw-headline" id="Permissions">Permissions</span>
</h3>
<p>
Linux / Mac OS X users will need to grant Execute permission to the Lua binary. Note that XOWA tries to do this automatically. If it fails, you will need to handle it manually by doing any one of the following (note you will need to replace &lt;OS&gt; with your system):
</p>
<ul>
<li>
Run the setup shell script
</li>
</ul>
<dl>
<dd>
Run <code>sh /xowa/setup_&lt;OS&gt;.sh script</code>
</dd>
</dl>
<ul>
<li>
Manually setup lua
</li>
</ul>
<dl>
<dd>
Run <code>mv -f /xowa/bin/&lt;OS&gt;/lua/lua_install /xowa/bin/&lt;OS&gt;/lua/lua</code>
</dd>
<dd>
Run <code>chmod 774 /xowa/bin/&lt;OS&gt;/lua/lua</code>
</dd>
</dl>
<ul>
<li>
Use a pre-existing lua
</li>
</ul>
<dl>
<dd>
Change the "Lua path" binary to one on your machine (which presumably has the correct permissions) (EX: /usr/bin/lua)
</dd>
</dl>
<h2>
<span class="mw-headline" id="Luaj">Luaj</span>
</h2>
<p>
XOWA packages a modified version of the luaj-jse-3.0 jar. Note that 3.0 was selected as it is the latest code branch and it fixes errors in 2.0.3.
</p>
<p>
Several changes were made to the default 3.0 version to accomodate issues. These changes are itemized at /xowa/bin/any/java/luaj/readme.txt as well as <a href="http://xowa.org/home/wiki/App/Xtn/Mediawiki/Scribunto/Luaj.html" id="xolnki_4" title="App/Xtn/Mediawiki/Scribunto/Luaj">App/Xtn/Mediawiki/Scribunto/Luaj</a>. The modified source is available at <a href="https://github.com/gnosygnu/luaj_xowa" rel="nofollow" class="external free">https://github.com/gnosygnu/luaj_xowa</a>
</p>
<p>
Additional files are also at <code>/xowa/bin/any/php/mediawiki/extensions/Scribunto/engines/Luaj/</code>
</p>
<h2>
<span class="mw-headline" id="Scribunto_files">Scribunto files</span>
</h2>
<p>
XOWA used the following files from Scribunto:
</p>
<ul>
<li>
The main Lua libraries: mw_main.lua, MWServer.lua
</li>
</ul>
<dl>
<dd>
<code>source: /mediawiki-1.21.11/extensions/Scribunto/engines/LuaStandalone/</code>
</dd>
<dd>
<code>target: /xowa/bin/any/php/mediawiki/extensions/Scribunto/engines/LuaStandalone/</code>
</dd>
</dl>
<ul>
<li>
The lualib directory hive
</li>
</ul>
<dl>
<dd>
<code>source: /mediawiki-1.21.11/extensions/Scribunto/engines/LuaCommon/lualib/</code>
</dd>
<dd>
<code>target: /xowa/bin/any/php/mediawiki/extensions/Scribunto/engines/LuaCommon/lualib/</code>
</dd>
</dl>
<ul>
<li>
The Lua binary for the appropriate OS
</li>
</ul>
<dl>
<dd>
<code>source: /mediawiki-1.21.11/extensions/Scribunto/engines/LuaStandalone/binaries/&lt;OS&gt;/</code>
</dd>
<dd>
<code>target: /xowa/bin/&lt;OS&gt;/lua</code>
</dd>
</dl>
<p>
XOWA modifies many of the lua files in order to cache library data across multiple page loads (Scribunto reloads the libraries for every page)
</p>
<h2>
<span class="mw-headline" id="Links">Links</span>
</h2>
<ul>
<li>
For Options see <a href="http://xowa.org/home/wiki/Options/Scribunto.html" id="xolnki_5" title="Options/Scribunto" class="xowa-visited">Options/Scribunto</a>
</li>
<li>
For Diagnostics see <a href="http://xowa.org/home/wiki/Diagnostics.html#Scribunto" id="xolnki_6" title="Diagnostics">Diagnostics#Scribunto</a>
</li>
</ul>
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<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>
<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>
<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>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<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/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
</ul>
</div>
</div>
</div>
</body>
</html>

View File

@ -388,7 +388,7 @@
<b>Really benefits from an SSD</b>: SQLite really does better with an SSD. I tried some tricks like changing PRAGMA synchronous to OFF, but this only shaves off a dozen or so minutes. In contrast, an SSD will easily knock off an hour if not more (from 2 hours to about 40 min)
</li>
<li>
<b>If you want the new search, downloading from archive.org is the easiest way</b>: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_9" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a>). As such, the easiest way is to download prebuilt copies from archive.org:
<b>If you want the new search, downloading from archive.org is the easiest way</b>: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_9" title="App/Search" class="xowa-visited">App/Search</a>). As such, the easiest way is to download prebuilt copies from archive.org:
<ul>
<li>
<a href="https://archive.org/download/Xowa_enwiki_latest/Xowa_enwiki_2016-03-05_wiki_core.7z" rel="nofollow" class="external free">https://archive.org/download/Xowa_enwiki_latest/Xowa_enwiki_2016-03-05_wiki_core.7z</a>

View File

@ -92,7 +92,7 @@
<span class="mw-headline" id=".28Desktop.29_New_autocomplete_address_bar">(Desktop) New autocomplete address bar</span>
</h3>
<p>
The address bar now supports autocompletion. For example, open up English Wikipedia, and start typing <code>earth</code>. The autocomplete is very fast and supports a lot of advanced functionality. For example you can do a search like <code>earth + (history, future) -middle</code> directly in the address bar. See <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_7" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a> as well as <a href="http://xowa.org/home/wiki/Options/Search_suggest.html" id="xolnki_8" title="Options/Search suggest">Options/Search suggest</a>.
The address bar now supports autocompletion. For example, open up English Wikipedia, and start typing <code>earth</code>. The autocomplete is very fast and supports a lot of advanced functionality. For example you can do a search like <code>earth + (history, future) -middle</code> directly in the address bar. See <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_7" title="App/Search" class="xowa-visited">App/Search</a> as well as <a href="http://xowa.org/home/wiki/Options/Search_suggest.html" id="xolnki_8" title="Options/Search suggest">Options/Search suggest</a>.
</p>
<p>
Unfortunately, the autocomplete uses the new search system, so old wikis need to upgrade the search databases. You can upgrade by any of the following:
@ -158,7 +158,7 @@
<b>Punctuation friendly</b>: Searches can be done for <code>U.S.A.</code> or <code>USA</code>; <code>dont't</code> or <code>dont</code>; <code>half-life</code> or <code>half</code> or <code>life</code>.
</li>
<li>
<b>Boolean searches</b>: Searches can use boolean operators like <code>-</code>, <code>,</code>, <code>+</code>, <code>()</code>, and <code>*</code>. In addition, there's even an escape operator: <code>\</code>. See <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_11" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a>
<b>Boolean searches</b>: Searches can use boolean operators like <code>-</code>, <code>,</code>, <code>+</code>, <code>()</code>, and <code>*</code>. In addition, there's even an escape operator: <code>\</code>. See <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_11" title="App/Search" class="xowa-visited">App/Search</a>
</li>
<li>
<b>Home wiki</b>: The home wiki is now searchable. Try entering in <code>search</code> or any other word

View File

@ -388,7 +388,7 @@
<b>Really benefits from an SSD</b>: SQLite really does better with an SSD. I tried some tricks like changing PRAGMA synchronous to OFF, but this only shaves off a dozen or so minutes. In contrast, an SSD will easily knock off an hour if not more (from 2 hours to about 40 min)
</li>
<li>
<b>If you want the new search, downloading from archive.org is the easiest way</b>: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_9" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a>). As such, the easiest way is to download prebuilt copies from archive.org:
<b>If you want the new search, downloading from archive.org is the easiest way</b>: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_9" title="App/Search" class="xowa-visited">App/Search</a>). As such, the easiest way is to download prebuilt copies from archive.org:
<ul>
<li>
<a href="https://archive.org/download/Xowa_enwiki_latest/Xowa_enwiki_2016-03-05_wiki_core.7z" rel="nofollow" class="external free">https://archive.org/download/Xowa_enwiki_latest/Xowa_enwiki_2016-03-05_wiki_core.7z</a>

View File

@ -695,7 +695,7 @@
</ul>
<dl>
<dd>
<span style='font-variant:small-caps'>Links</span>: <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_10" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a>
<span style='font-variant:small-caps'>Links</span>: <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_10" title="App/Search" class="xowa-visited">App/Search</a>
</dd>
</dl>
<ul>

View File

@ -1563,7 +1563,7 @@
(add) Edit: Toolbar added for editing pages {contributed by Schnark}.
</li>
<li>
(add) Import: Sqlite database import available for category version 2. See: <a href="http://xowa.org/home/wiki/Archive/Import/Sqlite.html" id="xolnki_36" title="Archive/Import/Sqlite">Archive/Import/Sqlite</a>
(add) Import: Sqlite database import available for category version 2. See: <a href="http://xowa.org/home/wiki/Archive/Import/Sqlite.html" id="xolnki_36" title="Archive/Import/Sqlite" class="xowa-visited">Archive/Import/Sqlite</a>
</li>
</ul>
<p>
@ -1682,7 +1682,7 @@
</p>
<ul>
<li>
(add) Import: Sqlite database import supported (command-line only) {requested by hidp123 et. al.}. See: <a href="http://xowa.org/home/wiki/Archive/Import/Sqlite.html" id="xolnki_37" title="Archive/Import/Sqlite">Archive/Import/Sqlite</a>
(add) Import: Sqlite database import supported (command-line only) {requested by hidp123 et. al.}. See: <a href="http://xowa.org/home/wiki/Archive/Import/Sqlite.html" id="xolnki_37" title="Archive/Import/Sqlite" class="xowa-visited">Archive/Import/Sqlite</a>
</li>
<li>
(fix) Search: Search broken when not using search suggestions {detected by hidp123;anonymous7}.

View File

@ -1198,7 +1198,7 @@
<li>
<span class="reference-text">V2 is a category system that reproduces the exact category system in Wikipedia. However it requires additional files ("categorylinks") and takes up more space (as much as 10 GB for English Wikipedia)</span>
</li>
</ul><span class="reference-text">For more info, see <a href="http://xowa.org/home/wiki/App/Category.html" id="xolnki_7" title="App/Category">App/Category</a></span>
</ul><span class="reference-text">For more info, see <a href="http://xowa.org/home/wiki/App/Category.html" id="xolnki_7" title="App/Category" class="xowa-visited">App/Category</a></span>
</li>
<li id="cite_note-import_now-1">
<span class="mw-cite-backlink"><a href="#cite_ref-import_now_1-0">^</a></span> <span class="reference-text">Use this button to import the selected wiki now.</span>

View File

@ -508,7 +508,7 @@
n
</td>
<td class='cell_center'>
2016-03-05
2016-04-25
</td>
<td class='cell_center'>
2016-03-05
@ -645,10 +645,10 @@
en.wikivoyage.org
</td>
<td class='cell_center'>
y
n
</td>
<td class='cell_center'>
2016-01-12
2016-04-07
</td>
<td class='cell_center'>
2016-03-05
@ -680,10 +680,10 @@
en.wiktionary.org
</td>
<td class='cell_center'>
y
n
</td>
<td class='cell_center'>
2016-01-12
2016-04-07
</td>
<td class='cell_center'>
2016-03-05
@ -1297,7 +1297,7 @@
<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>
</li>
<li id="cite_note-category_version-6">
<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="http://xowa.org/home/wiki/App/Category.html" id="xolnki_3" title="App/Category">App/Category</a> for more info</span>
<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="http://xowa.org/home/wiki/App/Category.html" id="xolnki_3" title="App/Category" class="xowa-visited">App/Category</a> for more info</span>
</li>
<li id="cite_note-search_version-7">
<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="http://xowa.org/home/wiki/App/Search.html" id="xolnki_4" title="App/Search" class="xowa-visited">App/Search</a> for more info</span>

View File

@ -0,0 +1,293 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Dev/Command-line - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
<style>
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
.code
,.path
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
.bold {font-weight: 900;}
</style>
<style>
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
.code
,.path
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
.bold {font-weight: 900;}
</style>
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>Dev/Command-line</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<p>
XOWA can import a wiki using a plain text file and a command-line.
</p>
<div id="toc" class="toc">
<div id="toctitle">
<h2>
Contents
</h2>
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Import_simple.wikipedia.org_through_the_command-line"><span class="tocnumber">1</span> <span class="toctext">Import simple.wikipedia.org through the command-line</span></a>
</li>
<li class="toclevel-1 tocsection-2">
<a href="#Import_a_different_wiki_by_editing_the_build_script"><span class="tocnumber">2</span> <span class="toctext">Import a different wiki by editing the build script</span></a>
</li>
<li class="toclevel-1 tocsection-3">
<a href="#Import_a_wiki_with_a_manual_download"><span class="tocnumber">3</span> <span class="toctext">Import a wiki with a manual download</span></a>
<ul>
<li class="toclevel-2 tocsection-4">
<a href="#Download_the_wiki_dump"><span class="tocnumber">3.1</span> <span class="toctext">Download the wiki dump</span></a>
</li>
<li class="toclevel-2 tocsection-5">
<a href="#Specify_location_of_the_wiki_dump"><span class="tocnumber">3.2</span> <span class="toctext">Specify location of the wiki dump</span></a>
</li>
</ul>
</li>
<li class="toclevel-1 tocsection-6">
<a href="#Script"><span class="tocnumber">4</span> <span class="toctext">Script</span></a>
</li>
</ul>
</div>
<h2>
<span class="mw-headline" id="Import_simple.wikipedia.org_through_the_command-line">Import simple.wikipedia.org through the command-line</span>
</h2>
<ul>
<li>
Open up a command-line. For example, on Windows, run <span class='bold'>cmd</span>
</li>
<li>
Run the following: <span class='console'>java -jar C:\000\200_dev\110_java\400_xowa\bin\ --cmd_file C:\xowa\xowa_build.gfs --app_mode cmd</span>
</li>
<li>
Wait about 10 minutes for the script to complete
</li>
<li>
Launch XOWA and enter <span class='url'>simple.wikipedia.org</span> in the URL bar
</li>
</ul>
<h2>
<span class="mw-headline" id="Import_a_different_wiki_by_editing_the_build_script">Import a different wiki by editing the build script</span>
</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.
</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>
</li>
<li>
Run the command-line import again.
</li>
<li>
Launch XOWA and enter in the domain name in the the URL bar.
</li>
</ul>
<h2>
<span class="mw-headline" id="Import_a_wiki_with_a_manual_download">Import a wiki with a manual download</span>
</h2>
<h3>
<span class="mw-headline" id="Download_the_wiki_dump">Download the wiki dump</span>
</h3>
<ul>
<li>
Navigate to <a href="https://dumps.wikimedia.org/enwiki" rel="nofollow" class="external free">https://dumps.wikimedia.org/enwiki</a>
</li>
<li>
Click on the <b>latest</b> directory
</li>
<li>
Download the file just under "<b>Articles, templates, media/file descriptions, and primary meta-pages.</b>". It should read <b>enwiki-latest-pages-articles.xml.bz2</b>
</li>
</ul>
<dl>
<dd>
The download is 11+ GB and may take anywhere between 2 and 5 hours to complete.
</dd>
<dd>
If you also want talk pages, you should download the "<b>Recombine all pages, current versions only.</b>" version. It should read <b>enwiki-latest-pages-meta-current.xml.bz2</b>. Note that this dump is twice the size of the regular dump.
</dd>
</dl>
<h3>
<span class="mw-headline" id="Specify_location_of_the_wiki_dump">Specify location of the wiki dump</span>
</h3>
<ul>
<li>
In the build script, replace the following line:
</li>
</ul>
<dl>
<dd>
<span class='code'>add ('simple.wikipedia.org', 'text.init') {src_bz2_fil = '/your_directory/simplewiki-20130103-pages-articles.xml.bz2';}</span>
</dd>
</dl>
<h2>
<span class="mw-headline" id="Script">Script</span>
</h2>
<pre class='code'>
// do not show a "Press enter to continue" at the end of the script
app.bldr.pause_at_end = 'n';
// run xowa.gfs
app.scripts.run_file_by_type('xowa_cfg_app');
// import wiki; for more info see [[Dev/Command-line]]
app.bldr.cmds {
// delete all files in directory; note that subdirectories and file databases ("-file.xowa") will not be deleted
add ('simple.wikipedia.org' , 'util.cleanup') {delete_all = 'y';}
// download main dump file; contains all articles
add ('simple.wikipedia.org' , 'util.download') {dump_type = 'pages-articles';}
// download categorylinks file; contains links from category to pages
add ('simple.wikipedia.org' , 'util.download') {dump_type = 'categorylinks';}
// download page_props file; contains information on hidden categories
add ('simple.wikipedia.org' , 'util.download') {dump_type = 'page_props';}
// start wiki import
add ('simple.wikipedia.org' , 'text.init');
// import articles
add ('simple.wikipedia.org' , 'text.page');
// generate search data
add ('simple.wikipedia.org' , 'text.search');
// generate main category data
add ('simple.wikipedia.org' , 'text.cat.core');
// import category links
add ('simple.wikipedia.org' , 'text.cat.link');
// apply hidden categories
add ('simple.wikipedia.org' , 'text.cat.hidden');
// end import
add ('simple.wikipedia.org' , 'text.term');
// import css into wiki
add ('simple.wikipedia.org' , 'text.css');
// cleanup temp files; delete xml and bz2
add ('simple.wikipedia.org' , 'util.cleanup') {delete_tmp = 'y'; delete_by_match('*.xml|*.sql|*.bz2|*.gz');}
}
// run cmds
app.bldr.run;
</pre>
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<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>
<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>
<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>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<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/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
</ul>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,180 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Dev/Config files - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>Dev/Config files</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<h2>
<span class="mw-headline" id="Overview_.28and_disclaimer.29">Overview (and disclaimer)</span>
</h2>
<p>
XOWA uses a custom text format called gfs (an acronym for the gfs flexible script). It is a plain-text config file with a Java-like syntax.
</p>
<p>
Please note that gfs was an early personal project, dating back over five years ago. Although there are considerable flaws in the project, it was incorporated into XOWA for reasons of expedience.
</p>
<p>
Unfortunately, although the script is flexible for my purposes, the format is very easy to break and the resulting error messages can be cryptic and indecipherable.
</p>
<p>
As such, please follow these guidelines when working with a gfs file.
</p>
<ul>
<li>
Always have a backup.
</li>
<li>
Add changes in small steps.
</li>
<li>
Do not stray far from the provided file.
</li>
<li>
Do not be clever. You will outsmart the library.
</li>
</ul>
<h2>
<span class="mw-headline" id="Recommended_procedure_for_changes">Recommended procedure for changes</span>
</h2>
<p>
Please follow the steps below when changing config files. Windows instructions are provided in parentheses.
</p>
<p>
Note that you can keep XOWA open while making changes to the .gfs file. (for example, while reading this help page). However, in order for the changes to take effect, you must restart XOWA.
</p>
<ul>
<li>
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" class="xowa-visited">Dev/Config_files/Examples</a> for examples.)
</li>
<li>
Save and close the file.
</li>
<li>
Run XOWA (<code>java -jar xowa_windows.jar</code>)
</li>
</ul>
<dl>
<dd>
If it works, then XOWA will launch normally.
</dd>
<dd>
If it fails, then a message box will display an error. Note that the log will also have the same information: <b>/xowa/user/anonymous/app/tmp/log/current</b>.
</dd>
</dl>
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<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>
<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>
<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>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<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/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
</ul>
</div>
</div>
</div>
</body>
</html>

View File

@ -22,10 +22,10 @@
</p>
<ul>
<li>
<a href="http://xowa.org/home/wiki/Dev/Config_files/Overview.html" id="xolnki_2" title="Dev/Config files/Overview">Overview</a>
<a href="http://xowa.org/home/wiki/Dev/Config_files.html" 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.html" id="xolnki_3" title="Dev/Config files/Examples" class="xowa-visited">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>

View File

@ -46,7 +46,7 @@
version:
</td>
<td>
3.4.2.1 <b>(<a href="http://xowa.org/home/wiki/Change_log.html" id="xolnki_2" title="Change log" class="xowa-visited">view changes</a>)</b>
3.4.4.1 <b>(<a href="http://xowa.org/home/wiki/Change_log.html" id="xolnki_2" title="Change log" class="xowa-visited">view changes</a>)</b>
</td>
</tr>
<tr>
@ -54,7 +54,7 @@
build_date:
</td>
<td>
2016-04-16 21:59
2016-04-29 22:01
</td>
</tr>
<tr>
@ -418,6 +418,17 @@
<a href="https://github.com/jpillora/notifyjs" rel="nofollow" class="external text">MIT</a>
</td>
</tr>
<tr>
<td>
<a href="https://mustache.github.io/" rel="nofollow" class="external text">Mustache</a>
</td>
<td>
Template library
</td>
<td>
<a href="https://github.com/mustache/mustache.github.com/blob/master/LICENSE.md" rel="nofollow" class="external text">MIT</a>
</td>
</tr>
<tr>
<td class='component_category' colspan='3'>
Other application components
@ -682,6 +693,17 @@
<a href="http://github.com/qbittorrent/qBittorrent/blob/master/COPYING" rel="nofollow" class="external text">GPLv2</a>
</td>
</tr>
<tr>
<td>
<a href="https://obsproject.com/" rel="nofollow" class="external text">OBS</a>
</td>
<td>
Desktop video recording
</td>
<td>
<a href="https://github.com/jp9000/obs-studio/blob/master/COPYING" rel="nofollow" class="external text">GPLv2</a>
</td>
</tr>
<tr>
<td>
<a href="http://www.gimp.org" rel="nofollow" class="external text">GIMP</a>

View File

@ -54,7 +54,7 @@
<td style='width:30%'>
<ul>
<li>
<a href="http://xowa.org/home/wiki/App/Import/Import_overview.html" id="xolnki_6" title="App/Import/Import overview">Import Overview</a><br>
<a href="http://xowa.org/home/wiki/App/Import/Import_overview.html" id="xolnki_6" title="App/Import/Import overview" class="xowa-visited">Import Overview</a><br>
</li>
<li>
<a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" id="xolnki_7" title="App/Import/Simple Wikipedia" class="xowa-visited">Simple Wikipedia</a>
@ -80,7 +80,7 @@
<td style='width:20%'>
<ul>
<li>
<a href="http://xowa.org/home/wiki/App/UI/Main_window/Overview.html" id="xolnki_10" title="App/UI/Main window/Overview">Using the Main Window</a>
<a href="http://xowa.org/home/wiki/App/UI/Main_window.html" id="xolnki_10" title="App/UI/Main window" class="xowa-visited">Using the Main Window</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/App/UI/Find_box.html" id="xolnki_11" title="App/UI/Find box" class="xowa-visited">Finding text on a page</a>
@ -93,7 +93,7 @@
<td style='width:25%'>
<ul>
<li>
<a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_12" title="App/Search/Overview" class="xowa-visited">Overview</a>
<a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_12" title="App/Search" class="xowa-visited">Overview</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/App/Search/Address_bar.html" id="xolnki_13" title="App/Search/Address bar">Searching with the address bar</a>
@ -175,7 +175,7 @@
<td style='width:20%'>
<ul>
<li>
<a href="http://xowa.org/home/wiki/Dev/Command-line/Overview.html" id="xolnki_23" title="Dev/Command-line/Overview" class="xowa-visited">Overview</a>
<a href="http://xowa.org/home/wiki/Dev/Command-line.html" id="xolnki_23" title="Dev/Command-line" class="xowa-visited">Overview</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Dev/Command-line/Dumps.html" id="xolnki_24" title="Dev/Command-line/Dumps" class="xowa-visited">Image dumps</a>
@ -243,10 +243,10 @@
<td style='width:25%'>
<ul>
<li>
<a href="http://xowa.org/home/wiki/App/Category/Overview.html" id="xolnki_34" title="App/Category/Overview">Category</a>
<a href="http://xowa.org/home/wiki/App/Category.html" id="xolnki_34" title="App/Category" class="xowa-visited">Category</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/App/Xtn/Mediawiki/Scribunto/Overview.html" id="xolnki_35" title="App/Xtn/Mediawiki/Scribunto/Overview">Scribunto</a>
<a href="http://xowa.org/home/wiki/App/Xtn/Mediawiki/Scribunto.html" id="xolnki_35" title="App/Xtn/Mediawiki/Scribunto">Scribunto</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/App/Xtn/Mediawiki/Math/MathJax.html" id="xolnki_36" title="App/Xtn/Mediawiki/Math/MathJax">MathJax</a>

View File

@ -183,7 +183,7 @@
</p>
<ul>
<li>
v3.3.4 has a new auto-complete address bar. It also has a faster Search system. See <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_13" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a>
v3.3.4 has a new auto-complete address bar. It also has a faster Search system. See <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_13" title="App/Search" class="xowa-visited">App/Search</a>
</li>
</ul>
<dl>
@ -218,7 +218,7 @@
v2.5.4 has changed online file downloads. Among other things, ImageMagick and Inkscape are no longer required. For more info, see <a href="http://xowa.org/home/wiki/App/Basics/Files.html" id="xolnki_18" title="App/Basics/Files" class="xowa-visited">Files</a>
</li>
<li>
v2.4.2 has improved Search performance and v2.4.4 has added multi-wiki Search. For more info, see <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_19" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a>
v2.4.2 has improved Search performance and v2.4.4 has added multi-wiki Search. For more info, see <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_19" title="App/Search" class="xowa-visited">App/Search</a>
</li>
<li>
v2.4.1 has introduced major database layout changes. For more info, see <a href="http://xowa.org/home/wiki/Dev/Design/Database.html" id="xolnki_20" title="Dev/Design/Database">Database</a>

View File

@ -389,7 +389,7 @@ li.active a, li.active a:hover
</ul>
</li>
<li id="cite_note-engine_type-1">
<span class="mw-cite-backlink"><a href="#cite_ref-engine_type_1-0">^</a></span> <span class="reference-text">Select lua engine. See <a href="http://xowa.org/home/wiki/App/Xtn/Mediawiki/Scribunto/Overview.html#Engines" id="xolnki_2" title="App/Xtn/Mediawiki/Scribunto/Overview">App/Xtn/Mediawiki/Scribunto/Overview#Engines</a> (default is <code>luaj</code>)</span>
<span class="mw-cite-backlink"><a href="#cite_ref-engine_type_1-0">^</a></span> <span class="reference-text">Select lua engine. See <a href="http://xowa.org/home/wiki/App/Xtn/Mediawiki/Scribunto.html#Engines" id="xolnki_2" title="App/Xtn/Mediawiki/Scribunto">App/Xtn/Mediawiki/Scribunto#Engines</a> (default is <code>luaj</code>)</span>
<ul>
<li>
<span class="reference-text"><b>luaj</b>: lua code will be processed through the <a href="http://luaj.org/luaj/README.html" rel="nofollow" class="external text">luaj</a> jar at /bin/any/java/luaj/.</span>

View File

@ -290,7 +290,7 @@ li.active a, li.active a:hover
You can also test your configuration changes by going to this link: <a href="https://simple.wikipedia.org/wiki/Special:Search/Earth*" rel="nofollow" class="external free">https://simple.wikipedia.org/wiki/Special:Search/Earth*</a> or <a href="https://en.wikipedia.org/wiki/Special:Search/Earth*" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Special:Search/Earth*</a>
</p>
<p>
For more infomation, visit the <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_2" title="App/Search/Overview" class="xowa-visited">Search help page</a><br>
For more infomation, visit the <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_2" title="App/Search" class="xowa-visited">Search help page</a><br>
</p>
<div style='float:right;'>
<div style='float:right; margin-right:10px; margin-top:5px;'>

View File

@ -499,7 +499,7 @@ space=\s
</li>
<li id="cite_note-url_bar-symbols-6">
<span class="mw-cite-backlink"><a href="#cite_ref-url_bar-symbols_6-0">^</a></span> <span class="reference-text">Define symbols for address-bar searches: (default is )<br>
This is an advanced option which allows custom definition of symbols for search terms. For more information on search queries, see <a href="http://xowa.org/home/wiki/App/Search/Overview.html" id="xolnki_2" title="App/Search/Overview" class="xowa-visited">App/Search/Overview</a> Note the following details:</span>
This is an advanced option which allows custom definition of symbols for search terms. For more information on search queries, see <a href="http://xowa.org/home/wiki/App/Search.html" id="xolnki_2" title="App/Search" class="xowa-visited">App/Search</a> Note the following details:</span>
<ul>
<li>
<span class="reference-text">"\s" means space</span>