User:Kiteretsu/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: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.