Extension:Nuke/pt
Nuke Estado de lançamento: estável |
|
---|---|
Implementação | Página espacial , Ação de página |
Descrição | Gives sysops the ability to mass delete pages. |
Autor(es) | |
Última versão | 1.3.0 (2017-03-01) |
MediaWiki | 1.28.1+ |
Alterações à base de dados | Não |
Licença | GNU - Licença Pública Geral 2.0 ou superior |
Transferência | |
|
|
|
|
Quarterly downloads | 87 (Ranked 61st) |
Public wikis using | 12,649 (Ranked 7th) |
Traduza a extensão Nuke se ela estiver disponível em translatewiki.net | |
Problemas | Tarefas em aberto · Reportar um erro |
The Nuke extension makes it possible for sysops to mass delete pages.
Installation
- Exporte e coloque o ficheiro, ou ficheiros, num diretório chamado
Nuke
, na sua pastaextensions/
.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke - Acrescente o seguinte código ao fundo do ficheiro $LocalSettings:
wfLoadExtension( 'Nuke' );
- Configure as required.
- Pronto – Na página especial Special:Version da sua wiki verifique se a extensão foi instalada.
Configuration
The user right "nuke" is automatically granted to the "sysop" user group.
To decouple this and assign this right to a dedicated new user group such as nuke
add the following to your LocalSettings.php
file:
$wgGroupPermissions['sysop']['nuke'] = false;
$wgGroupPermissions['nuke']['nuke'] = true;
Maximum age
By default, Nuke will only list pages that were created as recent as what is shown on Special:RecentChanges (controlled by $wgRCMaxAge
; 90 days by default).
Versão MediaWiki: | ≥ 1.44 Gerrit change 1089919 |
This can be configured to use a different duration with the $wgNukeMaxAge
configuration setting.
For example, to restrict Nuke to only allow deleting pages up to 30 days old, add the following to your LocalSettings.php
file:
$wgNukeMaxAge = 30 * 86400;
Usage
Go to Special:Nuke in order to mass delete pages recently added by a user or IP address. If you don't want to filter by user, you can also just filter by namespace.
The special page is listed under Special:SpecialPages as Mass delete.
You can also specify a pattern for the page title.
The field accepts SQL wildcards, like %lol%
.
All deletions, as usual, are recorded in Special:Log/delete.
See also
- Graphical
- Extension:DeleteBatch - Delete multiple pages using a text file containing the names
- Extension:NukeDPL - Delete multiple pages using 'Dynamic Page Lists'
- Extension:SmiteSpam - Attempts to find all spam on a wiki, via text processing, and provides an interface to delete it all
- Extension:DeletePagesForGood - Adds a tab for deleting an individual page permanently.
- Command line
- deleteBatch.php - Delete multiple pages using a text file containing the names
- nukeNS.php - Delete all pages in a specific namespace without creating any deletion log (from command line)
- deleteArchivedRevisions.php - Script to permanently blow away pages after deleting them (e.g. after using Extension:Nuke)
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 wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |