Hello, I would like to use Nuke to delete old pages. How can I modify it to be able to delete older pages?
Topic on Extension talk:Nuke/Archive 2
Appearance
If you have access to LocalSettings, you can change the duration in which recentchanges are recorded to an arbitrary timespan. We repeatedly set it to over a year, then run the rebuildrecentchanges php script, and the desired articles were available to Nuke.
Specifically in LocalSettings.php set
// Two years $wgRCMaxAge = 2 * 365 * 24 * 60 * 60;
and run
php maintenance/rebuildrecentchanges.php
Then reset wgRCMaxAge and rerun rebuildrecentchanges.php.
To avoid having a list of thousands of deleted pages you might want to set wgRCMaxAge to 0, run maintenance/rebuildrecentchanges.php and then remove the setting. The list of recent pages will then start from empty.