Jump to content

User talk:Lupin: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Phr (talk | contribs)
Navpops RFE
Barnstar
Line 595: Line 595:


I wonder if when showing a diff, Navpops could also be made to show the contributor and edit summary. [[User:Phr|Phr]] ([[User talk:Phr|talk]]) 01:49, 14 August 2006 (UTC)
I wonder if when showing a diff, Navpops could also be made to show the contributor and edit summary. [[User:Phr|Phr]] ([[User talk:Phr|talk]]) 01:49, 14 August 2006 (UTC)

== Barnstar ==

[[Image:Goldenwiki.png|thumb|I award this golden barnstar for [[Wikipedia:Popups|Popups]], which have revolutionised my wiki experience. Thank you ever so much! --[[User:Kingboyk|kingboyk]] 21:24, 14 August 2006 (UTC)]]

Revision as of 21:24, 14 August 2006

Archive: 1 2 3 4 5 6 7 8 9 10

Please add new messages to the bottom of this page. You can do this by using this link.

If you're reporting a problem with a script, please mention which browser you use. You may also like to search on this rather large page to see if your question has already been answered.

I will usually respond on this page.

Minor popups font color request

Can you explicitly specify the black color of the preview text in your code, so that custom skins' font colors aren't used instead? Mine is showing up as light green text on your off-white background. — BRIAN0918 • 2006-06-17 22:30

Should be possible... did you try [this]? Lupin|talk|popups 12:33, 26 June 2006 (UTC)[reply]

Firefox "Unresponsive script"

I upgraded my Firefox browser a few days ago to 1.5.0.4. I'm really not sure which version I had prior to that (I think it was 1.0). Since then I've had some problems with the pop-ups. When the mouse hovers over some links (but not others), I get a "spinning beachball" (i.e., Mac) mouse cursor for a few seconds, followed by an error message:

"Warning: Unresponsive script. A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."

If I click "Stop" it clears up after about a second and I'm on my merry way (for a while). This doesn't happen with every link, just some, and I can't tell why some links set it off and others don't. Again, this is Firefox 1.5.0.4 and I use it on Mac OS X 10.3.9. I use the "classic" Wikipedia skin. Thanks! -- Gyrofrog (talk) 06:37, 18 June 2006 (UTC)[reply]

How fast is your machine? It should be possible to use the script on an older machine, but this is still useful to know. Also, if you can send me urls for links which set off the dialog, I can try to investigate further. Lupin|talk|popups 12:33, 26 June 2006 (UTC)[reply]
Here's such a link, this was in my watchlist and I got the error when I moused over it: Ethiopia#Demographics. Here's another: Rubik's Cube. (Both of these pop-up OK some of the time.) I am using a 266MhZ PowerPC G3, with 320MB RAM. Again, slow as this machine is, I didn't have the problem with the pop-ups until I upgraded Firefox. Thanks, -- Gyrofrog (talk) 03:36, 28 June 2006 (UTC)[reply]
Hm. I find it strange that they sometimes pop up OK, but sometimes don't. Do you mean that they're always slow they first time you mouseover them after a page load but are OK once you've waited for them to load completely and then mouseover them again? Or does it seem more random than that?
For want of a better suggestion, please could you try with all firefox extensions disabled and all other user scripts disabled to see if it still happens? Thanks, Lupin|talk|popups 11:26, 28 June 2006 (UTC)[reply]
  • I have also had this problem often since installing your cool script, on Firefox 1.5.0.4 under Win98. Anytime the mouse winds up over a link or hilited text, there can be a delay (often considerable in the case of a link to a policy talk page or ANI or something with tons of text). Sometimes this winds up with the 'stopped responding' box mentioned above. Also, it's worse for me 'cause I'm in the habit of right-clicking and opening everything in a new tab -- the delay during the hover after i right clicked is often very frustrating. I have set the popupDelay param to 2.5 seconds, I think that should relieve some of it, but it looks like there may be a problem when the script is taking too long to dl data, Firefox gets upset. (May have something to do with multiple tabs open, tho, which also seems to cause some sluggishness in Firefox. I'm running on a 1.7g P4 w/ no extensions, btw.) Just FYI. Eaglizard 08:26, 19 July 2006 (UTC)[reply]
  • I've also encountered this since a recent 1.5.0.4 upgrade. I'm using the Mozdev Prefbar and I thought that might have had something to do with it. It happens quite consistently with User:Kylu/rfa. I'm using a Pentium 3 computer (I think 850 mhz) with 512mb ram, not ultra-fast but still reasonable by today's standards. OS is Fedora Core 4, using the stock kernel. Phr (talk) 03:30, 22 July 2006 (UTC)[reply]
Could you all please try the latest dev version? I've changed things so that previews are generated and data is only downloaded at the very last moment, when the popup appears. (It used to be that whenever you moused over a link, the data was downloaded at once in preparation for the popup, whether or not it would ever be displayed). Let me know if this helps... I still expect that pages with large tables (like User:Kylu/rfa) may be problematic, as may large pages in general. However, unless you wait for the popup to appear, you should no longer get that error. Lupin|talk|popups 03:51, 22 July 2006 (UTC)[reply]

Popups "menu" style display on Opera

Hi Lupin, can you disable the "menu" style display of popups options for Opera, again? I'm typing this from Opera 9 final ("about" page says it's build 8501) and "menu" style popups is once again definitely broken. It was okay from the one public build before beta 2 on, but broke again after build 8473 (3 builds before this final release). Regards, Kimchi.sg 04:05, 21 June 2006 (UTC)[reply]

That's annoying. Will do. Lupin|talk|popups 12:33, 26 June 2006 (UTC)[reply]

Pop-up diff bug

If you open the history of the below articles and use pop-ups to view NawlinWiki's June 20th edits it looks like he removed the entire first paragraph instead of just the first template.

Distributed Reflection Denial of Service

Gymnaslærer Pedersens beretning om den store politiske vekkelsen som har hjemsøkt vårt land

Other than this minor bug, thanks for the great tool! --Pascal666 04:10, 21 June 2006 (UTC)[reply]

Gah, that's bad. I'll investigate when I get the time. Lupin|talk|popups 12:33, 26 June 2006 (UTC)[reply]

Interwiki Resolver Tool

Hi, I decided to start a new conv thread - the one above was getting a bit out of hand.

I am in the process of building a tool to help users themselves resolve interwiki link problems. The more wikies there are, the more conflicts we get, and my talk page fills up with complains that I should know en:Sabians is a religious community and fr:Sabian a factory for cymbals, whereas its my bot that does all this... Anyway, to get to the point: I created this tool, and its in desperate need of your javascript expertise. I would like to add a menu for each link, similar to the "actions" menu in the popup. Can you help? Thanks! --Yurik 06:40, 26 June 2006 (UTC)[reply]

