Jump to content

Extension:UserMerge/pl

From mediawiki.org
This page is a translated version of the page Extension:UserMerge and the translation is 16% complete.
Manual:Merging users redirects here. Not to be confused with Special:MergeAccount provided by Extension:CentralAuth which create a "global" account from local accounts in multiple wikis.
Podręcznik rozszerzeń MediaWiki
UserMerge
Status wydania: stabilne
Realizacja Strona specjalna , Tożsamość użytkownika
Opis Merges references from one user to another user in the Wiki database - can also delete old users following merge
Autor(zy)
Ostatnia wersja 1.10.2
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
MediaWiki >= 1.43.0
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie
  • $wgUserMergeProtectedGroups
  • $wgUserMergeEnableDelete
usermerge
Quarterly downloads 317 (Ranked 10th)
Public wikis using 888 (Ranked 260th)
Przetłumacz rozszerzenie UserMerge jeżeli jest dostępne na translatewiki.net
Rola Vagrant usermerge
Problemy Otwarte zadania · Zgłoś błąd

The UserMerge extension allows wiki users with the usermerge permission (Bureaucrat by default) to merge one Wiki user's account with another Wiki user's account.

Features
  • merge (refer contributions, texts, watchlists, edit count of a first account A to a second account B)
  • delete the first account A after the merge (option box)
Ograniczenia
  • you cannot delete a user A without having merged the user A to B
  • you cannot merge your own account (logged-in user) into a different user
Uwagi
  • if you omit the "New User" field, then the extension auto-populates the New User as "Anonymous" (user ID 0), and ask you to confirm a merge to Anonymous.

This is used for user deletion: you first empty (merge to user 0) contributions of a user A, and then delete the user A.

    • If your version of the extension complains about an empty "New User" field you can fill in  "Anonymous"
  • the extension creates a User Merge log and logs all User Merge extension activity.
Uwaga Uwaga: UserMerge is currently incompatible with either $wgSharedDB or CentralAuth.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie UserMerge w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UserMerge
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'UserMerge' );
    // By default nobody can use this function, enable for bureaucrat?
    $wgGroupPermissions['bureaucrat']['usermerge'] = true;
    
    // To enable for administrators add this:
    $wgGroupPermissions['sysop']['usermerge'] = true;
    
    // optional: default is [ 'sysop' ]
    $wgUserMergeProtectedGroups = [ 'groupname' ];
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.


Instalacja Vagranta:

  • Jeżeli korzystasz z Vagrant a, zainstaluj poprzez vagrant roles enable usermerge --provision

Użycie

  • a new Special Page Special:UserMerge with the title Merge and Delete Users is created
  • unmergeable users can be defined (examples):
# Allow all users to be merged (by default, the 'sysop' group is unmergeable)
$wgUserMergeProtectedGroups = [];

# Disallow merging of the users in the 'sysop' or 'awesomeusers' groups
$wgUserMergeProtectedGroups = [ 'sysop', 'awesomeusers' ];

# enable the permission for sysops
$wgGroupPermissions['sysop']['usermerge'] = true;

You can use Help:RevisionDelete feature of MediaWiki to replace the UserMerge logs information with neutral information.

Active RevisionDelete in LocalSettings.php file with:

$wgGroupPermissions['sysop']['deletelogentry'] = true;
$wgGroupPermissions['sysop']['deleterevision'] = true;

Then, from Special:Log/usermerge, you can check and disable the logs content resulting from modifications made by UserMerge with simple check box.

Zobacz też

  • hideuser rightAllows to "hide" users from various lists when indefinitely blocking them
  • phab:T8397Flag to mark accounts locked/hidden (aka remove/delete user)