User talk:Lupin/archive11

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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

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[edit]

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"[edit]

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[edit]

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[edit]

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]
Appears to be fixed. Thanks! --Pascal666 09:58, 21 August 2006 (UTC)[reply]

Interwiki Resolver Tool[edit]

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[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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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]

Hi I just installed popups in my monobook, and I use Safari (2.0.4, b419.3) on OSX 10.4.8. No obvious issues for the moment, apart some heavy CPU loads when the script is apparently grabing images. Thanks for this great stuff. -- Cedric fr:Utilisateur:Cfoellmi

Blocking checkbox[edit]

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[edit]

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?[edit]

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"[edit]

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[edit]

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?[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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}}[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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?[edit]

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...[edit]

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[edit]

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?[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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"[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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]

Good idea, I'll think about how to do it. Lupin|talk|popups 12:23, 17 August 2006 (UTC)[reply]

Barnstar[edit]

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]
Thanks! Lupin|talk|popups 12:23, 17 August 2006 (UTC)[reply]

popups.js[edit]

Hello Lupin! Can you say me, please, why does your Template popups.js not work on my account on the German Wikipedia de:Benutzer:Doc Taxon in the de:Benutzer:Doc Taxon/monobook.js? Does it not work, because it is the German Wikipedia? Or did I make something wrong, with the input into my monobook.js? Hovers over the diff-Link does not popup something and over pictures, too! It is all so like before, it changed nothing. Please answer on this discussion site, thank you! DocTaxon 09:29, 15 August 2006 (UTC)[reply]

It works now! Thank you, DocTaxon 11:35, 15 August 2006 (UTC)[reply]
ouch, the Germans seem to translate basic functionality in their WP so your script loosens more and more functions. Maybe you can check. Regards, BJ Axel —The preceding unsigned comment was added by 85.212.171.138 (talk) 10:30, 14 January 2007 (UTC).[reply]

"bad remove" watch for filter recent changes[edit]

if possible, could the filter recent changes tool be made to watch for removal of a list of tags and other content that should never, or rarely be removed? - Stephanie Daugherty (Triona) - Talk - Comment - 10:34, 15 August 2006 (UTC)[reply]

Good idea, will ponder. Lupin|talk|popups 12:23, 17 August 2006 (UTC)[reply]

how to fix links to disambiguation pages[edit]

I am trying to use the option fix links to disambiguation page from the navigation popups on the Dutch Wikipedia, but it does not work there. I have added the line: popupFixDabs=true; to my monobook and cleared my browser's cache. I do not see an option fix, or anything. The reason for this is probably that the template indicating a page is a disambiguation page is {{dp}} in stead of {{dab}}. can this be overcome somehow? Best regards, Magalhães 07:37, 16 August 2006 (UTC)

Not currently. I have to fix this. Lupin|talk|popups 12:24, 17 August 2006 (UTC)[reply]
Any idea, when you will have time to fix this? This would be a much used option for me. Magalhães 14:13, 17 August 2006 (UTC)[reply]

About MediaWiki formating on JS subpages...[edit]

Hi again after a break.

I don't really know how this works, but after editing .js page it gets parsed by MediaWiki and all sections are editable ([edit] links are shown) and an index is generated. Somehow it stayed that way on my version and I'm very happy about it ;). Anyway at first it didn't work and you may see that I've made kind of an editing index on the talk page [3], which you might also use.

You may see that this also works on your test page here -> edit first section.

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

This chunk of code from Article.php seems relevant:
                if( !$outputDone ) {
                        /**
                         * @fixme: this hook doesn't work most of the time, as it doesn't
                         * trigger when the parser cache is used.
                         */
                        wfRunHooks( 'ArticleViewHeader', array( &$this ) ) ;
                        $wgOut->setRevisionId( $this->getRevIdFetched() );
                        # wrap user css and user js in pre and don't parse
                        # XXX: use $this->mTitle->usCssJsSubpage() when php is fixed/ a workaround is found
                        if (
                                $ns == NS_USER &&
                                preg_match('/\\/[\\w]+\\.(css|js)$/', $this->mTitle->getDBkey())
                        ) { ...etc etc
Looks like js pages in user space are treated specially (wrapped in pre tags). Lupin|talk|popups 12:22, 17 August 2006 (UTC)[reply]


Talk:Main Page javascript request[edit]

Would it be possible to add some javascript to Mediawiki:Monobook.js to permanently add Template:Main Page discussion footer to the bottom of Talk:Main Page, so that if someone clicks (+) to create a new section, the section will go above the footer? Thanks. — BRIAN0918 • 2006-08-17 18:14

RE: CSS advice[edit]

Sorry it took me so long to respond, but I've been away most of the summer and just now checked for messages. For me, [4] does not spill over. However, [5] does kind of spill over. By that, I mean that the gray shaded areas and some text extend past the right-hand boundary of the pop-up. Is that what you mean by spill over? If it is, I don't see why it wraps irregularly in certain cases. I'll look into it a bit more and then get back to you. Thanks for making popups! --M@thwiz2020 13:49, 22 August 2006 (UTC)[reply]

I've noticed that in the above example you may see that the browser is not able to brake a text like:

[[Special:Contributions/68.124.164.144|68.124.164.144]]

The problem is that navpopup_maindiv width is set to 350px. I've chcecked that using "width: 450px; max-width: 450px;" in it's style would be enough here and should be enough in general. Maybe you could just add some style fixing code in function editPreviewTable. Maciej "Nux" Jaros **drop a note** 03:26, 23 August 2006 (UTC)[reply]

Damilola Image[edit]

Apologies, I did obtain Image:Damilola Taylor.jpg from the public domain. If you could change the licensing I'd be much obliged. 88.105.41.232 15:31, 23 August 2006 (UTC)[reply]

dotty maps[edit]

I'm currently in the process of replacing all your dotty GB maps with versions using GBthumb etc., and so I am listing all the orphaned maps for deletion. Hope you don't mind. Incidentally, it seems like quite a few of them weren't ever used. — Wereon 21:04, 23 August 2006 (UTC)[reply]

Bug with redirect fixing while editing...[edit]

Hi.

Popups is able to display preview when highlighting text in edit area, but it is not working well then. I'm not sure why is this happening, but I guess that it is because you take first header's content (or maybe page title) as an article title. This is not correct while editing as the title is e.g. "Editing User talk:Lupin (comment)". I'm not sure how you could fix this, but maybe you could take the title from the first tab (here <li id="ca-nstab-user"><a title="" accesskey="c" href="./wiki.php?slug=User:Lupin">User page</a></li>) or maybe just replace all occurences without reloading the page (which would probably be the best).

Best regards, Maciej "Nux" Jaros **drop a note** 08:24, 24 August 2006 (UTC).[reply]

PS: If you will decide to take the title from the first tab, then you could probably use something like:

var this_simple_href = document.getElementById('p-cactions').getElementsByTagName('li')[0].getElementsByTagName('a')[0].href;

Well, friends, this is it...[edit]

I'll be moving to Connecticut tomorrow along with my family. I'll be leaving Wikipedia for a while until everything gets set up at our new home. It all depends on my Internet access, but I'll be seeing you in a week or two. Bye! --Slgr@ndson (page - messages - contribs) 02:01, 25 August 2006 (UTC)[reply]

Popup Count[edit]

I was wondering if there is some way for the "count" button to work with Interiot's Tool2? The other one no longer works (it doesn't update). Thanks in advance. -Royalguard11TalkMy Desk 05:35, 26 August 2006 (UTC)[reply]

Me again, but I was wondering about Essjay's tool too as above (on your talk page). How would I do either of those? -Royalguard11TalkMy Desk 05:42, 26 August 2006 (UTC)[reply]
  • Never mind about the above. After a little experimenting, I figured it out. Although you should consider making Essjay's tool the defult one. -Royalguard11TalkMy Desk 00:38, 29 August 2006 (UTC)[reply]

Popups problem.[edit]

I have been occasionally getting a nasty error message. The symptoms are as follows:

  1. The page loads correctly.
  2. An error dialog is shown: "The website <url of article> cannot be opened. The action is aborted." [OK only]
  3. The page is replaced by a built-in navigation error page.
  4. Press the back button and you're back on the page at point 1.

I at first thought I had a coding error in one of my own script, but I have found a way to reproduce the error that shows that Popups is to blame.

  1. Place the mouse pointer at the location of a link or image on the target page.
  2. Navigate to the target page.
  3. While the browser is loading the page, fiddle the mouse a bit.
  4. Above symptoms occur as soon as the navigation completes.

I'm not sure how to go about fixing this. As you can see the problem will not occur frequently, since for it to happen the mousepointer must accidentally move over the place where a link is in the target page. Still, it's very annoying when it happens.

I'm sorry to bring up such an obscure problem, so I'll try to help by giving you my idea on what might cause this to happen. You're loading the popups here, right?

<script type="text/javascript">
    if (window.runOnloadHook)
        runOnloadHook();
</script>

So that might mean that the page is not fully loaded when the links are getting their popups wired. If they then receive a mousemove, the computer is still busy, the timeout elapses, page still not fully loaded because the last bit of page simply hasn't been processed yet, popup appears, tries to open a connection while the connection with the current page is still open... it could be. Of course, it might be something totally different.

If I can find a way to stop this from happening, I'll let you know. Bye, Shinobu 02:20, 28 August 2006 (UTC)[reply]

I've inserted the following code just before inclusion of your script:

function TryToFixLupinsPopups()
{
    var fns = [];
    var onreadystatechange = document.onreadystatechange;
    var oldOLH = addOnloadHook; //Not used

    addOnloadHook = function(fn)
    {
        fns[fns.length] = fn;
    };

    document.onreadystatechange = function()
    {
        var i;
        try
        {
            onreadystatechange();
        }
        catch(e)
        {
        }
        if(document.readyState == 'complete')
        {
            document.onreadystatechange = onreadystatechange;
            for(i in fns) fns[i]();
        }
    };
}
TryToFixLupinsPopups();

It seems to help. I'll test this configuration for a while, so I can fix any problems that might occur. If it keeps working, we might discuss if and how we'll finalize the solution. For instance, I'm using another script that uses almost the same code to hook into onreadystatechange, so that could become a shared library. Or a script could be created that changes addOnloadHook like the above does - these two are not mutually exclusive of course. But first I'll go on reading on Wikipedia for a while, and try to reproduce te problem, to be as sure as possible that the problem is actually solved. Shinobu 04:49, 28 August 2006 (UTC)[reply]

Before you ask: yes, above code contains a slight bug. It was originally only intended to shield against a possible built-in Wikipedia onreadystatechange hook, so that other script using the same code interferes a bit, although not noticeable. If I turn this into a shared lib, I'll fix that. Shinobu 23:49, 28 August 2006 (UTC)[reply]

It turns out onreadystatechange is not portable, but no need to panic. In de standard Wikipedia function library sits a good alternative, so it seems. I'll do some more tests.

hookEvent("load", function()
{
    //Do stuff here.
});

Faithfully yours, Shinobu 03:01, 31 August 2006 (UTC)[reply]

Everything seems to work fine now. Code is located at User:Gerbrant/alternativeOnloadHook.js. Yours sincerely, Shinobu 05:22, 31 August 2006 (UTC)[reply]

Great, thanks for the work you've done on this bug. Could you prepare something I can use to fix the popups.js script directly? I don't understand your module business, I'm afraid. Lupin|talk|popups 08:32, 26 September 2006 (UTC)[reply]

(section split for editing convenience)[edit]

The "module business" is just something I use for ease of debugging and loading scripts - just ignore it, it's not needed for the problem at hand. I only explicitly declared the module because that made it easy to toy with the functions on my computer locally.

Relevant code:

this.alternative = function(fn)
{
    hookEvent("load", fn);
};

addOnloadHook = this.alternative;

Since your script calls addOnloadHook, I just override it with this.alternative. It accepts a callback function, just like addOnloadHook, and passes it to hookEvent in wikibits.js.

So you could either replace calls to addOnloadHook by hookEvent, or, if you want to keep this configurable, copy-paste

function(fn)
{
    hookEvent("load", fn);
};

and use whichever function the settings for popups say should be used, like

if(useAddOnloadHook)
    myOnloadHook = addOnloadHook;
else
    myOnloadHook = function(fn)
    {
        hookEvent("load", fn);
    };

I hope this helps. Yours sincerely, Shinobu 09:50, 3 October 2006 (UTC)[reply]

Edit summary bug?[edit]

I recently updated popups and have noticed that, when I make a reversion, the edit summary reads "(Revert to revision $1 dated $2 by $3 using popups)". When you have a moment, can you look into that? Thanks :) RadioKirk (u|t|c) 17:55, 28 August 2006 (UTC)[reply]

I'm using a different monobook.js file now, so, never mind. :) RadioKirk (u|t|c) 12:44, 29 August 2006 (UTC)[reply]

My problem with the pop ups.[edit]

