Jump to content

Extensão: Alterações Limpas

From mediawiki.org
This page is a translated version of the page Extension:CleanChanges and the translation is 47% complete.
Manual de extensões da MediaWiki
CleanChanges
Estado de lançamento: sem manutenção
Implementação Interface do utilizador
Descrição More compact display of changes list
Autor(es) Niklas Laxström (Nikerabbitdiscussão)
Última versão 2025-03-15
Política de compatibilidade Original mantém a compatibilidade com versões anteriores.
MediaWiki >= 1.43.0
Alterações à base de dados Não
Licença GNU - Licença Pública Geral 2.0 ou superior
Transferência Included in Language Extension Bundle
Exemplo translatewiki.net
  • $wgCCUserFilter
  • $wgCCTrailerFilter
Traduza a extensão CleanChanges se esta estiver disponível em translatewiki.net
Problemas Tarefas em aberto · Reportar um erro

The CleanChanges extension is based on enhanced changes list, but it tries to be more concise by hiding less important information by default. It needs JavaScript to be fully functional. It works best in wikis where the number of changes per user is high.

It also provides two extra filters: by user and by language code suffix.

Instalação

  • Exporte e coloque o ficheiro, ou ficheiros, num diretório chamado CleanChanges, na sua pasta extensions/.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CleanChanges
    
  • Acrescente o seguinte código ao fundo do ficheiro $LocalSettings:
    wfLoadExtension( 'CleanChanges' );
    $wgDefaultUserOptions['usenewrc'] = 1;
    
  • Yes Pronto – Na página especial Special:Version da sua wiki verifique se a extensão foi instalada.

Configuração

Parâmetros fornecidos
  • $wgCCUserFilter - predefine para "true". It is needed to filter by user.
  • $wgCCTrailerFilter - predefine para "false". It is needed to filter by language (code suffix).
  • $wgCCFiltersOnly - predefine para "true". TODO: document what to do with it.