Manual:DeleteBatch.php/fr

Details
deleteBatch.php is a maintenance script located in the  directory that can be used to delete a batch of pages.

Utilisation
(This will delete the pages contained in the text file "somepages.txt")

On a wiki farm with linked folders, change to folder containing and use:

Trucs et astuces
Si les titres des pages contiennent des caractères spéciaux (comme ä, ö, ü, etc.), veillez à enregistrer le fichier en encodage UTF-8. Sinon, le script risque de ne pas pouvoir trouver les noms de page correspondants dans la base de données !

You can create a pagelist with SQL as follows:

This would create a list with all page titles touched between 2015-04-31 and 2015-05-19. This might be helpful if your wiki got attacked by spambots, and other edits happened during that time.

Other Namespaces
The above command only covers the Main namespace. The mysql database may not know the prefix name of other namespaces, so we have to do them one by one. For example, to delete all pages in the User namespace, with the deleteme category and no other text:

Voir aussi

 * – special page extension of this maintenance script.