< Scratch Wiki:Become a contributor

When requesting an account on the Scratch Wiki, you are asked to comment a verification code.

What the Verification Code is

Technical idea

The verification code is a SHA-1 hash, consisting of a few things concatenated together: the UNIX time divided by 1800 then rounded down, your browser's "HTTP User Agent" header, and your IP address. In PHP code, the codes are generated like this[1]:

sha1(floor(time() / 1800) . $_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']);

In case the time changes between entering the code and submitting the form, the form processor also checks the code for the past two possible time numbers (the past hour). This also means that verification codes will expire after an hour.

What its purpose is

The Scratch Wiki takes impersonation very seriously. To prevent user A from requesting an account as user B, all users have to comment a special code. The software checks that user B has commented the code, but since it was commented by user A, user A can't request an account as user B. But when user B tries to request an account, user B will comment the code as his/her own profile, and the account will be requested successfully. It also serves another purpose, your account name must be the same on the main site and the Wiki. As an added safety feature, because of the verification code, banned users are not able to submit account requests on the Wiki.

Make sure you are doing the following

The code must be commented on the project provided; do not comment it anywhere else or our request software will not find it. Also, make sure that it is a new comment and not a reply to an existing comment. Do not reply to any comments.

Make sure that there is no other text, your comment must only contain the code. Do not include any whitespace, explanations, or other text.

The code must also be commented by the same user registering; make sure you are not signed in as an alternate account.

It was blocked by the language or phone number filter

If your comment is blocked by any of the filters, wait 30 minutes and a new code will be generated. Generally it is very rare that this will happen, so it is unlikely to happen a second time.

If it still isn't working.

If the code still does not work, wait 30 minutes and try again. You will be given a new code.

If that doesn't work, try from a different network (i.e. a friend's house, a school, a library, etc.) and see if that works.

If you still cannot request an account after trying everything listed above, please calmly ask why here, but do not do so until you have used every idea in this article. When commenting, please be sure to mention that you have already read this page.