Extension:UserMerge/pt-br

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:UserMerge and the translation is 0% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎português do Brasil • ‎中文 • ‎日本語 • ‎한국어
Manual de extensões do MediaWiki
OOjs UI icon advanced.svg
UserMerge
Estado da versão: estável
UserMergeScreenshot.png
Implementação Special page , User identity
Descrição Merges references from one user to another user in the Wiki database - can also delete old users following merge
Autor(es) Tim Laqua, Thomas Gries, Siebrand Mazeland
Última versão 1.10.1 (2017-04-15)
MediaWiki 1.29+
PHP 5.4+
Modifica o banco
de dados
Não
Licença GNU General Public License 2.0 or later
Download
$wgUserMergeProtectedGroups
usermerge
Traduzir a extensão UserMerge, se estiver disponível no translatewiki.net
Verificar uso e matriz de versões
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.

The extension allows to

  • 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

Extras

  • 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.[1]

Installation

  • Baixe e coloque o(s) arquivo(s) num diretório chamado UserMerge na sua pasta extensions/.
  • 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 = array( 'groupname' );
    
  • Yes Pronto – Navegue à página Special:Version em sua wiki para verificar se a instalação da extensão foi bem sucedida.

Para usuários executando o MediaWiki 1.25 ou anteriores:

As instruções acima descrevem a nova forma de instalar essa extensão utilizando wfLoadExtension(). Se precisar instalar essa extensão em versões antigas (MediaWiki 1.25 e anteriores), em vez de wfLoadExtension( 'UserMerge' );, você precisa usar:

require_once "$IP/extensions/UserMerge/UserMerge.php";

Historical

The change to group-based merge protection ($wgUserMergeProtectedGroups) in v1.5, r30872.
The addition of the 'usermerge' permission in v1.2 - this must be explicitly granted as shown above.

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 = array();

# Disallow merging of the users in the 'sysop' or 'awesomeusers' groups
$wgUserMergeProtectedGroups = array( 'sysop', 'awesomeusers' );



You can use RevisionDelete extension installed by default to replace the UserMerge logs information with neutral information.

Active RevisionDelete in LocalSettings.php with :

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

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

A better approach would be with CleanMediawiki.sh script for delete massive spam user and all logs : https://github.com/ZerooCool/cleanmediawiki

Known issues

References

  1. since version 1.2

See also