MediaWiki:Gadget-geonotice-list.js
Penampilan
Catatan: Selepas diterbitkan, anda mungkin perlu memintas cache pelayar web untuk melihat perubahan.
- Firefox / Safari: Tahan Shift sambil klik Reload, atau tekan sama ada Ctrl-F5 atau Ctrl-R (⌘-R pada Mac)
- Google Chrome: Tekan Ctrl-Shift-R (⌘-Shift-R pada Mac)
- Edge: Tahan Ctrl sambil tekan Refresh, atau tekan 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 (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 = {
UK20170226: /* 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: '25 February 2017 17:00 UTC', /* yesterday's date - amend only if the ID was altered */
end: '12 March 2017 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/London/116|London, 12 March]]!' /* 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 */
},
WIRCam2017:
{
begin: '3 March 2017 10:00 UTC',
end: '8 March 2017 20:00 UTC',
country: 'GB',
text: 'You\'re invited to [[Wikipedia:WikiProject Women in Red/Meetup/38#When and where|an edit-a-thon in Cambridge]] on 8th March at Newnham College.'
},
Peru2017:
{
begin: '24 February 2017 10:00 UTC',
end: '11 March 2017 20:00 UTC',
corners: [[-12.6, -77.3], [-11.8, -75.9]],
text: 'Participa en la [[:es:Wikipedia:Encuentros/Lima/IV Editatón de Arte y Feminismo 2017|IV Editatón de Arte y Feminismo en Lima]] este sábado 11 de marzo en la sede de Espacio Fundación (Av. Arequipa 1155).'
},
PomonaMar17:
{
begin : '15 February 2017 00:00 UTC',
end : '9 March 2017 00:00 UTC',
corners : [ [33.5, -117.2], [34.5, -118.3] ],
text : 'Hey! Join our [[Wikipedia:Meetup/Cal Poly Pomona/ArtAndFeminism 2017|CPP Art + Feminism Wikipedia Edit-a-thon]] at Cal Poly Pomona University Library on Saturday March 4th from 10am-5pm. Open to students, faculty, staff and community members.'
},
Chicago17:
{
begin : '01 March 2017 00:00 UTC',
end : '24 March 2017 00:00 UTC',
corners : [ [39.98, -89.12], [43.11, -85.11] ],
text : 'You are invited to [[Wikipedia:Meetup/Chicago_17|a Chicago meetup and edit-a-thon]] on Wednesday, March 25th from 12 to 4:30 PM at the Sulzer Regional Library!'
},
AUSTRALIAMar17:
{
begin: '1 March 2017 00:00 UTC',
end: '15 March 2017 00:00 UTC',
country: 'AU',
text: 'You are invited to give your opinion [[Wikipedia:Australian_Wikipedians\'_notice_board#Fair_Use_campaign_-_Next_steps|at the Australian Wikipedians notice board]] on a proposal to advocate for the introduction of "Fair Use" into Australian copyright law.',
}
/*******************************************
* End of list.
* Edit only above!
*
*******************************************/
};