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

blog_new_job_

This commit is contained in:
gnosygnu
2017-04-02 12:03:46 -04:00
parent 891ce4b0d2
commit 328c8aadbe
239 changed files with 2833 additions and 8418 deletions

View File

@@ -87,7 +87,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Overview">Overview</span>
<span class="mw-headline" id="Overview">Overview</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Overview" title="Edit section: Overview" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The XOWA Android application is in an alpha state. Please note the following details:
@@ -213,7 +213,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Requirements">Requirements</span>
<span class="mw-headline" id="Requirements">Requirements</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Requirements" title="Edit section: Requirements" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -232,10 +232,10 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Installation">Installation</span>
<span class="mw-headline" id="Installation">Installation</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Installation" title="Edit section: Installation" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Set_up_Simple_Wikipedia_on_your_microSD_card">Set up Simple Wikipedia on your microSD card</span>
<span class="mw-headline" id="Set_up_Simple_Wikipedia_on_your_microSD_card">Set up Simple Wikipedia on your microSD card</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Set_up_Simple_Wikipedia_on_your_microSD_card" title="Edit section: Set_up_Simple_Wikipedia_on_your_microSD_card" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -260,7 +260,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Install_XOWA.apk">Install XOWA.apk</span>
<span class="mw-headline" id="Install_XOWA.apk">Install XOWA.apk</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Install_XOWA.apk" title="Edit section: Install_XOWA.apk" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -290,7 +290,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Import_Simple_Wikipedia">Import Simple Wikipedia</span>
<span class="mw-headline" id="Import_Simple_Wikipedia">Import Simple Wikipedia</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Import_Simple_Wikipedia" title="Edit section: Import_Simple_Wikipedia" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -310,7 +310,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Set_up_English_Wikipedia_on_your_microSD_card">Set up English Wikipedia on your microSD card</span>
<span class="mw-headline" id="Set_up_English_Wikipedia_on_your_microSD_card">Set up English Wikipedia on your microSD card</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Set_up_English_Wikipedia_on_your_microSD_card" title="Edit section: Set_up_English_Wikipedia_on_your_microSD_card" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -373,7 +373,7 @@
<br>
</p>
<h3>
<span class="mw-headline" id="Requested_feedback">Requested feedback</span>
<span class="mw-headline" id="Requested_feedback">Requested feedback</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Requested_feedback" title="Edit section: Requested_feedback" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
If you want to help out, please post any of the following to <a href="https://github.com/gnosygnu/xowa/wiki/Android" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/wiki/Android</a>
@@ -396,7 +396,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Features">Features</span>
<span class="mw-headline" id="Features">Features</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=Features" title="Edit section: Features" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -416,7 +416,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="To-do_list">To-do list</span>
<span class="mw-headline" id="To-do_list">To-do list</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Android?action=edit&amp;section_key=To-do_list" title="Edit section: To-do_list" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>

View File

@@ -18,13 +18,13 @@
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<h2>
<span class="mw-headline" id="Credits">Credits</span>
<span class="mw-headline" id="Credits">Credits</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/HTTP_Server?action=edit&amp;section_key=Credits" title="Edit section: Credits" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
Considerable thanks goes to Mattze96 for proposing and developing the HTTP server.
</p>
<h2>
<span class="mw-headline" id="Overview">Overview</span>
<span class="mw-headline" id="Overview">Overview</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/HTTP_Server?action=edit&amp;section_key=Overview" title="Edit section: Overview" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
As of v0.12.1, XOWA now includes an HTTP server in addition to a TCP server. The TCP server is used by the Firefox Add-On (See <a href="http://xowa.org/home/wiki/App/Xtn/Browser/XOWA_viewer.html" id="xolnki_2" title="App/Xtn/Browser/XOWA viewer">App/Xtn/Browser/XOWA_viewer</a>).
@@ -36,10 +36,10 @@
Note that the HTTP server is currently in an alpha stage, but should improve with coming releases. If you have any comments or feedback, please see <a href="https://sourceforge.net/p/xowa/discussion/general/thread/fa4baf84/" rel="nofollow" class="external free">https://sourceforge.net/p/xowa/discussion/general/thread/fa4baf84/</a>
</p>
<h2>
<span class="mw-headline" id="Usage">Usage</span>
<span class="mw-headline" id="Usage">Usage</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/HTTP_Server?action=edit&amp;section_key=Usage" title="Edit section: Usage" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Other_browsers">Other browsers</span>
<span class="mw-headline" id="Other_browsers">Other browsers</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/HTTP_Server?action=edit&amp;section_key=Other_browsers" title="Edit section: Other_browsers" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
To use the XOWA HTTP server in another browser, do the following:
@@ -53,7 +53,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Across_the_network">Across the network</span>
<span class="mw-headline" id="Across_the_network">Across the network</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/HTTP_Server?action=edit&amp;section_key=Across_the_network" title="Edit section: Across_the_network" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
To use the XOWA HTTP server in a server setting, do the following:
@@ -67,7 +67,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Notes">Notes</span>
<span class="mw-headline" id="Notes">Notes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/HTTP_Server?action=edit&amp;section_key=Notes" title="Edit section: Notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ol class="references">
<li id="cite_note-port_80-0">

View File

@@ -24,7 +24,7 @@
Note that XOWA uses two ports for communications: an inbound port (defaults to 55000) and an outbound port (defaults to 55001). This may change in later implementations.
</p>
<h2>
<span class="mw-headline" id="Test_setup">Test setup</span>
<span class="mw-headline" id="Test_setup">Test setup</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/TCP_Server?action=edit&amp;section_key=Test_setup" title="Edit section: Test_setup" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -52,7 +52,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Server_notes">Server notes</span>
<span class="mw-headline" id="Server_notes">Server notes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/TCP_Server?action=edit&amp;section_key=Server_notes" title="Edit section: Server_notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
There are three arguments related to server mode
@@ -96,7 +96,7 @@
</dd>
</dl>
<h2>
<span class="mw-headline" id="Console_notes">Console notes</span>
<span class="mw-headline" id="Console_notes">Console notes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/TCP_Server?action=edit&amp;section_key=Console_notes" title="Edit section: Console_notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
There are four arguments related to the console app

