README for the SemanticAuthProfiling extension Copyright © 2019 Giacomo Lorenzo Licenses: GNU General Public Licence (GPL) GNU Free Documentation License (GFDL)
wfLoadExtension( 'SemanticAuthProfiling' );
$wgGroupPermissions['Mygroup1']=$wgGroupPermissions['user'];
$wgGroupPermissions['Mygroup2']= $wgGroupPermissions['user'];
$wgGroupPermissions['Mygroup3'] = $wgGroupPermissions['user'];
$wgGroupPermissions['Mygroup4'] = $wgGroupPermissions['user'];
$wgGroupPermissions['Mygroup5'] = $wgGroupPermissions['user'];
$wgGroupPermissions['Mygroup6'] = $wgGroupPermissions['user'];
$wgGroupPermissions['Mygroup7'] = $wgGroupPermissions['user'];
$wgGroupPermissions['Mygroup8']=$wgGroupPermissions['user'];
This timer need if use the page admin profiling functionality
$wgSelectiveActionResetTime = 60;
There is a default values if one or more groups are not defined then use the default permission to profiling that groups
$wgSemanticAuthProfilingDefaultPermissionEdit=false;
$wgSemanticAuthProfilingDefaultPermissionView=false;
$wgSemanticAuthProfilingDefaultPermissionMove=false;
$wgSemanticAuthProfilingDefaultPermissionCreate=false;
Define profiling for each group need to declare a row for each group need to profiling
$wgSemanticAuthProfilingViewCategories ['Gruppo-Wiki']['Category-value']= true;
$wgSemanticAuthProfilingEditCategories ['Gruppo-Wiki']['Category-value'] = true;
$wgSemanticAuthProfilingMoveCategories['Gruppo-Wiki']['Category-value']= true;
$wgSemanticAuthProfilingCreateCategories['Gruppo-Wiki']['Category-value']= true;
$wgSemanticAuthProfilingDeleteCategories['Gruppo-Wiki']['Category-value']= true;
need to manage an action for all categories
$wgSelectiveActionViewCategories ['Gruppo-Wiki']['*']= true;
//edit
$wgSelectiveActionEditCategories ['Gruppo-Wiki']['*'] = false;
//move
$wgSelectiveActionMoveCategories ['Gruppo-Wiki']['*'] =false;
// create
$wgSelectiveActionCreateCategories ['Gruppo-Wiki']['*'] = false;