Yes, probably. What exactly do you need the script to do? Lupin|talk|popups 12:33, 26 June 2006 (UTC)[reply]
Here's an example of the tool in action: [1]. Currently you can click the two numbers in parenthesis to set checkmarks for all those pages that this page links to (see the tool tip that pops up on these links). What i would like to do is have a menu instead, next to each item, auto-poped-up, which would have the two existing options (Select all that this page links to, select same group links this page links to), plus some more (like select those pages that link to this page, etc).
The way its done now is in each <a> tag, there is a call to Select() javascript function that takes a list of ids and sets them.
The menu should probably be similar: Menu( Array("title1", "Select(Array('id1','id2',...))", "title2", "some other script", ...)). Any thoughts? Thanks! --Yurik 15:14, 26 June 2006 (UTC)[reply]
I've put a mock-up here. It doesn't do the dynamic menu creation bit at all, but that shouldn't be too hard. I haven't been able to test it in IE, but it works well in FF and Opera, and tolerably in Safari. Lupin|talk|popups 22:38, 28 June 2006 (UTC)[reply]
Thank you very much! It's great! I will just add the links just like i have now, except they will be hidden from the start. I tried it in IE - seems to work ok :). I will use your code very soon! All that is left for me now is to figure out how to make it appear professional (hard) and do ajax (very hard) :). Might even try my hand at ruby, see what's all the fuss is about. Thanks! --Yurik 23:24, 28 June 2006 (UTC)[reply]

Please take a look at http://tools.wikimedia.de/~yurik/iwfixer.php . Any comments are welcome! --Yurik 06:36, 29 June 2006 (UTC)[reply]

Looks nice :) There are some rendering problems in firefox (probably bugs in firefox) for me if you run the mouse upwards, as old menus interfere with newer ones. I've changed the mock-up to fix this by making sure that only one menu is ever visible. Lupin|talk|popups 12:31, 29 June 2006 (UTC)[reply]
Thanks, done. --Yurik 13:14, 29 June 2006 (UTC)[reply]

Popups null edit

Hey, what happened to the "null edit" ability in Popups? That was really useful. Just wondering if it was removed intentionally (and if so, what the reason was), or if this was accidental. Oh, and thanks for all of the time you continue to spend improving the tool. More people appreciate it than you know! --Cyde↔Weys 23:09, 26 June 2006 (UTC)[reply]

The menu was getting too long, so it's shorter by default. To get the old kitchen-sink menu, set popupStructure='menus' in your javascript file. Lupin|talk|popups 00:52, 27 June 2006 (UTC)[reply]

Pb since yesterday

Popups crash (coredump) my firefox 1.5/Linux debian since yesterday 26/06, need to deactivate JS. what changed please ? Utilisateur:HBBK

Nothing has changed since yesterday, as far as I can see. Lupin|talk|popups 11:33, 27 June 2006 (UTC)[reply]
It seems to be ok now. I don't know what happened, maybe a corrupted version stuck in our proxy cache ... best and thanx you for that very helpfull tool Utilisateur:HBBK

Question about popups

When you revert in popups, there is &autoclick=wpSave in the url. Well, I have loads of subpages at User:GeorgeMoney/delpage that I want to delete, so I want to make it easier for the admin(s) deleting them. So, would it be possible for an admin with popups to use &autoclick=wpConfirmB which is the submit button for delete. Can this be achieved so all the admin has to do is press the "delete" link I have provided and the page will be deleted automatically instead of having to go to a form and click the button? --GeorgeMoney (talk) (Help Me Improve!) 22:05, 27 June 2006 (UTC)[reply]

Yes, could it could be done in popups, but there's no point. It'd be a five-line script anyway... something like this:
addOnloadHook(function(){
  if (document.location.href.indexOf('action=delete&confirmdelete')>-1) {
    document.getElementById('deleteconfirm').wpConfirmB.click();
  }});
(untested). You could extend this to include a reason for deletion, too. Lupin|talk|popups 22:20, 27 June 2006 (UTC)[reply]
Actually, there is no need for a reason for deleteion, because I have already included that in the url "&wpReason=User%27s+subpage+requested+to+be+deleted+by+the+owner.+%5B%5BWP%3ACSD%7CCSD%5D%5D+U1". And I tested the script at a test wiki and it doesn't work. But, Prodego is deleting all of them without a script, so there is no need for one. But, thanks for trying though :) . --GeorgeMoney (talk) (Help Me Improve!) 22:48, 27 June 2006 (UTC)[reply]
Hm, you tried it with action=delete&confirmdelete in the url and it failed? That's curious. Anyway, glad you've found a solution. Lupin|talk|popups 23:01, 27 June 2006 (UTC)[reply]
Oh, there was no "confirmdelete" in the url. When I do http://wiki.xyrael.net/mediawiki/index.php?title=User:GeorgeMoney&action=delete it doesn't work. But, then I added the confirmdelete, and it worked. --GeorgeMoney (talk) (Help Me Improve!) 23:03, 27 June 2006 (UTC)[reply]

I also use auto edits to welcome people. I have to go to the new user log, copy all the names into MS Word, use the 'replace' function to replace all the eccess data, and then use it to put {{User:GeorgeMoney/Welcome/Template| }} around it. Then copy that to User:GeorgeMoney/Welcome/Page and press the "welcome me" button which links to the user talk page and it auto adds the welcome. Is there a way to do this directly from the log so I don't have to go through all these steps? --GeorgeMoney (talk) (Help Me Improve!) 02:46, 28 June 2006 (UTC)[reply]

Yes, you want to add the welcome me links directly to the new users page, I imagine. Shouldn't be hard.
function addGreetLinks() {
  var guff='&autoclick=wpSave&autosummary=Welcome%20to%20Wikipedia!&preload=User%3AGeorgeMoney%2FWelcome&editintro=Template%3AThisisnotatemplate&section=new&create=Welcome';
  var lis=document.getElementById('content').getElementsByTagName('li');
  for (var i=0; i<lis.length; ++i) {
    var as=lis[i].getElementsByTagName('a');
    var greet=as[1].cloneNode(true);
    greet.firstChild.nodeValue='greet';
    greet.href += '&action=edit' + guff;
    greet.removeAttribute('class');
    as[1].parentNode.appendChild(document.createTextNode(' '));
    as[1].parentNode.appendChild(greet);
  }
}
if (/title=Special(%3A|:)Log&type=newusers/.test(document.location.href)){addOnloadHook(addGreetLinks);}
Lupin|talk|popups 03:12, 28 June 2006 (UTC)[reply]
Yes, it works! Thank you! --GeorgeMoney (talk) (Help Me Improve!) 03:25, 28 June 2006 (UTC)[reply]
I was wondering... How does it know to link to "http://en.wikipedia.org/w/index.php?title=User_talk:USERNAME"? I know the extra stuff &action=edit" is specified in the code, but how does it know to go to the talk page of the user? The reason I want to know this is because I want to link to "javascript:AIVandal("THAT USERNAME")" (the script associated with that is lightdarknes's ARV), I just want to be able to report their username to AIV from the log. Normally, I would just make a duplicate of the code and change the url from http://....?title=user_talk:VARIABLE-USER to javascript:AIVandal("VARIABLE-USER"), but no url is specified so I can't change it. Would there be some way I can add that? (If you are sick of me asking javascript from you, I can ask someone else, and not bother you) --GeorgeMoney (talk) (Help Me Improve!) 18:12, 29 June 2006 (UTC)[reply]
The variable as[1] refers to the second anchor in the <li> being looked at in that loop iteration. This is a link to the user talk page, so I just clone this and fiddle with it. Lupin|talk|popups 21:05, 29 June 2006 (UTC)[reply]
Yeah, so to answer your question, the user name should be as[3].title.replace('Special:Blockip/',''). (Explanation: I get the text from the titles, since these won't have html encoding issues; and I get it from the block link rather than say the username link since these aren't affected by popups, which displace titles by default). Lupin|talk|popups 21:13, 29 June 2006 (UTC)[reply]

