summaryrefslogtreecommitdiff
path: root/README.md
blob: d942fb300c7f86ce13eb5f4e1f07c44a602b32e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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:
* Webserver, php, mysql
* [Mediawiki](https://github.com/wikimedia/mediawiki.git)
* [Mediawiki-extensions](https://github.com/wikimedia/mediawiki-extensions.git)
** Extensions TMW uses
** ConfirmEdit
** ReCaptchaNoCaptcha
** ConfirmAccount
** Renameuser
** ParserFunctions
** Cite
** WikiEditor
** SyntaxHighlight_GeSHi
** ImageMap
** googleAnalytics
** WikiArticleFeeds
** MetaKeywordsTag
** MetaDescriptionTag
** tmwa
** GoogleSiteSearch
** Spoilers
* [ReCaptchaEnabled](https://www.google.com/recaptcha/intro/index.html)