User:NotificationBot
From Wikipedia, the free encyclopedia
Notice: This bot is still under production / testing. --AllyUnion (talk) 03:12, 15 September 2005 (UTC)
- This bot should be running fine, however I am still considering this to be an experimental stage. --AllyUnion (talk) 03:34, 19 September 2005 (UTC)
I am the Wikipedia's Notification Bot written by AllyUnion. Please forward all problems and concerns to him. --NotificationBot 00:00, 9 September 2005 (UTC)
Contents |
[edit] Setup
To set up message notification of user's talk pages, place the message under the subpage format of User:NotificationBot/Msg/NAME_OF_NOTIFICATION and the list for notification at User:NotificationBot/NAME_OF_NOTIFICATION. Both the list for notification and msg subpage must share the same name. An optional page of User:NotificationBot/Cron/NAME_OF_NOTIFICATION can be created if so desired. Default notification is every 10th and 20th of the month at 00:00 UTC. After you set up User:NotificationBot/NAME_OF_NOTIFICATION, place a link in User:NotificationBot/List in Wikipedia bulleted list format.
User:NotificationBot/NAME_OF_NOTIFICATION can be a redirect page. User:NotificationBot/Msg/NAME_OF_NOTIFICATION and User:NotificationBot/Cron/NAME_OF_NOTIFICATION can not be redirect pages.
[edit] List of Notification Format
Use the following format for notification list:
== NAME_OF_NOTIFICATION == * [[User:USER_ONE]] * [[User:USER_TWO]] * [[User:USER_THREE]]
[edit] Msg Format
None at this time. Whatever you place here will be subst: into the appropriate talk pages.
[edit] Cron Format
This follows the crontab format in terms of how frequently notification occurs. Based off in UTC time. This page is checked every 30 minutes. Anything after a # is ignored until end of line. If this page is not present, notification is set to default for every 10th and 20th of the month at 00:00 UTC. You may use a <pre> tag at the beginning and a closing </pre> tag at the end of the page. Anything with '#' is ignored, because it is a comment.
- First field is: Minutes
- Second field is: Hours in Military Time
- Third field is: Days
- Fourth field is: Months
- Fifth field is: Day of the week to run it (0 being Sunday, 1 being Monday, 6 being Saturday and 7 being Sunday)
Example:
06 06 * * * # Every day at 6:06 AM, UTC. 18 18 20 * * # Every 20th of the month at 6:18 PM, UTC
An asterik for the first field and second field are not permitted, since the bot can not post every minute or every hour to all talk pages. Commas are not allowed in the fields either, please separate each time frame.
Example (invalid):
06 06 10,20 * *
Example (valid):
06 06 10 * * 06 06 20 * *
[edit] Example
[edit] Logging feature
Not yet implemented, under consideration. Likely to place it as /Logs/Example or /Example/Log. --AllyUnion (talk) 10:19, 25 November 2005 (UTC)