Misplaced Pages

User:MusikBot II/GeonoticeSync/Test geonotice.js

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:MusikBot II | GeonoticeSync
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump.
This code will be executed when previewing this page.
Documentation for this user script can be added at User:MusikBot II/GeonoticeSync/Test geonotice.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Misplaced Pages:Bypass your cache.
/* 
 * === WARNING: GLOBAL GADGET FILE ===
 * Please use ] to manage Geonotices.
 * Any changes made to ] will be synced here by a bot within at most 5 minutes.
 *
 * Copy edits to this comment can freely be made, but any other changes made directly to this page will be overriden.
 */

window.GeoNotice = {};
window.GeoNotice.notices = {
  "Lebanon201809": {
    "begin": "5 September 2018 00:00 UTC",
    "end": "23 October 2018 00:00 UTC",
    "country": "LB",
    "text": "Let's add the new Members of Parliament of Lebanon to Misplaced Pages! Join us for ] in Badaro, Beirut on Saturday 15 September and 22 September."
  },
  "StaffRide18": {
    "begin": "11 November 2018 00:00 UTC",
    "end": "3 December 2018 10:00 UTC",
    "corners": [
      [
        35.81,
        -114.13
      ],
      [
        32.53,
        -121.44
      ]
    ],
    "text": "Join a staff ride-like meetup before the 172nd anniversary of the Battle of San Pasqual. Find out more ]!"
  }
};