Manual:$wgGroupsRemoveFromSelf/fi

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> User rights, access control and monitoring</translate>: $wgGroupsRemoveFromSelf
Tämän avulla käyttäjät voivat poistaa itsensä tietyistä ryhmistä toimintosivun Toiminnot:Käyttöoikeudet (Special:Userrights) kautta.
<translate> Introduced in version:</translate>1.12.0 (r29765)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(taulukko)
<translate> Default value:</translate>[]

Tiedot

$wgGroupsRemoveFromSelf sallii käyttäjien poistaa itseltänsä käyttöoikeudet.

MediaWiki version:
<translate> ≥</translate> 1.14

Syntaksi versiosta 1.14 lähtien on:

$wgGroupsRemoveFromSelf['sysop'][] = 'bot'; // ylläpitäjät voivat poistaa itsensä bottiryhmästä: $wgGroupsRemoveFromSelf['sysop'] = array( 'bot' );
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.13</tvar> is unsupported version</translate>">
1.12 – 1.13
<translate> MediaWiki versions:</translate>

MediaWikin versioiden 1.12 - 1.13 syntaksit ovat:

$wgGroupsRemoveFromSelf = array( 'group1', 'group2', '...' );

Muutokset versiossa 1.14.0

In r39368, the way this variable works was changed. Before, it allowed every user to remove groups from themselves, now it can be filtered on a per-group basis. The new syntax is $wgGroupsRemoveFromSelf['group1'] = array( 'group2', 'group3' ); which allows any user in the group "group1" to remove the groups "group2" and "group3" from themselves. The old syntax will still work, allowing every user to remove groups from themselves, but it is recommended that you use $wgGroupsRemoveFromSelf['user'] = array( 'group1', 'group2' ); instead.

You may use $wgGroupsRemoveFromSelf['group'] = true; to allow users in that group to remove every group from themselves.

Katso myös