I cannot view the "actions" bar on the pop ups and I am unsure how I can. When I hover the cursor over "actions" nothing happens. I have asked User:Voice of All (from whom I receive the monobook coding) if this is a problem with the code or my computer and I was advised to ask you. If you have any information which can help me, I would truly grateful, thank you. - Erebus555 20:04, 30 August 2006 (UTC)[reply]

Please see WP:POPFAQ. Lupin|talk|popups 08:33, 26 September 2006 (UTC)[reply]

Badwords[edit]

Hi, I wanted to let you know I had ripped your javascript and your list of badwords to be able to use my own list (which suits more my needs, for example to see if some templates are added on a page). If you don't want me to do that, just tell me so on my talk page and I'll remove both files from my userpage. I didn't put any link to these two files anywhere, so I should be more or less the only one able to use them. Thanks a lot for this wonderful tool :) Lucasbfr 22:42, 4 September 2006 (UTC)[reply]

No, that's fine. Lupin|talk|popups 08:33, 26 September 2006 (UTC)[reply]

User contrib counter[edit]

Take a look at this  :) --Yurik 04:17, 5 September 2006 (UTC)[reply]

Hm, database killer? :-) Lupin|talk|popups 08:36, 26 September 2006 (UTC)[reply]

Kudos, and request[edit]

Once again kudos for the wonderful popup script, and for implementing a feature that I had requested earlier (history preview). I have another request, and I don't even know if it is possible: on my system (Windows/firefox), when I hover over a link near the bottom of the page, the popup window will show up even further down and will only be partly visible. It would be nice if the popup window could be displayed above the link in these situations. Cheers, AxelBoldt 23:17, 7 September 2006 (UTC)[reply]

Yes, this is a known bug. I should list these somewhere... Lupin|talk|popups 08:37, 26 September 2006 (UTC)[reply]

popup link count versus what links here[edit]

HI, Thanks for the popup feature; it's incredible. For link disambig (and in fact, for every context, as far as I can see) the count of "What Links Here" in main namespace (namespace 0) is far more useful info than the number of links on the page (as currently appears on the popup). In fact... I can't think of a context in which the latter is useful at all, except to give an idea how long the article is.. but the size in KB does that pretty well... so the link count in its current form is redundant.. but count of "what links here" in Main would be useful... Thanks --Ling.Nut 10:36, 9 September 2006 (UTC)[reply]

Good idea, I'll think about it. Lupin|talk|popups 08:40, 26 September 2006 (UTC)[reply]

a new toy[edit]

I've made a new toy that you might find useful. It's at User:Zocky/jsSandBox.js. As always, comments are welcome. Zocky | picture popups 07:02, 11 September 2006 (UTC)[reply]

Looks very nice! It appears fine, but doesn't respond properly to control-enter and control-space. The former does nothing, and the latter makes the context menu appear - I think this is a mac shortcut. Maybe another script is gobbling the control-enter keystrokes, I'll investigate if I get the chance. Lupin|talk|popups 08:45, 26 September 2006 (UTC)[reply]

Popups revert summary incorrect[edit]

see diff. (Revert to revision $1 dated $2 by $3 using popups) Shinobu 22:00, 11 September 2006 (UTC)[reply]

The problem persists: diff Shinobu 13:13, 13 September 2006 (UTC)[reply]
I don't know why this happens :-( Presumably you're sure that you've cleared your cache? Lupin|talk|popups 08:47, 26 September 2006 (UTC)[reply]
Yes. Maybe it's a Heisenbug or something. Perhaps the new API will export a more robust way of saving article text. Shinobu 09:38, 3 October 2006 (UTC)[reply]
I purged my cache again to be really sure and reverted something; result: it happene again. We'll have to make do, I suppose. Shinobu 10:13, 3 October 2006 (UTC)[reply]

<a title=""[edit]

Bug: Why your (popups) script made all title attributes in (article) links/ anchors empty!?!? Is that necessary? greeting —Olliminatore 12:33, 12 September 2006 (UTC)[reply]

No, it's not necessary, but the alternative is having the browser title popup over the javascript popup, which I find disatracting. There's an ancient option to turn this off - see WP:POP. There's also a way to access the titles from a script if you're interested. Lupin|talk|popups 08:49, 26 September 2006 (UTC)[reply]
Many thanks and sorry, your mentioned parameter solved the problem! —Olliminatore 22:23, 30 September 2006 (UTC)[reply]

New error today?[edit]

Error: this.article has no properties Source File: http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 6216

Hello, I've started getting the above error (Netscape 7) today, hovering over, for example the "popups" part of your sig. TIA --Connel MacKenzie - wikt 21:38, 14 September 2006 (UTC)[reply]

Works for me in firefox. Can you replicate in that browser? Lupin|talk|popups 08:50, 26 September 2006 (UTC)[reply]

My Spellchecker[edit]

I'd like your opinion on my preliminary spell checker. On the English Wiktionary, if you visit wikt:WT:PREFS you can enable the spell-check button. Edit a random page, then try the the green check-mark "Check spelling" button. Feedback is appreciated. --Connel MacKenzie - wikt 08:00, 16 September 2006 (UTC) (edit) 17:04, 20 September 2006 (UTC)[reply]

Three more feature requests[edit]

If you find them useful and have the time, maybe you can implement these:

  • Hovering over the "history" link of an article should pop up that article's history, just like it does on watchlist pages (gives a quick overview of the last changes to an article).
  • Hovering over the "What links here" link of an article should popup the first entries of the What links here list.
  • Hovering over the "User contributions" link on a user page should popup that user's contributions (gives a quick way to find out if a user is still active).

Thanks again for your tool. Cheers, AxelBoldt 17:57, 16 September 2006 (UTC)[reply]

If you set popupOnlyArticleLinks=false, then you get the first and third for free. I haven't investigated the second, but should! Lupin|talk|popups 08:51, 26 September 2006 (UTC)[reply]

Navigational popup transparent[edit]

Is this a bug in Firefox 1.5.0.7 or actually in the navigational popup JavaScript? Thanks - Samsara (talkcontribs) 22:03, 18 September 2006 (UTC)[reply]

It's very likely to be a caching issue. See WP:POPFAQ for instructions on resolving it. Lupin|talk|popups 08:52, 26 September 2006 (UTC)[reply]

Article summary[edit]

Is there an option for Wiktionaries, to customize what is shown on a summary? Wiktionary does not use the Wikipedia-style prelude for its entries. It would be nice if there were an option to instead show all lines starting with "#" (i.e. definitions) when running on Wiktionary. Is there a way to do this, with the current version? --Connel MacKenzie - wikt 17:06, 20 September 2006 (UTC)[reply]

