Board Thread:Support Requests - Getting Technical/@comment-896291-20171122030512

I'm an admin on the Pacific Rim Wiki, and for the longest time, I've been wanting to add the LockOldBlogs code to the MediaWiki to present new users and spam bots from necro posting on old blog posts from retired discussions or absent users no longer using the wiki.

However, I'm a little uncertain about how to do that.

Reading the dev wiki's article, LockOldBlogs seems to require more than a single line of information to get to work. I thought about placing it below the code presently in the site's Commons.js page, but the suggestion is if you already have "ImportArticles{{" in your Commons.js, the specification for how long it is before your blog is locked (30 or 60 days) and the other keywords involved don't seem to be necessary to get it work as directed.

Should I simply add "u:dev:MediaWiki:LockOldBlogs/code.js" among the list of the rest of the code, or is the rest of the information for LockOldBlogs code necessary to get it to work? 