View File

@@ -59,16 +59,16 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Credits">Credits</span>
<span class="mw-headline" id="Credits">Credits</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Credits" title="Edit section: Credits" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
Considerable thanks goes to treck for proposing and developing the XOWA viewer addon.
</p>
<h2>
<span class="mw-headline" id="Installation">Installation</span>
<span class="mw-headline" id="Installation">Installation</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Installation" title="Edit section: Installation" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Pale_Moon">Pale Moon</span>
<span class="mw-headline" id="Pale_Moon">Pale Moon</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Pale_Moon" title="Edit section: Pale_Moon" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
As of Firefox version 43, unsigned addons are no longer supported. See <a href="https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox" rel="nofollow" class="external free">https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox</a> The XOWA Firefox Addon should be signed in the future, but in the meantime, you can use the open-source alternative Pale Moon as a substitute:
@@ -88,7 +88,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Firefox">Firefox</span>
<span class="mw-headline" id="Firefox">Firefox</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Firefox" title="Edit section: Firefox" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Note that you will need a version earlier than 43, or a developer / nightly build
@@ -102,7 +102,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Toolbar">Toolbar</span>
<span class="mw-headline" id="Toolbar">Toolbar</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Toolbar" title="Edit section: Toolbar" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The Add-on installs an XOWA toolbar button called "XOWA Home". Users can enable it by doing the following:
@@ -119,7 +119,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Features_and_Limitations">Features and Limitations</span>
<span class="mw-headline" id="Features_and_Limitations">Features and Limitations</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Features_and_Limitations" title="Edit section: Features_and_Limitations" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The XOWA viewer is a work in progress. XOWA needs to make changes to communicate with Firefox over TCP (right now it communicates directly with the embedded browser)
@@ -184,7 +184,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Config">Config</span>
<span class="mw-headline" id="Config">Config</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Config" title="Edit section: Config" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The addon has several options that can be configured.
@@ -212,7 +212,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Developer:_Source_code">Developer: Source code</span>
<span class="mw-headline" id="Developer:_Source_code">Developer: Source code</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Developer:_Source_code" title="Edit section: Developer:_Source_code" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The source code is available under the Mozilla Public License at <a href="https://github.com/piotrex/XOWA-Addon" rel="nofollow" class="external text">gitub</a>.
@@ -221,7 +221,7 @@
It is also contained in the Addon itself. You can unzip the .xpi and examine any of the underlying files. The code is in javascript and there are no binary dependencies.
</p>
<h2>
<span class="mw-headline" id="Developer:_Install">Developer: Install</span>
<span class="mw-headline" id="Developer:_Install">Developer: Install</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Browser/XOWA_viewer?action=edit&amp;section_key=Developer:_Install" title="Edit section: Developer:_Install" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>

View File

@@ -56,7 +56,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Purpose">Purpose</span>
<span class="mw-headline" id="Purpose">Purpose</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Purpose" title="Edit section: Purpose" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
<b>XOWA Popups</b> shows a preview of an article when hovering over a link. It has the following benefits:
@@ -73,7 +73,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Usage">Usage</span>
<span class="mw-headline" id="Usage">Usage</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Usage" title="Edit section: Usage" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -116,7 +116,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Background">Background</span>
<span class="mw-headline" id="Background">Background</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Background" title="Edit section: Background" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
<b>XOWA Popups</b> is based on MediaWiki's <a href="https://www.mediawiki.org/wiki/Extension:Hovercards" rel="nofollow" class="external text">Hovercards</a> and <a href="https://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups" rel="nofollow" class="external text">Navigation popups</a>. It does not aim to be an exact reproduction of either, but picks the best features from each.
@@ -128,7 +128,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Design_principles">Design principles</span>
<span class="mw-headline" id="Design_principles">Design principles</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Design_principles" title="Edit section: Design_principles" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The following is a list of intentional design differences from MediaWiki's Hovercards and Navigation Popups:
@@ -159,7 +159,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Future_changes">Future changes</span>
<span class="mw-headline" id="Future_changes">Future changes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Future_changes" title="Edit section: Future_changes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -179,10 +179,10 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Technical_details">Technical details</span>
<span class="mw-headline" id="Technical_details">Technical details</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Technical_details" title="Edit section: Technical_details" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Words">Words</span>
<span class="mw-headline" id="Words">Words</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Words" title="Edit section: Words" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
<b>XOWA Popups</b> has the following rules for words:
@@ -207,7 +207,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Parser">Parser</span>
<span class="mw-headline" id="Parser">Parser</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Popups?action=edit&amp;section_key=Parser" title="Edit section: Parser" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
<b>XOWA Popups</b> uses a modified version of the XOWA parser. The popup parser has the following attributes:

View File

@@ -18,13 +18,13 @@
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<h2>
<span class="mw-headline" id="Credits">Credits</span>
<span class="mw-headline" id="Credits">Credits</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Scripts?action=edit&amp;section_key=Credits" title="Edit section: Credits" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
Considerable thanks goes to <b>Schnark</b> for integrating MediaWiki's script for sortable and collapsible tables.
</p>
<h2>
<span class="mw-headline" id="Setup_notes">Setup notes</span>
<span class="mw-headline" id="Setup_notes">Setup notes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Html/Scripts?action=edit&amp;section_key=Setup_notes" title="Edit section: Setup_notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>

View File