Not conveniently, no. If you want to try your hand at this, take a look at the Previewmaker stuff in popups.js. Lupin|talk|popups 08:53, 26 September 2006 (UTC)[reply]
On Wiktionary, I'm having people use wikt:WT:PREFS to set various cookies (so that even anons can use popups.) I add wikt:User:Connel_MacKenzie/mess-with-popups.js to that, to preview Wiktionary entries as I said above. But my code is quite sloppy in comarison to yours.
When using that on Wiktionary, it works. But Wikipedia links do not preview Wikipedia articles (and, if I recall, Wikipedia popups do not preview Wiktionary entries.) Do you have any plans to expand the list of 'preview-able' links to cover all the WMF projects? It would be nice to not have to hop over to Wikipedia just to get a quick preview. Note: if you do preview Wiktionary links, please, preview only 'properly formatted' entries as I did in 'mess-with-popups.js'. Thanks in advance. --Connel MacKenzie - wikt 17:56, 20 November 2006 (UTC)[reply]

Just a question[edit]

Is there anyway to view the headings related to the topic in popups. This would be helpful to get a bit more of an overview of an article (whether it's a stub and needs to be tagged, any other minor MoS changes) and also provides a context to the diffs that one sees. I sometimes avoid reverting using popups on diffs because I think that I may not know the exact context of the diff. This would be extremely helpful. Thanks. Nobleeagle (Talk) 07:08, 21 September 2006 (UTC)[reply]

Sorry, I don't understand this request. Please could you clarify exactly which headings you would like to see, and when? Thanks, Lupin|talk|popups 08:55, 26 September 2006 (UTC)[reply]
Basically, is it possible to see the Table of Contents in a popup? Nobleeagle (Talk) 09:56, 26 September 2006 (UTC)[reply]

Altering existing interface links[edit]

Please could you help me as I am having trouble using the JavaScript shown at [6], I have tried many methods: for example wrapping it in an onload hook thing and a function. I recived no reply from the village pump and the JS WikiProject seems dead. I am trying to use this code in this manner:

document.getElementById("n-Featured-articles").childNodes[0].href="./wiki.php?slug=Wikipedia:Fetaured_content"
q=document.getElementById("n-Featured-articles").firstChild; q.removeChild(q.firstChild); q.appendChild(document.createTextNode("Featured content"))

Thank you in advanced. Lcarsdata (Talk) 17:53, 21 September 2006 (UTC)[reply]

Using popups on other wikis[edit]

I was wondering if it was possible / how to get popups to work on other MediaWiki wikis. I first just put it in like on here, but the popups (though working) just showed everything as empty pages. I tried looking in the code and changing each en.wikipedia.org to the address of the site, but that didn't do it. Is there a simple way to get it to work (certain things to find/replace), for someone who doesn't actually know what the code is doing? -Goldom ‽‽‽ 07:54, 22 September 2006 (UTC)[reply]

If you follow the instructions at WP:POPFAQ, it should just work. Lupin|talk|popups 08:56, 26 September 2006 (UTC)[reply]

Edit summary text before submitting[edit]

I'd like to be able to modify the Edit summary before submission when doing a revert. Probably the easiest way would be to make it so that it doesn't automatically submit the page. Could this be made some sort of user selectable feature perhaps?

This is a currently available option. Try setting popupRevertSummaryPrompt=true. Lupin|talk|popups 08:57, 26 September 2006 (UTC)[reply]

VoABot[edit]

I'd like to give 1-2 other trusted, knowledgable users the source code and info to run my two bots. Would you be interested? Thanks. Voice-of-All 21:35, 30 September 2006 (UTC)[reply]

List Red Links[edit]

I have a bug, and an extra feature for the list redlinks script.

Bug: The href of the link in the list goes to to "#redlink123", but the problem is that the links in the list also have the name #redlink123, so it just goes there. A simple fix:

l.name = "";

Extra feature: The redlinks in the list just show the redlink title and not where it actually goes. Simple fix:

 var lp = unescape(lk.href.replace('http://en.wikipedia.org/w/index.php?title=', '').replace('&action=edit','').replace(/_/g, ' '));
 if(l.innerHTML != lp) l.innerHTML += ' ('+lp+')';

GeorgeMoney (talk) 21:46, 30 September 2006 (UTC)[reply]

Thanks - I've fixed the bug. I can't help thinking that the extra feature could be confusing in some situations, but of course feel free to use it. Lupin|talk|popups 09:39, 1 October 2006 (UTC)[reply]

Scripting and logging[edit]

Hi there! I was told you are an adept javascriptor; could you please look at User talk:Interiot regarding a suggested log page that could benefit from scripting? Your input would be appreciated. >Radiant< 10:37, 1 October 2006 (UTC)[reply]

Re: copvyio nuker[edit]

Check out commons:MediaWiki:Quick-delete.js. You can pass almost anything in the URL with {en|de}codeURIComponent. [ælfəks] 05:08, 2 October 2006 (UTC)[reply]

Error on CSD page[edit]

Hello. I have been having a problem with a specific page, WP:CSD. I posted the details at Wikipedia talk:Criteria for speedy deletion#Technical error with this page? because I thought that it was something in the page itself. Someone there is suggesting that it may be related to popups. Could you please take a look. I've not copied all the text here, but I can if you would like. Thanks --After Midnight 0001 11:45, 2 October 2006 (UTC)[reply]

Cross-wiki popup preview bug[edit]

A link to my Wikimedia Commons contributions on a Wikipedia page (such as this) previews as my Wikipedia contributions. --Pascal666 07:14, 3 October 2006 (UTC)[reply]

Live preview and images[edit]

Hi.

I just wanted to notify you that I've made a bugfix in pl.version of popups that fixed problems with images when they where refered with default "Image" instead of Polish "Grafika". See [7].

Cheers, Nux (talk) 20:13, 3 October 2006 (UTC)[reply]

Thanks, I've updated the dev version. Lupin|talk|popups 05:04, 4 October 2006 (UTC)[reply]

Problem with scripts[edit]

Hello!

I've been using your scripts (popups and recentchanges) for a while, and they are no longer working; I miss them terribly, and am exceedingly annoyed when I try to preview an article and can't. I actually get annoyed when I can't preview links on sites other than Wikipedia!

Anyway, my scripts are no longer working, and I've tried replacing them and reverting my monobook.js page and refreshing everything, but they still aren't fixed. The popups worked for approximately two and a half minutes after I re-added the information the second-to-last time, but the recentchanges still isn't working. I was hoping to get some vandal-fighting done tonight but I guess I'll have to wait... it is a good chance to get some tedious stuff done. But still.

I'd appreciate if you could let me know if there's something I should try or something I'm doing wrong. I can't think of anything, but you're obviously smarter than I and I may be missing something entirely obvious!

Thanks again for your tools. I am now realising that I can't live without them, and don't know what I did before I found them! — Editor at Large(speak) 08:15, 7 October 2006 (UTC)[reply]


Wait, never mind. They're working again. I don't know if someone did something or if it was something on my end, but thank goodness! I'm going to go dance around for a minute after I'm done admiring the lovely yellow popups that have returned... — Editor at Large(speak) 08:28, 7 October 2006 (UTC)[reply]

Hey[edit]

Don't mean to sound rude or anything but I just thought I'd remind you of my earlier query as it remained unanswered. Nobleeagle [TALK] [C] 06:42, 8 October 2006 (UTC)[reply]

Your Edit Counter thing[edit]

Hi. I just tried to use your edit counter thing at User:Lupin/editcount.js, copied it onto my User:Ed/monobook.js and it simply didn't work. Can you tell me if I did anything wrong?--EdI'm lonely, talk to me contribs 17:13, 9 October 2006 (UTC)[reply]

Popup code does not see user link[edit]

I noticed that when I view Recent changes and someone made multiple changes in one day to the same page, the popup code does not see the user link as a link. I only get the standard tooltip. Will (Talk - contribs) 01:26, 13 October 2006 (UTC)[reply]

Problems with wikis at Wikia.com[edit]

I added the code for popups to http://starwars.wikia.com/wiki/User:Will_Pittenger/Monobook.js and found it worked fine. So then I added it to http://www.wikia.com/wiki/User:Will_Pittenger/Monobook.js and http://christianmusic.wikia.com/wiki/User:Will_Pittenger/Monobook.js, both on the same site as the Star Wars wiki. In those wikis, it does not work at all.

Is there a solution? Will (Talk - contribs) 19:02, 13 October 2006 (UTC)[reply]

After further evaluation, the starwars popups aren't working either. The popup appears, but then never expands. The links in the drop menus for the talk page (and similar links) work. That leaves me wondering if the code that expands the popup is assuming the website is Wikipedia rather than "starwars.wikia.com". Will (Talk - contribs) 17:59, 19 October 2006 (UTC)[reply]

Any chance of a solution soon? No one has responded to to these posts. It would be nice to at least know someone knows of the problem. Do you even care about Wikia.com wikis? Will (Talk - contribs) 05:40, 24 October 2006 (UTC)[reply]

The script should work on wikia. It works with firefox for me using [8]. Lupin|talk|popups 08:09, 26 October 2006 (UTC)[reply]


I just tested with some Star Wars links. It worked on most namespace pages. However, I never got any expansion for the diff or history popups.

Futhermore, I get nothing on wikia:ChristianMusic or WikiCities:. It is installed in both wikis. See wikia:christianmusic:User:Will Pittenger/Monobook.js, WikiCities:User:Will Pittenger/Monobook.js, wikia:StarWars:User:Will Pittenger/Monobook.js,

Like you, I use Firefox (1.5.0.7). Will (Talk - contribs) 02:33, 31 October 2006 (UTC)[reply]

It looks like wikia wikis don't use the query extension. This will affect some popup functionality. Try setting popupUseQueryInterface=false to hopefully avoid seeing broken behaviour (but with reduced functionality - for example, history previews just won't work without query). You could also request that query.php be installed on wikia. I think you have to use monobook.js and not Monobook.js on the other wikis you mention. Lupin|talk|popups 20:53, 31 October 2006 (UTC)[reply]

