mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
blog_new_job[D[D[D[D[D[D[D_
This commit is contained in:
@@ -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&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&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&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&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&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&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 <OS> 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&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&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&section_key=Links" title="Edit section: Links" class="xowa-hover-off">edit</a><span class="mw-editsection-bracket">]</span></span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user