MediaWiki:Gadget-geonotice-list.js

From Ava Zinn Wiki
Jump to: navigation, search
/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
 * |_____________________________________________________________________________|
 *
 * Defines the list of notices to be shown to registered users based on their location
 *
 * Format is:
 *
 * ID: {
 *   begin: 'date',
 *   end: 'date',
 *   corners: [ [ lat, lon ], [ lat, lon ] ],
 *   text: 'message'
 * }
 *
 * There also is an option to use country instead of corners. For example:
 * ID: {
 *   begin: 'date',
 *   end: 'date',
 *   country: 'US',
 *   text: 'message'
 * }
 *
 * See http://dev.maxmind.com/geoip/legacy/codes/iso3166 for full list of country codes
 *
 * - There must be commas between the notices, but not after the last one.
 * - BE SURE TO ESCAPE YOUR APOSTROPHES (put a backslash in front of it, like this: \')!
 * - Use [[meta:w:en:link|link]] format for internal links, so that they work properly
 * on the other projects where the geonotice is displayed.
 * - Note that if a user is eligible for multiple notices on their watchlist, these will be displayed in reverse order to the listing here.
 */

window.GeoNotice = {};
window.GeoNotice.notices = {

MilwaukeeGLAM2016: {
  begin: '16 July 2016 00:00 UTC',
  end: '31 July 2016 00:00 UTC',
  corners:  [[44,-87], [42,-89]],
  text: 'Looking for Wikipedians in Milwaukee area to do outreach and GLAM work. Please contact [[User:Orangemike]] for more details.'
},

Punjab_Editathon_2016: {
  begin: '10 July 2016',
  end: '26 July 2016',
  corners: [ [ 8.0667, 68.11667 ], [ 37.1, 97.41667 ] ],
  text: 'Your community needs you. [[Wikipedia:WikiProject India/Events/Punjab Edit-a-thon|Participate in Punjab edit-a-thon]] and get barnstars and other things.'
},

WikiConference_India_2016: {
  begin: '29 June 2016 11:00 UTC',
  end: '20 July 2016 18:30 UTC', /* midnight Indian Standard Time */
  corners: [ [ 8.667, 68.117 ], [ 37.1, 97.417 ] ],
  text: 'Call for Participation in WikiConference India 2016 is open now. [[m:WikiConference India 2016/Call for Participation|Submit your proposals by July 20, 2016 IST]].'
}

/*******************************************
 *             End of list.
 *           Edit only above!
 *
 *******************************************/
};