MediaWiki:Gadget-geonotice-list.js
Appearance
![]() | 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 = {
"UK20240824": {
"begin": "21 August 2024 18:00 UTC",
"end": "8 September 2024 20:00 UTC",
"country": "GB",
"text": "Interested in having a chat with fellow Wikipedians? There is an upcoming meetup in <a href=\"https://meta.wikimedia.org/wiki/Meetup/London/208\" class=\"extiw\" title=\"m:Meetup/London/208\">Central London, 8 September</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."
},
"NYCElection24": {
"begin": "3 September 2024 00:00 UTC",
"end": "26 September 2024 00:00 UTC",
"corners": [
[
40.5,
-72.0
],
[
42.0,
-75.0
]
],
"text": "Join <a href=\"/wiki/Wikipedia:Meetup/NYC/Election_2024\" title=\"Wikipedia:Meetup/NYC/Election 2024\">Wikimedia NYC Annual Election/Members Meeting</a> @ Prime Produce (and hybrid) at 7-9PM on September 25!"
}
};