@@ -75,16 +75,16 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Options">Options</span>
<span class="mw-headline" id="Options">Options</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Options" title="Edit section: Options" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
See <a href="http://xowa.org/home/wiki/Options/Import_Dansguardian.html" id="xolnki_2" title="Options/Import Dansguardian">Options/Import_Dansguardian</a>
</p>
<h2>
<span class="mw-headline" id="Phraselists">Phraselists</span>
<span class="mw-headline" id="Phraselists">Phraselists</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Phraselists" title="Edit section: Phraselists" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Location">Location</span>
<span class="mw-headline" id="Location">Location</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Location" title="Edit section: Location" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -95,7 +95,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Format">Format</span>
<span class="mw-headline" id="Format">Format</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Format" title="Edit section: Format" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Phraselist files are plain text files with the following format:
@@ -115,7 +115,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Import_process">Import process</span>
<span class="mw-headline" id="Import_process">Import process</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Import_process" title="Edit section: Import_process" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
Phraselists are applied during import. The following process occurs:
@@ -154,10 +154,10 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Scoring">Scoring</span>
<span class="mw-headline" id="Scoring">Scoring</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Scoring" title="Edit section: Scoring" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Basic">Basic</span>
<span class="mw-headline" id="Basic">Basic</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Basic" title="Edit section: Basic" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
A rule is matched if any part of the wikitext contains the words in the ruletext.
@@ -184,7 +184,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Multiplicity">Multiplicity</span>
<span class="mw-headline" id="Multiplicity">Multiplicity</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Multiplicity" title="Edit section: Multiplicity" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Rules scores are multiplied based on occurrences.
@@ -201,13 +201,13 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Exclusion">Exclusion</span>
<span class="mw-headline" id="Exclusion">Exclusion</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Exclusion" title="Edit section: Exclusion" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
By default, anything that matches a rule (has a score &gt; 0) will be excluded. Note that this exclude number can be raised from 0 to something higher like 100. See <a href="http://xowa.org/home/wiki/Options/Import_Dansguardian.html" id="xolnki_3" title="Options/Import Dansguardian">Options/Import_Dansguardian</a>
</p>
<h2>
<span class="mw-headline" id="Inclusion">Inclusion</span>
<span class="mw-headline" id="Inclusion">Inclusion</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Inclusion" title="Edit section: Inclusion" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The import filter can also be used to build content-specific wikis. For example, let's say you wanted to build a wiki that only <b>includes</b> articles with the words "planet" and "earth planet". The following can be done:
@@ -241,7 +241,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Manual_inclusion_.2F_exclusion">Manual inclusion / exclusion</span>
<span class="mw-headline" id="Manual_inclusion_.2F_exclusion">Manual inclusion / exclusion</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Manual_inclusion_.2F_exclusion" title="Edit section: Manual_inclusion_.2F_exclusion" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The filter process also provides a way to list articles that will always be included / excluded, regardless of rule score.
@@ -260,10 +260,10 @@ Sun
Similarly, to manually include an article, save the file to /xowa/bin/any/xowa/cfg/bldr/filter/wiki_name/xowa.title.include.txt
</p>
<h2>
<span class="mw-headline" id="Other_notes">Other notes</span>
<span class="mw-headline" id="Other_notes">Other notes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Other_notes" title="Edit section: Other_notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Performance">Performance</span>
<span class="mw-headline" id="Performance">Performance</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Import/Dansguardian?action=edit&amp;section_key=Performance" title="Edit section: Performance" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>

View File

@@ -39,7 +39,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Programs">Programs</span>
<span class="mw-headline" id="Programs">Programs</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Latex/Linux?action=edit&amp;section_key=Programs" title="Edit section: Programs" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -62,7 +62,7 @@
</dd>
</dl>
<h2>
<span class="mw-headline" id="Paths">Paths</span>
<span class="mw-headline" id="Paths">Paths</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Latex/Linux?action=edit&amp;section_key=Paths" title="Edit section: Paths" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
Note that XOWA assumes that LaT<sub>E</sub>X and dvipng have the following paths:
@@ -96,17 +96,17 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Options">Options</span>
<span class="mw-headline" id="Options">Options</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Latex/Linux?action=edit&amp;section_key=Options" title="Edit section: Options" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The math module uses MathJax by default. You can change it to LaT<sub>E</sub>X by navigating to <a href="http://xowa.org/home/wiki/Options/Math.html" id="xolnki_3" title="Options/Math">Options/Math</a> and choosing LaTeX
</p>
<h2>
<span class="mw-headline" id="Test">Test</span>
<span class="mw-headline" id="Test">Test</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Latex/Linux?action=edit&amp;section_key=Test" title="Edit section: Test" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
Visit <a href="http://xowa.org/home/wiki/Diagnostics/Math.html" id="xolnki_4" title="Diagnostics/Math">Diagnostics/Math</a>
Visit <a href="http://xowa.org/home/wiki/Diagnostics/Math.html" id="xolnki_4" title="Diagnostics/Math" class="xowa-visited">Diagnostics/Math</a>
</li>
</ul>

View File

@@ -21,7 +21,7 @@
LaT<sub>E</sub>X is not natively available to Windows. Fortunately, <a href="http://miktex.org/" rel="nofollow" class="external text">MiKT<sub>E</sub>X</a> is open-source and distributed under <a href="http://miktex.org/copying" rel="nofollow" class="external text">Free Software Guidelines</a>.
</p>
<h2>
<span class="mw-headline" id="Manual:_download">Manual: download</span>
<span class="mw-headline" id="Manual:_download">Manual: download</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Latex/Windows?action=edit&amp;section_key=Manual:_download" title="Edit section: Manual:_download" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -46,17 +46,17 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Manual:_options">Manual: options</span>
<span class="mw-headline" id="Manual:_options">Manual: options</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Latex/Windows?action=edit&amp;section_key=Manual:_options" title="Edit section: Manual:_options" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The math module uses MathJax by default. You can change it to LaT<sub>E</sub>X by navigating to <a href="http://xowa.org/home/wiki/Options/Math.html" id="xolnki_2" title="Options/Math">Options/Math</a> and choosing LaTeX
</p>
<h2>
<span class="mw-headline" id="Testing">Testing</span>
<span class="mw-headline" id="Testing">Testing</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Latex/Windows?action=edit&amp;section_key=Testing" title="Edit section: Testing" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
Visit <a href="http://xowa.org/home/wiki/Diagnostics/Math.html" id="xolnki_3" title="Diagnostics/Math">Diagnostics/Math</a>
Visit <a href="http://xowa.org/home/wiki/Diagnostics/Math.html" id="xolnki_3" title="Diagnostics/Math" class="xowa-visited">Diagnostics/Math</a>
</li>
<li>
Wait a few seconds. You will get a MikTeX prompt to download another repository. Specifically:

