User:Brett Wuth/Running Notes/2010-11

From PCSAR

Jump to: navigation, search

Contents

2010-11-02

documents:

2010-11-07

documents:

2010-11-08

documents:

2010-11-09

Add Rope: as user group to PCSAR Wiki to allow files private to joint PCSAR / PCES rope rescue team.

/[ssh/root@pcsar]/etc/mediawiki/LocalSettings.php

# 2010-11-09 wuth@acm.org
#   Rope namespace (both PCSAR and PCES)
$wgExtraNamespaces = array(	100 => "Members",
				101 => "Members_Talk",
				102 => "Rope",
				103 => "Rope_Talk" );
$wgNamespacesWithSubpages[100] = true;
$wgNamespacesWithSubpages[102] = true;
...
#
# Groups that can access the Rope-only namespace
$wgRestrictedNamespaces = array(	102 => "RightNamespaceRope",
					103 => "RightNamespaceRopeTalk");
#
# Users may still see the hidden pages if they make links with curly
# brackets instead of square brackets, like so:
# {{Namespace:Hiddenpage}}. To avoid this we use
# $wgNonincludableNamespaces:
$wgNonincludableNamespaces = array(	100,
					101,
					102,
					103 );

...
$wgGroupPermissions['Members']['RightNamespaceRope']         = true;
$wgGroupPermissions['Members']['RightNamespaceRopeTalk']     = true;
$wgGroupPermissions['PCES']['RightNamespaceRope']            = true;
$wgGroupPermissions['PCES']['RightNamespaceRopeTalk']        = true;
Personal tools