Bug report

Hi,

This is a bug report on "popups". This is the first time it happened eventhough I have been working with the same configuration for a long time. The bug is in the edit summary of this revert. FYI, I use Mozilla Firefox 1.5.0.4 on Windows XP SP2 with all available updates installed. The bug was not reproduced in next revert. — Ambuj Saxena (talk) 16:34, 28 June 2006 (UTC)[reply]

This talk page is becoming very long. Please consider archiving.

Hm, this is tricky to diagnose. If this happens again, please open your browser history and locate the page whose title looks like "(Editing ARTICLENAME - Wikipedia, the free encyclopedia)", with the brackets and without the quotes. Right-click, select copy link location and send me the url. Maybe this page is still in your history and you can do this now? Lupin|talk|popups 22:15, 28 June 2006 (UTC)[reply]
I save history, but was unable to locate it. I was able to locate the edit to Taj Mahal (not ARTICLENAME). Since it was a one time bug, I feel that it might have occured because the save button was pressed before the page loaded fully. — Ambuj Saxena (talk) 07:13, 29 June 2006 (UTC)[reply]

Yorkshire rose png made in Inkscape

I noticed that Image:Yorkshire rose.png, was made in Inkscape (perhaps before MediaWiki adopted SVG support?). Do you still have the original source file? If so, being the vector fanatic that I am, I would like to request its upload. ~ Booya Bazooka 17:04, 2 July 2006 (UTC)[reply]

Inside Image:Shields.tar.bz2 you'll find roses.svg, which has a yorkshire and lancashire rose. Lupin|talk|popups 20:46, 2 July 2006 (UTC)[reply]
Well, Wikipedia now uses the svg versions of Yorkshire rose and Lancashire rose. I suppose I'll get around to uploading the shields at some point as well. Are there any other secret svg tarballs? I hate to see rasters used when the SVGs are so readily available. ~ Booya Bazooka 20:09, 3 July 2006 (UTC)[reply]
Great, thanks for doing that. I don't know of any other secret tarballs, this may be a good place to look. There are quite a few other images in the tarball which could do with svg-izing... see User:Lupin/heraldry for many of the rasterized versions. Lupin|talk|popups 20:24, 3 July 2006 (UTC)[reply]

Anti-vandal tool

Do you have to have a server to operate your anti-vandal tool? Or can I just copy all the codes and subpages to my userspace Wiktionary and the tool will work? Please respond on my page. Gang staEBice slides) 17:00, 3 July 2006 (UTC)[reply]

There's no server needed, it should work. You'll have to change the variables at the top of the js file, though. Lupin|talk|popups 17:47, 3 July 2006 (UTC)[reply]
I tryed at the Simple Emglish Wikipedia and it didn't work. Could you go help me? Gang staEBice slides) 18:05, 3 July 2006 (UTC)[reply]
I can have a go. Where is your installation? Lupin|talk|popups 18:39, 3 July 2006 (UTC)[reply]
I found it. You haven't installed it properly into your monobook.js. If you copy and adapt the code in your monobook.js on en it should work. (Delete all the stuff that's there now). Lupin|talk|popups 19:30, 3 July 2006 (UTC)[reply]

Hi Lupin. I've been using this tool, another great production by the way. I was wondering about the implications or practicalities of having some of the checkboxes either checked by default or having a cookie remember them? For instance the "Non Admin Rollback"? Just a thought. CelardoreTalk 20:36, 3 July 2006 (UTC)[reply]

Good idea - I've done it with cookies. Lupin|talk|popups 22:22, 3 July 2006 (UTC)[reply]
Cool, it works! And I'm glad I could suggest something that was implemented! CelardoreTalk 23:11, 3 July 2006 (UTC)[reply]
I installed it like it is supposed to be installed, but Filter Recent Changes just gives all the recent changes. And they link to Lupin/(Filter Recent Changes) I will give you full credit. Gang staEBice slides) 18:24, 4 July 2006 (UTC)[reply]
Which installation are you talking about? Please give me a link. Lupin|talk|popups 22:14, 4 July 2006 (UTC)[reply]

Anti vandal tool

I tried to use your anti vandal tool, but It diddnt work, can you help?. Thanks False Prophet 22:36, 3 July 2006 (UTC)[reply]

I installed it into your monobook.js file. Be sure to clear your cache and read the usage instructions here. Lupin|talk|popups 22:40, 3 July 2006 (UTC)[reply]
Thanks, it works great. Here's a barnstar for thatL
The Original Barnstar
for the most useful program on Wikipedia False Prophet 00:47, 4 July 2006 (UTC)[reply]
Thanks! Lupin|talk|popups 13:03, 4 July 2006 (UTC)[reply]

Popups work on secure.wikimedia.org

Could you enlighten me how you got the popups to work on the secure.wikimedia HTTPS server. I use it and I'd like to adapt it to some of the scripts used by RC patrol and CVU members so the scripts don't hop between secure and insecure modes. Kevin_b_er 02:39, 4 July 2006 (UTC)[reply]

In principle, it should be easy. You just change every url that the script uses. Adapting a given script may be less easy in practise, though - this would involve going through the code to see what's going on. Lupin|talk|popups 02:53, 4 July 2006 (UTC)[reply]
In that sense, yes, but popups for example have all of its links working, no matter wether one is on the HTTPS system or using standard en wiki. Some of Voice of All RC patrol scripts (at User:VoA/monobook.js) don't adhere to this. If you could offer any help at all in that, I'd be most grateful as I'd like to see such useful scripts working in any case. Since you got the nav popups to work somehow in this manner, I was hoping you could provide some sense into more. Kevin_b_er 04:16, 4 July 2006 (UTC)[reply]
Well when I say "change every url", what I should say is "change every url to use a variable or function". Then you can set the variable or function so that the urls change depending on which host or wiki you're working on. Hardcoded urls are the enemy here. Lupin|talk|popups 13:02, 4 July 2006 (UTC)[reply]

AntiVandal

Hey there, I've been using your anti-vandal tool for a couple of days and I fell in love with it's abilities. I've also put in other scripts of yours' to enhance my patrols, so I wanted to thank you for your efforts! Kedi the tramp 16:19, 10 July 2006 (UTC)[reply]

Thanks! Lupin|talk|popups 00:30, 13 July 2006 (UTC)[reply]

Safari Popups

Just to follow up the bug report I left here a few months ago, the latest nightly build of Safari works correctly with the 'menus' style of popups. This was noted by someone else at Navigation popups. Eventually, when this version is released, you may want to change the default behavior for Safari back to 'menus.' Thanks for a great tool! MFago 01:57, 12 July 2006 (UTC)[reply]

Thanks, this is good to hear. Lupin|talk|popups 00:29, 13 July 2006 (UTC)[reply]

Blocking checkbox