View File

@@ -18,13 +18,13 @@
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<h2>
<span class="mw-headline" id="Credits">Credits</span>
<span class="mw-headline" id="Credits">Credits</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/MathJax?action=edit&amp;section_key=Credits" title="Edit section: Credits" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
Considerable thanks goes to Schnark for proposing and implementing the <a href="http://www.mathjax.org/" rel="nofollow" class="external text">MathJax</a> integration.
</p>
<h2>
<span class="mw-headline" id="Setup_notes">Setup notes</span>
<span class="mw-headline" id="Setup_notes">Setup notes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/MathJax?action=edit&amp;section_key=Setup_notes" title="Edit section: Setup_notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The following is a list of setup notes for MathJax:

View File

@@ -48,13 +48,13 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="MathJax">MathJax</span>
<span class="mw-headline" id="MathJax">MathJax</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Setup?action=edit&amp;section_key=MathJax" title="Edit section: MathJax" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
XOWA uses MathJax<sup id="cite_ref-mathjax_0-0" class="reference"><a href="#cite_note-mathjax-0">[1]</a></sup> as the default method for LaT<sub>E</sub>X support. No additional setup is required, and performance will often be quicker than a standard LaT<sub>E</sub>X application.
</p>
<h2>
<span class="mw-headline" id="LaTEX">LaT<sub>E</sub>X</span>
<span class="mw-headline" id="LaTEX">LaT<sub>E</sub>X</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Setup?action=edit&amp;section_key=LaTEX" title="Edit section: LaTEX" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
XOWA also supports LaT<sub>E</sub>X for those users who prefer to work directly with the application.
@@ -74,7 +74,7 @@
</dd>
</dl>
<h2>
<span class="mw-headline" id="MathJax_compared_to_XOWA_LaTEX">MathJax compared to XOWA LaT<sub>E</sub>X</span>
<span class="mw-headline" id="MathJax_compared_to_XOWA_LaTEX">MathJax compared to XOWA LaT<sub>E</sub>X</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Setup?action=edit&amp;section_key=MathJax_compared_to_XOWA_LaTEX" title="Edit section: MathJax_compared_to_XOWA_LaTEX" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
Here is a quick summary of the differences between MathJax vs XOWA LaT<sub>E</sub>X:
@@ -94,21 +94,21 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="MathJax_developer_notes">MathJax developer notes</span>
<span class="mw-headline" id="MathJax_developer_notes">MathJax developer notes</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Setup?action=edit&amp;section_key=MathJax_developer_notes" title="Edit section: MathJax_developer_notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
For more info on how Mathjax was integrated into XOWA, please see <a href="http://xowa.org/home/wiki/Help:Component/MathJax.html" id="xolnki_5" title="Help:Component/MathJax">Help:Component/MathJax</a>.
</p>
<h2>
<span class="mw-headline" id="Test">Test</span>
<span class="mw-headline" id="Test">Test</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Setup?action=edit&amp;section_key=Test" title="Edit section: Test" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
Visit <a href="http://xowa.org/home/wiki/Diagnostics/Math.html" id="xolnki_6" title="Diagnostics/Math">Diagnostics/Math</a>
Visit <a href="http://xowa.org/home/wiki/Diagnostics/Math.html" id="xolnki_6" title="Diagnostics/Math" class="xowa-visited">Diagnostics/Math</a>
</li>
</ul>
<h2>
<span class="mw-headline" id="Notes">Notes</span>
<span class="mw-headline" id="Notes">Notes</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Math/Setup?action=edit&amp;section_key=Notes" title="Edit section: Notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ol class="references">
<li id="cite_note-mathjax-0">

View File

@@ -50,7 +50,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Installation">Installation</span>
<span class="mw-headline" id="Installation">Installation</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Score?action=edit&amp;section_key=Installation" title="Edit section: Installation" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The Score extension depends on LilyPond. This package is fairly large (90 MB) and not portable (i.e.: it must be installed).
@@ -59,7 +59,7 @@
The following are installation instructions per operating system.
</p>
<h3>
<span class="mw-headline" id="Windows">Windows</span>
<span class="mw-headline" id="Windows">Windows</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Score?action=edit&amp;section_key=Windows" title="Edit section: Windows" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -70,7 +70,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Linux_.28Ubuntu.2C_Mint.29">Linux (Ubuntu, Mint)</span>
<span class="mw-headline" id="Linux_.28Ubuntu.2C_Mint.29">Linux (Ubuntu, Mint)</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Score?action=edit&amp;section_key=Linux_.28Ubuntu.2C_Mint.29" title="Edit section: Linux_.28Ubuntu.2C_Mint.29" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -86,7 +86,7 @@
</dd>
</dl>
<h3>
<span class="mw-headline" id="Mac_OS_X">Mac OS X</span>
<span class="mw-headline" id="Mac_OS_X">Mac OS X</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Score?action=edit&amp;section_key=Mac_OS_X" title="Edit section: Mac_OS_X" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
[Note: No testing has been done with Mac OS X machines, so these are best guesses]
@@ -100,7 +100,7 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Configuration">Configuration</span>
<span class="mw-headline" id="Configuration">Configuration</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Score?action=edit&amp;section_key=Configuration" title="Edit section: Configuration" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
After the installation completes, you will need to specify the directory.
@@ -141,7 +141,7 @@
</dd>
</dl>
<h2>
<span class="mw-headline" id="Testing">Testing</span>
<span class="mw-headline" id="Testing">Testing</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Score?action=edit&amp;section_key=Testing" title="Edit section: Testing" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
When you're done, visit <a href="http://xowa.org/home/wiki/Diagnostics.html" id="xolnki_3" title="Diagnostics" class="xowa-visited">Diagnostics</a> and click on the Score links

View File

