MediaWiki:Gadget-geonotice-list.js
Please also see WP:Geonotice
Do not edit this page directly! Use Wikipedia:Geonotice/list.json to configure geonotices. |
This is the JavaScript for the geonotices. It is loaded as a default gadget from MediaWiki:Gadgets-definition and bot-synchronized from Wikipedia:Geonotice/list.json . Any changes to this page should first be proposed on its talk page or the Village pump.
Please note that changes are visible within minutes. Errors you make here can disrupt the entire encyclopedia, so make sure you know what you are doing. Testing can be done on your personal common.js or skin-specific JS file. |
This page is loaded as a part of the geonotice-core gadget, a hidden gadget. |
/* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* |_____________________________________________________________________________|
*
* Defines the list of notices to be shown to registered users based on their location.
*
* USE [[Wikipedia:Geonotice/list.json]] TO CONFIGURE YOUR NOTICES. Changes there will be
* synced here by a bot every five minutes. Edits directly to this page will be overriden.
*
* If your changes were not synced, review [[User:MusikBot II/GeonoticeSync/Report]] for errors.
*/
window.GeoNotice = {};
window.GeoNotice.notices = {
"SanDiegoMay2024": {
"begin": "29 April 2024 00:00 UTC",
"end": "20 May 2024 23:59 UTC",
"corners": [
[
35.0064,
-114.1308
],
[
32.5295,
-121.0038
]
],
"text": "Everyone is invited to a <b><a href=\"/wiki/Wikipedia:Meetup/San_Diego/May_2024\" title=\"Wikipedia:Meetup/San Diego/May 2024\">Asian American and Pacific Islander Heritage Month</a></b> edit-a-thon on May 20th at the <a href=\"/wiki/San_Diego_Central_Library\" title=\"San Diego Central Library\">San Diego Central Library</a>."
},
"NYCJunHD": {
"begin": "15 May 2024 00:00 UTC",
"end": "3 June 2024 00:00 UTC",
"corners": [
[
40.5,
-72.0
],
[
42.0,
-75.0
]
],
"text": "Join <a href=\"/wiki/Wikipedia:Meetup/NYC/Hacking_Sunday\" title=\"Wikipedia:Meetup/NYC/Hacking Sunday\">WikiNYC All-Day Hacking Sunday</a> @ Prime Produce on June 2!"
},
"UK20240511": {
"begin": "12 May 2024 20:00 UTC",
"end": "9 June 2024 18:00 UTC",
"country": "GB",
"text": "Interested in having a chat with fellow Wikipedians? There are upcoming meetups in: <a href=\"/wiki/Wikipedia:Meetup/Exeter\" title=\"Wikipedia:Meetup/Exeter\">Exeter, 8 June</a>; and <a href=\"https://meta.wikimedia.org/wiki/Meetup/London/205\" class=\"extiw\" title=\"m:Meetup/London/205\">London, 9 June</a>!",
"comments": "Last 8 chars of ID is date of last amendment in CCYYMMDD format - change this if making major amendment or adding a meetup; leave alone if minor amendment or removing a meetup. Set the 'begin' parameter to yesterday's date - amend only if the ID was altered. Set the 'end' parameter to the date of last meetup shown. Try to limit 'text' to four meetups, no more than one per town/city, and no more than four weeks in advance; shorten month names to three letters if four meetups are shown."
}
};