I'm hoping this will be an easy, quick, "I can do that in my sleep" request for you: I'd like an addition for my monobook.js that will automatically check the "block anonymous users only" checkbox whenever I load Special:Blockip. I'd rather have it default checked and have to uncheck it rather than have to check it all the time. I promise you someone's first born child if you can do it! ;) Essjay (Talk) 16:10, 12 July 2006 (UTC)[reply]

Here ya go (not thoroughly tested):
addOnloadHook(function(){ var x; if (x=document.getElementById('wpAnonOnly')) {x.checked=true;} });
Lupin|talk|popups 18:10, 12 July 2006 (UTC)[reply]
Very nice. I am going to have to steal this. ;-) Prodego talk 18:14, 12 July 2006 (UTC)[reply]
Another success! You're wonderful! Essjay (Talk) 18:22, 12 July 2006 (UTC)[reply]

Script with popups

I have a tool to check the edits of an IP range and also to compare edits from one IP/user with another (and evenutally to compare IP ranges against a user), but when it parses the contribs data, I noticed that popups don't appear anymore, which is too bad because there are diff links on the page. It seems like whenever I use js to change a page, even just to number edits, popups are disabled. Is there a way to reconcile that? Thanks.Voice-of-All 23:18, 12 July 2006 (UTC)[reply]

Yes, the setupTooltips(container, remove) function is what you want (warning: this may change in future versions, although I see no reason for it to at the moment). Both arguments are optional - if they're omitted, popups are added to every link in the whole document, or in the article body if popupOnlyArticleLinks is true. If you pass a container such as a div or span containing the links, then only links inside that container are affected. If you pass the remove argument and it evaluates to true, then popups are removed instead of added to the links.
One potential pitfall is that this may or may not work if you call the function immediately after adding new links to a page, since my understanding is that the DOM is not always instantly updated. You may therefore have to use setTimeout to delay this function for some short time after adding the links. I'm not sure if this is a real issue, or if I was just being paranoid when I first did this, though...
Another thing you should be aware of is that this function sets the flag container.ranSetupTooltipsAlready to true, and if it finds this flag already set then it won't change anything. If you need to run the function on the same container, you can just set container.ranSetupTooltipsAlready=false. Lupin|talk|popups 00:28, 13 July 2006 (UTC)[reply]
Thanks! Its alive! :D Voice-of-All 02:45, 13 July 2006 (UTC)[reply]

Image Bug?

Hi, weird behavior was noted here - moving over the image shows a different image in the preview. Strange :) --Yurik 18:36, 13 July 2006 (UTC)[reply]

It's getting the commons image instead of the one on ru. Could you perhaps take a look at my feature request for detecting commons images with query.php? Lupin|talk|popups 16:52, 16 July 2006 (UTC)[reply]
Done, see my comment on API page. --Yurik 06:13, 25 July 2006 (UTC)[reply]
Double done - you can now have interwiki links and other sites popups! And rollback buttons for admins! :) --Yurik 06:11, 26 July 2006 (UTC)[reply]
Ok, the what=categories is now synced up - you might have a use for it.
Have you tried the proxy yet? I am planning to change the proxy handling to actually do an http request when proxying is needed. This will allow data from any sites (not just in the same cluster), but I will have to limit what information you can request (i don't want to tax the servers to re-transmit hundreds of KBs). I might either introduce a much lower limit for everything, or limit which properties are available. Any comments? --Yurik 17:07, 3 August 2006 (UTC)[reply]
Yes, it's used in the script at the moment to show image page previews for commons images. (I haven't implemented general interwiki previews yet). I'd be leery of something that would potentially reduce functionality when I do want to access wikis in the same cluster. If a client attempts to access a resource which is too large such as the source of a long page, would it get a truncated version or just an error? If the latter, then I'd like two modes, one for intra-cluster links which does the same as now, and a proper http proxy for other links. Mode selection could presumably be done automatically by query.php. Lupin|talk|popups 23:03, 3 August 2006 (UTC)[reply]
no no, i did not mean limiting individual page (that would be bad) - more like limiting the number of pages you can get with one request, etc. Have you looked at what=categories (plural)? --Yurik 04:51, 4 August 2006 (UTC)[reply]
Well from popups' point of view, that looks fine. I haven't looked at what=categories yet - I'm holding off adding new features to the script at the moment due to time constraints. Lupin|talk|popups 16:28, 4 August 2006 (UTC)[reply]

Anti-vandal tool recognizing "the"

Hi Lupin, I really like your anti-vandal tool, I've been using it a lot. Just a minute ago, though, the "filter recent changes" page began coming up with all edits matching "the". I refreshed the page a couple of times, but the problem continues. Is this a bug? --Grace 01:37, 14 July 2006 (UTC)[reply]

Hmm...now it seems to be crashing my browser too, though that could be a problem with my computer. --Grace 02:09, 14 July 2006 (UTC)[reply]
Yes, it's now crashing every time I try to load Filter recent changes. I realize this is most likely a problem at my end, but I'd appreciate some hints if you have time... --Grace 22:41, 14 July 2006 (UTC)[reply]
Someone vandalised the word list by adding the. I suggest you clear your browser cache very thoroughly and try again to see if it fixes things. Lupin|talk|popups 16:54, 16 July 2006 (UTC)[reply]

sinceMe problem

I've found that the "sinceMe" function never works for me. (It gives a msg box saying no matching edits found in last 50.) Since the msg lists my user name as "R._S._Shaw", it suggests that the problem may be blanks within the user name being converted to underscores, and then not matching the blanks in the history entries. I know there are many others besides myself that have userids with blanks in them. It'd be great if you could fix this sometime.

(I came for the revert; stayed for the whole set of features. Thanks for providing this.) -R. S. Shaw 18:53, 14 July 2006 (UTC)[reply]

Thanks for the bug report. This should be fixed in the dev version. Lupin|talk|popups 17:31, 16 July 2006 (UTC)[reply]

Opera capabilities for Filter Recent Changes?

Hey Lupe ;) (do u get Lupe much? :P )

just letting u no that there could be a bug in Filter Recent Changes when using Opera.

  1. Non-admin rollback button does not work at all a dialouge box comes up with something in Chinese i think? :S (works fine in IE7B2)
  2. Warn button freezes Opera.


Ta!

--Deon555|talk 03:24, 15 July 2006 (UTC)[reply]

Which version of Opera and which operating system are you using? I've not had problems with Opera 9 on OS X. Lupin|talk|popups 17:09, 16 July 2006 (UTC)[reply]
Hi Lupin, I'm using Opera 8.51 build 7712 with Windows Vista, but it doesn't work on my XP either. Ta --Deon555|talk 09:06, 19 July 2006 (UTC)[reply]
Could you try with Opera 9? Lupin|talk|popups 15:46, 27 July 2006 (UTC)[reply]

Fixing History Popups

Hi,

I found that while I view an article's history, it shows edit time wrt local time (my personal settings). However, if I hover over "History" and let a popup come, it shows time in UTC. Can this be fixed to show time according to user's preference. — Ambuj Saxena (talk) 14:47, 15 July 2006 (UTC)[reply]

