Fandom Developers Wiki
Register
m (Help page links cause redlinks on the UCP.)
m (update doc)
Line 10: Line 10:
 
| Type = talk
 
| Type = talk
 
}}
 
}}
{{{intro|'''PurgeD''' lets administrators pseudo-disable [[w:Help:Discussions|discussions]] on their wiki. It does this by automatically deleting any posts it finds in batches of 50 posts every 15 minutes.
+
{{{intro|'''PurgeD''' lets administrators pseudo-disable [[w:Help:Discussions|Discussions]] on their wiki. It does this by automatically deleting any posts it finds in batches of 100 posts every 10 minutes. Deletions are spaced 2 seconds apart to avoid ratelimits in the Discussions software.
   
 
There are no modals, no buttons, and no warranties. There's also no images on the infobox. It does what it says on the tin. Don't install it on your global.js, unless it would be really funny. Discussions moderators could potentially run this script, but there's a user rights check in the code, so they would have to modify the source in their personal js to include their group. It's restricted to admins only as mods can be comparatively untrustworthy.
 
There are no modals, no buttons, and no warranties. There's also no images on the infobox. It does what it says on the tin. Don't install it on your global.js, unless it would be really funny. Discussions moderators could potentially run this script, but there's a user rights check in the code, so they would have to modify the source in their personal js to include their group. It's restricted to admins only as mods can be comparatively untrustworthy.

Revision as of 18:01, 13 April 2021

This script/stylesheet is for PERSONAL use only!

You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js or MediaWiki:Fandomdesktop.css), as it would violate Fandom's Terms of Use.
(See the customization policy)

PurgeD lets administrators pseudo-disable Discussions on their wiki. It does this by automatically deleting any posts it finds in batches of 100 posts every 10 minutes. Deletions are spaced 2 seconds apart to avoid ratelimits in the Discussions software.

There are no modals, no buttons, and no warranties. There's also no images on the infobox. It does what it says on the tin. Don't install it on your global.js, unless it would be really funny. Discussions moderators could potentially run this script, but there's a user rights check in the code, so they would have to modify the source in their personal js to include their group. It's restricted to admins only as mods can be comparatively untrustworthy.

It was named PurgeD as in "purge /d". It was only after the fact I realized FANDOM now uses /f. PurgeD now stands for PurgeDoru as other suggested variants were too inappropriate to document.

Installation

Text above can be found here (edit)