MediaWiki:Gadget-geonotice-list.js: Difference between revisions
Appearance
Content deleted Content added
Andrew Gray (talk | contribs) Sheffield |
rm Cambridge 24, London 87; add ESC 1, Manchester 26 |
||
Line 61: | Line 61: | ||
}, |
}, |
||
UK141109: /* last 6 chars of ID is date of last amendment in YYMMDD format - change this if making major amendment or adding a meetup; leave alone if minor amendment or removing a meetup */ |
|||
{ |
{ |
||
begin: ' |
begin: '8 November 2014 17:00 UTC', /* yesterday's date - amend only if the ID was altered */ |
||
end: ' |
end: '23 November 2014 17:00 UTC', /* set this to date of last meetup shown */ |
||
corners:[ [60,-9], [50, 2] ], |
corners:[ [60,-9], [50, 2] ], |
||
text: 'Interested in having a chat with fellow Wikipedians? There are forthcoming meetups in: [[m:Meetup/ |
text: 'Interested in having a chat with fellow Wikipedians? There are forthcoming meetups in: [[m:Meetup/Oxford/22|Oxford, 16 November]]; [[m:Meetup/English South Coast 1|Eastleigh, 23 November]]; [[m:Meetup/Manchester/26|Manchester, 23 November]]!' /* 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 */ |
||
} |
} |
||
Revision as of 21:41, 9 November 2014
/* _____________________________________________________________________________
* | |
* | === 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 should 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.
*/
window.GeoNotice = {};
window.GeoNotice.notices = {
WWIKC1:
{
begin: '28 October 2014 00:01 UTC',
end: '23 November 2014 00:00 UTC',
corners: [[37.00, -99.82], [41.73, -90.24]],
text: 'You are invited to [[Wikipedia:Meetups/U.S._World_War_I_Museum_Nov_2014|a Wikipedia editathon about WWI and Dissent on November 22]] at the World War I Museum in Kansas City. Join us for the U.S. branch of this [[Wikipedia:Meetup/WW1_and_Dissent|international event]] as we write more social history from the era around WWI into Wikipedia!"'
},
LAWikEdWomen2:
{
begin : '2 November 00:00 UTC',
end: '12 November 2014 00:00 UTC',
corners: [ [33, -117.25], [35, -119.25] ],
text: "You are invited to the [[Wikipedia:Meetup/LA/Wik-Ed Women|third Wik-Ed Women editing session]] on Tuesday, November 11 from 6pm to 10pm in downtown L.A.! Come learn to edit Wikipedia and broaden Wikipedia's coverage of women artists."
},
SheffieldNov14:
{
begin: '2 November 2014 17:00 UTC',
end: '16 November 2014 17:00 UTC',
corners:[ [55,-2.5], [52.8, 0] ],
text: 'The Humanities at Sheffield Hallam University and the Being Human Festival would like to invite you to [[Wikipedia:Meetup/UK/Sheffield1|Fortitude and Frailty, an Edit-a-Thon on Yorkshire Authors and Newspapers]]. Saturday 22rd November from 10am to 5pm.'
},
UK141109: /* last 6 chars of ID is date of last amendment in YYMMDD format - change this if making major amendment or adding a meetup; leave alone if minor amendment or removing a meetup */
{
begin: '8 November 2014 17:00 UTC', /* yesterday's date - amend only if the ID was altered */
end: '23 November 2014 17:00 UTC', /* set this to date of last meetup shown */
corners:[ [60,-9], [50, 2] ],
text: 'Interested in having a chat with fellow Wikipedians? There are forthcoming meetups in: [[m:Meetup/Oxford/22|Oxford, 16 November]]; [[m:Meetup/English South Coast 1|Eastleigh, 23 November]]; [[m:Meetup/Manchester/26|Manchester, 23 November]]!' /* 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!
*
*******************************************/
};