Good idea. I can see a reasonable way to handle this, but I need to wait for a feature request I just submitted to be fulfilled first. Lupin|talk|popups 17:30, 16 July 2006 (UTC)[reply]
This feature is now in the dev version. Thanks for the suggestion! Lupin|talk|popups 22:56, 27 July 2006 (UTC)[reply]

Special-Blockip

Thanks for the script for changing the default options for the blocking of users --Walter 20:59, 17 July 2006 (UTC)[reply]

Event that triggers popups

Hi Lupin. I've been doing a bit of reasearch on JavaScript recently and I thought I might suggest something:

Would it be possible for your to specify the event that triggers popups (currently onmouseover) as a variable with a default value of onmouseover? That way, users could specify in their local .js what event(s) they'd like to use to trigger it. Personally, for example, I would only like to have popups at the combination of onmouseover and a keystroke.

Is my suggestion possible? Ingoolemo talk 02:51, 18 July 2006 (UTC)[reply]

(Sorry, I don't like this threads business). Do you mean you only want popups to be active when you hold down a key, like shift, and hover the mouse over a link? I think that this would be possible, but it would be more work than just changing onmouseover into onmouseoverwhileshiftisheld, since that event doesn't exist :-) Lupin|talk|popups 04:13, 18 July 2006 (UTC)[reply]
Actually, my suggested triggering event was only an example. My main concern is allowing end-users to customise the events that triggers popups, by allowing end-users to specify a variable that defines triggering events. My main question was: is the use of a variable for an event technically feasible? Ingoolemo talk 23:05, 18 July 2006 (UTC)[reply]
Certainly, it is. It would involve a small amount of code, but would I think make the behaviour of the script harder to understand or predict. I'm therefore unwilling to add it unless I see a good example where it would be useful... Lupin|talk|popups 23:46, 18 July 2006 (UTC)[reply]
Well, I guess I'll have trouble convincing you of its utility. Thanks anyway. Ingoolemo talk 18:44, 19 July 2006 (UTC)[reply]


Image:TeX lion.png listed for deletion

An image or media file that you uploaded, Image:TeX lion.png, has been listed at Wikipedia:Images and media for deletion. Please look there to see why this is (you may have to search for the title of the image to find its entry), if you are interested in it not being deleted. Thank you. Oneiros 19:29, 19 July 2006 (UTC)[reply]

navpops edit reversion suggestion

How about adding a feature to revert an arbitrary edit, as opposed to rolling back the current version to that edit. Example:

  1. Spammer inserts a spam link into the external links section of some article
  2. Time goes by as various other people edit the article and the link stays there
  3. Now you notice the spam link and want to remove it without disturbing the later edits. You have to actually go manually edit the links section to do so.

My suggestion is to add a "revert delta" item to the popup action menu for history browsing. You'd point the mouse at a version in the revision history. Popups would then do a 3-way diff between that version, the previous version, and the current version, and then edit the current version to undo the delta. If necessary, it could rely on a diff3 program running on the server or on the tool server. I shudder at the complex browser-side javascript in navpops and want to keep my hands out of it, but I could help with the server side if you think this is worthwhile. -- Phr (talk) 01:14, 22 July 2006 (UTC)[reply]

This would be a nice feature. Wouldn't it be best implemented as part of mediawiki? I suggest filing a feature request on bugzilla (or coding it up if you're that way inclined). Once it's there, popups should be able to access it easily. This could involve some heavy-duty processing for complex diffs and/or long pages, and javascript is really not a good place for that. Lupin|talk|popups 02:08, 22 July 2006 (UTC)[reply]
I entered an RFE [2], feel free to add your thoughts. Phr (talk) 04:36, 13 August 2006 (UTC)[reply]

My monobook.js

I use firefox, and when I tried to copy essjay's and add it to mine, it diddn't do anything. Could you look into it when you get a chance? Thank you, Wikipedia's False Prophet holla at me Improve Me 03:21, 23 July 2006 (UTC)[reply]

Please try following the procedure outlined at the top of WP:POPFAQ. Lupin|talk|popups 03:36, 23 July 2006 (UTC)[reply]

popups: disambiguation feature doesn't work with {{4CC}}

There seems to be a minor problem with the popups. The disambiguation feature doesn't work with pages that contain the {{4CC}} template. Could you please fix this? Thanks! --Ixfd64 08:46, 24 July 2006 (UTC)[reply]

I believe that it was picking up this template, but not all redirects to the template. I've added the redirects to the dev version, so you could try that out. Lupin|talk|popups 22:55, 27 July 2006 (UTC)[reply]

"Fairy" entry

I removed that "fairy" entry from the recent changes filter last night because most edits with it are legitimate, but I have still been seeing it appear while RC patrolling with the filter. Could you please try to fix this?--Conrad Devonshire Talk 16:42, 25 July 2006 (UTC)[reply]

I expect caching issues are to blame. Please go here and look for the fairy entry. It probably appears for you; if so, then shift-reload until it disappears, and try reloading the filter recent changes page. Lupin|talk|popups 16:48, 25 July 2006 (UTC)[reply]

The blacklist entry I added

Ahhhh. My apolgies. I edited the list that time under the false assumption everything was a regular expression (which its not). The phrase "***ERIC IS A FAG***" is from an parody page The Onion created of United States, and in one place an item in a list is replaced with "***ERIC IS A FAG***", and people are using it as an example to vandalise against. If you could consider putting it back, in light of what I've said (and my idiocy on that I don't need to escape * on a non-regex), I'd be quite greatful as this would help nail this new junk right in the bud. Kevin_b_er 06:24, 26 July 2006 (UTC)[reply]

No worries. I've added an entry, /(eric )?is a fag/, to make this stand out more than just matching "fag". Matches are case-insensitive, and the asterisks aren't so relevant I think. Lupin|talk|popups 15:34, 26 July 2006 (UTC)[reply]

Popups on he: wikipedia

Hi Lupin, and thanks for developing this great tool! I am using it here and on the Hebrew wikipedia, and I would like to report two minor issues with it in he wiki.

I saw now that on the en wiki, user contributions are shown in popup when hovering over "contribs" links and IP addresses in the recent changes screen. In the hebrew wikipedia, a popup window is opened, but it only says "שגיאה", which is hebrew for "error".

Another issue is that the Hebrew magicword for redirect, הפניה, is not recognized by the tool, so only a simple link is displayed when hovering over redirected links. (The hebrew magicword was only introduced some weeks ago.)

If any further information is needed, please let me know. thanks again! Netan'el 13:38, 27 July 2006 (UTC)[reply]

Thanks for the bug report. These issues should be fixed in the dev version. (Unfortunately I think there's not yet a dynamic translation to Hebrew). Lupin|talk|popups 22:54, 27 July 2006 (UTC)[reply]
Thank you, and here are two more bugs I encountered: user talk (he: שיחת משתמש) namespace is not recognized, and the user menu dows not appear in the popup; log links in the recent changes screen are not recognized. Netan'el 06:49, 28 July 2006 (UTC)[reply]
Thanks. Do you mean that links to user logs should generate popups? This isn't a localization issue (it doesn't work on en either) but maybe it'd be worth adding that feature. I don't see any user logs on the recent changes screen - which ones did you have in mind? Lupin|talk|popups 14:42, 28 July 2006 (UTC)[reply]
On the English WP recentchanges list, the links to logs such as move log, user creation log etc. cause only a simple tooltip rather than a popup. on the Hebrew WP, a popup window appears, but it only tells the name of the log in Hebrew. It's not a major issue, but it's an inconsistency in the popup behavior between en and he. Netan'el 15:15, 28 July 2006 (UTC)[reply]
I think I've fixed these bugs in the dev version. Lupin|talk|popups 00:49, 29 July 2006 (UTC)[reply]
All bugs are fixed. Thanks very much! Netan'el 06:10, 30 July 2006 (UTC)[reply]

