NOTE: This script will soon become invalidated when Special:Forum is removed from the service. If you have converted to the "Discussions" feature, do not use this script.

ArchiveBoards is a script that strives to make it easier for sysops to create boards that don't allow users to post threads, nor reply to any threads within it. To prevent users trying to bypass the nature of the script, it also removes the buttons on posts so that users cannot move the thread somewhere out of the board and continue the conversation.

Suggestions to improve the scripts are fully welcomed on the talkpage. Please also let me know of any bugs as well and I will endeavour to fix them as quickly as possible!



There are some custom configuration options that you can use if you want to:

Variable name Description Default value
boards An array style list of board names for where the script must be fired. This is a required property or nothing will happen As this is required, there are no default values. However, the format should be ["Board1","Board2","Board3"], where each array value is the name of a board. Underscores not required
style A list of CSS based formatting that allows the notice to be styled. width: 100%;text-align: center;border: 2px solid #f66;background-color: whitesmoke;margin: 0.8em 0px;padding: 0.5em 12px;color: black;
boardNotice A notice displayed on thread listings (aka pages in the Board: namespace) Sorry, you may not create a new thread in this board. Please go back to the <a href='/wiki/Special:Forum'>Forum Index</a> to find an appropriate board.
threadNotice A notice displayed in replacement of the new reply boards on threads. Sorry, you may not reply to this thread because it has been placed in a closed board.
groupCustom An optional array. If you have any custom usergroups on your wiki and you want them to be able to bypass the script, list them here (internal name is used).
threads An optional variable. If you want to allow users to reply to threads on archived boards, set this to false. true
post An optional variable. If you want to allow privileged users (eg, admins) to post threads on archived boards, set this to true. false

The syntax for using these configuration options goes like this:

window.ArchiveBoards = {
    boards: [],
    style: "",
    boardNotice: "",
    threadNotice: "",
    groupCustom: [],
    threads: true,
    post: false

Note that you only need to define the fields you wish to change from the defaults, and they may be defined in any order. However, this definition must precede the importArticles() call!


  • Limit the number of boards that can be specified to prevent abuse of the script to close all boards on a wiki.
  • Remove "closed" boards from dropdown menus, such as those on the "Start a Discussion" area on articles.


2 June 2016
Feature update (v1.0.4): The script no longer fires under the Topic namespace. Previously, it was possible to get around the removal of the posting forms to create new discussions in boards that were closed by this script using the topic board dropdown in that namespace. — SuperSajuuk
11 February 2015
Feature update (v1.0.3): The script will now display a padlock icon on Special:Forum for boards that are listed in the boards array — SuperSajuuk
9 February 2015
Minor update (v1.0.2): With thanks to Dantman, the script was updated to use a different format for creating the notices — SuperSajuuk (props to Dantman!)
16 January 2015
Bug fix update (v1.0.1): Minor fixes to existing code — UltimateSupreme
16 January 2015
Initial Release (v1.0.0). — SuperSajuuk
Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+