میڈیاویکی:Gadget-geonotice-list.js
یاددہانی: محفوظ کرنے کے بعد تازہ ترین تبدیلیوں کو دیکھنے کے لیے آپ کو اپنے براؤزر کا کیش صاف کرنا ہوگا۔
- فائرفاکس/ سفاری: جب Reload پر کلک کریں تو Shift دبا کر رکھیں، یا Ctrl-F5 یا Ctrl-R دبائیں (Mac پر R- )
- گوگل کروم: Ctrl-Shift-R دبائیں (Mac پر Shift-R-⌘)
- انٹرنیٹ ایکسپلورر: جب Refresh پر کلک کریں تو Ctrl یا Ctrl-F5 دبائیں
- اوپیرا: Tools → Preferences میں جائیں اور کیش صاف کریں
اس اسکرپٹ کی دستاویزی تفصیلات میڈیاویکی:Gadget-geonotice-list پر درج کی جا سکتی ہیں۔ |
/* _____________________________________________________________________________
* | |
* | === 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.
*/
window.GeoNotice = {};
window.GeoNotice.notices = {
UK20150614: /* 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: '13 June 2015 17:00 UTC', /* yesterday's date - amend only if the ID was altered */
end: '24 June 2015 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/Glasgow/6|Glasgow, 18 June]]; [[m:Meetup/Manchester/29|Manchester, 20 June]]; [[m:Meetup/Oxford/29|Oxford, 21 June]]; and [[m:Meetup/East London/1|East London, 24 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 */
},
RSCJuly15:
{
begin : '10 May 2015 00:00 UTC',
end: '29 July 2015 12:00 UTC',
corners: [ [50,-2], [52.5,2] ],
text: "[[Wikipedia:GLAM/Royal Society of Chemistry/BH-2015|Exclusive access to the Royal Society of Chemistry's library]], for an editathon on 29 July 2015 - write about chemistry and chemists"
},
IndiaFoodJune15:
{
begin : '10 May 2015 00:00 UTC',
end: '15 June 2015 18:00 UTC',
country: 'IN',
text: "[[:c:Commons:Wiki Loves Food|Wiki Loves Food]] - Wikipedia Photo Contest around Indian Cuisine. Upload pictures of Indian Food and win prizes"
},
PennPhotoMay15:
{
begin: '1 June 2015 05:00 UTC',
end: '2 July 2015 05:00 UTC',
corners:[ [42.5, -81.5], [39, -74.2] ],
text: 'Help photograph every city, borough, town, and township in Pennsylvania. [[Wikipedia talk:WikiProject Pennsylvania#Photographing every municipality|Grab your camera!]]'
}
/*******************************************
* End of list.
* Edit only above!
*
*******************************************/
};