Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Numinix MediaWiki Demo
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Manual/User rights
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Examples === <!--T:35--> <!--T:36--> This example will create an arbitrary <tvar name=1><code>projectmember</code></tvar> group that can block users and delete pages, and whose edits are hidden by default in the recent changes log: </translate> <syntaxhighlight lang="php" copy> $wgGroupPermissions['projectmember']['bot'] = true; $wgGroupPermissions['projectmember']['block'] = true; $wgGroupPermissions['projectmember']['delete'] = true; </syntaxhighlight> </code></tvar> or <tvar name=2><code></code></tvar> instead of <tvar name=3><code></code></tvar>.</translate> <translate><!--T:230--> Moreover it is recommended to only use lowercase letters to create a group.</translate>}} <translate> <!--T:38--> In this example, you would probably also want to create these pages: </translate> * <translate><!--T:39--> (content: <code>Project members</code>)</translate> * <translate><!--T:40--> (content: <code>Project member</code>)</translate> * <translate><!--T:41--> (content: <code>Project:Project Members</code>)</translate> <translate> <!--T:42--> This will ensure that the group will be referred to as "Project members" throughout the interface, a member will be referred to as a "Project member", and overviews will link the group name to . </translate> <translate><!--T:43--> This example disables write access (page editing and creation) by default, creates a group named <tvar name=1><code>writer</code></tvar>, and grants it write access.</translate> <translate><!--T:274--> Users can be manually added to this group via <tvar name=UserRights>[[Special:UserRights]]</tvar>:</translate> <syntaxhighlight lang="php" copy> $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['user']['createpage'] = false; $wgGroupPermissions['writer']['edit'] = true; $wgGroupPermissions['writer']['createpage'] = true; </syntaxhighlight> <translate> <!--T:44--> In this example, you would probably also want to create these pages: </translate> * <translate><!--T:45--> (content: <code>Writers</code>)</translate> * <translate><!--T:46--> (content: <code>Writer</code>)</translate> * <translate><!--T:47--> (content: <code>Project:Write</code>)</translate> <translate>
Summary:
Please note that all contributions to Numinix MediaWiki Demo may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)