User:Brett Wuth/Running Notes/2010-11

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(Add Members:2010-11-08_22_29_46u-scan.pdf)
(2010-11-08)
Line 28: Line 28:
documents:
documents:
* {{link|Image:Members:2010-11-08_22_29_46u-scan.pdf}}
* {{link|Image:Members:2010-11-08_22_29_46u-scan.pdf}}
 +
 +
== 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
 +
 +
<pre>
 +
#
 +
# 2010-11-09 wuth@acm.org
 +
# Rope namespace (both PCSAR and PCES)
 +
$wgExtraNamespaces = array( 102 => "Rope",
 +
103 => "Rope_Talk");
 +
$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;
 +
</pre>

Revision as of 23:54, 9 November 2010

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(	102 => "Rope",
				103 => "Rope_Talk");
$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