User:Kiteretsu/DiscussionCloser

From Test Wiki
Revision as of 01:57, 30 August 2024 by Amos (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:Kiteretsu/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:Kiteretsu/DiscussionCloser.js'); // [[User:Kiteretsu/DiscussionCloser.js]]
or
{{subst:Iusc|User:Kiteretsu/DiscussionCloser.js}}

See also

{{User:Kiteretsu/DiscussionCloser/t}}, a userbox indicating an editor uses DiscussionCloser.