Пређи на садржај

Медијавики:Gadget-geonotice-list.js

Iz Vojne Enciklopedije
(разл) ← Старија измена | Тренутна верзија (разл) | Новија измена → (разл)

Напомена: Пошто објавите измене, можда ћете морати да обришете кеш прегледача како бисте их видели.

  • Firefox / Safari: Држите Shift и кликните на Reload или притисните Ctrl-F5 или Ctrl-R (⌘-R на Mac-у).
  • Google Chrome: Притисните Ctrl-Shift-R (⌘-Shift-R на Mac-у).
  • Edge: Држите Ctrl и кликните на Refresh или притисните Ctrl-F5.
/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === 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 = {

Pridenyc:
{ begin : '17 June 2016 0:00 UTC',
  end : '30 June 2016 0:00 UTC',
  corners : [ [42,-76], [40,-72] ],
  text : "Join the [[Wikipedia:Meetup/NYC|Wiki Loves Pride Edit-a-thon @ MoMA]] at 6pm on June 29!"
},

BayArea201606:
{
	begin: '12 June 2016 00:00 UTC',
	end: '30 June 2016 04:00 UTC',
	corners: [ [38.8, -123.8 ], [36.8, -121.8] ],
	text: 'You are invited to the [[Wikipedia:Bay Area WikiSalon, June 2016|Bay Area WikiSalon]] series on Wednesday, June 29 from 6:00 pm to 8:30 pm.'
},

DCDivCon:
{ begin : '30 May 2016 0:00 UTC',
  end : '15 June 2016 0:00 UTC',
  corners : [ [43,-85], [32,-70] ],
  text : "You\'re invited to the <a href=\"https://wikidiversity.org\">2016 Wikimedia Diversity Conference</a> on June 17–18 at the National Archives in Washington, DC."
},
	
UK20160606: /* 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 */
{
   begin: '05 June 2016 17:00 UTC', /* yesterday's date - amend only if the ID was altered */
   end: '19 June 2016 17:00 UTC', /* set this to date of last meetup shown */
   country: 'GB',
   text: 'Interested in having a chat with fellow Wikipedians? There is a forthcoming meetup in: [[m:Meetup/Oxford/40|Oxford, 19 June]]!' /* try to limit this 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 */
}

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