I have a idea. At present people are assigning permissions to a user group, like:
$wgGroupPermissions['sysop']['interwiki'] = true; $wgGroupPermissions['sysop']['flow-create-board'] = true; $wgGroupPermissions['sysop']['bigdelete'] = true;
If we write a help function to help assign rights, like:
$rights = ['interwiki', 'bigdelete', 'flow-create-board']; wfNewFun( 'sysop', $rights );
This can improve the readability of LocalSettings.php and reduce the cost of maintenance.