I doubt the Wikia staff would install it. They refused to install Winter for the Christian Music wiki that I admin. As for the name, since the name is the same for all three wikis, I question that is the problem. I made no changes to that for them moment. I did notice the problem JS pages are formated differently from the Star Wars version. Could that be a symptom of the problem? Will (Talk - contribs) 05:12, 1 November 2006 (UTC)[reply]

New API[edit]

Hi, i've been working on the http://en.wikipedia.org/w/api.php for a while, and got some of the features up and running. I remember you were asking me about revision enumeration. Please take a look (also see the m:API) if that is what you wanted. Watchlist will by synced up soon. Edit submits are planned :) --Yurik 20:06, 13 October 2006 (UTC)[reply]

Using popups in my watchlist[edit]

So I did everything listed for installation at WP:POP, and it works fine everywhere…except my watchlist and the Main Page. —  $PЯINGεrαgђ  23:10, 16 October 2006 (UTC)[reply]

unsolicited advertisements[edit]

Dear Lupin,

As you are the creator of the "popups" software, and as the source code appears to be located on one or more of your user pages, I send you the following requests :

Please remove from User:Lupin/strings-draft all advertisements in the form of the phrase : 'using popups'.

Please do what is necessary so that they are also removed from foreign languages translations.

This is Spam. This is annoying. I do not want to find those in my watchlist any longer.

The purpose of edit summaries is not to advertise oneself.

This being said, I have no doubt your tool is a wonderful device helping a lot of people to perform their tasks on Wikipedia.

Best regards.

Teofilo talk 08:26, 23 October 2006 (UTC)[reply]

So how are people going to find out where to go to get the same tool that the previous editor was using? Your argument is short-sighted. - Samsara (talkcontribs) 22:44, 23 October 2006 (UTC)[reply]
Agree with Samsara. It's actually helpful knowing a tool like pop-ups was used. Why? If you know that a tool was used and it malfunctioned you can talk to it's creator (here ;-)) and ask him/her to fix possible bugs. If you don't know, but want to know more about something that might come in handy , the link is useful as well. As long as it's confined to summaries, not in articles itself it's fine by me. NielsF 02:51, 24 October 2006 (UTC)[reply]
This has been discussed before. You'll probably find the old discussion at User:Lupin/alltalk. Lupin|talk|popups 08:10, 26 October 2006 (UTC)[reply]

rollback feature[edit]

Your rollback feature is very useful. However, it automatically marks all reverts as minor. I don't like that, since I don't consider vandalism reverts as minor. How can I change that? --Exir KamalabadiJoin Esperanza! 10:46, 24 October 2006 (UTC)[reply]

There's no clean way to do that at the moment. I'll add it to the todo list. Lupin|talk|popups 21:00, 31 October 2006 (UTC)[reply]

