Extension talk:CategoryControl
Add topicDoesn't work
[edit]Hi, the extension seems to be a useful thing but it doesn't seem to work with my MW. I like to give only the user group bureaucrat access to files in the category Management. That's the code I added to my LocalSettings.php:
require_once("$IP/extensions/CategoryControl/CategoryControl.php"); $wgCategoryPermissions['Management']['*'][] = 'bureaucrat';
But that has no effect. The category page as well as the pages inside the category can be read and edit by all users.
I use MW 1.13.1 with PHP 5.2.5. --JazzmanDE 16:32, 26 September 2008 (UTC)
- I actually wound up abandoning this project soon after it started, after finding the SimpleSecurity extension, which does all of what I had planned, and it does it much more elegantly. Note that the project is still experimental status, and that's why I think you're having a problem; I haven't tested all cases fully. :) It is probable, however, that your problem is case sensitivity. Are you doing ['Management'] in the LocalSettings.ini, but then labeling your pages with [[Category:management]]. Management and management are different categories. As an additional note: the Category page will not be restricted; only the individual pages will. --Kevin Kragenbrink 19:44, 26 September 2008 (UTC)
- That's okay for me, I just want to restrict the listes pages. Sadly SimpleSecurity works neither...thanks for help anyway... --JazzmanDE 12:24, 1 October 2008 (UTC)
- Try this:
$wgCategoryPermissions['Management']['*'] = array('bureaucrat');
ManageCategories wiki does not work in 1.6?
[edit]Hello,
I'm trying to use the extension in the wiki 1.6 is not working, am I doing something wrong?
My LocalSettings.php configuration is as follows:
require_once("$IP/extensions/CategoryControl/CategoryControl.php");
$wgCategoryPermissions['Category:Local']['*'] = 'sysop' $wgCategoryPermissions['Category:Cidade']['read'] = 'INGLATERRA' $wgCategoryPermissions['Category:Mundo']['edit'] = array( 'BRASIL','CHILE' );
And so this wiki simply does not load, blank, commenting on the lines $wgCategoryPermissions the wiki up and running.
Could anyone help me?
Thanks.
Hvasques