User:Tomchen1989/newmessage/doc

Description
This template shows a fake "You have new messages" alert for joke, it only works on "User" or "User talk" pages.

Usage
Basically, using without any parameters is fine:

If you want to choose which pages "new messages" and "last change" link to, or what the small tip is, use: By default, both "new messages" and "last change" link to User:Tomchen1989/newmessage/doc, the small tip is an image which links to User:Tomchen1989/newmessage:.

Example:  it shows:

How to hide
How to hide other users' fake "You have new messages" boxes (but not hide real ones) if I don't like this hoax?

Custom JS for Wikipedia
Edit your common.js (or the custom JavaScript of your current skin. default is monobook.js), add the following JavaScript code at the end of this .js (create this .js if not exist), then clear your browser cache.

UserScript
Use "Hide Wikipedia fake usermessages" UserScript (click here to install it directly).


 * Google Chrome can install UserScripts directly;
 * Firefox needs Greasemonkey add-on;
 * Opera can also handle those UserScripts, you should set your "User JavaScript folder" in "Settings" -> "Advanced" -> "Content" -> "JavaScript Options...";
 * Internet Explorer needs Trixie, IE7Pro or "Greasemonkey for IE";
 * Safari needs GreaseKit or other plug-ins.

zh:Template:Newmessage