summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-11-21 23:56:46 -0600
committerwushin <pasekei@gmail.com>2014-11-21 23:56:46 -0600
commitee2ce354094ddf70800af0e4b6b74342c6aa0bd4 (patch)
treeeb182baa8ef836d32243d2436c01222334fbaf0d /README.md
parent65404711fc13c9812e7c32fad896dd88f50b3db8 (diff)
downloadwebsite-ee2ce354094ddf70800af0e4b6b74342c6aa0bd4.tar.gz
website-ee2ce354094ddf70800af0e4b6b74342c6aa0bd4.tar.bz2
website-ee2ce354094ddf70800af0e4b6b74342c6aa0bd4.tar.xz
website-ee2ce354094ddf70800af0e4b6b74342c6aa0bd4.zip
Update Readme
Add license
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 21 insertions, 3 deletions
diff --git a/README.md b/README.md
index bf39afa..ada8c6d 100644
--- a/README.md
+++ b/README.md
@@ -4,34 +4,52 @@ themanaworld-website
The website is a extention for mediawiki.
Add to LocalSettings.php:
+```
require_once("$IP/extensions/tmwa/tmwa.php");
+```
Configuration Variables / Settings:
Account registrations come from:
+```
$wgTMWAccountEmail = "validemail@domain.com";
+```
Set News Site path:
+```
$wgTMWNews = "$IP/news.html";
+```
To use Wiki's DB Backend:
+```
$wgTMWAccountLib = 'dbLadmin';
+```
To use php Ladmin connection:
+```
$wgTMWAccountLib = 'phpLadmin';
$wgLadminHost = '127.0.0.1';
$wgLadminPort = '6901';
+```
Create a new php.ini entry:
+```
[tmwa]
tmwa.cfg.LADMIN_PASS = "admin";
+```
(A restart of webserver or php-fpm is needed)
To use TMW as Auth services for Wiki
+> Note: Mediawiki enforces First Letter of username to be uppercase.
+```
$wgAuth = new TMWAuth();
+```
Depends:
-* ConfirmEdit
-* ConfirmAccount
-* CaptchaEnabled
+* Webserver, php, mysql
+* [Mediawiki](http://www.mediawiki.org/wiki/)
+* [ConfirmEdit](http://www.mediawiki.org/wiki/Extension:ConfirmEdit) `Bundled with Mediawiki 1.18`
+* [ConfirmAccount](http://www.mediawiki.org/wiki/Extension:ConfirmAccount)
+* [ReCaptchaEnabled](https://www.google.com/recaptcha/intro/index.html)
+