MediaWiki talk:Gadget-geonotice-core.js/Archive 1
This is an archive of past discussions about MediaWiki:Gadget-geonotice-core.js. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 |
Comments
{{sudo}}
Can these please be made a little less ugly? Could start with making the text normal size instead of big, also perhaps positioning them on the left instead of their current awkward positioning. Gurch (talk) 15:57, 6 July 2009 (UTC)
Oh, and it's probably worth pointing out here that IP address "geolocation" doesn't actually work, when the IP address is allocated to an ISP and not to an organization directly, which is the case for all home users and most others too. You will probably get the correct country, and might get the correct region, but often you'll just get wherever the ISP's headquarters or regional hub is located, which could be hundreds of miles or more from where the user actually is. Sometimes even that will be wrong; it's not unheard of for an address to "geolocate" to somewhere not even on the same continent. Gurch (talk) 16:12, 6 July 2009 (UTC)
- Could I ask you to put your proposed code in a sandbox somewhere? — Martin (MSGJ · talk) 17:04, 6 July 2009 (UTC)
- just take the "text-align:right" and "size=+1" out Gurch (talk) 17:28, 6 July 2009 (UTC)
PER
{{editprotected}}
Could someone please remove the top entry (BLWnotice)? It is, as John Cleese might suggest, an ex-parrot. haz (talk) 15:40, 4 March 2010 (UTC)
- Removed — Martin (MSGJ · talk) 16:51, 4 March 2010 (UTC)
Please correct JavaScript error
{{editprotected}}
The closing curly brace for the PAmail geonotice should have a comma after it, since there is another geonotice after it. PleaseStand (talk) 20:44, 21 March 2010 (UTC)
- Done — Martin (MSGJ · talk) 22:05, 21 March 2010 (UTC)
Can I turn this off?
Is there a way to more permanently hide this? I keep getting invites to meetups that are no-where near me, and it's a minor annoyance to have to 'hide' them over and over again. Related to that, is the 'hide' function connected to browser and computer (I switch both on occasions) rather than account, as I seem to have to hide the same notice multiple times? Peter 23:42, 6 June 2010 (UTC)
Fix
{{editprotect}}
This edit needs to be fixed. All apostrophes (') need to be escaped with \'. Right now, all watchlists are breaking because of this error. Gary King (talk · scripts) 18:03, 2 July 2010 (UTC)
- I'm talking about the apostrophe in "Le's Restaurant" for instance. Gary King (talk · scripts) 18:14, 2 July 2010 (UTC)
- And the one in "You're invited". — Richardguk (talk) 18:22, 2 July 2010 (UTC)
- Yep... And the "]" if the URL is going to be removed. Gary King (talk · scripts) 18:31, 2 July 2010 (UTC)
- Could someone fix the message to read "Le's Restaurant" instead of "Le Restaurant"? This is as simple as changing the phrase to read "Le\'s Restaurant". (Also, is there a reason we're using single-quoted strings instead of double-quoted strings? The latter would presumably prevent errors like these. Usage of unescaped double-quotes within messages would cause errors like this in that case, but seem like they would be much less common.) Emw (talk) 00:28, 3 July 2010 (UTC)
- I don't know, but I fixed it. Repost the editprotected if I need to fix more js. NativeForeigner Talk/Contribs 03:51, 3 July 2010 (UTC)
- Could someone fix the message to read "Le's Restaurant" instead of "Le Restaurant"? This is as simple as changing the phrase to read "Le\'s Restaurant". (Also, is there a reason we're using single-quoted strings instead of double-quoted strings? The latter would presumably prevent errors like these. Usage of unescaped double-quotes within messages would cause errors like this in that case, but seem like they would be much less common.) Emw (talk) 00:28, 3 July 2010 (UTC)
- Yep... And the "]" if the URL is going to be removed. Gary King (talk · scripts) 18:31, 2 July 2010 (UTC)
- And the one in "You're invited". — Richardguk (talk) 18:22, 2 July 2010 (UTC)
Swapping single and double quote delimeters
See the source at User:Richardguk/Geonotice.js sandbox for proposed revised version of MediaWiki:Geonotice.js, swapping single and double quote delimeters so as to reduce the escaping errors that have beset this script in the past. Also includes some very minor changes to the text and comments. — Richardguk (talk) 20:50, 3 July 2010 (UTC)
- On the other hand, I can understand why they are using single quotes. It seems to be because URLs are used more often than single quotes in contractions, etc. and since people almost always use double quotes for those, then that's why single quotes seem to be the standard. At the very least, whoever edits this page should have a basic understanding of escaping characters. Gary King (talk · scripts) 23:52, 3 July 2010 (UTC)
- Indeed. On the other hand, I figured that people are quite likely to notice that HTML attribute values are double-quoted (and hence need single-quoting or escaping), because they stand out from the text, whereas it is easy to fail to notice that a sentence contains an apostrophe somewhere within it. For what it's worth, I did add a note about quote escaping, in the comment block half-way down. Maybe the comment block should be moved to the top, although inevitably it won't always get read, no matter how hard we try! — Richardguk (talk) 06:51, 4 July 2010 (UTC)
- Probably the best solution is to add an editnotice to this page, so that a message appears above the edit box every time someone edits it. Gary King (talk · scripts) 16:28, 4 July 2010 (UTC)
- Re editnotices:
- That's a good idea. I see that there's already an editnotice at Template:Editnotices/Page/MediaWiki:Geonotice.js:
- Re editnotices:
- Probably the best solution is to add an editnotice to this page, so that a message appears above the edit box every time someone edits it. Gary King (talk · scripts) 16:28, 4 July 2010 (UTC)
- Indeed. On the other hand, I figured that people are quite likely to notice that HTML attribute values are double-quoted (and hence need single-quoting or escaping), because they stand out from the text, whereas it is easy to fail to notice that a sentence contains an apostrophe somewhere within it. For what it's worth, I did add a note about quote escaping, in the comment block half-way down. Maybe the comment block should be moved to the top, although inevitably it won't always get read, no matter how hard we try! — Richardguk (talk) 06:51, 4 July 2010 (UTC)
{{Editnotices/Page/MediaWiki:Geonotice.js}}
- It would definitely make sense to add a reminder to this about quote escaping.
- Re whether single or double quotes are better for primary delimeters:
- Since my previous reply, it occurred to me that some of the HTML is probably pasted in from the HTML source code of Wikipedia:Geonotice#Requests, which uses double quotes for attributes and so would add support to the case for single quotes for javascript strings. But I still think that it is very hard for humans to notice apostrophes which can occur at unpredictable positions in ordinary text. Double-quoted HTML attributes are more common in the geonotices, but I think it's
<a href="http://en.wikipedia.org/wiki/MediaWiki_talk:Geonotice.js">
much</a>
easier to find them at a glance.
- Since my previous reply, it occurred to me that some of the HTML is probably pasted in from the HTML source code of Wikipedia:Geonotice#Requests, which uses double quotes for attributes and so would add support to the case for single quotes for javascript strings. But I still think that it is very hard for humans to notice apostrophes which can occur at unpredictable positions in ordinary text. Double-quoted HTML attributes are more common in the geonotices, but I think it's
- — Richardguk (talk) 19:49, 4 July 2010 (UTC)
Boston geonotice broken
The link needs to be an HTML href, not a wikilink. This bug affects Wikipedia editors in Massachusetts. Emw (talk) 23:40, 4 August 2010 (UTC)
- Should be working now.--Pharos (talk) 00:08, 5 August 2010 (UTC)
JS error
Sometimes when I'm debugging my scripts, I see some JS errors coming from this page. Specifically, "notice.corners is undefined" on line 61, every time I go to my watchlist. I don't have time to debug this fully, so can we at least add an extra check to the code so that this error stops popping up?
Find:
var notice = notices[id];
Below it, add the following:
if (!notice || !notice.corners) break;
That should just make the script extra sure that both those variables are set before continuing; otherwise, it will stop it from executing. Gary King (talk · scripts) 21:26, 11 August 2010 (UTC)
- Done — Martin (MSGJ · talk) 08:35, 12 August 2010 (UTC)
{{editprotect}}
- Ah, my apologies; it should be:
if (!notice || !notice.corners) continue;
- Which instead of breaking out of the loop if it can't find either variable, will move on to the next item in the array. It shouldn't change anything since if there's a problem with notice.corners with one item in the array, then it will probably be the same for the remaining items. But, just in case. Gary King (talk · scripts) 15:34, 12 August 2010 (UTC)
- Done — Martin (MSGJ · talk) 17:52, 12 August 2010 (UTC)
- Which instead of breaking out of the loop if it can't find either variable, will move on to the next item in the array. It shouldn't change anything since if there's a problem with notice.corners with one item in the array, then it will probably be the same for the remaining items. But, just in case. Gary King (talk · scripts) 15:34, 12 August 2010 (UTC)
Table of coordinate rectangles
We should probably develop some sort of copypaste-able table of coordinate rectangles, with standardized rectangles for different cities/regions/countries. This should make it a lot easier for admins to add new notices, without having to research the longitudes and latitudes each time.--Pharos (talk) 19:21, 15 September 2010 (UTC)
Error in IE8
Internet Explorer 8 doesn't like the extra comma in "IndianaBackstagePass". So this:
IndianaBackstagePass: { begin : '30 September 2010 00:00 UTC', end: '5 November 2010 00:00 UTC', corners: [ [43,-91], [38,-80] ], text: 'You are invited to the <a href="http://en.wikipedia.org/wiki/Wikipedia:GLAM/TCMI/BackstagePass">Children\'s Museum of Indianapolis Backstage Pass event</a> on Friday, November 5. Go behind the scenes in the largest children\'s museum in the world!' },
should probably look like this:
IndianaBackstagePass: { begin : '30 September 2010 00:00 UTC', end: '5 November 2010 00:00 UTC', corners: [ [43,-91], [38,-80] ], text: 'You are invited to the <a href="http://en.wikipedia.org/wiki/Wikipedia:GLAM/TCMI/BackstagePass">Children\'s Museum of Indianapolis Backstage Pass event</a> on Friday, November 5. Go behind the scenes in the largest children\'s museum in the world!' }
Please make geonotice hideable in CSS
One of the current geonotices triggered for me this evening, for the first time since I started editing, and the only practical consequence is that I now never wish to see geonotices again. Wikipedia:Geonotice#Technical_details implies that geonotices should be wrapped in a <div id="WN_GEON" >
, and thus should be hideable, but the notices generated here don't actually use that id. Please either match the behavior documented at the link or provide an alternate method to hide the geonotice. If it isn't feasible to wrap the geonotice in an extra div for some reason, a really hacky workaround would be to ensure that the dynamically generated ids begin with the string "geonotice-" instead of just "geonotice"; then it's possible to block them all with one rule, at least on compliant browsers. The extra div would be preferable, though. — Gavia immer (talk) 08:48, 27 November 2010 (UTC)
- Added a .geonotice class and updated the documentation. Should work just fine this way. —TheDJ (talk • contribs) 12:51, 27 November 2010 (UTC)
- Thanks for getting to it so quickly. — Gavia immer (talk) 19:06, 27 November 2010 (UTC)
Link for Miami meetup goes to wrong place
See this diff: [1]. The link should go to Wikipedia:Meetup/Miami 4. PleaseStand (talk) 22:30, 9 December 2010 (UTC)
- Fixed.--Pharos (talk) 22:38, 9 December 2010 (UTC)
Great American Wiknic showing up in British Library...
I'm currently inside the British Library editing from ip 149.5.64.141 - and getting a notice about the Great American Wiknic. I have had a look at the coords for that notice and it appears to be set up correctly - so is this a geolocation problem? could someone cross-check? Can we update the list of geolocations anywhere? The Land (talk) 10:25, 24 June 2011 (UTC)
Unsecure links
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi!
Could someone change those hardcoded http links to use wikiGetlink? Example:
text: 'Join Baltimore Heritage and Wikimedians for a' +
' <a href="' + mw.util.wikiGetlink( 'Wikipedia:Meetup/Baltimore 1' ) +
'">meetup</a> on July 23 at the Walters Art Museum and learn more about GLAM Wiki partnerships!'
Helder 18:38, 23 July 2011 (UTC)
- Can we go the extra distance introduce [[basic wikilinking]]?
— Dispenser 18:56, 23 July 2011 (UTC)notice.text.replace(/\[\[([^{|}[\]\n]+)\|(.*?)\]\]/g, geowikilinker)
- @Dispenser Did you test that ? Didn't really work for me for some reason ? —TheDJ (talk • contribs) 21:22, 1 August 2011 (UTC)
- This should work:
- @Dispenser Did you test that ? Didn't really work for me for some reason ? —TheDJ (talk • contribs) 21:22, 1 August 2011 (UTC)
var text = "Testing [[a simple link]] and [[a link|with custom text]].";
var result = text.replace( /\[\[([^{|}[\]\n]+)(?:\|(.*?))?\]\]/g, function(str, page, text) {
text = text || page;
return '<a href="' + mw.util.wikiGetlink( page ) + '" title="' + mw.html.escape( page ) + '">' + text + '</a>';
});
- Helder 12:52, 2 August 2011 (UTC)
- I've added a tooltip to your code. Can we get rid of the <font> and <i> tags, too? — Dispenser 22:01, 3 August 2011 (UTC)
- I don't feel much like going through the entire text again to make changes; could you perhaps make a MediaWiki talk:Geonotice.js/sandbox to prepare any changes? Ucucha 00:08, 5 August 2011 (UTC)
- I've added a tooltip to your code. Can we get rid of the <font> and <i> tags, too? — Dispenser 22:01, 3 August 2011 (UTC)
- Helder 12:52, 2 August 2011 (UTC)
- I've now applied Helder's change; we can do Dispenser's too if we can get that to work. Ucucha 22:06, 1 August 2011 (UTC)
- There is a small syntax error in the text of "AmbassadorsSpokane"
mw.util.wikiGetlink( 'User_talk:Tomcloyd)' . '">leave a message here</a> to begin the process.'
- should be
mw.util.wikiGetlink( 'User_talk:Tomcloyd' ) + '">leave a message here</a> to begin the process.'
- Helder 12:38, 2 August 2011 (UTC)
- Fixed. I write too much PHP. Ucucha 12:44, 2 August 2011 (UTC)
- There is a small syntax error in the text of "AmbassadorsSpokane"
Does this still need an editprot notice? Also, would it be possible to do something like <a href="/wiki/m:foo
for links to get to meta? Instead of using the (current) non-secure full URL to a meta page. Killiondude (talk) 16:58, 11 August 2011 (UTC)
- I fixed the links to use mw.util.wikiGetlink. The solution you provide won't work; it'll link to pages like https://secure.wikimedia.org/wiki/The_Children%27s_Museum_of_Indianapolis . The editprotected is to include a basic wikilinker in the code; I don't feel comfortable implementing that until I have more time to check it. Ucucha (talk) 17:09, 11 August 2011 (UTC)
- Ah. Thanks for the quick response. One thing I just noticed, however, is that the new linking method broke the links for each listing in para's toolserver tool (linked in the notice at the top of the page). Not a huge issue though. Killiondude (talk) 17:21, 11 August 2011 (UTC)
- That's something for that tool's author to fix, I'd think. I believe it may also have broken on /wiki-type URLs, incidentally. Ucucha (talk) 17:26, 11 August 2011 (UTC)
- Could you review and try to do these updates to the script? The new version includes the wikilinker, removes the <font> and <i> tags, and uses CSS for formatting the elements. Helder 19:51, 11 August 2011 (UTC)
- It looks good to me (although my JavaScript skills are limited); I've applied the changes. Ucucha (talk) 20:41, 11 August 2011 (UTC)
- Ah. Thanks for the quick response. One thing I just noticed, however, is that the new linking method broke the links for each listing in para's toolserver tool (linked in the notice at the top of the page). Not a huge issue though. Killiondude (talk) 17:21, 11 August 2011 (UTC)
Error
{{editprotected}}'AmbassadorsJMU' contains a syntax error: the line
corners: [ [38.45,--79.3], [38.8,-78.2] ],
should be
corners: [ [38.45,-79.3], [38.8,-78.2] ],
Thanks. --R'n'B (call me Russ) 19:39, 26 July 2011 (UTC)
- Done & thanks Skier Dude (talk) 21:29, 26 July 2011 (UTC)
- Don't thank me, thank Firebug. :-) R'n'B (call me Russ) 21:47, 26 July 2011 (UTC)
Montreal geonotice
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
A Wikimedian from near Montreal is complaining that the first geonotice (Wikipedia Takes Montreal) is broken for them; it is reading "You are invited to hide]" for them. The second notice (Wikipedia Loves Libraries local events) is working just fine apparently. Could someone take a look at the code? NW (Talk) 01:32, 27 August 2011 (UTC)
- I can't even see that this page produces a sentence "You are invited to hide". And I can't see anything obviously wrong with the code. Perhaps try VPT? — Martin (MSGJ · talk) 20:06, 29 August 2011 (UTC)
- I think it is caused by this. See also this request. Helder 22:33, 29 August 2011 (UTC)
WikiLounge Notice
Is not showing up on my watchlist even though the WMUK grants scheme is. Any idea why? I used the same co-ordinates. PanydThe muffin is not subtle 02:44, 19 October 2011 (UTC)
JS errors
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
JS error caused by this edit. Please remove the line break after text: '
— AlexSm 21:48, 27 October 2011 (UTC)
Again: out of place exclamation sign at Madlabs, Manchester'!
added today. — AlexSm 21:50, 1 November 2011 (UTC)
Revert edit to wikilink
Please revert this edit. Other sites such as the English Wikisource import geonotices from the English Wikipedia. This is why Dominic changed the link in the previous edit. There's absolutely nothing wrong with using w:en:Wikipedia:Meetup/DC 25 syntax. It works here and it'll work on other sites that import the notices from here. --MZMcBride (talk) 02:33, 2 November 2011 (UTC)
- Done hare j 02:50, 2 November 2011 (UTC)
- w:en:Wikipedia:Meetup/DC 25 in the script makes it http://en.wikipedia.org/wiki/w:en:Wikipedia:Meetup/DC_25 which is a bad title and broken link. However it's done needs to work on both English Wikipedia, along with other places that use these. --Aude (talk) 03:40, 2 November 2011 (UTC)
- Aye. Sorry about that. It fixed Wikisource (again), but broke Wikipedia. :-( I'm not sure why http://en.wikipedia.org/wiki/w:en:Foo is a broken title, but there are two options:
- switch to <a href="//en.wikipedia.org"> syntax
- use meta:w:en:Wikipedia:Meetup/DC 25 syntax
- Either should be fine. --MZMcBride (talk) 03:52, 2 November 2011 (UTC)
- Okay, I tried option 2. Hope it works everywhere now. --Aude (talk) 04:01, 2 November 2011 (UTC)
- Aye. Sorry about that. It fixed Wikisource (again), but broke Wikipedia. :-( I'm not sure why http://en.wikipedia.org/wiki/w:en:Foo is a broken title, but there are two options:
- w:en:Wikipedia:Meetup/DC 25 in the script makes it http://en.wikipedia.org/wiki/w:en:Wikipedia:Meetup/DC_25 which is a bad title and broken link. However it's done needs to work on both English Wikipedia, along with other places that use these. --Aude (talk) 03:40, 2 November 2011 (UTC)
Ontario
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Got one for Ontario, but it'll take so many coordinates that I'm afraid my guesstimates will be pretty useless. We'd like to send this message out to Ontario:
- Are you interested in encouraging more university professors to use Wikipedia as a teaching tool? Do you enjoy leading, coordinating, and organizing teams? If so, we want you! We are now recruiting for a Wikipedia Regional Ambassador to Ontario. <a href="http://outreach.wikimedia.org/wiki/Regional_Ambassadors/Apply">Click here for more details.</a>
Thanks, Bob the WikipediaN (talk • contribs) 02:57, 16 December 2011 (UTC)
- Already done Went ahead and did this; it's a sloppy three-box job, but it's better than a single box. Bob the WikipediaN (talk • contribs) 01:26, 23 December 2011 (UTC)
Wikimedia UK communications job
I was asked if I would consider putting up a Geonotice (covering the UK) to solicit applications from within the community for the "Communications Organiser" position, for which they are currently advertising. While I am not privy to the details of who has applied for jobs with the chapter (and nor should I be), I am told that the number of applications for the "Events Organiser" position that came from Wikimedians was lower than was hoped for. I was reluctant, because there was controversy some months back when the WMUK board posted a Geonotice to advertise the Chief Executive position, so I said I'm raising it for discussion here before I do anything. Applications close on 10 February (a little under two weeks away), so if the notice is to go up, ideally it would go up within the next few days. Input on a Geonotice for this job, or suggestions for alternative ways of achieving similar exposure would be appreciated. HJ Mitchell | Penny for your thoughts? 23:26, 29 January 2012 (UTC)
- To clarify, we had no Wikimedian applicants out of 61 applicants for the job. We at the Chapter want Wikimedians to apply (or at least people with experience of the projects). The Cavalry (Message me) 17:15, 30 January 2012 (UTC)
- (page history stalker) I think WP:Geonotices is the place for discussion about whether to put up particular geonotices. Anyway, HJ I think you've made the right decision putting the notice yourself. Deryck C. 00:38, 6 February 2012 (UTC)
microformat
We can easily add (switchable) hCalendar microformats to these notices, so that if they are about dated events, they would be downloadable as iCal files for adding to people's calendars. this would be best done by calling {{Start date}} from within the text description. Is that possible? if not, there's still a work-around we could use. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:17, 2 March 2012 (UTC)
strong?
Thanks to this edit, I am seeing <strong>Liverpool</strong> and such like at the top of my watchlist - the "strong" tags are showing as text. This is with Firefox 7.0.1 and Windows 7. -- John of Reading (talk) 18:50, 22 March 2012 (UTC)
- If you want to allow using HTML inside links, you should use
new mw.html.Raw(text)
instead of justtext
as the last parameter tomw.html.element()
:
function geoWikiLinker (str, page, text) {
text = text || page;
return mw.html.element(
'a', {
href: mw.util.wikiGetlink( page ),
title: page
}, new mw.html.Raw (text)
);
}
Google Maps test not working
The link to Google Maps throws an error stating the toolserver link is invalid. Bob the WikipediaN (talk • contribs) 20:50, 19 April 2012 (UTC)
- I'm not sure that I understand this issue/question. There shouldn't be any links from this page to Google Maps... (if anything, we should be linking to the toolserver page that gives links to many different services - or even better, simply linking to OpenStreetMaps...) Mike Peel (talk) 21:12, 19 April 2012 (UTC)
- Mike, it's in the notice box at the top of this talk page. Bob, it's working for me. Killiondude (talk) 23:33, 19 April 2012 (UTC)
Edit request
{{edit protected}}
RegionalAmbassadors:
{
begin: '22 June 2012 00:00 UTC',
end: '1 July 2012 23:59 UTC',
corners: [ [17,-50], [72,-168] ],
text: 'The Wikipedia Education Program in the United States and Canada has opened its application process for Regional Ambassadors for the Fall 2012 term. [[:outreach:Regional_Ambassadors/About|Check out the role]], and apply today!'
},
Thanks, Rob SchnautZ (WMF) (talk • contribs) 17:01, 22 June 2012 (UTC)
- Done & culled the list a bit :) Skier Dude (talk) 00:56, 24 June 2012 (UTC)
Suggestion - wikilink to this page
See this discussion. --Lexein (talk) 00:54, 3 July 2012 (UTC)
Typo fix
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
text: 'You are invited to a photo scavenger hunt and several meetups throughout the month of September, as part of Wiki Loves Monuments. Go [[Wikipedia:Meetup/Wiki Loves Monuments Photo Drive|here]] for more information!.'
Hi. The current version of this page contains a typo. "!." at the end of the line is wrong (it should just be "!"). Thanks! --MZMcBride (talk) 20:41, 29 August 2012 (UTC)
- Done, thanks. Amalthea 20:50, 29 August 2012 (UTC)
Excessive UK notices
This evening, there's so much stuff in massive print on my watchlost that I have to scroll down to see a single line of my actual watchlist material. Please don't do that. Could you decide what material is truly essential for such valuable real estate? --Dweller (talk) 20:29, 20 October 2012 (UTC)
- I've hacked it down slightly and another user has removed one item. Just so it's clear, this is what it said when I first logged on this evening:
- You are invited to an editathon at the British Library, focusing on Central Asian archaeology, running from 23rd to 26th October. All welcome, for one day or for several! [hide]
- Interested in having a chat with fellow Wikipedians over lunch or a drink? There are upcoming meetups in Manchester, 20 October; Coventry, 21 October; Cambridge, 28 October; Oxford, 4 November; Reading, 18 November; and Liverpool, 24 November! [hide]
- You are invited to an exclusive backstage pass, with free access to Royal Birmingham Society of Artists' archives, 4 November. [hide]
- Wikimedia UK is funding a two-day course for contributors interested in training others to use Wikimedia projects, in London on 27-28 October. Details and a signup sheet here. [hide]'
Cheers, --Dweller (talk) 20:57, 20 October 2012 (UTC)
- It seems to me that this may be a question best addressed in policy. When do we want to advertise chapter events using the wikis, and when don't we? What other tools are available to us? Since, according to the map, the entirety of England is covered by this, why wasn't Centralnotice used? Philippe Beaudette, Wikimedia Foundation (talk) 20:18, 26 October 2012 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Liverpool can be removed from the UK notice now. Peter James (talk) 00:08, 25 November 2012 (UTC)
- Done I also added in London 64, since that's earlier than Coventry 5. --Redrose64 (talk) 10:38, 25 November 2012 (UTC)
Current notice link hard to see - accessibility issue. Plus, can't find it in the four usual places
Moved from WT:Watchlist notices per suggestion --Lexein
Where is the current watchlist notice "New to Wikipedia, or looking to meet fellow Wikipedians? Join the California League of Women Voters for a Wikipedia Edit-a-Thon in Oakland on Saturday, December 15" coming from? Not one of the four bolded places listed on this main page....(it's here!) --Lexein- In the font used (very low density), the link for "Wikipedia Edit-a-thon" is quite subtle, meaning faint. The main text is styled light grey, and the link is styled light blue. The link should possibly be bolded, or in a contrasting color, or underlined, or have an arrow. This is an accessibility issue. --Lexein (talk) 15:07, 4 December 2012 (UTC)
- For number one, you want MediaWiki:Geonotice.js. For the accessibility stuff, it might be best to talk about it on MediaWiki talk:Geonotice.js, or you could just post a note there about this discussion. I think it would be worth adding the Geonotice to the list of notices as well - it's better to have them all in one place. — Mr. Stradivarius (have a chat) 15:20, 4 December 2012 (UTC)
- My understanding is that this is usually rendered as normal albeit italicised wikitext (I don't have a currently displaying watchlist notice to check); do other italicised links (like this one) display in the same subtle way for you? The notices generally avoid bolding for emphasis and rely instead on just using a single link to avoid misdirection. Andrew Gray (talk) 18:52, 4 December 2012 (UTC)
- I don't think it's italicised; I think it's boldface. To see which messages are currently active, follow the link in the box at the top of Wikipedia:Geonotice#Currently running. That link shows a world map, superimposed on that are boxes showing where the Geonotices will be displayed. --Redrose64 (talk) 20:13, 4 December 2012 (UTC)
- Home now and it's reappeared - I'd cleared the cookie at work ;-). Yes, I see what you mean, though the blue/grey looks fairly contrasty to me personally. Perhaps we should just drop the grey text styling and revert it to normal formatting? Andrew Gray (talk) 21:36, 4 December 2012 (UTC)
- (Sorry for the misplaced comment.) I've boldly added Geonotice to Template:MW notices and WP:Watchlist notices (count). Andrew - yes, I'd like closer to normal formatting, in color anyway: default black/blue, modified by skins, I imagine. --Lexein (talk) 01:51, 5 December 2012 (UTC)
- Home now and it's reappeared - I'd cleared the cookie at work ;-). Yes, I see what you mean, though the blue/grey looks fairly contrasty to me personally. Perhaps we should just drop the grey text styling and revert it to normal formatting? Andrew Gray (talk) 21:36, 4 December 2012 (UTC)
- I don't think it's italicised; I think it's boldface. To see which messages are currently active, follow the link in the box at the top of Wikipedia:Geonotice#Currently running. That link shows a world map, superimposed on that are boxes showing where the Geonotices will be displayed. --Redrose64 (talk) 20:13, 4 December 2012 (UTC)
- My understanding is that this is usually rendered as normal albeit italicised wikitext (I don't have a currently displaying watchlist notice to check); do other italicised links (like this one) display in the same subtle way for you? The notices generally avoid bolding for emphasis and rely instead on just using a single link to avoid misdirection. Andrew Gray (talk) 18:52, 4 December 2012 (UTC)
- For number one, you want MediaWiki:Geonotice.js. For the accessibility stuff, it might be best to talk about it on MediaWiki talk:Geonotice.js, or you could just post a note there about this discussion. I think it would be worth adding the Geonotice to the list of notices as well - it's better to have them all in one place. — Mr. Stradivarius (have a chat) 15:20, 4 December 2012 (UTC)
It's classed as div class="geonotice plainlinks". However, I can't see this defined in common.css or vector.css. Any idea where we'd have to go? Andrew Gray (talk) 09:55, 5 December 2012 (UTC)
- The "plainlinks" class is in the default style sheet "load.php" and is quite simple:
.plainlinks a{
background:none !important;
padding:0 !important
}
- I don't think that the "geonotice" class is defined at all. There are many classes with no explicit styling, they are present so that users can add their own styling should they so desire. For example, some people don't like being shown the geonotices, so by adding one line
.geonotice { display: none; }
- to their Special:MyPage/common.css the notice is permanently hidden. --Redrose64 (talk) 15:01, 5 December 2012 (UTC)
- Update: I did a quick survey of the GeoNotice text in all my browsers (Windows):
- Opera, Chrome, IE8, and Safari, seems bolded, so the colors have enough visual weight to be easily distinguished.
- Firefox: unbolded. The font looks very slender and low density, which was the basis of my initial concern.
- Is this purely a Firefox idiosyncrasy? Or a CSS syntax non-portability issue? --Lexein (talk) 14:34, 7 December 2012 (UTC)
- I have Firefox 17, but last time I saw a new Geonotice, I think it was bold. I would check it again; but without waiting for a new Geonotice for my area (UK) to be added, I need to zap the cookie for the current UKDecMeetups geonotice, so that it redisplays. However, I can't find where in Firefox I could manage cookies. It does, or did, exist: I came across it one time when I still had Firefox 3.6.23 (or something like that), last April; but don't remember where. --Redrose64 (talk) 15:26, 7 December 2012 (UTC)
- If you set Firefox to "private browsing" (under tools) it'll temporarily suspend your cookies for the duration of that session - you can then log in again and check the watchlist. Andrew Gray (talk) 15:41, 7 December 2012 (UTC)
- Thanks; I found that if I went to Tools → Options → Privacy → History, and at "Firefox will:" I selected "Use custom settings for history", that produced a button Show cookies. There were hundreds in there; under en.wikipedia.org I found several whose names began "hidegeonoticeUK" (most of which had apparently expired). I removed all of those, and now I get the geonotice for UKDecMeetups. It has the following appearance: Interested in having a chat with fellow Wikipedians? There are forthcoming meetups in: London, 9 December; and Coventry, 16 December! There is no bolding - what appears to be boldface is an illusion caused by the large font size. --Redrose64 (talk) 17:09, 7 December 2012 (UTC)
- Sorry for any confusion: above, I do say that Firefox showed text "unbolded", as in your example, a "light" appearing sans-serif, as opposed to "normal" thickness. Here are some screenshots, which, at full resolution show what I'm babbling about. Hardly matters. I'm running away. --Lexein (talk) 21:40, 7 December 2012 (UTC)
- Thanks; I found that if I went to Tools → Options → Privacy → History, and at "Firefox will:" I selected "Use custom settings for history", that produced a button Show cookies. There were hundreds in there; under en.wikipedia.org I found several whose names began "hidegeonoticeUK" (most of which had apparently expired). I removed all of those, and now I get the geonotice for UKDecMeetups. It has the following appearance: Interested in having a chat with fellow Wikipedians? There are forthcoming meetups in: London, 9 December; and Coventry, 16 December! There is no bolding - what appears to be boldface is an illusion caused by the large font size. --Redrose64 (talk) 17:09, 7 December 2012 (UTC)
- If you set Firefox to "private browsing" (under tools) it'll temporarily suspend your cookies for the duration of that session - you can then log in again and check the watchlist. Andrew Gray (talk) 15:41, 7 December 2012 (UTC)
- I have Firefox 17, but last time I saw a new Geonotice, I think it was bold. I would check it again; but without waiting for a new Geonotice for my area (UK) to be added, I need to zap the cookie for the current UKDecMeetups geonotice, so that it redisplays. However, I can't find where in Firefox I could manage cookies. It does, or did, exist: I came across it one time when I still had Firefox 3.6.23 (or something like that), last April; but don't remember where. --Redrose64 (talk) 15:26, 7 December 2012 (UTC)
- Update: I did a quick survey of the GeoNotice text in all my browsers (Windows):
- I seem to recall that font color was initially changed to accommodate users with a green-on-black display (not kidding!) This seems to be like such a rare and arbitrary case, that it would be far preferable to go back to ordinary black font bolding. I've been going through the edit history, trying to discover when the change was made, but I don't really have the relevant MediWiki wisdom; my best guess is maybe it has something to do with this November 2010 edit by User:TheDJ.--Pharos (talk) 14:04, 25 April 2013 (UTC)
- Made some tweaks so that it's a child of a different element that makes more sense. (and now it's black by default, was inheriting grey from the old parent element) Some of the styles in geonotice.js itself maybe need tweaking. I changed the corners so that the notice covers the whole world for testing. Go to your watchlist and open the JS console (ctrl-shift-k in firefox) and execute importScript('User:Jeremyb/geonotice.js') to test. --Jeremyb (talk) 15:15, 25 April 2013 (UTC)
- The 27 November 2010 edit mentioned by Pharos has nothing to do with it: as I mentioned earlier, the
geonotice
class is undefined. The grey text is caused by the stylingcolor:#8d8d8d;
which is part of the<div id="contentSub">...</div>
which encloses the text "For your username (View relevant changes | View and edit watchlist | Edit raw watchlist)" and also includes the geonotices, which are injected into that<div>...</div>
by javascript - the clue is in MediaWiki:Geonotice.js where we findIf you look carefully at your watchlist, you'll see that the text "For your username" is also in a medium grey like this. --Redrose64 (talk) 16:53, 25 April 2013 (UTC)insertsub = document.getElementById('contentSub');
- Did you read my tweaks? :) Pharos tested it and liked it. (on #wikimedia) --Jeremyb (talk) 17:21, 25 April 2013 (UTC)
- I started preparing my text some time before I posted it; at the time, you had not made your post, so I'm sorry, but I didn't read it thoroughly. --Redrose64 (talk) 18:16, 25 April 2013 (UTC)
- np but you should still look when you get a chance. --Jeremyb (talk) 18:19, 25 April 2013 (UTC)
- There were a few more iterations after the last comment here and then Pharos deployed. Opinions on the new version? --Jeremyb (talk) 04:20, 26 April 2013 (UTC)
- See #Font is too large below. --Redrose64 (talk) 11:25, 26 April 2013 (UTC)
- There were a few more iterations after the last comment here and then Pharos deployed. Opinions on the new version? --Jeremyb (talk) 04:20, 26 April 2013 (UTC)
- np but you should still look when you get a chance. --Jeremyb (talk) 18:19, 25 April 2013 (UTC)
- I started preparing my text some time before I posted it; at the time, you had not made your post, so I'm sorry, but I didn't read it thoroughly. --Redrose64 (talk) 18:16, 25 April 2013 (UTC)
- Did you read my tweaks? :) Pharos tested it and liked it. (on #wikimedia) --Jeremyb (talk) 17:21, 25 April 2013 (UTC)
- The 27 November 2010 edit mentioned by Pharos has nothing to do with it: as I mentioned earlier, the
- Made some tweaks so that it's a child of a different element that makes more sense. (and now it's black by default, was inheriting grey from the old parent element) Some of the styles in geonotice.js itself maybe need tweaking. I changed the corners so that the notice covers the whole world for testing. Go to your watchlist and open the JS console (ctrl-shift-k in firefox) and execute importScript('User:Jeremyb/geonotice.js') to test. --Jeremyb (talk) 15:15, 25 April 2013 (UTC)
- I've noticed over the last month that the number of people signing up for meetups has dropped. This may be because they're not seeing the geonotices; I have found that although the geonotice was formerly outside the
id=watchlist-message
, it is now inside it, so anybody withhas not been seeing the geonotices. --Redrose64 (talk) 11:10, 27 May 2013 (UTC)#watchlist-message { display: none; }
"Friday, March 23"
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please fix the D.C. event. "Friday, March 23" doesn't exist this year. --MZMcBride (talk) 23:36, 21 March 2013 (UTC)
- Thanks. Amalthea 03:05, 22 March 2013 (UTC)
Font is too large
This morning I have a long watchlist notice advertising the Brighton/Oxford/etc meetups. The font is much larger than yesterday, about the same size as a level one heading. Shouldn't it be the same font size as the other text at the top of the watchlist, for example the text "Below are the last <N> changes"? -- John of Reading (talk) 06:34, 26 April 2013 (UTC)
- Definitely agree. Moving these closer to the other watchlist messages is fine, but the size now is overpowering. Andrew Gray (talk) 09:34, 26 April 2013 (UTC)
Essentially it's lost a font-size:84%;color:rgb(125,125,125);
styling so instead of this:
- Geonotice text
we get this:
- Geonotice text
this occurred as part of the changes at the end of #Current notice link hard to see - accessibility issue. Plus, can't find it in the four usual places above. --Redrose64 (talk) 11:23, 26 April 2013 (UTC)
- Definitely needs to drop at least a couple of points, I think. Even the same size as the non-targeted notices might work. Andrew Gray (talk) 11:48, 26 April 2013 (UTC)
- Having determined 170% of 84% is 144.5%:
- Definitely needs to drop at least a couple of points, I think. Even the same size as the non-targeted notices might work. Andrew Gray (talk) 11:48, 26 April 2013 (UTC)
- Geonotice text
- I've accordingly set the styling so that it's back to the previous size, but retaining the black. --Redrose64 (talk) 16:22, 26 April 2013 (UTC)
- First time I got a geonotice ... why is this not the same size as other notices? I at first thought this was a mistake ... Amalthea 23:22, 16 April 2014 (UTC)
Great American Wiknic
The catchment area for this notice is far too large: I'm well into Canada and I really don't appreciate getting geonotices that don't even come close to applying to me. Please narrow this range, perhaps to a 200 mile radius for each of the relevant cities. And shorten the timespan - two weeks before the event is more than sufficient. My watchlist is cluttered enough as it is. Risker (talk) 03:59, 28 May 2013 (UTC)
- This amendment does not work as intended. Only the first pair of corners is processed, so a single rectangle is drawn, which is entirely west of Columbus, Ohio. --Redrose64 (talk) 10:23, 28 May 2013 (UTC)
- I have added functionality to geonotice to allow per-country geonotices. (country: 'US') geonotices with bounding boxes can still be used for areas smaller than an entire country. Canadians should not see the geonotice now. :) --Aude (talk) 20:13, 28 May 2013 (UTC)
- Thank you, Aude! Risker (talk) 01:03, 29 May 2013 (UTC)
- I notice that following this change (which looks great at Google Maps), that when hovering over the 'hide' link in the watchlist, the cursor is the text-insert cusor, not the pointing-finger that is usually associated with a link. --Redrose64 (talk) 18:58, 29 May 2013 (UTC)
- Fixed that. Cheers. --Aude (talk) 19:22, 31 May 2013 (UTC)
- Thank you --Redrose64 (talk) 22:38, 31 May 2013 (UTC)
- Fixed that. Cheers. --Aude (talk) 19:22, 31 May 2013 (UTC)
- I notice that following this change (which looks great at Google Maps), that when hovering over the 'hide' link in the watchlist, the cursor is the text-insert cusor, not the pointing-finger that is usually associated with a link. --Redrose64 (talk) 18:58, 29 May 2013 (UTC)
- Thank you, Aude! Risker (talk) 01:03, 29 May 2013 (UTC)
- I have added functionality to geonotice to allow per-country geonotices. (country: 'US') geonotices with bounding boxes can still be used for areas smaller than an entire country. Canadians should not see the geonotice now. :) --Aude (talk) 20:13, 28 May 2013 (UTC)
London 71
Yesterday's London meetup is still showing. -- John of Reading (talk) 16:58, 15 July 2013 (UTC)
- Done by RedRose64. -- John of Reading (talk) 19:43, 15 July 2013 (UTC)
Edit request
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
St. Louis' meetup is canceled so this can be removed:
StLouisSep13:
{
begin: '14 September 2013 00:00 UTC',
end: '22 September 2013 00:00 UTC',
corners:[ [38, -89.5] , [39.2, -90.9] ],
text: "You\'re invited to [[Wikipedia:Wikipedia Takes St. Louis 2013|Wikipedia Takes St. Louis]], a photo scavenger hunt on Saturday, September 21, 2013 at 12:30pm at the Historical Society of University City."
},
Marcus Qwertyus (talk) 19:42, 17 September 2013 (UTC)
- Not done for now: There's nothing at Wikipedia:Wikipedia Takes St. Louis 2013 to suggest that it's cancelled. --Redrose64 (talk) 21:04, 17 September 2013 (UTC)
JS is broken
The JS is broken again, but I don't have time to troubleshoot at the moment. Can someone fix it? The JS error is "notice.corners[0] is undefined". Kaldari (talk) 00:03, 16 October 2013 (UTC)
- Nevermind. I see the problem. Kaldari (talk) 00:05, 16 October 2013 (UTC)
- Apologies for not spotting that one! Andrew Gray (talk) 00:15, 16 October 2013 (UTC)
- For some reason, I'm still getting the JS error on my watchlist. I wonder if it's just a caching issue though. Kaldari (talk) 00:50, 16 October 2013 (UTC)
- Apologies for not spotting that one! Andrew Gray (talk) 00:15, 16 October 2013 (UTC)
Belfast
@Redrose64: Could Belfast be combined with the other UK meetings? — Martin (MSGJ · talk) 16:58, 31 October 2013 (UTC)
- Only by widening the UK coverage area to include Ireland - at present the western edges are at 9°W (UK) and 11°W (Belfast). --Redrose64 (talk) 17:43, 31 October 2013 (UTC)
Link syntax
Andrew Gray, the script only recognizes the [[wiki|syntax]]
for internal links. External links like the one introduced on Special:Diff/602252568 are not recognized. Helder.wiki 19:29, 2 April 2014 (UTC)
- Helder.wiki Agh, I'd forgotten that! Switched to an a href htmllink now. Andrew Gray (talk) 20:30, 2 April 2014 (UTC)
Request
Since I am unable to edit the page myself, would someone mind updating the current message about Portland's upcoming editathon so that it links to this page? None of the text itself needs to be changed. Any help ASAP would be much appreciated. Thank you! --Another Believer (Talk) 23:13, 17 April 2014 (UTC)
- Done --Redrose64 (talk) 09:06, 18 April 2014 (UTC)
- Again, thank you! --Another Believer (Talk) 14:32, 18 April 2014 (UTC)
WikiIndaba error in coordinates
This seems to be over the South Atlantic Ocean, surely there's a mistake here.--Pharos (talk) 20:22, 8 June 2014 (UTC)
- east/west mismatch! Now fixed, I believe. Andrew Gray (talk) 20:44, 8 June 2014 (UTC)
Protected edit request on 11 July 2014
This edit request to MediaWiki:Geonotice.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace "wikiGetlink" by "getUrl" to stop the warning "Use of "wikiGetlink" is deprecated. Use mw.util.getUrl instead.". Helder.wiki 20:55, 11 July 2014 (UTC)
- Done --Krenair (talk • contribs) 14:27, 15 July 2014 (UTC)
Migrating Geonotice to a gadget
I would like feedback on WP:Village pump (technical)#Migrating Geonotice to a gadget. Helder.wiki 00:21, 27 July 2014 (UTC)
- This is now done. The associated JS/CSS pages can be found at Special:PrefixIndex/MediaWiki:Gadget-geonotice. Helder 13:56, 8 August 2014 (UTC)
Fix typo
In NZNLGLAM14, "sectorare" should be two words. Nurg (talk) 10:43, 4 September 2014 (UTC)
- Done.
-- [[User:Edokter]] {{talk}}
11:05, 4 September 2014 (UTC)
Leeds meetup
Can someone add a link to the next Leeds meetup on the UK banner please? Bazonka (talk) 18:31, 21 November 2014 (UTC)
- Done It was in the queue, but I overlooked it when I took Oxford 22 down. --Redrose64 (talk) 20:36, 21 November 2014 (UTC)
Kansas City 2015
The corners for KansasMar15 seem to be wrong. Also the March 7 event is over. Suggest replacing with the following:
begin : '21 March 2015 00:00 UTC',
end: '28 March 2015 23:59 UTC',
corners: [[41.01, -97.75], [37.50, -91.75]],
text: "Join us on [[Wikipedia:Meetup/Kansas_City/ArtandFeminism_2015|March 28 from 12:00 PM to 4:30 PM at the Kansas City Public Library]] for an [[Wikipedia:Meetup/ArtAndFeminism|Art+Feminism]] meetup as part of Women's History Month!"
gobonobo + c 05:28, 9 March 2015 (UTC)
- Hi Godonobo: the corners are way to small. For instance I am based in Manhattan Ks which would be completely out of that window, and we have gotten interest from people in Wichita in the last couple years: since we are the only editing group forming in the region (as far as I could tell). I try to create corners for anyone within a 2.5 hr drive. If this were on the east coast, that would be throwing the corners way to wide, but our editing community is really small here, and I try to throw them large to identify as many people as possible. As for updating the message! Thanks for removing the Lawrence event: it was on my todo's, but yesterday was a complete loss.... Sadads (talk) 14:01, 9 March 2015 (UTC)
- @Sadads: I didn't mean that it was wrong to have an unusually large geonotice, but that the coordinates are wrong because I'm receiving notice of your event in Minneapolis. The coordinates are supposed to be listed [NW corner, SE corner], but your coordinates ([37.00, -99.82], [41.6073, -90.3924]) seem to be [SW corner, NE corner]. gobonobo + c 16:02, 9 March 2015 (UTC)
- Geolocation is not an exact science, see User:Redrose64#Where am I?. At the moment, I'm apparently at 53°22′00″N 1°30′00″W / 53.366699°N 1.500000°W. --Redrose64 (talk) 18:18, 9 March 2015 (UTC)
- @Sadads: I didn't mean that it was wrong to have an unusually large geonotice, but that the coordinates are wrong because I'm receiving notice of your event in Minneapolis. The coordinates are supposed to be listed [NW corner, SE corner], but your coordinates ([37.00, -99.82], [41.6073, -90.3924]) seem to be [SW corner, NE corner]. gobonobo + c 16:02, 9 March 2015 (UTC)
- Yeah but its not that inexact. Would someone be so kind as to fix the coordinates so that the wrong corners aren't listed (as noted above)? Also, it still says "two upcoming events", but one has already happened. I've adjusted the coordinates from my original suggestion to include Wichita. gobonobo + c 19:45, 9 March 2015 (UTC)
This edit request to MediaWiki:Gadget-geonotice-list.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
- Dear Andrew Gray or OhanaUnited, could you please change the KansasMar15 listing at MediaWiki:Gadget-geonotice-list.js to read as below? Thanks, gobonobo + c 12:59, 12 March 2015 (UTC)
begin : '21 March 2015 00:00 UTC',
end: '28 March 2015 23:59 UTC',
corners: [[41.01, -97.75], [37.50, -91.75]],
text: "Join us on [[Wikipedia:Meetup/Kansas_City/ArtandFeminism_2015|March 28 from 12:00 PM to 4:30 PM at the Kansas City Public Library]] for an [[Wikipedia:Meetup/ArtAndFeminism|Art+Feminism]] meetup as part of Women's History Month!"
- Done I also amended the cookie ID from
KansasMar15
toKansasMar15a
so that it will redisplay, just in case browsers had cached the previous version. --Redrose64 (talk) 15:24, 12 March 2015 (UTC)
Central gadget and i18n
Hi!
I would like to move the i18 message out of MediaWiki:Gadget-geonotice-core.js to e.g. MediaWiki:Gadget-geonotice-list.js (or a separate i18n file if you want), so that the core part of the gadget could be imported from other wikis while still allowing the translation of the link text. See the required changes on test wiki. Helder 11:07, 5 May 2015 (UTC)
- Edokter: could you take a look into this? Helder 20:21, 12 May 2015 (UTC)
- Seems sane, but it also makes sense to leave common UI text central in /core. I don't really know what the best course is here.
-- [[User:Edokter]] {{talk}}
20:25, 12 May 2015 (UTC)- The other option is to follow the pattern I've seen on Wikidata gadgets, where all the languages are stored in the core gadget file (as in our MediaWiki:Gadget-featured-articles-links.js). Helder 02:06, 17 May 2015 (UTC)
- So? Helder 17:29, 25 August 2015 (UTC)
edit request
This edit request to MediaWiki:Gadget-geonotice-list.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
"Pacific" is rendered as "Paciic" for the Wikipedia:Meetup/Wikipedia APA; pretty sure this is a typo! Boomur [☎] 19:26, 28 August 2015 (UTC)
- Done --Redrose64 (talk) 20:40, 28 August 2015 (UTC)
Country-wide notices: US, UK, others
We currently have up a country-wide geonotice in the US for Great American Wiknic. I've noticed that in the past folks have drawn awkward rectangles around the whole UK due to the finnicky natures of IPs there, and I think a country-wide code could work better there as well.--Pharos (talk) 03:06, 29 June 2015 (UTC)
- We did try it a couple of times, but got strange results. When we used the code "gb", one piece of software thought that Gabon was meant; when we used "uk", a different piece of software thought we meant Ukraine. Whichever we used, I wasn't getting the geonotices that I should have received, although I should have done, since my IP address geolocates to a variable point in England. By drawing a box, I never miss them. --Redrose64 (talk) 10:05, 29 June 2015 (UTC)
- Could you try country again and collect more information about false negatives and false positives?
- Visit https://geoiplookup.wikimedia.org and copy either just country and region or the whole thing and then poke us about it with a description of where you really were at the time. (wherever you mention it, give me an echo
{{ping}}
too; you could mail it if you don't want to post it publicly) We could make the core script more flexible to accommodate the new region variable or multiple countries, etc. Thanks --Jeremyb (talk) 16:17, 29 June 2015 (UTC)
My understanding is that the country-wide notices should also work for US states and some other subnational entities; what would sample code for that look like for, say, a geonotice covering all of Texas? @Jeremyb:--Pharos (talk) 12:43, 13 October 2015 (UTC)
Google maps
This appears to have broken the google map for geonotices. Can someone fix this, the google map has historically been a very useful reality check.--Pharos (talk) 19:22, 14 August 2014 (UTC)
- I don't think this is gadget related; the toolserver you link to has been decommisioned a few weeks ago, and all of the tools there are no longer functioning.
-- [[User:Edokter]] {{talk}}
20:00, 14 August 2014 (UTC) - However, http://toolserver.org/~para/ redirects to http://tools.wmflabs.org/para/ripts/, which is maintained by commons:User:Para, I asked him to take a look into this. Helder 20:22, 14 August 2014 (UTC)
- Thanks for the note. It was the move of the list from MediaWiki:Geonotice.js to MediaWiki:Gadget-geonotice-list.js that broke it. Fixed now! --Para (talk) 21:39, 14 August 2014 (UTC)
- Update: this is the link to use now https://tools.wmflabs.org/wp-world/googlmaps-proxy.php?page=https:%2F%2Ftools.wmflabs.org%2Fpara%2Fgeo%2Fgeonotices Thanks @Para:!--Pharos (talk) 19:51, 13 October 2015 (UTC)
- Thanks for the note. It was the move of the list from MediaWiki:Geonotice.js to MediaWiki:Gadget-geonotice-list.js that broke it. Fixed now! --Para (talk) 21:39, 14 August 2014 (UTC)
Fix the broken script
JavaScript parse error: Parse error: Unexpected token; token } expected in file 'MediaWiki:Gadget-geonotice-list.js' on line 43
@Redrose64:. (t) Josve05a (c) 11:24, 2 July 2016 (UTC)
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:4:681 mw.loader.implement.css (eval at ()
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:162:573 Object.()
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:45:122 fire()
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:45:656 Object.add [as done]()
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:46:874 Object.always()
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:162:460 runScript()
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:163:273 checkCssHandles()
/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=4cZqzpE0:163:403 Object.()
- @Josve05a and Redrose64: Should be fixed now, I think. [2] --Deryck C. 11:37, 2 July 2016 (UTC)
- I copied the markup verbatim from Wikipedia:Geonotice#India WikiConference 2016 India as requested by Jim Carter (talk · contribs). I didn't fix it immediately this notice was posted because on Saturdays I go out to work no later than 11:17 (UTC). --Redrose64 (talk) 19:42, 2 July 2016 (UTC)
Bug with HTML characters
Hey all, note the bug we discovered at this conversation about an apostrophe as an encoded HTML character. I updated the documentation, at the implementation page , but it might be something worth trying to fix, since its a core part of the mediawiki. Sadads (talk) 01:39, 2 March 2017 (UTC)
edit request
This edit request to MediaWiki:Gadget-geonotice-list.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please remove London 8th April from the UK list, as a past meetup. ∰Bellezzasolo✡ Discuss 15:12, 10 April 2018 (UTC)
Geonotice for multiple countries
@TheDJ: Is it possible to do a single geonotice covering several countries? For example 'US, CA, MX'?--Pharos (talk) 20:14, 20 August 2018 (UTC)
New site restrictions
@Pharos: and @Redrose64:, you look to be some of the most recent heavy maintainers of this list. While ideally the data could be moved to JSON (see section above and linked phab ticket) that is not ready yet. You likely are unable to edit this list anymore due to the site changes related to Wikipedia:Interface administrators. The discussion at Wikipedia talk:Interface administrators is still in progress for building a request system, but a temporary group of 6 editors have been enabled early, including myself. If you have changes to make, please file an edit request here and we will try to get to them as soon as possible. I will usually check the ER's at least twice a day. Best regards, — xaosflux Talk 11:48, 27 August 2018 (UTC)
- I've started watching as well. ~ Amory (u • t • c) 12:34, 27 August 2018 (UTC)
- Thanks, I have a current request at Wikipedia:Geonotice#Requests.--Pharos (talk) 15:32, 29 August 2018 (UTC)
- I dropped a note at Wikipedia:Geonotice#Wikipedia:Afrocrowd/Asheville. — xaosflux Talk 15:43, 29 August 2018 (UTC)
- Thanks, I have a current request at Wikipedia:Geonotice#Requests.--Pharos (talk) 15:32, 29 August 2018 (UTC)
It's unfortunate that the new Interface Administrator rights have been rolled out without giving existing admins a chance to opt-in (which I campaigned for during the user rights consultation). But what's done is done and the developers have decided to only trust bureaucrats with the decision on whom to give these rights to. Ping me when changes to the Geonotice and Interface Admins procedures are made so I can see how I should contribute. Deryck C. 09:13, 30 August 2018 (UTC)
- @Deryck Chan: sorry this is frustrating, I think the long term fix for geonotices and like pages is phab:T198758, which will make them easier to use for admins as well. If you have the time, any help you can put in to getting this discussion closed would help, as it will allow for access to start getting issued. For an immediate short-term sttopgap, please drop the edit you want made in a section below, and add
{{Edit fully-protected|MediaWiki:Gadget-geonotice-list.js|answered=no}}
and we will get it done for you. Best regards, — xaosflux Talk 11:54, 30 August 2018 (UTC)
The correct short term solution is to give Interface admin rights to everybody who wants to update geonotices until the new technical solution is ready. —Kusma (t·c) 12:00, 30 August 2018 (UTC)
- @Kusma: feel free to propose that at Wikipedia talk:Interface administrators, as soon as the community gives the bureaucrats a mandate of any type we can start processing requests. It could be a full process, it could be authorizing a time-limited process, etc. — xaosflux Talk 13:03, 30 August 2018 (UTC)
- I have unsuccessfully done so already. I think until we have consensus for a new method to determine who can edit these pages, we should stick with the old and tried approach (where any sysop could edit these pages), just implemented by giving the flag out on request. —Kusma (t·c) 13:09, 30 August 2018 (UTC)
- @Xaosflux and Kusma: I agree with Kusma here. In fact, Wikipedia:Interface administrators currently say "Bureaucrats may grant interface administrator access to any current administrator requesting access at the bureaucrat's noticeboard. Requests must remain open for a minimum of 24 hours for community review." Deryck C. 13:24, 30 August 2018 (UTC)
- @Deryck Chan: it is important to not overlook the large banner on that page stating that it is
a proposed Wikipedia policy, guideline, or process
- get it moved past proposed and we can act. — xaosflux Talk 13:35, 30 August 2018 (UTC)
- @Deryck Chan: it is important to not overlook the large banner on that page stating that it is
- @Xaosflux and Kusma: I agree with Kusma here. In fact, Wikipedia:Interface administrators currently say "Bureaucrats may grant interface administrator access to any current administrator requesting access at the bureaucrat's noticeboard. Requests must remain open for a minimum of 24 hours for community review." Deryck C. 13:24, 30 August 2018 (UTC)
- I have unsuccessfully done so already. I think until we have consensus for a new method to determine who can edit these pages, we should stick with the old and tried approach (where any sysop could edit these pages), just implemented by giving the flag out on request. —Kusma (t·c) 13:09, 30 August 2018 (UTC)
Protected edit request on 1 September 2018
This edit request to MediaWiki:Gadget-geonotice-list.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
At some point today, no earlier than 17:00 (UTC), please replace this entry:
UK20180807: /* 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: '6 August 2018 17:00 UTC', /* yesterday's date - amend only if the ID was altered */
end: '1 September 2018 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/Bristol/3|Bristol, 1 September]]!' /* 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 */
},
with this entry:
UK20180901: /* 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: '31 August 2018 17:00 UTC', /* yesterday's date - amend only if the ID was altered */
end: '16 September 2018 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/London/134|London, 9 September]]; and [[m:Meetup/Oxford/65|Oxford, 16 September]]!' /* 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 */
},
Thanks. --Redrose64 🌹 (talk) 09:50, 1 September 2018 (UTC)
- On hold pending "not before" time, feel free to ping me when the time hits. — xaosflux Talk 13:52, 1 September 2018 (UTC)
- Doing... — xaosflux Talk 17:24, 1 September 2018 (UTC)
- Done @Redrose64: this is done. — xaosflux Talk 17:25, 1 September 2018 (UTC)
- Thank you --Redrose64 🌹 (talk) 21:26, 1 September 2018 (UTC)
- Done @Redrose64: this is done. — xaosflux Talk 17:25, 1 September 2018 (UTC)
- Doing... — xaosflux Talk 17:24, 1 September 2018 (UTC)
Oxford is past
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
please amend the string 'Interested in having a chat with fellow Wikipedians? There are forthcoming meetups in: Oxford, 16 September; and Cambridge, 29 September!' to read 'Interested in having a chat with fellow Wikipedians? There is a forthcoming meetup in: Cambridge, 29 September!' leaving everything else alone. --Redrose64 🌹 (talk) 21:39, 16 September 2018 (UTC)