Restricted/admin/mediawiki

From AnnodexFoundation

Jump to: navigation, search

Contents

Annodex.org Mediawiki Admin

Help for essential setup activities

Go to http://annodex.org/wiki/MediaWiki:Sidebar for changing the sidebar (see also http://meta.wikimedia.org/wiki/Help:Navigation_bar).

Mediawiki Installation & Upgrade

Since 4th March 2006, annodex.org runs mediawiki 1.5.7 in a subdirectory called "w".

On 19th March 2006, Silvia installed the restriction patch from http://meta.wikimedia.org/wiki/Page_access_restriction_with_MediaWiki .

When upgrading, make sure to also upgrade the restriction patch.

Unless the new upgrade requires a change in the mysql database, the best way to upgrade this installation is to:

* backup the mysql database (sudo mysqldump --all-databases -p > mysqpl_date.dump)
* create a directory next to this, 
* install the new mediawiki tarball as downloaded,
* apply the restriction patch,
* find out what other files are in the current version that are required (sudo diff -r /w /new),
* copy those files into the new directory,
* stop apache (sudo apache2ctl stop)
* mv the current version to a different directory (sudo mv w old)
* mv the new version to the original directory (sudo mv new w)
* restart apache and make sure everything works 
  (including the restriction, e.g. http://annodex.org/wiki/Restricted/)


Restriction Patch Details

The restriction patch extends mediawiki to also contain pages that are not visible to the general public.

For Annodex.Org, this means:

* users in the group "restrict" can restrict individual wiki pages from common access; 
  only users in the group "restrict" and "viewrestrict" will be able to see them
* restricted wiki pages cannot be found, viewed, or edited by anyone that is not in the "restrict" group; 
  however, they may be able to see the title with a direct access, so be careful what you name the pages
* wiki pages that have a "Restricted/" name in them will automatically be restricted upon creation
  (see the rules in LocalSettings.php)
* WikiSysop has been added to the group "restrict" - check out other users in this group at
  http://annodex.org/wiki/Special:Listusers
* There is a test restricted page called http://annodex.org/wiki/Restricted/ so you can try it out
Personal tools