@@ -56,7 +56,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Background">Background</span>
<span class="mw-headline" id="Background">Background</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Background" title="Edit section: Background" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></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.
@@ -68,7 +68,7 @@
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>
<span class="mw-headline" id="Status">Status</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Status" title="Edit section: Status" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></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.
@@ -77,7 +77,7 @@
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>
<span class="mw-headline" id="Engines">Engines</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Engines" title="Edit section: Engines" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
XOWA provides two engines for processing Lua statements:
@@ -150,10 +150,10 @@
Luaj is the official Lua processor for XOWA.
</p>
<h2>
<span class="mw-headline" id="Lua">Lua</span>
<span class="mw-headline" id="Lua">Lua</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Lua" title="Edit section: Lua" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Binaries">Binaries</span>
<span class="mw-headline" id="Binaries">Binaries</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Binaries" title="Edit section: Binaries" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
XOWA packages the same Lua binaries (v5.1) that come with Scribunto. Note the following:
@@ -170,7 +170,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Permissions">Permissions</span>
<span class="mw-headline" id="Permissions">Permissions</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Permissions" title="Edit section: Permissions" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></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):
@@ -209,7 +209,7 @@
</dd>
</dl>
<h2>
<span class="mw-headline" id="Luaj">Luaj</span>
<span class="mw-headline" id="Luaj">Luaj</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Luaj" title="Edit section: Luaj" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></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.
@@ -221,7 +221,7 @@
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>
<span class="mw-headline" id="Scribunto_files">Scribunto files</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Scribunto_files" title="Edit section: Scribunto_files" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
XOWA used the following files from Scribunto:
@@ -269,7 +269,7 @@
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>
<span class="mw-headline" id="Links">Links</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto?action=edit&amp;section_key=Links" title="Edit section: Links" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>

View File

