MediaWiki and redirecting all non-members
I built my own login system, and I also have a MediaWiki installed for my members to use. However, I want it only accessible to my members, so I want to redirect all persons who do not pass the session variable check. Where can I place this check? I tried putting it in index.php of MediaWiki, but that does not work for any other part of the wiki then its开发者_如何学运维 index.php: domain.com/wiki/index.php
Any advice is appreciated! Thank you!
Try LocalSettings.php
, it's executed for every request hitting the Wiki.
精彩评论