MediaWiki:Gadget-geonotice-list.js

Bilgibanka, Hoşgeldiniz
Şuraya atla: kullan, ara
/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === 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 (Note that the gadget does not support HTML URL encoding for special characters such as "%27" for an apostrophe (') )
 * 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.
 * When selecting an ID, try to ensure that it has not been used in the previous 100 days
 */

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

SanFran201705WikiSalon:
{
	begin : '23 May 2017 04:00 UTC',
	end : '1 June 2017 08:00 UTC',
	corners :  [ [38.74, -123.55], [36.82, -121.40] ],
	text : 'The monthly [[Wikipedia:Bay Area WikiSalon May 2017|Bay Area WikiSalon]] series is meeting at [[Noisebridge|Noisebridge hackerspace/makerspace]] (change of venue) Wednesday, May 31 from 6:00 pm to 8:30 pm in San Francisco and everybody is invited! You can hang out at Noisebridge until 11:00 p.m.'	
},

UK20170528: /* 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: '27 May 2017 17:00 UTC', /* yesterday's date - amend only if the ID was altered */
  end: '11 June 2017 17:00 UTC', /* set this to date of last meetup shown */
  country: 'GB',
  text: 'Interested in having a chat with fellow Wikipedians? There are forthcoming meetups in: [[m:Meetup/Cambridge/34|Cambridge, 3 June]]; and [[m:Meetup/London/119|London, 11 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!
 *
 *******************************************/
};