Extension:UserMerge/pt-br
Jump to navigation
Jump to search
UserMerge Estado da versão: estável |
|
---|---|
![]() |
|
Implementação | Página especial , Identidade de usuário |
Descrição | Merges references from one user to another user in the Wiki database - can also delete old users following merge |
Autor(es) |
|
Última versão | 1.10.1 (2020-09-19) |
Política de compatibilidade |
master |
MediaWiki | 1.35+ |
PHP | 7.0+ |
Modifica o banco de dados |
Não |
Licença | GNU GPL (Licença Pública Geral) 2.0 ou superior |
Download | |
$wgUserMergeProtectedGroups |
|
usermerge |
|
Para traduzir a extensão UserMerge, verifique sua disponibilidade no translatewiki.net | |
Função no Vagrant | usermerge |
Problemas | Tarefas em aberto · Relatar um bug |
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)
- Limitations
- 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
- Notes
- 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.
Installation
- Se estiver usando o Vagrant , instale com
vagrant roles enable usermerge --provision
- Instalação manual
- Baixe e coloque o(s) arquivo(s) num diretório chamado
UserMerge
na sua pastaextensions/
. - Adicione o seguinte código ao final do seu arquivo LocalSettings.php:
wfLoadExtension( 'UserMerge' ); // By default nobody can use this function, enable for bureaucrat? $wgGroupPermissions['bureaucrat']['usermerge'] = true; // optional: default is array( 'sysop' ) $wgUserMergeProtectedGroups = [ 'groupname' ];
Concluído – Navegue à página Special:Version em sua wiki para verificar se a instalação da extensão foi bem sucedida.
Usage
- follow Installation Instructions
- 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' ];
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.
A better approach would be to use the "CleanMediawiki.sh" script for delete massive spam user and all logs.
See also
- Extension:BlockAndNuke - Extension to block and delete users.
- hideuser right - Allows to "hide" users from various lists when indefinitely blocking them
- phab:T8397 - Flag to mark accounts locked/hidden (aka remove/delete user)
![]() | Esta extensão está sendo usado por um ou mais projetos da Wikimedia. Isto significa que, provavelmente, a extensão é estável e funciona bem o suficiente para ser utilizada em sites de alto tráfego. Procure pelo nome dessa extensão nos arquivos de configuração CommonSettings.php e InitialiseSettings.php da Wikimedia para verificar onde ela foi instalada. Uma lista completa das extensões instaladas numa wiki em particular podem ser visualizadas na página Special:Version da wiki. |