mediawiki-extensions / mw-calendar

Automatically exported from code.google.com/p/mw-calendar
0 stars 2 forks source link

Double namespaces (public & private) #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Thank you for your excellent work. I had just a request: as I plan to make
on a wiki a public and a private calendar I was wondering if it would be
possible to assign two different namespaces to those calendars and to use
the var $wgCalendarForceNamespace as an array to force calendar pages to be
assigned to those namspaces accodingly. I know I can manage more calendars
with ease but I liked this forcing calendars to be on a namespace, but
can't do it as I need two different namespaces to be used. Would it be also
possible to assign edit rights ($wgRestrictCalendarTo) not only to a single
group but to multiple groups? 

Original issue reported on code.google.com by federico...@gmail.com on 19 Aug 2009 at 4:24

GoogleCodeExporter commented 8 years ago
I'll see what I can do.

Thanks for the idea.

Original comment by kenyu73 on 19 Aug 2009 at 8:39

GoogleCodeExporter commented 8 years ago
testing in the trunck branch

Original comment by kenyu73 on 21 Aug 2009 at 1:26

GoogleCodeExporter commented 8 years ago
both options support a single string, for backwards compatibility, and a 
standard 
array

  $wgCalendarForceNamespace = array('CalendarEvents','Calendar');
  $wgRestrictCalendarTo = array('sysop','restricted');

Original comment by kenyu73 on 21 Aug 2009 at 1:28

GoogleCodeExporter commented 8 years ago
v3.8.4

Original comment by kenyu73 on 15 Sep 2009 at 11:42