@@ -121,7 +121,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Source">Source</span>
<span class="mw-headline" id="Source">Source</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Source" title="Edit section: Source" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The luaj_xowa.jar was built using the source at <a href="http://sourceforge.net/projects/luaj/files/luaj-3.0/3.0-beta2/luaj-3.0-beta2.zip/download" rel="nofollow" class="external free">http://sourceforge.net/projects/luaj/files/luaj-3.0/3.0-beta2/luaj-3.0-beta2.zip/download</a>.
@@ -133,7 +133,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Modification">Modification</span>
<span class="mw-headline" id="Modification">Modification</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Modification" title="Edit section: Modification" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The luaj_xowa.jar was created for the following reasons:
@@ -168,13 +168,13 @@
<br>
</p>
<h2>
<span class="mw-headline" id="luaj_xowa_changes">luaj_xowa changes</span>
<span class="mw-headline" id="luaj_xowa_changes">luaj_xowa changes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=luaj_xowa_changes" title="Edit section: luaj_xowa_changes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Luaj_2.0.3_errors_fixed_in_3.0">Luaj 2.0.3 errors fixed in 3.0</span>
<span class="mw-headline" id="Luaj_2.0.3_errors_fixed_in_3.0">Luaj 2.0.3 errors fixed in 3.0</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Luaj_2.0.3_errors_fixed_in_3.0" title="Edit section: Luaj_2.0.3_errors_fixed_in_3.0" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<h4>
<span class="mw-headline" id="os.time_doesn.27t_handle_dates_before_1970">os.time doesn't handle dates before 1970</span>
<span class="mw-headline" id="os.time_doesn.27t_handle_dates_before_1970">os.time doesn't handle dates before 1970</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=os.time_doesn.27t_handle_dates_before_1970" title="Edit section: os.time_doesn.27t_handle_dates_before_1970" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -185,7 +185,7 @@
</li>
</ul>
<h4>
<span class="mw-headline" id="pairs.next_fails_when_setting_val_to_null">pairs.next fails when setting val to null</span>
<span class="mw-headline" id="pairs.next_fails_when_setting_val_to_null">pairs.next fails when setting val to null</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=pairs.next_fails_when_setting_val_to_null" title="Edit section: pairs.next_fails_when_setting_val_to_null" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -196,10 +196,10 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Luaj_2.0.3_features_removed_from_3.0">Luaj 2.0.3 features removed from 3.0</span>
<span class="mw-headline" id="Luaj_2.0.3_features_removed_from_3.0">Luaj 2.0.3 features removed from 3.0</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Luaj_2.0.3_features_removed_from_3.0" title="Edit section: Luaj_2.0.3_features_removed_from_3.0" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<h4>
<span class="mw-headline" id="string.gfind_deprecated">string.gfind deprecated</span>
<span class="mw-headline" id="string.gfind_deprecated">string.gfind deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=string.gfind_deprecated" title="Edit section: string.gfind_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -229,7 +229,7 @@
case 9: return StringLib.gmatch( args );
</pre>
<h4>
<span class="mw-headline" id="math.log10_deprecated">math.log10 deprecated</span>
<span class="mw-headline" id="math.log10_deprecated">math.log10 deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=math.log10_deprecated" title="Edit section: math.log10_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -248,7 +248,7 @@
static final class log10 extends UnaryOp { protected double call(double d) { return Math.log10(d); } }
</pre>
<h4>
<span class="mw-headline" id="math.mod_deprecated">math.mod deprecated</span>
<span class="mw-headline" id="math.mod_deprecated">math.mod deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=math.mod_deprecated" title="Edit section: math.mod_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -267,7 +267,7 @@
math.set("fmod", fmod_func);
</pre>
<h4>
<span class="mw-headline" id="table.maxn_deprecated">table.maxn deprecated</span>
<span class="mw-headline" id="table.maxn_deprecated">table.maxn deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=table.maxn_deprecated" title="Edit section: table.maxn_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<p>
file: /src/core/org/luaj/vm2/lib/TableLib.java
@@ -299,7 +299,7 @@
}
</pre>
<h4>
<span class="mw-headline" id="table.getn_deprecated">table.getn deprecated</span>
<span class="mw-headline" id="table.getn_deprecated">table.getn deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=table.getn_deprecated" title="Edit section: table.getn_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -339,7 +339,7 @@
}
</pre>
<h4>
<span class="mw-headline" id="automatic_arg_variable_in_varargs_function_deprecated">automatic arg variable in varargs function deprecated</span>
<span class="mw-headline" id="automatic_arg_variable_in_varargs_function_deprecated">automatic arg variable in varargs function deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=automatic_arg_variable_in_varargs_function_deprecated" title="Edit section: automatic_arg_variable_in_varargs_function_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -370,10 +370,10 @@
continue;
</pre>
<h3>
<span class="mw-headline" id="Luaj_3.0_defects">Luaj 3.0 defects</span>
<span class="mw-headline" id="Luaj_3.0_defects">Luaj 3.0 defects</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Luaj_3.0_defects" title="Edit section: Luaj_3.0_defects" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<h4>
<span class="mw-headline" id="os.date_does_not_accept_UTC_format">os.date does not accept UTC format</span>
<span class="mw-headline" id="os.date_does_not_accept_UTC_format">os.date does not accept UTC format</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=os.date_does_not_accept_UTC_format" title="Edit section: os.date_does_not_accept_UTC_format" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -402,7 +402,7 @@ if (s.equals("*t")) {
}
</pre>
<h4>
<span class="mw-headline" id="string.gsub_fails_with_out_of_bounds_error">string.gsub fails with out_of_bounds error</span>
<span class="mw-headline" id="string.gsub_fails_with_out_of_bounds_error">string.gsub fails with out_of_bounds error</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=string.gsub_fails_with_out_of_bounds_error" title="Edit section: string.gsub_fails_with_out_of_bounds_error" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -425,7 +425,7 @@ if (s.equals("*t")) {
if (soffset &gt;= srclen) break; // assert soffset is in bounds, else will throw ArrayIndexOutOfBounds exception;
</pre>
<h4>
<span class="mw-headline" id="string.gsub_fails_if_string_is_empty">string.gsub fails if string is empty</span>
<span class="mw-headline" id="string.gsub_fails_if_string_is_empty">string.gsub fails if string is empty</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=string.gsub_fails_if_string_is_empty" title="Edit section: string.gsub_fails_if_string_is_empty" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -445,7 +445,7 @@ if (s.equals("*t")) {
if (srclen == 0) return varargsOf(src, LuaValue.ZERO); // exit early
</pre>
<h4>
<span class="mw-headline" id="string.format_ignores_precision_for_double_args">string.format ignores precision for double args</span>
<span class="mw-headline" id="string.format_ignores_precision_for_double_args">string.format ignores precision for double args</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=string.format_ignores_precision_for_double_args" title="Edit section: string.format_ignores_precision_for_double_args" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -502,7 +502,7 @@ if (s.equals("*t")) {
</li>
</ul>
<h4>
<span class="mw-headline" id="string.gmatch_issues">string.gmatch issues</span>
<span class="mw-headline" id="string.gmatch_issues">string.gmatch issues</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=string.gmatch_issues" title="Edit section: string.gmatch_issues" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -529,7 +529,7 @@ if (s.equals("*t")) {
soffset = res + soffset_adj;
</pre>
<h4>
<span class="mw-headline" id="string.tonumber_should_trim_all_whitespace">string.tonumber should trim all whitespace</span>
<span class="mw-headline" id="string.tonumber_should_trim_all_whitespace">string.tonumber should trim all whitespace</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=string.tonumber_should_trim_all_whitespace" title="Edit section: string.tonumber_should_trim_all_whitespace" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -570,7 +570,7 @@ if (s.equals("*t")) {
}
</pre>
<h4>
<span class="mw-headline" id="multi-byte_strings_not_fully_supported">multi-byte strings not fully supported</span>
<span class="mw-headline" id="multi-byte_strings_not_fully_supported">multi-byte strings not fully supported</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=multi-byte_strings_not_fully_supported" title="Edit section: multi-byte_strings_not_fully_supported" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h4>
<ul>
<li>
@@ -840,7 +840,7 @@ if (s.equals("*t")) {
<br>
</p>
<h3>
<span class="mw-headline" id="build.xml">build.xml</span>
<span class="mw-headline" id="build.xml">build.xml</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=build.xml" title="Edit section: build.xml" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -881,7 +881,7 @@ if (s.equals("*t")) {
includes="lua*"/&gt;
</pre>
<h3>
<span class="mw-headline" id="Luaj_tests">Luaj tests</span>
<span class="mw-headline" id="Luaj_tests">Luaj tests</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Luaj_tests" title="Edit section: Luaj_tests" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<pre style='overflow:auto'>
package org.luaj.vm2;
@@ -930,7 +930,7 @@ class Xowa_fxt {
}
</pre>
<h2>
<span class="mw-headline" id="Scribunto_related">Scribunto related</span>
<span class="mw-headline" id="Scribunto_related">Scribunto related</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Scribunto_related" title="Edit section: Scribunto_related" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
None of these changes affect the luaj_xowa.jar. They are noted for comprehensiveness's sake.
@@ -939,7 +939,7 @@ class Xowa_fxt {
Note that the $engines variable refers to /xowa/bin/any/lua/mediawiki/extensions/Scribunto/engines/
</p>
<h3>
<span class="mw-headline" id="getfenv.2Fsetfenv_deprecated">getfenv/setfenv deprecated</span>
<span class="mw-headline" id="getfenv.2Fsetfenv_deprecated">getfenv/setfenv deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=getfenv.2Fsetfenv_deprecated" title="Edit section: getfenv.2Fsetfenv_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -978,7 +978,7 @@ class Xowa_fxt {
</dd>
</dl>
<h3>
<span class="mw-headline" id="loadString_deprecated">loadString deprecated</span>
<span class="mw-headline" id="loadString_deprecated">loadString deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=loadString_deprecated" title="Edit section: loadString_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -991,7 +991,7 @@ class Xowa_fxt {
</dd>
</dl>
<h3>
<span class="mw-headline" id="table.unpack_deprecated">table.unpack deprecated</span>
<span class="mw-headline" id="table.unpack_deprecated">table.unpack deprecated</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=table.unpack_deprecated" title="Edit section: table.unpack_deprecated" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -1007,7 +1007,7 @@ class Xowa_fxt {
<br>
</p>
<h2>
<span class="mw-headline" id="Miscellaneous_changes">Miscellaneous changes</span>
<span class="mw-headline" id="Miscellaneous_changes">Miscellaneous changes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Scribunto/Luaj?action=edit&amp;section_key=Miscellaneous_changes" title="Edit section: Miscellaneous_changes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>

View File

@@ -50,7 +50,7 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Source">Source</span>
<span class="mw-headline" id="Source">Source</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Tidy/JTidy?action=edit&amp;section_key=Source" title="Edit section: Source" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The jtidy_xowa.jar was built using the source at <a href="https://sourceforge.net/projects/jtidy/files/JTidy/r938/" rel="nofollow" class="external free">https://sourceforge.net/projects/jtidy/files/JTidy/r938/</a>.
@@ -62,7 +62,7 @@
<br>
</p>
<h2>
<span class="mw-headline" id="Modifications">Modifications</span>
<span class="mw-headline" id="Modifications">Modifications</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Tidy/JTidy?action=edit&amp;section_key=Modifications" title="Edit section: Modifications" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The jtidy_xowa.jar was created for the following reasons:
@@ -91,13 +91,13 @@
<br>
</p>
<h2>
<span class="mw-headline" id="jtidy_xowa_changes">jtidy_xowa changes</span>
<span class="mw-headline" id="jtidy_xowa_changes">jtidy_xowa changes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Tidy/JTidy?action=edit&amp;section_key=jtidy_xowa_changes" title="Edit section: jtidy_xowa_changes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The following is only a partial list of JTidy changes. Multiple changes were made for v1.6.2.1 of XOWA to have JTidy be more "tidy-like". In addition, more changes will probably occur in the future to close the gap in source code between tidy and JTidy.
</p>
<h3>
<span class="mw-headline" id="ParseBlock_should_handle_exiled_variable_during_element_reparenting">ParseBlock should handle exiled variable during element reparenting</span>
<span class="mw-headline" id="ParseBlock_should_handle_exiled_variable_during_element_reparenting">ParseBlock should handle exiled variable during element reparenting</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Tidy/JTidy?action=edit&amp;section_key=ParseBlock_should_handle_exiled_variable_during_element_reparenting" title="Edit section: ParseBlock_should_handle_exiled_variable_during_element_reparenting" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -130,7 +130,7 @@
<br>
</p>
<h3>
<span class="mw-headline" id="Do_not_trim_empty_block_element_if_it_has_attributes">Do not trim empty block element if it has attributes</span>
<span class="mw-headline" id="Do_not_trim_empty_block_element_if_it_has_attributes">Do not trim empty block element if it has attributes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Tidy/JTidy?action=edit&amp;section_key=Do_not_trim_empty_block_element_if_it_has_attributes" title="Edit section: Do_not_trim_empty_block_element_if_it_has_attributes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -160,7 +160,7 @@
<br>
</p>
<h3>
<span class="mw-headline" id="Do_not_convert_empty_.3Cp.3E_to_.3Cbr.3E">Do not convert empty &lt;p&gt; to &lt;br&gt;</span>
<span class="mw-headline" id="Do_not_convert_empty_.3Cp.3E_to_.3Cbr.3E">Do not convert empty &lt;p&gt; to &lt;br&gt;</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Tidy/JTidy?action=edit&amp;section_key=Do_not_convert_empty_.3Cp.3E_to_.3Cbr.3E" title="Edit section: Do_not_convert_empty_.3Cp.3E_to_.3Cbr.3E" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>
@@ -193,7 +193,7 @@
<br>
</p>
<h3>
<span class="mw-headline" id="Do_not_add_.5Cn_after_.3Cspan.3E_in_.3Cpre.3E">Do not add \n after &lt;span&gt; in &lt;pre&gt;</span>
<span class="mw-headline" id="Do_not_add_.5Cn_after_.3Cspan.3E_in_.3Cpre.3E">Do not add \n after &lt;span&gt; in &lt;pre&gt;</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Mediawiki/Tidy/JTidy?action=edit&amp;section_key=Do_not_add_.5Cn_after_.3Cspan.3E_in_.3Cpre.3E" title="Edit section: Do_not_add_.5Cn_after_.3Cspan.3E_in_.3Cpre.3E" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<ul>
<li>

View File

@@ -103,13 +103,13 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Options">Options</span>
<span class="mw-headline" id="Options">Options</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Options" title="Edit section: Options" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The options page is at <a href="http://xowa.org/home/wiki/Options/Page_sync.html" id="xolnki_2" title="Options/Page sync">Options/Page_sync</a>
</p>
<h2>
<span class="mw-headline" id="Background">Background</span>
<span class="mw-headline" id="Background">Background</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Background" title="Edit section: Background" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
In general, offline dumps are generated on a semi-frequent basis:
@@ -137,13 +137,13 @@
The Page sync feature allows you to update selected pages
</p>
<h2>
<span class="mw-headline" id="Issues">Issues</span>
<span class="mw-headline" id="Issues">Issues</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Issues" title="Edit section: Issues" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The Page sync feature is still a work in progress. The following are known issues:
</p>
<h3>
<span class="mw-headline" id="Math.2C_Helper_Buttons_.28enlarge_.2F_more_info.29.2C_Musical_scores.2C_and_other_images_don.27t_work"><s>Math,</s> Helper Buttons (enlarge / more info), Musical scores, and other images don't work</span>
<span class="mw-headline" id="Math.2C_Helper_Buttons_.28enlarge_.2F_more_info.29.2C_Musical_scores.2C_and_other_images_don.27t_work"><s>Math,</s> Helper Buttons (enlarge / more info), Musical scores, and other images don't work</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Math.2C_Helper_Buttons_.28enlarge_.2F_more_info.29.2C_Musical_scores.2C_and_other_images_don.27t_work" title="Edit section: Math.2C_Helper_Buttons_.28enlarge_.2F_more_info.29.2C_Musical_scores.2C_and_other_images_don.27t_work" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Wikipedia stores some images in a separate location. XOWA still needs code to detect this location, copy it offline, and show it correctly. This should be done in the next few releases, but in the meantime it's heavily recommended that you don't use Automatic sync for all pages. <s>In particular, math pages will lose all equations after a sync. For example, <a href="https://en.wikipedia.org/wiki/Pythagorean_theorem" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Pythagorean_theorem</a></s>
@@ -154,7 +154,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="No_rollback_option">No rollback option</span>
<span class="mw-headline" id="No_rollback_option">No rollback option</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=No_rollback_option" title="Edit section: No_rollback_option" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
XOWA stores only the latest version of a page. Previous versions of the page will not be available after synchronization. This feature will be added in a future version
@@ -192,7 +192,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="No_synchronization_for_new_pages">No synchronization for new pages</span>
<span class="mw-headline" id="No_synchronization_for_new_pages">No synchronization for new pages</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=No_synchronization_for_new_pages" title="Edit section: No_synchronization_for_new_pages" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
A page must exist in the offline wiki in order to be synchronized. New pages cannot be synchronized. Navigating to a new page will just result in a "Page not found" error.
@@ -201,16 +201,16 @@
This feature will also be added in a future version
</p>
<h3>
<span class="mw-headline" id="Other_issues">Other issues</span>
<span class="mw-headline" id="Other_issues">Other issues</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Other_issues" title="Edit section: Other_issues" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Other issues may be present. Please check <a href="https://github.com/gnosygnu/xowa/issues/72" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/72</a> for updates. Once the issue is closed, then the Page Sync feature will no longer be marked "Work in progress" and should be fully operational
</p>
<h2>
<span class="mw-headline" id="Usage_notes">Usage notes</span>
<span class="mw-headline" id="Usage_notes">Usage notes</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Usage_notes" title="Edit section: Usage_notes" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Manual_sync">Manual sync</span>
<span class="mw-headline" id="Manual_sync">Manual sync</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Manual_sync" title="Edit section: Manual_sync" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Manual sync works by doing the following:
@@ -246,7 +246,7 @@
</li>
</ul>
<h3>
<span class="mw-headline" id="Auto_sync">Auto sync</span>
<span class="mw-headline" id="Auto_sync">Auto sync</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Auto_sync" title="Edit section: Auto_sync" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Automatic sync works by doing the following:
@@ -271,10 +271,10 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Technical_details">Technical details</span>
<span class="mw-headline" id="Technical_details">Technical details</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Technical_details" title="Edit section: Technical_details" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="Manual_sync_2">Manual sync</span>
<span class="mw-headline" id="Manual_sync_2">Manual sync</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Manual_sync_2" title="Edit section: Manual_sync_2" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
This is an overview of what occurs when the Sync link is pressed
@@ -308,7 +308,7 @@ https://en.wikipedia.org/w/api.php?action=parse&amp;format=json&amp;redirects=1&
</li>
</ul>
<h3>
<span class="mw-headline" id="Automatic_sync">Automatic sync</span>
<span class="mw-headline" id="Automatic_sync">Automatic sync</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Page_sync?action=edit&amp;section_key=Automatic_sync" title="Edit section: Automatic_sync" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<p>
Automatic sync uses the same process as Manual Sync. The main process is as follows:

View File

@@ -95,13 +95,13 @@
</ul>
</div>
<h2>
<span class="mw-headline" id="Options">Options</span>
<span class="mw-headline" id="Options">Options</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=Options" title="Edit section: Options" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The options page is at <a href="http://xowa.org/home/wiki/Options/Scripting.html" id="xolnki_2" title="Options/Scripting">Options/Scripting</a>
</p>
<h2>
<span class="mw-headline" id="Background">Background</span>
<span class="mw-headline" id="Background">Background</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=Background" title="Edit section: Background" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<ul>
<li>
@@ -121,7 +121,7 @@
However, if you want a simpler approach, XOWA does allow an extension system by adding javascript / lua files
</p>
<h2>
<span class="mw-headline" id="Overview">Overview</span>
<span class="mw-headline" id="Overview">Overview</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=Overview" title="Edit section: Overview" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<p>
The following process is involved:
@@ -141,10 +141,10 @@
</li>
</ul>
<h2>
<span class="mw-headline" id="Javascript">Javascript</span>
<span class="mw-headline" id="Javascript">Javascript</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=Javascript" title="Edit section: Javascript" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="xowa.script.main.js">xowa.script.main.js</span>
<span class="mw-headline" id="xowa.script.main.js">xowa.script.main.js</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=xowa.script.main.js" title="Edit section: xowa.script.main.js" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<pre>
/*
@@ -166,7 +166,7 @@ function xoscript__main(xo) {
}
</pre>
<h3>
<span class="mw-headline" id="example.main.js">example.main.js</span>
<span class="mw-headline" id="example.main.js">example.main.js</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=example.main.js" title="Edit section: example.main.js" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<pre>
/*
@@ -262,7 +262,7 @@ function xoscript__page_write_end(page)
}
</pre>
<h3>
<span class="mw-headline" id="example.util.js">example.util.js</span>
<span class="mw-headline" id="example.util.js">example.util.js</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=example.util.js" title="Edit section: example.util.js" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<pre>
function xo_uppercase(s) {
@@ -270,7 +270,7 @@ function xo_uppercase(s) {
}
</pre>
<h3>
<span class="mw-headline" id="example.include.js">example.include.js</span>
<span class="mw-headline" id="example.include.js">example.include.js</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=example.include.js" title="Edit section: example.include.js" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<pre>
var content = document.getElementById("content");
@@ -281,10 +281,10 @@ if ( h1Elements.length != 0 ) {
}
</pre>
<h2>
<span class="mw-headline" id="Lua">Lua</span>
<span class="mw-headline" id="Lua">Lua</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=Lua" title="Edit section: Lua" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h2>
<h3>
<span class="mw-headline" id="example.main.lua">example.main.lua</span>
<span class="mw-headline" id="example.main.lua">example.main.lua</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=example.main.lua" title="Edit section: example.main.lua" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<pre>
function xoscript__init(env)
@@ -296,7 +296,7 @@ function xoscript__page_write_end(page)
end
</pre>
<h3>
<span class="mw-headline" id="example.util.lua">example.util.lua</span>
<span class="mw-headline" id="example.util.lua">example.util.lua</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/App/Xtn/Scripting?action=edit&amp;section_key=example.util.lua" title="Edit section: example.util.lua" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
</h3>
<pre>
function xo_uppercase(s)