The Artima Developer Community
Sponsored Link

Python Buzz Forum
Locking down a MediaWiki

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Locking down a MediaWiki Posted: Jan 22, 2009 3:29 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Locking down a MediaWiki
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

I know, it's a crime against wiki nature, but sometimes you want to lock down a MediaWiki install so only certain people can edit it. To do so, put this in LocalSettings.php:

  $wgGroupPermissions['*']['edit'] = false;
  $wgShowIPinHeader = false;
$wgGroupPermissions['*']['createaccount'] = false;

Then, to create someone an account, you have to log in, then return to the login page and click 'Create account'. The flow is a bit weird; the best I can recommend is to bookmark the 'Create account' page, which will be something like this for a wiki on http://example.com/:

  http://example.com/Special:UserLogin?type=signup

Comment

Read: Locking down a MediaWiki

Topic: Django developer discovers WSGI... Previous Topic   Next Topic Topic: Mobile Jython - Jythonroid

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use