Content deleted Content added
Manishearth (talk | contribs) |
Manishearth (talk | contribs) |
||
Line 35:
Here is an add-on, to be put directly under above script. It allows you to add little notifications with an addNotification() method. Its argiments are:
*link-- What to link to (whole url, please)
*image-- The url of the image to display. If this param is 'info', 'exclamation', or 'stophand', it will show the standard wikipedia notification images (The ones from the vandalism templates.)
*title-- The alt-text to show
The script adds a notification when you have new messages.
<source lang=javascript>
|