popups menu shown twice

Hi, when following a redirect, the popup shows two menu items - one for the redirect and one for the article. Also, i looked throw your code (very briefly :)) - do you think it might be good to create a common module that would combine requests to avoid duplications? For example, when user moves over a diff, a call to the module will indicate the needed information (revisions, user's timezone, ...). The module would then see if it requested these things before (like if it got timezone previously), and return cached information if it can, plus any new data that it had to request. That data can also be added to the cache, etc. What do you think? Lastly, for some reason some popups do not get the data - moving the mouse over history shows the initial box, but not the content afterwards. I tried cache refresh. It might be due to running on the latest minefield (firefox nightly build). --Yurik 23:34, 27 July 2006 (UTC)[reply]

  • I like your idea about the module very much. It's definitely something I'll try to implement when I get time.
  • The double menus are semi-intentional as they allow you to access pages related to the redirect from the popup (for example, to edit the redirect to point somewhere else).
  • I've also noticed that sometimes content never appears, and I've made some changes in the last week that should fix this in many cases. If you find this happening consistently on the same links (between page refreshes), then please let me know which links these are. You could also try setting popupDebugging=true and report what you see there when this happens. (If you're bitten by this bug again and are actually interested in seeing the preview without reloading the page, then you can use the popups->reset command to hopefully reset things and access the data). Finally, I'd recommend the firebug firefox extension, if it runs on minefield. This lets you see the requests made by the script in real time, which gives a somewhat better idea of what's going on. Lupin|talk|popups 00:13, 28 July 2006 (UTC)[reply]
  • The double menu has two items: actions and popups. I was talking about the popups as it is the same in both.
  • I have firebug, will let you know what i notice. On the 1.5 it works fine so far.
  • Thanks! --Yurik 01:05, 28 July 2006 (UTC)[reply]
I've hacked out the double "popups" menus in the latest dev version. Lupin|talk|popups 00:49, 29 July 2006 (UTC)[reply]

Your partial revert on the WP:SBOTS proposal

Hi Lupin. Was this partial revert of Philosophus intentional? If yes, please say so. Francis is revert warring it again into his pet peeve. --Ligulem 09:28, 28 July 2006 (UTC)[reply]

No, this was an error. I've added a note to the talk page. Lupin|talk|popups 13:26, 28 July 2006 (UTC)[reply]

What tools do you use?

You apparently have a editing enviroment for Javascript that functions well enough that you can create the wonderful popups. What is it? I'm using a combination of Jesse Rudderman's bookmarklet shell with the DOM Inspector, and it's too painful to do hardly anything in. AFAIK, there's no good Emacs mode for Javascript, and I haven't been able to make Veckman be particuarly useful to me. What tool(s) am I missing?? Javascript hacking can't possibly have to be this much trouble. Any help gratefuly appreciated! JesseW, the juggling janitor 10:21, 28 July 2006 (UTC)

It remains a little painful, but here's what I've come up with.
  • For debugging, I started off using "the evaluator". This is still useful now and again, as you can change functions on the fly (type the name of the function in the top box, paste the definition from the lower box into the top box (change function foo(bar){...} into window.foo=function(bar){...}), edit, evaluate, repeat until it works.
  • I also use the js shell you mention and the DOM inspector
  • The web developer toolbar is handy, but I don't use much of its functionality regularly.
  • I used to use log4js for logging, and still do if I need to analyze a lot of output since it'll spew stuff into a dedicated window.
  • Then I discovered the firebug extension, which is wonderful, and has largely replaced log4js with its console.log function. It does have limitations though, so I keep the other tools around.
  • For editing, I use emacs. For me, it comes up automatically in java-mode when I load a .js file, which is OK. (I used to use C-mode; java-mode seems to be a C-mode derivative anyway). The only problem is that some regexps confuse it; I use RegExp instead of literal /.../ notation when this happens as a workaround. It also forces you to use semicolons, which is a good thing as far as I'm concerned.
    • C-c . linux RET gets indentation with tabs instead of spaces; M-x customize-variable RET c-default-style RET lets you set this permanently
    • I bind F5 like this:
;; copy whole buffer with F5
(global-set-key [f5]
		(lambda () (interactive) (copy-region-as-kill (point-min) (point-max))
		  (message "%s copied" buffer-file-name))
		)
This lets me write a snippet in emacs, copy it into the evaluator and test it out without page reload.
  • I wrote some tools to concatenate subfiles into a big single file, and split up such a big file into subfiles, and added a makefile to do this for me when I run M-x compile in emacs. I could put these somewhere if you're interested, although they're probably only useful for bloated scripts like mine :)
  • I use CVS locally to store the script. This is sometimes useful when trying to see how I broke something.
  • I host the script locally during testing. When wikipedia is being slow, I test on my local mediawiki installation (although this is sufficiently un-optimized that wikipedia is often faster to load!).
  • I've also found Venkman to be somewhat unhelpful most of the time. I have used its profiling feature now and again, though.
Lupin|talk|popups 14:04, 28 July 2006 (UTC)[reply]
Thanks! That's very useful. The emacs bit particuarly, and the hint about hosting locally. I'd love to see your concat/split tools. JesseW, the juggling janitor 23:14, 28 July 2006 (UTC)
I've pasted them at User:Lupin/jscat. Lupin|talk|popups 00:41, 29 July 2006 (UTC)[reply]

Quicky bug...

Hi again :).

I'm having troubles testing my scripts because popups is eating up my bugs in js console ;). After about a minute this warning is produced regularly (at least one at a second):

Warning: reference to undefined property this.left
File: http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s
Line: 4924

Around that line:

Navpopup.prototype.limitHorizontalPosition=function() {
...
	  log('limitHorizontalPosition: x='+x+
		    ', this.left=' + this.left +
		    ', this.width=' + this.width +
		    ', cWidth=' + cWidth);
...
}

If I understand correctly this is for debugging only, so maybe you could just delete or comment out this line? Maybe it would also be possible to delete all debugging functions in released versions of popups. This probably wouldn't make it much smaller or faster, but some is still good enough :).

Regards, Nux talk | didn't answer? drop a note 08:52, 29 July 2006 (UTC).[reply]

p.s.: Just curious here - but how come popups is running in the background windows (tabs) and producing this warning even if I disabled it (with the menu thingy) on all opened pages?


Me again :).

I just wanted to let you know that on my translation of popups. I've deleted all debuging instructions (starting with the above log thingy, and finishing with debug.js) and nothing blown up my screen so I guess it was OK ;).

Also wanted to let you know that it works when you split JS file to sections. It might help you in small bugfixing. I did that by replacing

// STARTFILE: (.*)\n

with

