Thread:KockaAdmiralac/@comment-31984232-20180612141733/@comment-31984232-20180616201315

Sophiedp wrote: You shouldn't import js without knowing what it does I already knew what it did; I asked Patrik

KockaAdmiralac wrote: ... otherwise you end up pasting my bio in your JS console. :^)

The code works by checking whether the pages have been already created on the wiki (both by looking at a localStorage entry and querying the API) and whether you have any contributions to it. If they weren't, or the last revision was by FANDOM or Wikia, it creates the userpage with content you specify (for example, with your global template). You can also configure the script to create the pages with different content across different namespaces (different templates for userpage, talkpage, greeting, etc.). The script also doesn't run on, because it doesn't have WikiFeatures enabled so the script can't check whether talkpages or walls are enabled, and (as of today) on VSTF Wiki, because you can't create your userpages and talkpages there. THX!