Board Thread:JS and CSS Support/@comment-32762987-20190706123825

Hello, after installing the LockForums script on the wiki it appears to not have worked as intended.

Antvasima wrote: Something like this then: window.LockForums = { expiryDays: 1096, expiryMessage: "This thread has not been commented on for over 3 years, so it has been automatically locked. If necessary, you can start a new discussion about the topic instead." warningDays: 90 warningMessage: "This thread has not been commented on for over  days. There is no need to reply, unless it is part of the versus forum." }; It was supposed th just close threads that were over 1096 days old with no activity, while also adding after 90 days of inactivity the "warningMessage" part.

The problem? It closed threads that were two months old with inactivity or so.

https://vsbattles.fandom.com/index.php?title=MediaWiki%3ACommon.js&diff=4822765&oldid=4821569

https://vsbattles.fandom.com/index.php?title=MediaWiki%3AImportJS&diff=4822770&oldid=4821549 