MediaWiki:Welcome.js

if (mw.config.get('wgUserGroups').indexOf('staff') === -1 && mw.config.get('wgUserGroups').indexOf('helper') === -1 && mw.config.get('wgUserGroups').indexOf('vstf') === -1) { if (localStorage.newUser !== "true") { $.showCustomModal("Welcome to Creepypasta Wiki.", ' Hello and welcome, ' + wgUserName + '. We have detected that you are new to the site.

Please be sure to check out the Site Rules before contributing. Use this form to submit pastas. Click here to register an account, if you haven\'t already (this is required for submitting or editing pastas).

Otherwise, browse stories by genre at the Genre Listing page or by title at Special:AllPages. If you are new to creepypasta, the Suggested Reading category is a good place to start.

NOTE: You may not be a new user. This window relies on localStorage to detect if you have visited this site before. ', {           id: "newuser-modal", width: 650, buttons: [{ id: "submit", defaultButton: true, message: "Okay, I am ready to continue!", handler: function { localStorage.newUser = "true"; $('#newuser-modal').closeModal; }           }]        });    } }