wiki:MediaWikiConfiguration

Version 8 (modified by neteler, 15 years ago) ( diff )

how to block anonymous users from editing the wiki

Media Wiki Configuration

System Configuration

OSGeo uses a Mediawiki instance as our main wiki (http://wiki.osgeo.org). The configuration of the mediawiki instance is documented here (in Trac) instead of in the regular wiki so that we have a decent chance of seeing this info if the wiki is down.

  • Primary Maintainer: Martin Spott (Martin.Spott at mgras.net) (osgeo userid: "martin").
  • Host: "osgeo2" - the secondary system at Peer1 (ssh to wiki.osgeo.org or test.osgeo.net)
  • Configuration Location: /var/www/wiki_osgeo

It appears we also host the fossgis wiki (/var/www/wiki_fossgis).

System Operators

The list of system operators is available at:

http://wiki.osgeo.org/index.php?title=Special%3AListusers&username=&group=sysop&limit=50

Anyone in the Bureaucrat can add new users to the sysop class at:

http://wiki.osgeo.org/wiki/Special:Userrights

User Map Project

To maintain a Usermap of the OSGeo wiki, a UserLocalization Extension will be integrated into the wiki by Christian Willmes (c.willmes at uni-koeln.de) (user: christian).

Installation of the Mediawiki Extension:

  • installation of a Postgres/PostGIS on the server
  • integration of the Extension into the Wiki

More information about the UserLocalization Extension can be found at: http://www.mediawiki.org/wiki/Extension:UserLocalization

Wiki Down Recovery

If the wiki stops operating it may be helpful to restart apache, and/or mysql.

eg.

$ sudo /etc/init.d/httpd restart
$ sudo /etc/init.d/mysql restart

Security

To keep anonymous users from editing the wiki, add/change in LocalSettings.php:

$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = true;

This will prevent anonymous users (users who aren't logged in) from editing the wiki.

See also

All relevant SAC stuff is really explained here: http://wiki.osgeo.org/wiki/SAC_Service_Status

Note: See TracWiki for help on using the wiki.