Wiki: Difference between revisions

From Nasqueron Agora
(Created page with "== Installation == * {{port|lang/lua}} (Lua 5.1) == Extensions == * mw:Extension:Scribunto")
 
Line 2: Line 2:
* {{port|lang/lua}} (Lua 5.1)
* {{port|lang/lua}} (Lua 5.1)


== Extensions ==
== Installation guide ==
* [[mw:Extension:Scribunto]]
=== Configuration ===
<syntaxhighlight lang="php">
$wgServer  = "http://wiki.nasqueron.org";
 
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "http://creativecommons.org/licenses/by/3.0/";
$wgRightsText = "Creative Commons Attribution";
$wgRightsIcon = "{$wgStylePath}/common/images/cc-by.png";
</syntaxhighlight>
=== Extensions ===
We use a deployment script.
==== General purpose extensions ====
cd extensions
./deploy Poem
 
==== Scribunto ====
cd extensions
./deploy CodeEditor
./deploy SyntaxHighlight_GeSHi
./deploy Scribunto
cat >> ../LocalSettings.php
$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/local/bin/lua-5.1';

Revision as of 17:45, 21 January 2013

Installation

Installation guide

Configuration

$wgServer  = "http://wiki.nasqueron.org";

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "http://creativecommons.org/licenses/by/3.0/";
$wgRightsText = "Creative Commons Attribution";
$wgRightsIcon = "{$wgStylePath}/common/images/cc-by.png";

Extensions

We use a deployment script.

General purpose extensions

cd extensions
./deploy Poem

Scribunto

cd extensions
./deploy CodeEditor
./deploy SyntaxHighlight_GeSHi
./deploy Scribunto
cat >> ../LocalSettings.php 
$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/local/bin/lua-5.1';