mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
1256 lines
39 KiB
HTML
1256 lines
39 KiB
HTML
<!DOCTYPE html>
|
|
<html dir="ltr">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
|
<title>App/Personal wikis/Default Main Page - 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/Personal wikis/Default Main Page</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>
|
|
Welcome to your personal wiki!
|
|
</p>
|
|
<p>
|
|
Personal wikis are new and will be in continual development! If you encounter issues, please report them through the <a href="/wiki/Xowa.home:Help/Feedback" id="xolnki_2" title="Xowa.home:Help/Feedback">Feedback page</a>.
|
|
</p>
|
|
<div id="toc" class="toc">
|
|
<div id="toctitle" class="toctitle">
|
|
<h2>
|
|
Contents
|
|
</h2>
|
|
</div>
|
|
<ul>
|
|
<li class="toclevel-1 tocsection-1">
|
|
<a href="#Quick_start"><span class="tocnumber">1</span> <span class="toctext">Quick start</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-2">
|
|
<a href="#Editing_this_page"><span class="tocnumber">1.1</span> <span class="toctext">Editing this page</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-3">
|
|
<a href="#Creating_a_new_page"><span class="tocnumber">1.2</span> <span class="toctext">Creating a new page</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-4">
|
|
<a href="#Linking_to_a_page"><span class="tocnumber">1.3</span> <span class="toctext">Linking to a page</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-5">
|
|
<a href="#Basic_editing"><span class="tocnumber">2</span> <span class="toctext">Basic editing</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-6">
|
|
<a href="#HTML_tags"><span class="tocnumber">2.1</span> <span class="toctext">HTML tags</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-7">
|
|
<a href="#Basic_editing:_Test_Level_a3"><span class="tocnumber">2.2</span> <span class="toctext">Basic editing: Test Level a3</span></a>
|
|
<ul>
|
|
<li class="toclevel-3 tocsection-8">
|
|
<a href="#Basic_editing:_Test_Level_a4"><span class="tocnumber">2.2.1</span> <span class="toctext">Basic editing: Test Level a4</span></a>
|
|
<ul>
|
|
<li class="toclevel-4 tocsection-9">
|
|
<a href="#Basic_editing:_Test_Level_a5"><span class="tocnumber">2.2.1.1</span> <span class="toctext">Basic editing: Test Level a5</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-10">
|
|
<a href="#Basic_editing:_Test_Level_b3"><span class="tocnumber">2.3</span> <span class="toctext">Basic editing: Test Level b3</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-11">
|
|
<a href="#Basic_editing:_Test_Level_c3"><span class="tocnumber">2.4</span> <span class="toctext">Basic editing: Test Level c3</span></a>
|
|
<ul>
|
|
<li class="toclevel-3 tocsection-12">
|
|
<a href="#Basic_editing:_Test_Level_c4"><span class="tocnumber">2.4.1</span> <span class="toctext">Basic editing: Test Level c4</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-13">
|
|
<a href="#Notes_for_Basics_editing"><span class="tocnumber">2.5</span> <span class="toctext">Notes for Basics editing</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-14">
|
|
<a href="#Advanced_editing"><span class="tocnumber">3</span> <span class="toctext">Advanced editing</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-15">
|
|
<a href="#Category"><span class="tocnumber">3.1</span> <span class="toctext">Category</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-16">
|
|
<a href="#Images"><span class="tocnumber">3.2</span> <span class="toctext">Images</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-17">
|
|
<a href="#Table_of_contents"><span class="tocnumber">3.3</span> <span class="toctext">Table of contents</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-18">
|
|
<a href="#Math"><span class="tocnumber">3.4</span> <span class="toctext">Math</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-19">
|
|
<a href="#References"><span class="tocnumber">3.5</span> <span class="toctext">References</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-20">
|
|
<a href="#Sortable_tables"><span class="tocnumber">3.6</span> <span class="toctext">Sortable tables</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-21">
|
|
<a href="#Collapsible_tables"><span class="tocnumber">3.7</span> <span class="toctext">Collapsible tables</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-22">
|
|
<a href="#More"><span class="tocnumber">3.8</span> <span class="toctext">More</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-23">
|
|
<a href="#Expert_editing"><span class="tocnumber">4</span> <span class="toctext">Expert editing</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-24">
|
|
<a href="#Magic_words"><span class="tocnumber">4.1</span> <span class="toctext">Magic words</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-25">
|
|
<a href="#Parser_functions"><span class="tocnumber">4.2</span> <span class="toctext">Parser functions</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-26">
|
|
<a href="#Templates"><span class="tocnumber">4.3</span> <span class="toctext">Templates</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-27">
|
|
<a href="#Modules"><span class="tocnumber">4.4</span> <span class="toctext">Modules</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-28">
|
|
<a href="#Developer_editing"><span class="tocnumber">5</span> <span class="toctext">Developer editing</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-29">
|
|
<a href="#CSS"><span class="tocnumber">5.1</span> <span class="toctext">CSS</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-30">
|
|
<a href="#Page_template"><span class="tocnumber">5.2</span> <span class="toctext">Page template</span></a>
|
|
</li>
|
|
<li class="toclevel-2 tocsection-31">
|
|
<a href="#Scripting"><span class="tocnumber">5.3</span> <span class="toctext">Scripting</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-32">
|
|
<a href="#Keyboard_shortcuts"><span class="tocnumber">6</span> <span class="toctext">Keyboard shortcuts</span></a>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-33">
|
|
<a href="#Useful_links"><span class="tocnumber">7</span> <span class="toctext">Useful links</span></a>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-34">
|
|
<a href="#Notes"><span class="tocnumber">8</span> <span class="toctext">Notes</span></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<h2>
|
|
<span class="mw-headline" id="Quick_start">Quick start</span>
|
|
</h2>
|
|
<h3>
|
|
<span class="mw-headline" id="Editing_this_page">Editing this page</span>
|
|
</h3>
|
|
<ul>
|
|
<li>
|
|
Switch to edit mode by pressing <code>Edit</code> near the top-right of the page
|
|
</li>
|
|
<li>
|
|
Edit the text by typing directly in the text box. For this example, enter <code>Hello, world!</code> at the top of the text box.
|
|
</li>
|
|
<li>
|
|
Save the page by pressing the <code>Save page</code> button at the bottom of the text box
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
Congratulations! You should see <code>Hello, world!</code> at the top of the page
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Creating_a_new_page">Creating a new page</span>
|
|
</h3>
|
|
<ul>
|
|
<li>
|
|
Navigate to a page by entering a page title in the url bar. For this example, enter <code>Test</code>.
|
|
</li>
|
|
<li>
|
|
A blank page will open in edit mode. Enter in some text in the text box. For this example, enter <code>Some text for the page</code>
|
|
</li>
|
|
<li>
|
|
Save the page.
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
Congratulations! You have just created a new page called <code>Test</code>
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Linking_to_a_page">Linking to a page</span>
|
|
</h3>
|
|
<ul>
|
|
<li>
|
|
Switch to edit mode.
|
|
</li>
|
|
<li>
|
|
Enter a link by entering text into the text box. For this example, use <code>[[Test]]</code>.
|
|
</li>
|
|
<li>
|
|
Save the page. The word <code>Test</code> will show and be highlighted in blue.
|
|
</li>
|
|
<li>
|
|
Click on the <code>Test</code> link. The <code>Test</code> page will open.
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
Congratulations! You have just linked to a page called <code>Test</code>
|
|
</p>
|
|
<h2>
|
|
<span class="mw-headline" id="Basic_editing">Basic editing</span>
|
|
</h2>
|
|
<p>
|
|
The best place to start is Wikipedia's guide for editing: <a href="https://en.wikipedia.org/wiki/Help:Getting_started" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Getting_started</a>
|
|
</p>
|
|
<p>
|
|
The table below is provided for reference. Note the following columns:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>function</b>: the name of the function
|
|
</li>
|
|
<li>
|
|
<b>example</b>: an example of the function as shown in HTML
|
|
</li>
|
|
<li>
|
|
<b>wikitext</b>: the actual wikitext used to render the function
|
|
</li>
|
|
<li>
|
|
<b>html</b>: an alternative way of rendering the same wikitext, but only with html.
|
|
</li>
|
|
</ul>
|
|
<h3>
|
|
<span class="mw-headline" id="HTML_tags">HTML tags</span>
|
|
</h3>
|
|
<p>
|
|
Most HTML tags are available.
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>HTML tags can be used as an alternative to wikitext.</b>: For example, <i>italicized text</i> can also be shown with <code><i>italicized text</i></code>
|
|
</li>
|
|
<li>
|
|
<b>HTML tags are needed for other functions.</b>: For example, the following have no wikitext equivalent <code><u>underline</u></code>, <code><s>strikethru</s></code>, etc..
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
However, there are some notable exceptions:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>anchor tags are not allowed</b>: Any <code><a></code> will be rendered literally. Instead, use an internal / external link. For example, <code>[[Test]]</code>
|
|
</li>
|
|
<li>
|
|
<b>image tags are not allowed</b>: Any <code><img></code> will be rendered literally. Instead, use an internal link in the file namespace. For example, <code>[[File:Image.png]]</code>
|
|
</li>
|
|
<li>
|
|
<b>javascript / events are not allowed</b>: All javascript and "onevent" blocks are removed.
|
|
</li>
|
|
</ul>
|
|
<table class="wikitable" style="background:white">
|
|
<tr>
|
|
<th>
|
|
function
|
|
</th>
|
|
<th>
|
|
example
|
|
</th>
|
|
<th>
|
|
wikitext
|
|
</th>
|
|
<th>
|
|
html
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
italics
|
|
</td>
|
|
<td>
|
|
<i>italicized text</i>
|
|
</td>
|
|
<td>
|
|
<code>''italicized text''</code>
|
|
</td>
|
|
<td>
|
|
<code><i>italicized text</<i></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
bold
|
|
</td>
|
|
<td>
|
|
<b>bold text</b>
|
|
</td>
|
|
<td>
|
|
<code>'''bold text'''</code>
|
|
</td>
|
|
<td>
|
|
<code><b>bold text</<b></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
bold and italics
|
|
</td>
|
|
<td>
|
|
<i><b>bold and italicized text</b></i>
|
|
</td>
|
|
<td>
|
|
<code>'''''bold and italicized text'''''</code>
|
|
</td>
|
|
<td>
|
|
<code><b><i>bold and italicized text</i></b></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
underline
|
|
</td>
|
|
<td>
|
|
<u>underlined text</u>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
<td>
|
|
<code><u>underlined text</u></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
strike-thru
|
|
</td>
|
|
<td>
|
|
<s>strike-thru text</s>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
<td>
|
|
<code><s>strike-thru text</s></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
color
|
|
</td>
|
|
<td>
|
|
<span style='color:green'>colored text</span>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
<td>
|
|
<code><span style='color:green'>colored text</span></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
external url: url only
|
|
</td>
|
|
<td>
|
|
<a href="http://xowa.org" rel="nofollow" class="external free">http://xowa.org</a>
|
|
</td>
|
|
<td>
|
|
<code>http://xowa.org</code>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
external url: url with name
|
|
</td>
|
|
<td>
|
|
<a href="http://xowa.org" rel="nofollow" class="external text">xowa web site</a>
|
|
</td>
|
|
<td>
|
|
<code>[http://xowa.org xowa web site]</code>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
external url: numbered
|
|
</td>
|
|
<td>
|
|
<a href="http://xowa.org" rel="nofollow" class="external autonumber">[1]</a>
|
|
</td>
|
|
<td>
|
|
<code>[http://xowa.org]</code>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
internal url: page only
|
|
</td>
|
|
<td>
|
|
<a href="/wiki/Test" id="xolnki_3" title="Test">Test</a>
|
|
</td>
|
|
<td>
|
|
<code>[[Test]]</code>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
internal url: page with name
|
|
</td>
|
|
<td>
|
|
<a href="/wiki/Test" id="xolnki_4" title="Test">My test page</a>
|
|
</td>
|
|
<td>
|
|
<code>[[Test|My test page]]</code>
|
|
</td>
|
|
<td>
|
|
<code>N/A</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
paragraph<br>
|
|
</td>
|
|
<td>
|
|
<p>
|
|
para 1
|
|
</p>
|
|
<p>
|
|
para 2
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
para 1
|
|
|
|
para 2
|
|
</pre>
|
|
<p>
|
|
<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[basics 1]</a></sup>
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
<p>para 1</p>
|
|
<p>para 2</p>
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
preformatted blocks
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
line 1
|
|
line 2
|
|
</pre>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
line 1
|
|
line 2
|
|
</pre>
|
|
<p>
|
|
<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[basics 2]</a></sup>
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
<pre>
|
|
line 1
|
|
para 2
|
|
</pre>
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
list: bulleted
|
|
</td>
|
|
<td>
|
|
<ul>
|
|
<li>
|
|
a
|
|
<ul>
|
|
<li>
|
|
aa
|
|
<ul>
|
|
<li>
|
|
aaa
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
b
|
|
</li>
|
|
<li>
|
|
c
|
|
<ul>
|
|
<li>
|
|
cc
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
* a
|
|
** aa
|
|
*** aaa
|
|
* b
|
|
* c
|
|
** cc
|
|
</pre>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
<ul>
|
|
<li>a
|
|
<ul>
|
|
<li>aa
|
|
<ul>
|
|
<li>aaa</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>b</li>
|
|
<li>c
|
|
<ul>
|
|
<li>cc
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
list: numbered
|
|
</td>
|
|
<td>
|
|
<ol>
|
|
<li>
|
|
a
|
|
<ol>
|
|
<li>
|
|
aa
|
|
<ol>
|
|
<li>
|
|
aaa
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
<li>
|
|
b
|
|
</li>
|
|
<li>
|
|
c
|
|
<ol>
|
|
<li>
|
|
cc
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
</ol>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
# a
|
|
## aa
|
|
### aaa
|
|
# b
|
|
# c
|
|
## cc
|
|
</pre>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
<ol>
|
|
<li>a
|
|
<ol>
|
|
<li>aa
|
|
<ol>
|
|
<li>aaa</li>
|
|
</ol>
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
<li>b</li>
|
|
<li>c
|
|
<ol>
|
|
<li>cc
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
</ol>
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
header
|
|
</td>
|
|
<td>
|
|
<h3>
|
|
<span class="mw-headline" id="Basic_editing:_Test_Level_a3">Basic editing: Test Level a3</span>
|
|
</h3>
|
|
<h4>
|
|
<span class="mw-headline" id="Basic_editing:_Test_Level_a4">Basic editing: Test Level a4</span>
|
|
</h4>
|
|
<h5>
|
|
<span class="mw-headline" id="Basic_editing:_Test_Level_a5">Basic editing: Test Level a5</span>
|
|
</h5>
|
|
<h3>
|
|
<span class="mw-headline" id="Basic_editing:_Test_Level_b3">Basic editing: Test Level b3</span>
|
|
</h3>
|
|
<h3>
|
|
<span class="mw-headline" id="Basic_editing:_Test_Level_c3">Basic editing: Test Level c3</span>
|
|
</h3>
|
|
<h4>
|
|
<span class="mw-headline" id="Basic_editing:_Test_Level_c4">Basic editing: Test Level c4</span>
|
|
</h4>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
=== Basic editing: Test Level a3 ===
|
|
==== Basic editing: Test Level a4 ====
|
|
===== Basic editing: Test Level a5 =====
|
|
=== Basic editing: Test Level b3 ===
|
|
=== Basic editing: Test Level c3 ===
|
|
==== Basic editing: Test Level c4 ====
|
|
</pre>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
<h3> Basic editing: Test Level a3 </h3>
|
|
<h4> Basic editing: Test Level a4 </h4>
|
|
<h5> Basic editing: Test Level a5 </h5>
|
|
<h3> Basic editing: Test Level b3 </h3>
|
|
<h3> Basic editing: Test Level c3 </h3>
|
|
<h4> Basic editing: Test Level c4 </h4>
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
table
|
|
</td>
|
|
<td>
|
|
<table class="wikitable">
|
|
<caption>
|
|
caption
|
|
</caption>
|
|
<tr>
|
|
<th>
|
|
header a
|
|
</th>
|
|
<th>
|
|
header b
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
cell 1a
|
|
</td>
|
|
<td>
|
|
cell 1b
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
cell 2a
|
|
</td>
|
|
<td>
|
|
cell 2b
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
{|class=wikitable
|
|
|+ caption
|
|
|-
|
|
! header a
|
|
! header b
|
|
|-
|
|
| cell 1a
|
|
| cell 1b
|
|
|-
|
|
| cell 2a
|
|
| cell 2b
|
|
|}
|
|
</pre>
|
|
</td>
|
|
<td>
|
|
<pre>
|
|
<table class="wikitable">
|
|
<caption>caption</caption>
|
|
<tr>
|
|
<th>header a</th>
|
|
<th>header b</th>
|
|
</tr>
|
|
<tr>
|
|
<td>cell 1a</td>
|
|
<td>cell 1b</td>
|
|
</tr>
|
|
<tr>
|
|
<td>cell 2a</td>
|
|
<td>cell 2b</td>
|
|
</tr>
|
|
</table>
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h3>
|
|
<span class="mw-headline" id="Notes_for_Basics_editing">Notes for Basics editing</span>
|
|
</h3>
|
|
<ol class="references">
|
|
<li id="cite_note-0">
|
|
<span class="mw-cite-backlink"><a href="#cite_ref-0">^</a></span> <span class="reference-text">enter a completely blank line between paragraphs</span>
|
|
</li>
|
|
<li id="cite_note-1">
|
|
<span class="mw-cite-backlink"><a href="#cite_ref-1">^</a></span> <span class="reference-text">start a line with a space</span>
|
|
</li>
|
|
</ol>
|
|
<h2>
|
|
<span class="mw-headline" id="Advanced_editing">Advanced editing</span>
|
|
</h2>
|
|
<h3>
|
|
<span class="mw-headline" id="Category">Category</span>
|
|
</h3>
|
|
<p>
|
|
Categories are supported. As a basic example, try the following:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Edit this page
|
|
</li>
|
|
<li>
|
|
Add the following text: <code>[[Category:Test]]</code>
|
|
</li>
|
|
<li>
|
|
Scroll down to the bottom of the page. You will see a <code>Categories</code> section and <code>Test</code> listed
|
|
</li>
|
|
<li>
|
|
Navigate to <code>Category:Test</code>. You will see the Main page listed
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
For more info, see <a href="https://en.wikipedia.org/wiki/Help:Category" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Category</a>
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Images">Images</span>
|
|
</h3>
|
|
<p>
|
|
Images are supported, but the process is slightly complicated due to the set-up of third-party software.
|
|
</p>
|
|
<p>
|
|
Here is a broad overview:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Set up imagemagick and inkscape on your machine. For more instructions, see <a href="http://xowa.org/home/wiki/App/Wiki_types/Wikia.com#Part_3c:_Setup_Imagemagick_and_Inkscape" rel="nofollow" class="external free">http://xowa.org/home/wiki/App/Wiki_types/Wikia.com#Part_3c:_Setup_Imagemagick_and_Inkscape</a>
|
|
</li>
|
|
<li>
|
|
Place your images in your wiki directory. Assuming your wiki is set up in <code>C:\your_wiki</code>, then you need to copy an image to <code>C:\your_wiki\file\orig</code>. As an example, do the following:
|
|
<ul>
|
|
<li>
|
|
Download the image from <code>https://upload.wikimedia.org/wikipedia/commons/9/97/The_Earth_seen_from_Apollo_17.jpg</code>
|
|
</li>
|
|
<li>
|
|
Move the image to <code>C:\your_wiki\file\orig\The_Earth_seen_from_Apollo_17.jpg</code>
|
|
</li>
|
|
<li>
|
|
Edit the page, and add the following text: <code>[[File:The_Earth_seen_from_Apollo_17.jpg]]</code>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
Preview the page. You should see the image.
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
For more info, see <a href="https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial</a>
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Table_of_contents">Table of contents</span>
|
|
</h3>
|
|
<p>
|
|
Table of contents (TOC) are automatically generated by XOWA if you have 4 headers (a header being something like <code>== header ==</code>)
|
|
</p>
|
|
<p>
|
|
If you have less than 4 headers, you can force a TOC by adding <code>__TOC__</code>
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Math">Math</span>
|
|
</h3>
|
|
<p>
|
|
LaT<sub>E</sub>X formatting is available. For example, the following is the formula for the Pythagorean theorem: <span id='xowa_math_txt_0'>a^2 + b^2 = c^2</span>
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="References">References</span>
|
|
</h3>
|
|
<p>
|
|
Wikipedia-style references are supported. For example, this is a simple reference: <sup id="cite_ref-2" class="reference"><a href="#cite_note-2">[1]</a></sup>.
|
|
</p>
|
|
<p>
|
|
Note that you can hover over the reference number to get a tooltip preview
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Sortable_tables">Sortable tables</span>
|
|
</h3>
|
|
<p>
|
|
Wikipedia-style sortable tables are supported.
|
|
</p>
|
|
<table class='wikitable sortable'>
|
|
<tr>
|
|
<th>
|
|
String
|
|
</th>
|
|
<th>
|
|
Int
|
|
</th>
|
|
<th>
|
|
Date - months
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
c
|
|
</td>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
Mar 1 2012
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
b
|
|
</td>
|
|
<td>
|
|
22
|
|
</td>
|
|
<td>
|
|
Feb 2 2011
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
a
|
|
</td>
|
|
<td>
|
|
111
|
|
</td>
|
|
<td>
|
|
Jan 3 2010
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h3>
|
|
<span class="mw-headline" id="Collapsible_tables">Collapsible tables</span>
|
|
</h3>
|
|
<p>
|
|
Wikipedia-style collapsible tables are supported.
|
|
</p>
|
|
<table class="wikitable collapsible">
|
|
<tr>
|
|
<th>
|
|
Data
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
A
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
B
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
C
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h3>
|
|
<span class="mw-headline" id="More">More</span>
|
|
</h3>
|
|
<p>
|
|
Other features are supported, including Tabviews, Timelines, Graphs, Hieroglyphics and Musical scores. For examples, see <a href="/wiki/Xowa.home:Diagnostics" id="xolnki_5" title="Xowa.home:Diagnostics">xowa.home:Diagnostics</a>
|
|
</p>
|
|
<h2>
|
|
<span class="mw-headline" id="Expert_editing">Expert editing</span>
|
|
</h2>
|
|
<h3>
|
|
<span class="mw-headline" id="Magic_words">Magic words</span>
|
|
</h3>
|
|
<p>
|
|
Most magic words are supported, such as <code>{{CURRENTTIME}}</code> and <code>{{lc:string}}</code>. For more info, see <a href="https://en.wikipedia.org/wiki/Help:Magic_words" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Magic_words</a>
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Parser_functions">Parser functions</span>
|
|
</h3>
|
|
<p>
|
|
Most parser functions are supported, such as <code>{{#expr:2 + 2}}</code>. For more info, see <a href="https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions" rel="nofollow" class="external free">https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions</a>
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Templates">Templates</span>
|
|
</h3>
|
|
<p>
|
|
Templates are supported, such as <code>{{my_template|arg_1|arg_2|etc...}}</code>. For more info, see <a href="https://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates</a>
|
|
</p>
|
|
<p>
|
|
Here's a brief example:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Create a page called <code>Template:Test</code> with the text <code>Hello, from Template:Test -- {{{1|empty}}}</code>
|
|
</li>
|
|
<li>
|
|
Edit any other page (like the <code>Main_Page</code>) and enter <code>{{Test|argument 1}}</code> in the text box.
|
|
</li>
|
|
<li>
|
|
Preview or Save the page. You will see <code>Hello, from Template:Test -- argument 1</code>
|
|
</li>
|
|
</ul>
|
|
<h3>
|
|
<span class="mw-headline" id="Modules">Modules</span>
|
|
</h3>
|
|
<p>
|
|
Modules are supported, such as <code>{{#invoke:my_module|my_function|arg_1|arg_2|etc...}}</code>. For more info, see <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Wikipedia:Lua</a>
|
|
</p>
|
|
<p>
|
|
Here's a brief example:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Create a page called <code>Module:Test</code> with the following text
|
|
</li>
|
|
</ul>
|
|
<pre>
|
|
local p = {}
|
|
|
|
function p.test( frame )
|
|
return "Hello from Module:Test -- " .. frame.args[1];
|
|
end
|
|
|
|
return p
|
|
</pre>
|
|
<ul>
|
|
<li>
|
|
Edit any other page (like the <code>Main_Page</code>) and enter <code>{{#invoke:Test|test|argument 1}}</code> in the text box.
|
|
</li>
|
|
<li>
|
|
Preview or Save the page. You will see <code>Hello from Module:Test -- argument 1</code>
|
|
</li>
|
|
</ul>
|
|
<h2>
|
|
<span class="mw-headline" id="Developer_editing">Developer editing</span>
|
|
</h2>
|
|
<table class="metadata plainlinks ambox ambox-delete" style="">
|
|
<tr>
|
|
<td class="mbox-empty-cell">
|
|
</td>
|
|
<td class="mbox-text" style="">
|
|
<p>
|
|
<span class="mbox-text-span">NOTE: The techniques in this section may change in future versions.</span>
|
|
</p>
|
|
<p>
|
|
<span class="mbox-text-span">If you use any of the editing techniques here, please check back occasionally to see if anything has changed.</span>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h3>
|
|
<span class="mw-headline" id="CSS">CSS</span>
|
|
</h3>
|
|
<p>
|
|
XOWA stores the CSS for each wiki in <code>/xowa/user/anonymous/wiki/your_wiki_name/html</code>. For example, if you're on Windows and your wiki is named <code>test</code>, then the CSS would be at <code>C:\xowa\user\anonymous\wiki\test\html\xowa_common.css</code>
|
|
</p>
|
|
<p>
|
|
Note that the upper-lefthand icon is also stored there as <code>logo.png</code>
|
|
</p>
|
|
<p>
|
|
You can change these files and XOWA will not overwrite them. However, as with any file, please make sure you always keep backups.
|
|
</p>
|
|
<h3>
|
|
<span class="mw-headline" id="Page_template">Page template</span>
|
|
</h3>
|
|
<p>
|
|
XOWA stores the page template in <code>/xowa/bin/any/xowa/cfg/app/xowa.gfs</code>. The actual template is marked in a section called <code>page_read</code>.
|
|
</p>
|
|
<p>
|
|
Please note the following about changing the page:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
The file is replaced on every application update. If you make updates to the file, they will be lost.
|
|
<ul>
|
|
<li>
|
|
If you find that you need to edit this file, please contact me, and I will add a feature to make it configurable in a future release. Really, these instructions are only provided for users who want to experiment.
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
The file uses a custom language specific to XOWA called gfs. Always backup the file when making changes. If you make an invalid change, XOWA will not start
|
|
</li>
|
|
<li>
|
|
The file is only loaded at application start. Any changes will require a restart of the app
|
|
</li>
|
|
</ul>
|
|
<h3>
|
|
<span class="mw-headline" id="Scripting">Scripting</span>
|
|
</h3>
|
|
<p>
|
|
XOWA allows custom hooks through Javascript or Lua. For detailed instructions see <a href="/wiki/Xowa.home:App/Xtn/Scripting" id="xolnki_6" title="Xowa.home:App/Xtn/Scripting">xowa.home:App/Xtn/Scripting</a>
|
|
</p>
|
|
<h2>
|
|
<span class="mw-headline" id="Keyboard_shortcuts">Keyboard shortcuts</span>
|
|
</h2>
|
|
<p>
|
|
For a full list, see <a href="/wiki/Xowa.home:Special:XowaCfg%3Fgrp%3Dxowa.gui.shortcuts" id="xolnki_7" title="Xowa.home:Special:XowaCfg?grp=xowa.gui.shortcuts">xowa.home:Special:XowaCfg?grp=xowa.gui.shortcuts</a>
|
|
</p>
|
|
<table class='wikitable'>
|
|
<tr>
|
|
<td>
|
|
<b>Alt + Shift + E</b>
|
|
</td>
|
|
<td>
|
|
Edit the page. Switches to edit mode
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Ctrl + S</b>
|
|
</td>
|
|
<td>
|
|
Quick save the page. Stays in edit mode
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Alt + Shift + P</b>
|
|
</td>
|
|
<td>
|
|
Preview the page. Stays in edit mode
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Alt + Shift + S</b>
|
|
</td>
|
|
<td>
|
|
Save the page. Switches to read mode
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Ctrl + F</b>
|
|
</td>
|
|
<td>
|
|
Find text in the page
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p>
|
|
<b>Ctrl + L</b> or<br>
|
|
<b>Alt + D</b>
|
|
</p>
|
|
</td>
|
|
<td>
|
|
Focus the URL bar
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Ctrl + T</b>
|
|
</td>
|
|
<td>
|
|
New tab
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Ctrl + Tab</b>
|
|
</td>
|
|
<td>
|
|
Switch to next tab
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Ctrl + Shift + Tab</b>
|
|
</td>
|
|
<td>
|
|
Switch to previous tab
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Ctrl + W</b>
|
|
</td>
|
|
<td>
|
|
Close tab
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h2>
|
|
<span class="mw-headline" id="Useful_links">Useful links</span>
|
|
</h2>
|
|
<ul>
|
|
<li>
|
|
Wikipedia's guide for editing: <a href="https://en.wikipedia.org/wiki/Help:Getting_started" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Getting_started</a>
|
|
</li>
|
|
<li>
|
|
XOWA page on personal wikis: <a href="/wiki/Xowa.home:App/Personal_wikis" id="xolnki_8" title="Xowa.home:App/Personal wikis">xowa.home:App/Personal wikis</a>
|
|
</li>
|
|
<li>
|
|
XOWA help page: <a href="/wiki/Xowa.home:Help/Contents" id="xolnki_9" title="Xowa.home:Help/Contents">Contents page</a>
|
|
</li>
|
|
</ul>
|
|
<h2>
|
|
<span class="mw-headline" id="Notes">Notes</span>
|
|
</h2>
|
|
<ol class="references">
|
|
<li id="cite_note-2">
|
|
<span class="mw-cite-backlink"><a href="#cite_ref-2">^</a></span> <span class="reference-text">Test footnote</span>
|
|
</li>
|
|
</ol>
|
|
|
|
</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="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</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'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>
|
|
<li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</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="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |