User:Infinityboy7/DiscussionCloser

From Test Wiki
Jump to navigation Jump to search
Discussion closer
Description A script for closing a discussion easily
Status Beta
First released  6, 2019; 5 years ago (2019-02-06)
Version 1.7.3
Updated 06:20 22 March 2024 (UTC)
Skin support Vector
Source User:Infinityboy7/DiscussionCloser.js


This is a script for closing a discussion easily. You can see a "Close" link at the right hand side of the section headings.

attributions

This script and all its subpages are originally based from on english Wikipedia and this original author is from User:DannyS712, but I only use this script.

Features/Notes

  • Activates only on pages that contain an "Add section" tab.
  • Provides different closing templates.
  • Available for discussions under level 2, 3 and 4 headings
  • Does not automatically sign the comment.
  • Automatically remove any RfC or DoNotArchiveUntil templates only if "RfC" option is chosen
  • Automatically remove any Requested Move templates only if "Requested move" option in chosen
Importation

This script can be imported to skin.js or common.js by adding:
importScript('User:Infinityboy7/DiscussionCloser.js'); // [[User:Infinityboy7/DiscussionCloser.js]]
or
{{subst:Iusc|User:Infinityboy7/DiscussionCloser.js}}

See also

{{User Infinityboy7/DiscussionCloser}}, a userbox indicating an editor uses DiscussionCloser.