For faster navigation, this Iframe is preloading the Wikiwand page for Projet:Scripts et gadgets/Notices/DeleteBot.

Projet:Scripts et gadgets/Notices/DeleteBot

PROJET SCRIPTS ET GADGETS
Centraliser les fonctions JavaScript et CSS pour éviter la dispersion du code.


DeleteBot est un code JavaScript qui s'active lors de la visualisation d'une page de l'espace de noms Catégorie:.

DeleteBot permet de supprimer de façon automatique tout ou partie des pages contenues dans la catégorie courante. Il est nécessaire, bien sûr, d'avoir accès à l'outil de suppression de page et donc d'être administrateur pour l'utiliser.

Il peut être très utile par exemple pour vider une catégorie telle que Catégorie:Wikipédia:Suppression immédiate demandée ou Catégorie:Fichier à licence inconnue.

Utilisation

[modifier | modifier le code]

Au clic sur l'onglet (ou le lien dans le menu déroulant pour l'habillage Vector) « Tout supprimer », un menu remplace le contenu de la page, avec la liste des pages contenues dans la catégorie courante. En face de chaque catégorie, une case à cocher permet de spécifier quelles pages sont à supprimer (par défaut, toutes sont cochées).

Un champ permet de spécifier le motif de suppression (obligatoire).

Enfin, deux boutons permettent de lancer le processus de suppression, ou d'annuler.

Onglet de DeleteBot.
Menu de DeleteBot.

Installation

[modifier | modifier le code]

Pour installer cette fonction, deux possibilités existent :

  1. sélectionner l'outil dans les préférences
  2. ajouter à votre common.js (ou autre suivant l'habillage sélectionné dans les préférences) le code suivant :
obtenir('DeleteBot');
{{bottomLinkPreText}} {{bottomLinkText}}
Projet:Scripts et gadgets/Notices/DeleteBot
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?