Extensão:Renameuser
![]() Estado de lançamento: estável |
|
---|---|
![]() |
|
Implementação | Identidade do utilizador , Página espacial , Hook |
Descrição | Fornece uma página especial que permite que as contas de utilizador sejam renomeadas |
Autor(es) | Ævar Arnfjörð Bjarmasondiscussão |
Última versão | atualizações contínuas |
MediaWiki | 1.25+ |
PHP | 5.4+ |
Alterações à base de dados | Não |
Licença | GNU - Licença Pública Geral 2.0 ou superior |
Transferência | README |
Quarterly downloads | 279 (Ranked 39th) |
Public wikis using | 5,805 (Ranked 14th) |
Traduza a extensão Renameuser se ela estiver disponível em translatewiki.net | |
Problemas | Tarefas em aberto · Reportar um erro |
A extensão Renameuser fornece uma página especial que permite aos utilizadores autorizados renomear as contas de utilizador. Isto fará com que os históricos das páginas, etc, sejam atualizados. Se deseja renomear uma conta "para" outra já existente, precisa da extensão User Merge and Delete .
Instalação
- Exporte e coloque o ficheiro, ou ficheiros, num diretório chamado
Renameuser
, na sua pastaextensions/
. - Acrescente o seguinte código ao fundo do ficheiro $LocalSettings:
wfLoadExtension( 'Renameuser' );
- Pronto – Na página especial Special:Version da sua wiki verifique se a extensão foi instalada.
Utilização
- As a bureaucrat, access the
Special:RenameUser
page
- Enter the name of the user to be renamed, and the desired new name, toggle the options to move user/talk pages and their subpages and to create redirects as desired, and click OK
The user will be renamed, and (if the appropriate option was checked) the user page, user talk page and all their subpages will be moved as well.
move-subpages
' userright. The number of subpages moved is not limited by the $wgMaximumMovedPages
parameter. The extension will also move all css
, js
and move-protected pages.You can grant other groups the right to rename users, for example:
$wgGroupPermissions['sysop']['renameuser'] = true;
Notas
- In case Extensão:CentralAuth is installed, you'll get a warning if you try to rename a local user from an account attached to a global account or to a username reserved by a global account; a check box to rename anyway will be provided (this requires caution).
You should probably use CentralAuth's built-in Special:GlobalRenameUser and Special:GlobalRenameRequest/Special:GlobalRenameQueue.
- You will not be able to rename users to invalid usernames (which doesn't equal usernames which match a blacklist but includes for instance reserved usernames ).
- Due to a bug, you can't rename the same account from where you're performing the rename (task T267477).
Use the command line maintenance script to do the rename, or use a different account to do the rename.
Nota técnica
This extension introduces and invokes the RenameUserComplete hook to notify other extensions of user renames.
Perguntas mais frequentes
There were so many userpages that it timed out partway through moving them from User:A/subpage... to User:B/subpage... What do I do now?
- You can't fix the situation by immediately trying again to rename User A to User B, because it will simply say "The user 'User A' does not exist." To fix the situation, rename User B back to User A, after unchecking the box "Move user and talk pages (and their subpages) to new name". Then rename User A to User B again, this time leaving the box "Move user and talk pages (and their subpages) to new name" checked. The page moving will resume where it left off.
Este extensão está a ser utilizado em um ou mais projetos da Wikimedia. Isso provavelmente significa que a extensão é estável e funciona bem o suficiente para ser usada por esses sites de alto tráfego. Procure o nome desta extensão nos arquivos de configuração CommonSettings.php e InitialiseSettings.php da Wikimedia para ver onde está instalado. Uma lista completa das extensões instaladas em um determinado wiki pode ser vista na página Special:Version do wiki. |
This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |