User:Pathoschild/Sandbox2
From Wikipedia, the free encyclopedia
Following are all pages in Category:Temporary Wikipedian userpages that were last edited more than a month ago, and are largely ready to be deleted.
Before deleting pages:
- Ensure that the user is really blocked (getmoredata.js will show the block log when viewing Special:Delete);
- Make sure to delete subpages, so there are no lost orphan user pages (getmoredata.js will list them when viewing Special:Delete);
- Do not delete pages belonging to sock puppets or banned users.
[edit] List
The list is being momentarily recompiled.
[edit] Query method
- Get all values from API query (to paginate past 500, add "&cmcontinue=" with the value of
<categorymembers cmcontinue="" />
). - Paste the results (only the
<cm />
tags) into a MediaWiki textbox. - Run the following JavaScript on the page and save it:
var editbox = document.getElementById('wpTextbox1'); var content = editbox.value; content = content.replace(/<cm.+title="(.+)" timestamp="([0-9]+-[0-9]+-[0-9]+).+>/g,'# [<small class="plainlinks">[{{fullurl:$1|action=delete}} delete], since $2</small>] [[$1]]'); editbox.value = content;