/*\n</pre>\n$1\n<pre>\n*/\n// STARTFILE: $1\n

I used Zocky's SearchBox for that as I mostly working on Win98 and don't have any decent utf8 editors. Anyway works great - just needed to fix domdrag.js and add some workaround for livepreview.js as they both contained </pre> tag.

BTW. I belive that you should disable all events that are making popups work in the background when it is disabled.

Nux talk | didn't answer? drop a note 16:41, 7 August 2006 (UTC).[reply]

I tried your formatting trick, but couldn't get it to work. Maybe there's some setting on en that prevents this which isn't set on pl? I tried a simple test at User:Lupin/test.js without success, too.
The disable popups thing is really a cheap hack, and as you say it'd be better in principle if everything really was disabled. On the other hand, I'm not really sure if it matters to users. Lupin|talk|popups 18:04, 7 August 2006 (UTC)[reply]

Popups down

Its seems I just get "console" is undefined for popupsdev. At "console.log('id: '+this.id+', noPopup: '+this.noPopup);".Voice-of-All 02:18, 30 July 2006 (UTC)[reply]

Yes, the dev version is broken, sorry. Will fix soon. Lupin|talk|popups 03:00, 30 July 2006 (UTC)[reply]

diff Date problem?

Currently, when I hover over the diff link, the dates of both the old and new revision are off by exactly 1 month. In other words, an article last edited on July 29 is currently showing a date of 2006-06-29 in the popup. I went back to some edits from older months, like June and May and it seems to be reproducable. Is this a bug or an I having a "personal problem" and if so, do you have any recommendations? --Brian G 02:48, 30 July 2006 (UTC)[reply]

This is an amusing bug. I should have spotted it, but thanks for bringing it to my attention :) Will fix soon. Lupin|talk|popups 03:01, 30 July 2006 (UTC)[reply]
OK, you must have fixed it, sicne a good cache clear got it working again. Thanks, thats two bugs I pointed out :D~Voice-of-All 03:33, 30 July 2006 (UTC)[reply]

Experimentative

Lupin, thanks for the help. Experimentative actually is a word (look it up), but experimental is better. I wanted to keep it closer to experimentive(which is assuredly NOT a word) for the sake of the other user. Let's just go with experimental for now, I suppose.

That last comment was referring to the article on modernist poetry. --Erlaforest

OK! Lupin|talk|popups 17:36, 30 July 2006 (UTC)[reply]

Edit counter problem

The edit counter link is pointing to http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=enwiki_p&user=User:USERNAME, when it should be linking to http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=enwiki_p&user=USERNAME. — BRIAN0918 • 2006-07-30 19:52

Thanks, this should work again now. Lupin|talk|popups 20:47, 30 July 2006 (UTC)[reply]

Thanks

Really says most of it - thanks for popups. I got involved in a brief vandalism/revert session the other day and although I'm not slow I wasn't fast enough on my own! I look forward to exploring the features but it looks great so far. It isn't happy on Opera with me (freezes - latest version Opera) which is a pity bit I use Firefox more and more. If I can help with anything I'll happily try - thanks. Cheers -- Nigel 17:33, 31 July 2006 (UTC)[reply]

Spellcheck

Could you please provide a link to the list of flagged terms for the Lupin Filter live spellcheck?--The Count of Monte Cristo Parley 02:53, 3 August 2006 (UTC)[reply]

Wikipedia:Lists_of_common_misspellings/For_machines Lupin|talk|popups 02:59, 3 August 2006 (UTC)[reply]

"Fair use"

I see you're slighly confused, "Fair use" is not why I commented out the image... the uploader is claiming public domain for it but there is no source detail on the uploaded image (please note my edit summary when I commented out that image). Please self-revert. Thanks. (Netscott) 03:23, 4 August 2006 (UTC)[reply]

Oh, OK. The thing which continues to confuse me is that the source of the image does appear on the talk page, as does a statement by the source releasing the image into the public domain. Is this not sufficient? Lupin|talk|popups 03:25, 4 August 2006 (UTC)[reply]
The uploader Banzai! (talk · contribs) is specifying some friend named "Claire K." as the source for the original image (simple cropping of an original image does not constitue a new version under US copyright law). "Claire K." specified as a source = no source. (Netscott) 03:30, 4 August 2006 (UTC)[reply]
Oh, I see. The cropping issue does not seem to be a bone of contention here; rather it is the naming of the source (or rather the copyright holder) that is problematic. Presumably the friend wishes to remain anonymous, which has led to this muddle. Maybe one way out would be for Banzai to get his friend to assign the copyright to him, and he could then release the image into the public domain himself? Lupin|talk|popups 03:34, 4 August 2006 (UTC)[reply]

An idea

I was thinking that it might be helpful write a script for the recent changes filter that would keep common terms such as "the" added by vandals to flood the filter from appearing similar to the script that you used to prevent "ho" from appearing.--The Count of Monte Cristo Parley 00:14, 5 August 2006 (UTC)[reply]

I didn't write a script to prevent ho from appearing. The script I wrote simply locates the lines in the badwords file which match a given word. I used this to find the regexp which did match ho, and manually altered it so that it no longer did. Lupin|talk|popups 00:23, 5 August 2006 (UTC)[reply]

New edit counter for popups

In case you don't watchlist WT:RFA, Essjay has released a php version of Interiot's tool 2 on the toolserver. The format of the query is http://tools.wikimedia.de/~essjay/edit_count/Count.php?username=$1&submit=Count . Since both "kate" and "interiot" options for edit counter in popups are now broken, it may be good to make Essjay's the default; it is much faster than Interiot's tool 2 which can hang some browsers when counting >10,000 edits. Kimchi.sg 02:41, 5 August 2006 (UTC)[reply]

OrphanBot

OrphanBot has said your image has no source info. It contacted me because I last edited it. Does it have source info? --Thelb4 19:37, 5 August 2006 (UTC)[reply]

It does now :) Lupin|talk|popups 21:37, 5 August 2006 (UTC)[reply]

patch

Applied and checked in and synced. Thanks, and very sorry i did not give you credit in the check-in message (it was 3am at the wikimania). Enjoy :) --Yurik 19:22, 7 August 2006 (UTC)[reply]

Cancelling popup on click on link

It would be nice if a click on a link (for navigation or context menu) would cancel the popup to display, at least until the mouse is moved out and in again.

This is not a big deal in 90% of situations, but sometimes, perhaps when the CPU is a bit more stretched than normal, the showing of a new popup interferes a little bit with the navigating. For instance it might happen that the context menu opens, and then suddenly the popup opens and the browser doesn't react smoothly to the context menu.

This seems to me to be an easy problem to fix, but is not very urgent.

Yours faithfully, Shinobu 21:41, 7 August 2006 (UTC)[reply]

Good idea, and it is indeed easy to fix :-) I've done so in the dev version. Lupin|talk|popups 01:52, 8 August 2006 (UTC)[reply]

spell check

Hey Lupin. firstly: aweome tool! :) good as.
Secondly: Is there anyway that instead of the "Show Changes" button being pressed, the "Save page" button can be pressed. It just seems a bit tedious to have to wait till the page loads, then wait till the diff loads, then click Save page, wait till that loads, then close it and move on.. You know what i mean? Thanks! --Deon555|talk|e|Review Me! :D 02:33, 8 August 2006 (UTC)[reply]

