Instructions for use

From Redazione
Jump to navigation Jump to search
Line 12: Line 12:
 
{{unordered list
 
{{unordered list
 
   | As soon as an organization is added, it has to be created an entry in LocalSettins.php  {{unordered list
 
   | As soon as an organization is added, it has to be created an entry in LocalSettins.php  {{unordered list
       | $wgGroupPermissions['memberof_{organization name}']['edit'] = false;
+
       | <code> $wgGroupPermissions['memberof_{organization name}']['edit'] = false; </code>
 
     }} where {organization name} should be replaced with the organization name with spaces replaced by underscores  
 
     }} where {organization name} should be replaced with the organization name with spaces replaced by underscores  
 
}}
 
}}

Revision as of 20:16, 16 February 2020

  • added parser functions: #userAffiliatedTo and #userRealName, the first returns the organization to which the logged in user is affiliated and the second the user real name.
  • As soon as an organization is added, it has to be created an entry in LocalSettins.php where {organization name} should be replaced with the organization name with spaces replaced by underscores