Quick reporting of vandals[edit]

Yesterday, several pages like Hungarian Revolution of 1956 and Nebraska got hit by a swarm of IP vandals. I made a total of 8 submissions to the Wikipedia:Administrator intervention against vandalism page, along with numerous reverts (I wish I had had popups then :( ) but practically every single time I did, I had to make my edit first, and then copy it, refresh the edit window, and make it again to submit it. This is despite copying previous edits of mine to speed up how quickly I could submit the vandals (and I should note that I only got 8 of them because I had to leave). It seems there were a lot of other people trying to stop the flood as well. I noticed you had one-click reversion among the features, and I'm curious if you could make something like that for vandal submission. In this case, something a one-click revert and warn next to the regular revert. If the user has received the full range of warnings already, or is a repeat vandal, then it should send a submission to Wikipedia:Administrator intervention against vandalism. This would make my life a lot easier if this happens again. -NorsemanII 15:36, 24 October 2006 (UTC)[reply]

I think there may be tools like this already in circulation. Lupin|talk|popups 20:59, 31 October 2006 (UTC)[reply]

Possible extension of anti-vandal tool[edit]

Lupin, I just came across your anti-vandal tool recently, and was blown away! Thanks for your efforts to provide tools to make things easier for us less-godlike users!

I had an idea for an extension that could be useful for WikiProject Disambiguation -- a "new links to disambiguation pages detector." Basically, it would filter the Recent Changes feed just like your AVT, but instead of looking for vandalism it would look for links to disambig pages. Not all of them, of course, but a list of the ones that are most frequently linked to, like American, English, and so forth. We could easily develop such a list using the data generated on WP:DPM. When it detects a newly-added link, instead of (or in addition to) a warning or a rollback, it would allow the operator to click a link to post a polite message on the user's talk page informing them that their recent edit to Pagename included a link to Foogle, which is a disambiguation page, and it would be extremely helpful if they would be so kind as to edit this link to point to the most appropriate article (of those listed on the disambig page) corresponding to their topic.

Is this something you would be interested in? Is it feasible? The only downside I can see is that it might generate a lot of talk page messages. --Russ (talk) 20:40, 18 October 2006 (UTC)[reply]

This is moderately feasible, I think. Certainly flagging pages containing links to a given page is doable, although the filter doesn't actually restrict attention to stuff added by the editor and it sometimes flags things which appeared in previous edits. This isn't generally a problem for vandalism indicators, but it may be for your application. The talk page editing business would be possible, but I don't know how annoying it would be for the editors concerned! Unfortunately I don't really have time to spend writing new code right now, though. Lupin|talk|popups 20:58, 31 October 2006 (UTC)[reply]

Lupin Rollback[edit]

I have got Lupins tool. So how do I do non-admin rollback? Because when I click on it, it does nothing. Please archieve your talk page. Thanks Culverin? Talk 04:38, 2 November 2006 (UTC)[reply]


Same here. I have non-admin rollback, and it won't work for me either. Nothing happens, and nothing is logged in my contribs. Cheers,  MichaelHenley (Page-Talk-Contribs) 02:19, 8 November 2006 (UTC)[reply]

Which tool are you referring to? Reverting from popups still works for me, as does reverting from the Filter recent changes page. Lupin|talk|popups 21:17, 10 November 2006 (UTC)[reply]

Draggable divs[edit]

Is there an easy way to make an arbitrary div (eg. inserted by a Greasemonkey script) draggable in the same (or similar) way that popups are? Also, are there any better "draggable" libaries available other than the one you're using? [ælfəks] 03:11, 8 November 2006 (UTC)[reply]

I don't know the answer to either of your questions. Sorry! Lupin|talk|popups 21:18, 10 November 2006 (UTC)[reply]
Never mind, we've sorted it out; I managed to find a version of domdrag optimised for use with Greasemonkey. [ælfəks] 02:00, 23 November 2006 (UTC)[reply]

Popups not showing[edit]

It could be a problem specific to the public computer I'm using right now, but suddenly popups aren't showing anymore and I used them to put something on my watchlist a few hours ago. Did anything change in the meantime? What could cause this? - Mgm|(talk) 11:54, 8 November 2006 (UTC)[reply]

Dunno, sorry. Is it still a problem? Shift-reloading often seems to fix this sort of thing. Lupin|talk|popups 21:13, 10 November 2006 (UTC)[reply]

Citation on Paro[edit]

Alright this response is quite late, however I was wondering how should I cite references to the stuff I added on "Paro". What I added was based on my visit to Paro, also could I upload images of Paro?

wikEd[edit]

The wikEdlogo
The wikEdlogo

Hi Lupin, I thought you might be interested in this. I am theauthor of the Cacycle editor extension. Thisprogram is no longer actively maintained in favor of its much morepowerful successor wikEd.

wikEd has all the functionality of the old editorplus: • syntax highlighting • nifty imagebuttons • more fixing buttons • paste formatted textfrom Word or web pages • convert the formatted text intowikicode • adjust the font size • and much, muchmore.

Switching to wikEd is easy, check the detailed installation description on its project homepage.

Cacycle 22:33, 8 November 2006 (UTC)[reply]

User:Lupin/recent2.js edited[edit]

Hello Lupin,

I'm very sorry I think I edited your User:Lupin/recent2.js' page by accident. Have I damaged anything? Feel free to reverse my "vandalism"! (Nobody seems to complain so it is possibly minor)

Nmacpherson 23:16, 8 November 2006 (UTC)[reply]

No, don't worry about it. Lupin|talk|popups 21:12, 10 November 2006 (UTC)[reply]

What is supposed to happen when you click Revert for the newest edit?[edit]

In history, if you hover over the newest edit, and click revert, what should happen? In my experience, you point to the version you want to revert to -- not from. If you attempt to revert to the newest version, WP goes through the motions of reverting, so you might think the change was reverted. But it's still there.

I think you need to display some sort of error message when that happens. Will (Talk - contribs) 04:48, 9 November 2006 (UTC)[reply]

You're correct - I'll add this to the TODO list. Thanks for letting me know. Lupin|talk|popups 21:19, 10 November 2006 (UTC)[reply]

You fixed this, but forgot to tell me. The new code requires that you specify the version to revert from. Will (Talk - contribs) 04:40, 27 November 2006 (UTC)[reply]

popups and history timestamps[edit]

When the popups tool is used to view page histories, it shows the time of each edit to the exact second. However, the normal history page only shows the time to the minute. Where does the popup script get this additional data? Thanks. --Ixfd64 02:44, 11 November 2006 (UTC)[reply]

Watchlist diffing monobook.js[edit]

Lupin -- you seem to be Wikipedia's expert on custom javascript, so I'll run this by you.. I've created a script that adds the "history" tab's diffing interface to your watchlist. Two radio buttons next to each revision of an article. Click one on the left, click one on the right, and voila, instant diff. To your knowledge, has this been done before? I'm not sure what the standard avenue is for publicizing user scripts on Wikipedia, but I'd love to share this one. It's at User:Dantheox/watchlistdiff.js --Dantheox 23:48, 11 November 2006 (UTC)[reply]

Possible bug when previewing links to templates[edit]

Go to Wikipedia:Template messages/User talk namespace. Hover over "{{Template:test4}}". For me the preview window shows what is below.

as you did to :{{{1}}},}} you will be blocked from editing Wikipedia. <noinclud
{{TestTemplatesNotice}}

