Description | Watchlist pings |
---|---|
Author(s) | SD0001 |
Updated | December 20, 2024 (0 days ago) |
Browsers | Chrome, Firefox, IE 11+, possibly others |
Skins | All desktop skins |
Source | User:SD0001/W-Ping.js |
W-Ping (source) is a user script that enables you to set up reminders (pings) that will be delivered to your watchlist at the scheduled time. This is largely based on the essay User:Looie496/Watchlist pinging. Look for the menu item "W-Ping" in the "More" dropdown menu to set up a ping.
Data on pages for which pings are scheduled is stored privately as part of your site preferences. They are not exposed publicly. The ping dialog auto-closes once the ping is set. (This won't happen if there was an error in the process, in which case the error will be displayed.)
A ping can be set for any arbitrary date, though there are quick links for setting it for common durations, which is customisable. The ping will appear on your watchlist on the specified date, at the same time of the day as the time at which you set it (or after that, whenever you open your watchlist). For instance, at 10 pm on October 20, if you schedule a ping for October 24, the ping will appear on the watchlist at (or after) 10 pm on October 24. Pings will remain on your watchlist until you snooze or dismiss them.
All dates are according to the time zone specified in your user preferences.
To see a list of all upcoming pings, see Special:BlankPage/W-Ping.
Installation
editIf you have the script-installer gadget, just click on the "Install" button in the infobox.
Otherwise, add the line
importScript('User:SD0001/W-Ping.js'); // [[User:SD0001/W-Ping.js]]
Customisation
editQuick select allows select the date without having to use the calendar widget. By default, it allows you to set the date after 1 day, 3 days, 1 week, 2 weeks, or 1 month from now. You can customise this by adding the line to your common.js:
window.WPing_Quick_Durations = ["1 day", "2 days", "1 week", "3 weeks", "2 months", "1 year"];
Each duration can be specified in days, weeks, months or years. They should enclosed in quotes and separated by commas.
By default, W-Ping treats dates as in the time zone as given in your preferences. You can choose to use the UTC time or the system time (time zone used your browser) by adding the line window.WPing_timezone = "system";
or window.WPing_timezone = "utc";