Closed GoogleCodeExporter closed 8 years ago
Oh by the way, this is in regards to your media-wiki calendar extension.
Original comment by gjust...@gmail.com
on 27 Feb 2009 at 2:32
It's possible; it would have to be a localsettings.php preference though...
possibly
something like $wgCalendarAdminGrp = 'sysop';
You can set this up if you created a restricted read-only namespace though...
no one
could create new events or edit the <calendar /> tag...
Original comment by kenyu73
on 27 Feb 2009 at 2:45
Oh, I thought this was where I could request additional features that you
could put
in. Sorry, I don't know php or how to setup namespaces. I just know how to
follow
instructions. ;)
Original comment by gjust...@gmail.com
on 27 Feb 2009 at 2:52
This is where you can request new features for the caledar... (=
However, you could get the same results by setting up a restricted namespace in
LocalSettings.php. This is all documented and used with MediaWiki.
This is how I setup a restricted page, but i'm sure there are other methods
documents
in the media wiki forums.
'Restricted' becomes a special ability in the User Groups and only those with
the
'Restricted' ability can edit those pages... just an idea to get you started.
This
isn't "php" coding, this is all setup in LocalSettings.php
$wgExtraNamespaces[104] = "Restricted";
$wgExtraNamespaces[105] = "Restricted_talk";
$wgMessageStructure['rights'][] = 'restricted_pages';
$wgGroupPermissions['Restricted' ]['restricted_pages'] = true;
$wgNamespaceProtection['104'] = array( 'restricted_pages' );
Original comment by kenyu73
on 27 Feb 2009 at 6:40
I'll add a fix in 3.7.1
$wgRestrictCalendarTo = 'sysop'; //or whatever other group
Original comment by kenyu73
on 1 Mar 2009 at 9:10
Original comment by kenyu73
on 1 Mar 2009 at 10:19
Original issue reported on code.google.com by
gjust...@gmail.com
on 27 Feb 2009 at 2:30