Turns out that it is doing the same thing with the link to the template here. Also, the entire text, except for the template, is a link to Image:Stop hand.svg. Will (Talk - contribs) 06:05, 12 November 2006 (UTC)[reply]

After editing my monobook[edit]

After editing my monobook now, the popups pop up, and then they disappear less than a second later. ? —  $PЯINGrαgђ  Always loyal! 21:52, 12 November 2006 (UTC)[reply]

BUG REPORT: Popups "editors" action not working[edit]

I'm getting a Python runtime error page when I use the "editors" menu item in popups. It seems to happen for every page. Here is the traceback for the page Primitive wrapper class:

Traceback (most recent call last):
  File "contribution-counter", line 177, in ?
    print """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  File "/home/tim/public_html/cgi-bin/replag.py", line 40, in getlag
    raise RuntimeError ('Failed to retrieve replication lag: %s' % (value))
RuntimeError: Failed to retrieve replication lag: unsubscriptable object

Doug Bell talkcontrib 08:04, 13 November 2006 (UTC)[reply]

It seems to be fixed now because the "editors" menu item is gone. I assume this is a dead feature, or is it just temporarily broken? —Doug Bell talkcontrib 21:37, 16 November 2006 (UTC)[reply]

Hi. When using your edit counter what do the colour differences mean on the stats page? I.e. what is the difference between blue and green in the graphs? Also, what does the orange box at the top of the stats signify? Thank you, DanielBC 01:20, 16 November 2006 (UTC)[reply]

The the green parts of the bar represent minor edits, and the blue parts the other edits. The orange bar at the top represents the total period the editor has been active. You should be able to drag the ends of the orange bar around to change the period for which stats are displayed. Lupin|talk|popups 20:26, 16 November 2006 (UTC)[reply]

Popups don't always work[edit]

Do you have any idea how popups could be working in some pages but not in my watchlist? Outside that and Recent Changes, it appears to work fine. I have the enhanced watchlist and recent changes active if that might be relevant. -Will Pittenger 06:12, 16 November 2006 (UTC)[reply]

I fixed it. Found that some scripts I copied in were copied in incorrectly. They needed to be imported as modules. Will (Talk - contribs) 05:02, 18 November 2006 (UTC)[reply]

Missing "]" in element list[edit]

Just a heads-up, on line 4708, you closed your elements with a [ instead of a ]. Probably because of a right-to-left text direction. (I noticed this though Firefox's error console–handy thing.)

Oh, and I haven't been able to see popups on this computer in Firefox (2.0) for a while... could this be why (i.e. just drops the whole things from one error)? — SheeEttin {T/C} 02:36, 17 November 2006 (UTC)[reply]

Chicken[edit]

Too fast for me. :o) Can't sleep, clown will eat me 21:44, 17 November 2006 (UTC)[reply]

Do you have tool user boxes?[edit]

Do you have user boxes for your tools? Providing them might increase the number of users that find out about your tools. Will (Talk - contribs) 06:30, 18 November 2006 (UTC)[reply]

Someone has written one; it's at Wikipedia:Tools/Navigation popups/Userbox. Lupin|talk|popups 10:24, 18 November 2006 (UTC)[reply]

You certainly have the neatest toy box in all the WP. I'm proud to wear your userbox on my page. ;) --DAVID SPALDING Talk/Contribs 00:55, 22 November 2006 (UTC)[reply]

AV tool for Hebrew WP[edit]

Hi Lupin,

I was wondering if the AV js would work also in the He WP. Can you tell me which modifications, if any, will be needed? I presume the blacklist needs to be rewritten for that language, but I'm wondering if there are any other caveats. BTW I'm not a techie, just a vandal fighter, so I hope it's idiot proof :) tnx, Odedee 06:15, 21 November 2006 (UTC)[reply]

Thank you[edit]

Hi, I hit 10,000 edits the other day and to commemorate this momentous (?) occasion, I wanted to thank the person most responsible for me reaching this number. Popups is an amazing tool and I appreciate the work you have put into it. =) -- Gogo Dodo 05:54, 22 November 2006 (UTC)[reply]

Interwiki Popups Problems[edit]

Heya, Lupin. Popups seems to be having problems on http://en.wikiversity.org and I'm not sure why. It keeps attempting to link me to "/wiki/index.php?..." instead of "/w/index.php?" and is unable to load any page previews. I was wondering if you might be able to take a look at it. Thanks. AmiDaniel (talk) 01:18, 23 November 2006 (UTC)[reply]

My popup wishlist[edit]

Will (Talk - contribs) 05:14, 24 November 2006 (UTC)[reply]

Popups: editcount at interlingual projects[edit]

Hello Lupin. I've installed you popups at my account in meta (m:User:Slade/monobook.js), but the editcount doesn't work. The correct is metawiki_p, no metawikimedia_p. Can you fix this? The same from commons, wikispecies and other interlingual projects. Thanks, Slade (TheJoker) 17:12, 25 November 2006 (UTC)[reply]

Popups in Internet explorer 7[edit]

Hi, Have there been any reports of popups not functioning in ie7. I have only just installed them for the first time but they dont seem to work. I have followed all the relevant steps inc cache clearing but they still don't work. I don't know if this is relevant but when I use gmail (very java intensive) I get a message telling me that my cache is full even after it is emptied. Thanks. --Oli 17:50, 26 November 2006 (UTC)[reply]

Hello,
using Win XP MCE after changing from Firefox to IE 7, which I use both in combination with en:User:Lupin/popups.js in my monobook.js, I observe an umlaut problem while using IE 7. To illustrate it, have a look at de:Wikipedia and point to the word "Online-de:Enzyklopädie" in the first phrase. Using IE 7 the popup replaces the ä-Umlaut with %C3%83%C2%A4 and shows "Empty Page", whereas following the link by clicking within the browser leads us to the URL http://de.wikipedia.org/wiki/Enzyklop%C3%A4die. The behaviour of popop.js is to place the two code letters %83%C2 in between the WikiMedia Code letters %C3%A4. I observe this problem with all those WP-links where the name contains an umlaut or other special character. When it comes to "ö", popup.js shows "Dornr%C3%83%C2%B6schen" instead of "Dornr%C3%B6schen" etc. Always those codes %83%C2 are inserted.
On another machine, where I run Win XP Home with IE 6, I have no problems. How can I resolve this? Does my version of Sun Java matter or is it just IE7-Brower's Javascript that is used for this script? --KaPe 17:54, 6 December 2006 (UTC)[reply]
Sounds like the javascript engine has changed a bit in IE7. Could you try adding the line
window.opera=true;
to the start of your monobook.js file? Hopefully this'll fool popups.js into thinking that you're using Opera, and it won't try to work around the quirks of IE6. Please let me know if this helps! Lupin|talk|popups 21:14, 6 December 2006 (UTC)[reply]
after adding the recommended command line, it works ok, like in the other environments. Thank you, Lupin. --KaPe 09:53, 7 December 2006 (UTC)[reply]

Sooooo many warnings[edit]

I use Popups every day in Mozilla Firefox 1.5.0.6, and I have noticed something about the way the script runs. On many pages, the script keeps generating references to "undefined properties", and each reference generates a line in the Error Console, slowing down Firefox. Just thought you'd like to know. References to undefined property "this.left" on line 5210 in popups.js chain out every half-second or so on any article page. -- Tuvok^Talk|Desk|Contribs  02:36, 27 November 2006 (UTC)[reply]

I haven't noticed this. Could you please try the dev version and see if it helps? Lupin|talk|popups 21:15, 6 December 2006 (UTC)[reply]

Do you have a page on Wikia.com?[edit]

Do you have a page on Wikia.com? If not, you might want to create one so you have an offical homepage there. It would also give you a place to test your code. As it turns out, the user name Lupin is available. -Will Pittenger 04:43, 27 November 2006 (UTC)[reply]

If you aren't interested, I can host your stuff at Wikicities:User:Will Pittenger. I would not be a lot of help with debugging as I can't host a debugging environment, but if you want, I will put up two versions. The second can be loaded with debuging code. Having a copy there means you could have a Wikia.com only version. Will (Talk - contribs) 03:57, 1 December 2006 (UTC)[reply]
Sorry, I don't have time to maintain separate pages on wikicities. The script should work on wikicites unaltered so I don't see the need to host files there. Lupin|talk|popups 21:16, 6 December 2006 (UTC)[reply]

Joyce images[edit]

Hey, Lupin--I have a favor to ask, if you don't mind. A few of us are working to save James Joyce's FA status--see Wikipedia:Featured article review/James Joyce. I'm working on the images, and was hoping you could comment on the copyright status of this image, and also the images from here that I mention at the FARC--those cover pages are fine, yes? what about the unknown photographer portraits? I'd be grateful--thanks. Chick Bowen 06:07, 27 November 2006 (UTC)[reply]

So sorry! I had a godawful attack of idiocy and was looking for User:Lupo (I'm sure it's happened before). If you'd like to comment at the FAR you're welcome to of course, but feel free to ignore me. . . sorry again. Chick Bowen 03:57, 28 November 2006 (UTC)[reply]

Popups and bypassing browser cache[edit]

Hello Lupin, I was thinking that you might utilize the Purge {{Purge}} template to facilitate browser cache flushing (just include it on User:Lupin/popups.js). Have you considered that already? (Netscott) 08:00, 27 November 2006 (UTC)[reply]

I don't think that'll work, as it's doing something different to a shift-reload. Lupin|talk|popups 21:17, 6 December 2006 (UTC)[reply]

Image:JamieOliver-SchoolDinners.jpg[edit]

Thanks for uploading Image:JamieOliver-SchoolDinners.jpg. I notice the 'image' page specifies that the image is being used under fair use, but its use in Wikipedia articles fails our first fair use criterion in that it illustrates a subject for which a freely licensed image could reasonably be found or created that provides substantially the same information. If you believe this image is not replaceable, please:

  1. Go to the image description page and edit it to add {{Replaceable fair use disputed}}, without deleting the original Replaceable fair use template.
  2. On the image discussion page, write the reason why this image is not replaceable at all.

Alternatively, you can also choose to replace the fair use image by finding a freely licensed image of its subject, requesting that the copyright holder release this (or a similar) image under a free license, or by taking a picture of it yourself.

If you have uploaded other fair use media, consider checking that you have specified how these images fully satisfy our fair use criteria. You can find a list of 'image' pages you have edited by clicking on this link. Note that any fair use images which are replaceable by free-licensed alternatives will be deleted one week after they have been uploaded, as described on criteria for speedy deletion. If you have any questions please ask them at the Media copyright questions page. Thank you. Oden 07:42, 29 November 2006 (UTC)[reply]

You. Are. Awesome.[edit]

These popups are the greatest thing ever. You rule. --Explodicle 00:52, 1 December 2006 (UTC)[reply]

I concur. --DachannienTalkContrib 20:52, 2 December 2006 (UTC)[reply]
:) Lupin|talk|popups 21:17, 6 December 2006 (UTC)[reply]
Put me down on the list of people who love your work. Josh Parris#: 06:10, 12 December 2006 (UTC)[reply]
Oh, and me. Popups has been the single most important force behind my hitting 500 edits. Thanks, Lupin! -- Tuvok^Talk|Desk|Contribs  19:35, 12 December 2006 (UTC)[reply]
I would like to add to that list of people who bow to your quality coding. Markco1 21:36, 12 December 2006 (UTC)[reply]

popupsdev.js navLinksHTMLwarning problem[edit]

Probably caused by the last change to User:Lupin/popupsdev.js, when I use the popupsdev.js in Firefox 2.0 (Win XP SP2) I get a warning that pops up in Firefox "The page at http://en.wikipedia.org says: navLinksHTML". If I close the warning it pops up again, making Firefox unusable. I'm on the non-dev popups now and eveything is fine.--Commander Keane 01:29, 1 December 2006 (UTC)[reply]

Thanks! This should now be fixed. Lupin|talk|popups 21:18, 6 December 2006 (UTC)[reply]

english[edit]