Yes, this would be easy to do. However, the spelling list has proven error-prone in the past, both in terms of false positives and giving incorrect corrections in some situations. I'm therefore unwilling to change the script to do this. Of course you can still make your own copy of the script, change wpDiff to wpSave there and use that if you want, though. Lupin|talk|popups 12:26, 8 August 2006 (UTC)[reply]

Dot maps

Hi. The "dot maps" such as Image:Little Warley - Essex dot.png have not been rendering properly at anything other than full size for a while (I'm using IE6, IE7, Firefox). The image appears to move down and right with and area of transpency to the top left. Is/can anything being done to sort this out? Mrsteviec 08:18, 8 August 2006 (UTC)[reply]

Not by me :-) Did you try purging every page in sight and/or reporting this on bugzilla? Lupin|talk|popups 12:21, 8 August 2006 (UTC)[reply]

Possible enhancement to popups

Thanks for all the work you've put into popups, it really is a great little script, and the only one that I actually keep enabled all the time. I remember you helped us out at WP:DPL before, so I wondered if you could do it again. What I'd really like is a way for popups to warn you when you go to save an article that includes links to disambiguation pages. I don't know how many people use popups, but prevention is better than cure, and I know for myself that it's very easy to include an ambiguous link accidentally. The feature could be disabled by default if people found it intrusive, but I think it could be really quite useful. I'm not sure how much work this would be, but it's an idea. Thanks! Soo 09:26, 8 August 2006 (UTC)[reply]

As far as I can see, there's no reasonably bandwidth-efficient way to do this, sadly. Lupin|talk|popups 12:22, 8 August 2006 (UTC)[reply]

Query Documentation

Hi, we started the User Manual for query API, and can really use some samples for working from the browser (or any other info you may provide). Can you pitch in? Thanks! --Yurik 22:44, 8 August 2006 (UTC)[reply]

Thanks! I cleaned it up a bit. Just a thought - would it be possible to make that code even shorter, otherwise i'm afraid of some people not being able to quickly grasp it. (maybe i'm just one of those people :) --Yurik 12:53, 9 August 2006 (UTC)[reply]
Wow. :) What did you use to colorize? Also, in the comments you said 'show the pages that link to the given page', whereas you use the what=links, which returns the links from the given page. Which one did you intend? Thanks!!! --Yurik 14:15, 9 August 2006 (UTC)[reply]
I used this, although it has bugs so I ended up tweaking it by hand. I mean whichever is returned by the script - I'll fix that :) Lupin|talk|popups 14:19, 9 August 2006 (UTC)[reply]
Nice! What would be an easy way to try this code? Can I put it into my wiki js page and make it work simply by refreshing? Or there is another qickstart way? --Yurik 19:05, 9 August 2006 (UTC)[reply]
Probably the quickest way is to bookmark the squarefree jsenv (available here, the second one), go to a wikpedia page, hit the bookmark and paste the code in. Lupin|talk|popups 23:36, 9 August 2006 (UTC)[reply]
Wow, nice tool, thanks! I added the info to the tutorial. --Yurik 01:13, 10 August 2006 (UTC)[reply]

Your tools

A Barnstar!
The da Vinci Barnstar

For your creation of the Anti-vandal tool and Navigation popups, I am proud to bestow upon you The da Vinci Barnstar


Thanks for creating two of the most useful tools on Wikipedia. Vandals, beware! Bakanov 12:37, 9 August 2006 (UTC)[reply]

Thanks! Lupin|talk|popups 16:28, 9 August 2006 (UTC)[reply]

Recent edits tools - request and thanks

I find the Recent IP edits tool really useful, many thanks! If it would be possible to have a similar tool for newbie edits that'd be wonderful, since spotting vandals early is so useful. Thanks again, Pseudomonas 12:41, 9 August 2006 (UTC)[reply]

Good idea - I've submitted a feature request which would make this relatively easy. Until that's implemented, this will have to wait though. Lupin|talk|popups 13:15, 9 August 2006 (UTC)[reply]
Oh, thanks, you're fast at this! :) Pseudomonas 13:56, 9 August 2006 (UTC)[reply]

GBthumb

I've just created a small Perl script (User:Wereon/gbthumb.pl) which should make it possible to automate conversion from GBmap to GBthumb templates, and we can finally do away with all the many images in Category:GBdot. If you don't mind, could you give it Lupinbot to do sometime? Thanks muchly. — Wereon 12:57, 9 August 2006 (UTC)[reply]

Unfortunately, Lupinbot only really knows how to upload images, so I think it wouldn't be any good here. (It, or its operator, has actually forgotten how to do even that at the moment :-) Lupin|talk|popups 13:11, 9 August 2006 (UTC)[reply]
Okay, thanks, I'll have a go myself. — Wereon 21:05, 9 August 2006 (UTC)[reply]

Images and spelling

Hello! Just noticed this edit by you. Given all the (awesome) JS scripts you have written, I'd presume that this was done by one too. However, as you can see, the spelling correction was done on an image name, which prevented the image from appearing. I thought I'd point this out, so you could debug your script accordingly. Cheers, and happy editing! -- thunderboltza.k.a.Deepu Joseph |TALK07:08, 10 August 2006 (UTC)[reply]

Thanks - this was operator error :-) Lupin|talk|popups 11:31, 11 August 2006 (UTC)[reply]
Partly mine too, since I am responsible for uploading the image with the misspelled filename. ;-) And while I'm here, I might as well clarify a few of my popup questions. The first is that I'm not able to get the "Fix disamb" option on my popups list even after adding
popupFixRedirs =true;
popupWatchRedirredPages=true;
popupFixDabs=true;
to my monobook.js file. The second, is that when I hover over this link, I see the picture in its full size, and not a thumbnail as expected. Hope you can help me out with these issues. Thanks in advance!-- thunderboltza.k.a.Deepu Joseph |TALK06:45, 12 August 2006 (UTC)[reply]
I've added a little note to the FAQ about options not taking hold - basically, check that caching is not getting in the way. Template previews are likely to be flakey in general, but I see what the problem is there. This will be fixed in the dev version shortly. Lupin|talk|popups 14:57, 13 August 2006 (UTC)[reply]

History windows too small

Hi, i keep getting various history windows too narrow -- the longer comments tend to be outside of the yellow box, with transparent background / dark gray background on top of the regular page to the right of the poped up window. It has been like that for a very long time. I saw this behaviour on both the latest minefield (nightly FF build) and on latest 1.5. Sometimes the text is properly wrapped, but that is rare. Thanks! --Yurik 23:17, 13 August 2006 (UTC)[reply]

Yes, this is a CSS problem and I don't know the solution. Contributions welcome... Lupin|talk|popups 01:47, 14 August 2006 (UTC)[reply]

Navpops RFE

I wonder if when showing a diff, Navpops could also be made to show the contributor and edit summary. Phr (talk) 01:49, 14 August 2006 (UTC)[reply]

Barnstar

I award this golden barnstar for Popups, which have revolutionised my wiki experience. Thank you ever so much! --kingboyk 21:24, 14 August 2006 (UTC)[reply]