User:Bhairava7/DiscussionCloser

From Test Wiki
Jump to navigation Jump to search

Template:Infobox


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:Bhairava7/DiscussionCloser.js'); // [[User:Bhairava7/DiscussionCloser.js]]
or
{{subst:Iusc|User:Bhairava7/DiscussionCloser.js}}

See also

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