Wikipedia talk:Tools/Navigation popups/Archive 4

can't handle punctuation
This is an excellent script, however it seems to have a problem with punctuation and symbols in page names. For example when I hover over D'Entrecasteaux Channel the popup is titled Dâ€™Entrecasteaux Channel, no text from the article loads, and the lastContrib and sinceMe features don't work.

Another thing that would make it better would be to have an option to load the contents of the page if the first bit of text is not enough. Me...™ 05:55, 17 November 2006 (UTC)


 * When I encountered this problem I was using Safari on Mac OSX, but now I'm using IE on XP it works fine. If that is any help --Me...™ 09:00, 11 December 2006 (UTC)


 * Which version of Safari? It works for me with 2.0.4 (419.3). Lupin|talk|popups 09:43, 11 December 2006 (UTC)


 * Sorry I can't tell you I don't have the computer anymore. It was about two years old, so it probably was the version --Me...™ 06:39, 12 December 2006 (UTC)

"Error on page" in IE6
I'm getting an "Error on page" notification using IE6 on WinXP (SP2) which only comes up when I invoke your popup (which incidentally is great :-). The report I get from IE says the error is  on Line 1 at Character 51. It says, whatever that means. Behind that there is apparently also a  at Character 61 of Line 1. Like I say, the page loads fine: this error only manifests itself when the popup appears. HTH HAND —Phil | Talk 10:04, September 12, 2005 (UTC)


 * Odd. I have no access to IE so unfortunately have nothing intelligent to say. If you can find a good debugger and try to pinpoint the problem yourself I'd be grateful. Lupin|talk|popups 11:38, 12 September 2005 (UTC)
 * Put in a good word for me with the deity of your choice: I have downloaded the MS Script Debugger and will install it ASAP :-) —Phil | Talk 09:46, 14 September 2005 (UTC)
 * Alas, I cannot figure out how to invoke the darn thing properly. It's quite willing to pop up for other things, but seems to ignore Wikipedia totally. Nonetheless I shall persevere :-) —Phil | Talk 16:18, 15 September 2005 (UTC)

New look
I just want to say I love the new look, it's alot more classy IMO. -Greg Asche (talk)
 * Now as soon as I said that I noticed something. The links to contribs and kate's tool are gone at links to user/user talk pages. Is this intentional, or was it simply a mistake? -Greg Asche (talk) 01:53, 3 October 2005 (UTC)


 * Glad you like the new look! There should be a separate "user" menu (which, confusingly, is in normal text style, not a big link) next to the main menu rollover which appears for user links. The rationale is that it should stop the menu growing incredibly large. Maybe this is a bad idea.... see Wikipedia_talk:Tools/Navigation_popups. Suggestions welcome! Lupin|talk|popups 11:49, 3 October 2005 (UTC)

I don't like the new "hover once, then hover twice" to get at the actions part of the menu. Could this be made optional? I mostly use it for those actions. It seems like it is now being tailored more for people who only use it to preview articles. — Omegatron 01:36, 8 October 2005 (UTC)


 * It is optional. To get back the old style popups, set popupStructure='original';. For this and other interesting tidbits, see WP:POP. Lupin|talk|popups 00:29, 9 November 2005 (UTC)

Geodis
Can we get this to detect geodis as a disambiguation tag? Morwen - Talk 22:57, 7 November 2005 (UTC)


 * We can - this is working in the dev version, which will become the stable version in time. Lupin|talk|popups 00:52, 9 November 2005 (UTC)

My little "wish list"
Hi, dunno if this would be possible, but if it was it would I for one would find it very usefull indeed.

When you pop up information on an image page it would be helpfull if the resolution and file size of the image was included somewhere, this would make it easy to spot images that are a bit liberal with the definition of "low resolution" with regards to fair use images.

Another thing that I think would be a huge help would be if you could somehow include a list of "image tags" that are present on a page (as well as raise a "red flag" if there are none whatsoever). What I mean is that when you "pop up" information on an image it would include a list or something wich would imedeately tell you what licence (if any) the image has, wether it's tagged as "no source", or listed on speedy deletion, IFD or PUI and things like that (I guess the easiest approach would be to parse the HTML version and just dump a list of category links as all the important templates have categories attached). --Sherool (talk) 16:01, 5 December 2005 (UTC)
 * Another minor thing is that with admin links eneabled the delete URL should be  http://en.wikipedia.org/w/index.php?title=Image:[image name]&image=[image name]&action=delete  and not just  http://en.wikipedia.org/w/index.php?title=Image:[image name]&action=delete  for for images. Otherwise the actual image is left intact and only the description page is deleted. --Sherool (talk) 16:39, 5 December 2005 (UTC)

Copying to other wikis
Hi! Would it be OK if I copied this script to no: and nn:? Or do you prefer to create your own account(s) and copy the script yourself? If I'm going to do the copying, we'll have to sort out credits and also routines for updating. --Eddi (Talk) 19:20, 16 December 2005 (UTC)


 * No, please feel free to copy it over yourself. You may be interested to know that the dev version (see here for usage instructions) has a translatable interface. You can update when you want to. By the way, you can use the english version without having to copy it at all - exactly the same installation instructions should apply on the no and nn wikis (don't be tempted to change en to no or nn if you do that). Lupin|talk|popups 15:56, 18 December 2005 (UTC)


 * Thanks a lot. Translation was on my agenda, so copying was needed. The stable version is now copied to nn:user:Eddideigel/popups.js and works all right, untranslated. Next I'll have a look at the development version at nn:user:Eddideigel/popupsdev.js. --Eddi (Talk) 23:02, 18 December 2005 (UTC)


 * The Norwegian version has been tested for a couple of weeks and seems to work all right. The inclusion of %s in various strings made the translation easier. By the way, there are two Norwegian orthographies, Bokmål (no:/nb:) and Nynorsk (nn:), and I made two translations based on the dev version: nn:user:Eddideigel/popups-no.js and nn:user:Eddideigel/popups-nn.js. Please let me know if the copyright details are presented adequately. Thanks again. --Eddi (Talk) 07:26, 7 January 2006 (UTC)


 * The entire script is not copyright Aaron Boodman, only the last sub-file (look for the string FILE BOUNDARY). Most of it is, I imagine, copyright me and the contributors listed at Tools/Navigation popups. I'm not really aware of the intricacies of copyright, so this may be nonsense of course. Lupin|talk|popups 16:25, 7 January 2006 (UTC)


 * I'll fix it when I update the script next time, i.e. when I promote the dev version to stable. --Eddi (Talk) 14:38, 14 January 2006 (UTC)


 * By the way, please add support for wikinews.org. Thanks. -- IlyaHaykinson 01:12, 17 December 2005 (UTC)


 * I'll investigate this. Lupin|talk|popups 15:56, 18 December 2005 (UTC)


 * It should work now. Thanks for getting me to add this. Lupin|talk|popups 16:38, 18 December 2005 (UTC)

Might it be alright to use this code in other, non-wikipedia sites using the wiki software? I moderate this wiki for an online game and we'd be interested in using it.--Mobius Soul 00:00, 18 June 2006 (UTC)


 * Could it be added to the campaigns wikia too? Jfing  e  r  s  88  19:15, 17 August 2006 (UTC)

I'd like to use this at the VDC, however when I copied&pasted the monobook.js from here to the valve.js over there, the popups didn't appear. Does anyone know if/how it's possible to get them working? my valve.js --Pizzahut2 15:47, 31 December 2006 (UTC)


 * Looks like the VDC doesn't have user scripts enabled. --Pizzahut2 16:07, 31 December 2006 (UTC)

ARIN link for IP users
Hi Lupin. I added a link to my version of the popups that gives me an ARIN WHOIS lookup link for IP users. I find it useful for figuring out if anonymous edits are likely from the same source. Here's the diff: http://en.wikipedia.org/w/index.php?title=User%3AMike_Dillon%2Fpopups.js&diff=32114349&oldid=30833595

Here's wishing you a happy winter solstice! Mike Dillon 16:33, 20 December 2005 (UTC)

Human name disambiguation
Could the disambiguation page detector regexp be enhanced to detect articles in category Human name disambiguation (template hndis)? Zoicon5 16:11, 6 January 2006 (UTC)


 * I tried making this fix in popupsdev, but I think maybe my javascript skills weren't up to it. It didn't seem to work, so I rolled back my changes.  Zoicon5 19:17, 6 January 2006 (UTC)


 * Done. Your changes looked OK to me - make sure you clear your cache to get the latest version. Lupin|talk|popups 21:36, 6 January 2006 (UTC)

Popups bug
There seems to be a minor bug (FFox on XP/*ix) when I try to acces the actions menu. The mouseover cuts out in the tiny gap between the actions link and the actions menu. Maybe slightly repositioning the menu might work? -MagnaMopus 20:42, 12 January 2006 (UTC)


 * Yes, I'm not good at CSS and using smaller fonts (or possibly just fonts which differ from mine) results in this bug. You can tweak your CSS to try to overcome this - see User_talk:Lupin/archive7. Lupin|talk|popups 00:37, 19 January 2006 (UTC)

undef is not defined
Error: undef is not defined Source File: http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 3282

This happens in a number of places, but it's basically the same every time. Example:

if (typeof over != undef && over && over.dragging) return null;

Regards,  howch e  ng   {chat} 20:25, 17 January 2006 (UTC)


 * Is this in firefox? I think I've seen this bug there sometimes. Usually refreshing the page/clearing the cache makes it go away for me. If you can reproduce it reliably, please let me know. Lupin|talk|popups 00:32, 19 January 2006 (UTC)

Yes, this was in Firefox 1.5. I was getting this a lot on user contributions pages, but clearing the cache seems to have fixed it for now, although that was the first thing I tried last time. Hmm. Will let you know if it shows up again.  howch e  ng   {chat} 01:01, 19 January 2006 (UTC)


 * I think I figured it out. It's when I start mousing over the links before the script has completed loading. Try loading a page with a lot of links (contributions is good) and move your mouse around while the page is still loading. I immediately got a red exclamation point in my WebDeveloper toolbar. Perhaps you can set a flag when it's done loading and not do anything until the flag is set?  howch e  ng   {chat} 21:33, 2 February 2006 (UTC)


 * Good detective work! I've tried to follow your suggestion in the dev version. Lupin|talk|popups 00:03, 3 February 2006 (UTC)

Redlinks
Is there an option=value available so popups gives an automatic redlink removal option when I come across these links on article pages? Any advice appreciated.VirtualSteve 21:08, 8 February 2006 (UTC)


 * No, but it's a nice idea. Lupin|talk|popups 22:19, 8 February 2006 (UTC)


 * ... which is now implemented in the dev version. Lupin|talk|popups 23:34, 8 February 2006 (UTC)

Cheers! Glad you liked the idea. I have pasted dev script and will see how it goes. VirtualSteve 11:52, 9 February 2006 (UTC)
 * Sorry tried to understand what to do but I am just a beginner - do I put the following in User:VirtualSteve/monobook.js to activate - popupRedlinkRemoval=true; Sorry I know you are busy but if you have the time to help - or if you want put the code in my page - I can get on to these pesky redlinks? VirtualSteve 12:14, 9 February 2006 (UTC)


 * Yes, this worked for me when I did that, but you need to switch to the dev version. I'll make that change for you in a moment. Be sure to clear your browser cache (control-shift-r in firefox, control-click on refresh in internet explorer).


 * [You are probably well aware of this, but I think some red links are considered a Good Thing, for example if an article doesn't exist but really should/could do at some point in the future. General disclaimer applies, use at own liability, check the diffs etc etc] Lupin|talk|popups 12:58, 9 February 2006 (UTC)

Thanks Lupin - that is just brilliant. I take your point on some good red links. I note that Only make links that are relevant to the context says What should not be linked .... ''Subsidiary topics that result in redlinks unless the editor is prepared to promptly turn those links into real ones .... It's usually better to resist linking these items until you get around to writing an article on each one.''
 * My way of dealing with these is to identify when the last edit was made and what it was and if isn't too recent to remove the redlink at the time of finding - hopefully that will not upset too many folks. Anyway I appreciate your development, help and courtesy. VirtualSteve 13:21, 9 February 2006 (UTC)

script use in other project
Hi Lupin! What should I do in order to use your script in another project running mediawiki?

Thank you!

Paolo 01:39, 19 February 2006 (UTC)


 * It should just work provided these lines appear in the Localsettings.php file:

$wgAllowUserJs = true; $wgAllowUserCss = true;
 * Ask your site admin if you don't know what this file is. Lupin|talk|popups 02:00, 19 February 2006 (UTC)

Since I just did this for an internal wiki, I can give a little more detail as to what I did in addition to what Lupin mentioned. First, I copied the text of User:Lupin/popups.js into "MediaWiki:Popups.js" in my local wiki. I then imported User:Lupin/menus.css as "MediaWiki:PopupMenus.css". No changes to the CSS were required, but I had to make the following changes to the Javascript (line number refer to this version of popups.js):


 * 1) Near line 32, change "http://en.wikipedia.org/w/index.php?title=User:Lupin/menus.css" to your local URL (I changed it to "/w/index.php?title=MediaWiki:PopupMenus.css")
 * 2) Near line 96, change popupStrings to refer to documuentation on your local wiki about popups or drop the link to en.wikipedia.org (or leave it if you like)
 * 3) Near line 373, the if/else if will only work if used on a wikimedia wiki or on a wiki with "localhost" in the name (there is no plain "else"). I changed it to " " and dropped the if/else if (my local wiki uses "/w" as a root, but isn't on localhost)
 * 4) Near line 395, I changed the "wikibase" var to " "
 * 5) Near line 3971, I changed the "wpBaseArticlePath" line to " "

I think there are a few more things to tweak, but I haven't done them yet (for instance, the "editors" link still shows up under actions when it should only be there for wikipedia, I think). Once I had done these changes, I added it to my monobook.js on the local wiki and it worked fine. Of the changes listed, item #3 may be a bug, but #2 should be expected configuration. Items #1, #4, and #5 could possibly be made into a configuration parameters. There should also be documentation of the internal dependency on menus.css. Mike Dillon 02:37, 19 February 2006 (UTC)

Its probably a simple mistake, but I can't get this to work over on a different wiki. I copied popups.js, navpop.css, and menus.css over to it, and made the edits to Localsettings.php, but its acting like there's nothing there. Using the monobook skin and made the edit to my monobook.js. I love this little tool and was hoping to be able to use it over there too. KC0ZHQ 01:23, 3 March 2007 (UTC)


 * I'm trying to get this working on a test wiki that I am playing with. Is there a trick to uploading/copying scripts?  When I view the source here and create a new page there, it just doesn't work right.  The script here appears neatly in a nice box and on mine it just shows up as a mass of code in a plain page.  Am I doing it wrong?  -- Mufka (user) (talk) (contribs) 22:28, 22 March 2007 (UTC)

Background now transparent
I think since your last change, something weird happened. The background to the popup is now transparent in Firefox, and the text is difficult to read. &mdash; 0918BRIAN &bull; 2006-03-4 02:04
 * Thanks, should be fixed now. Lupin|talk|popups 02:12, 4 March 2006 (UTC)
 * Thanks! &mdash; 0918BRIAN &bull; 2006-03-4 02:39

More often than not my backgrounds are transparent, yet sometimes it's got the pinkish background. What should I do? In particular I notice it on my own watchlist page but I think it sometimes happens elsewhere - yes it definitely happens on some talk pages but not on this talk page....--Smkolins 23:30, 2 March 2007 (UTC)

Catalan translations
Hello! I am transating your popups into Catalan language. You can see it in w:ca:Usuari:SMP/strings-ca.js. I have some questions: What is the current diference between popups.js and popupsdev.js??? I am using popups.js and it is working. I also wanted to know if there are more things that can be transated apart from what i can see in User:Lupin/strings-draft. I wanted to translate, for example, the text that apears in the top of the editing page when you are reverting that says "The xxx button has been automatically clicked.". Is it easy for you to change some ways that are used to translate some sentences?? There are a few that sounds a little strange in catalan when translated, but I don't want to ennoy you if it is something difficult to change.--SMP - talk page (en) - talk page (ca) 13:20, 5 March 2006 (UTC)


 * The dev version is the version of the code I'm working on at the moment. Right now, it contains a couple of bug fixes, but of course there's the possibility that I've introduced more bugs. popups.js is periodically replaced with the dev version.


 * I'll add the strings you requested to the dev version - thanks for pointing out that these are missing. I'd like the script to be easily translatable, so do tell me what I could do to improve this. Thanks, Lupin|talk|popups 14:02, 5 March 2006 (UTC)

Bug on Firefox
I use Firefox, and when I tried to use the popups on NTFS (I don't advise hovering the mouse there for long if you're using the script) my browser crushed. I believe that is because there is a huge table at the begining of the artice, but I'm not sure. I did it three times and Firefox crushed all the times. Maybe it happens only to me, or to some, but I'd like your opinion. Thank you. jοτομικρόν (talk, email) 18:52, 16 May 2006 (UTC)


 * Thanks, this is definitely a bug in the script. I believe I've fixed it in the dev version. Lupin|talk|popups 01:40, 18 May 2006 (UTC)

Error - Script Fails on https connection
Getting:

Error: v 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: 1903

Which points to the if (!keepSpaces) line in:

Title.prototype.urlString=function(keepSpaces) { var v=this.value; if (!keepSpaces) { v=v.split(' ').join('_'); } return encodeURI(v).split('&').join('%26').split('?').join('%3F').split('+').join('%2B'); }

Wakemp 23:20, 1 June 2006 (UTC)
 * Thanks. Are you seeing this all the time, and can you reproduce it? Does it happen immediately on page load, or do you have to mouseover a link or something to trigger it? Does clearing your cache, crossing your fingers and saying a prayer help? :P Lupin|talk|popups 01:52, 2 June 2006 (UTC)


 * Every mouse over produces the error in the Java console. Removed the code and re-added to my page, cleared cache both before and after, no joy. Wakemp 03:09, 2 June 2006 (UTC)


 * Hm, I can't reproduce this at all. Which version of firefox, and which OS? Do you get this error in other browsers? Lupin|talk|popups 03:37, 2 June 2006 (UTC)


 * Firefox 1.5.0.3 under Mac OS X 10.4.6, things were working prior to this week. Thought it was the change in the script. BUT looks like my fault, I started using https://secure.wikimedia.org/wikipedia/en/ to get around a proxy that was put on the blocked list and I have been going back to Wikipedia that way since. Just tried it again from http://en.wikipedia.org/wiki/ and everything works. Weird but My bad! Wakemp 16:22, 2 June 2006 (UTC)


 * The dev version of the script should now support secure.wikimedia.org. Interestingly, this site seems to host all wikimedia projects, so in principle interwiki previews should be possible (not yet implemented...) Lupin|talk|popups 14:12, 7 June 2006 (UTC)

Firefox 1.5.0.4 problems
I upgraded to Firefox 1.5.0.4 tonight, and now when I hover over a "(hist)" link (e.g. in "my contributions") the popup contains a huge amount of text - seemingly the complete source of the article in question. Neilka 22:18, 2 June 2006 (UTC)


 * Actually this seems to be working again now - not sure what happened there! Neilka 22:21, 2 June 2006 (UTC)

Bug when using Opera
Hi, nice script. But there is a bug for Opera users. When you do a mouse over the user "user" menu title, the actual menu does not show up. Actually I think it just shows up too far to the right - because one time I cought a glimpse of a bit of it on the far right of my screen. So probably some minor error in your positioning of that menu that Firefox and IE can ignore but Opera can't. (I am using Opera 9 Beta 2). --Konstable 00:52, 7 June 2006 (UTC)
 * Thanks for the bug report. Is it possible for you to post a screenshot, ideally where you can see the menu on the far right of the screen? This may give me clues for how to reproduce this. One other thing: which operating system are you using? Lupin|talk|popups 14:09, 7 June 2006 (UTC)
 * [[Image:Luppin_poppups_bug.PNG|thumb|screenshot1]]Hi Lupin. I could not make the user menu appear far on the side as before (it only happened once).  But here is something which might be related - the actions menu appears mis-placed.  (and note that in the same case, the user menu still doesn't come up).  --Konstable 10:08, 8 June 2006 (UTC)


 * [[Image:Lupin poppups bug2.png|thumb|screenshot2]]I have managed to take a screenshot of it (see screenshot2). Also note: It's not just the user menu, the popups menu does not show up either.--Konstable 00:24, 14 June 2006 (UTC)


 * Hm. Looks like opera 9 can't handle the necessary CSS after all. I suggest you try setting popupStructure='original' to get rid of the menus. Thanks for the bug report. Lupin|talk|popups 00:59, 14 June 2006 (UTC)

Bug:If? interpreted as If
Thanks for the very useful script. Just one bug I noticed – hovering over If? returns If. --Bruce1ee 08:13, 15 June 2006 (UTC)
 * BTW I'm using IE6. --Bruce1ee 08:15, 15 June 2006 (UTC)

Detecting disambiguation pages
Hi! Is the fix disambiguation feature working only in the edit mode? If not, how does it determine if a page is a disambiguation, if it looks for a template to be present, could you please make a modification, so that it detects as a disambiguation page. The "egyért" template is the Hungarian equivalent of the template used on the English disambiguation pages. With the answer please contact me on my Hungarian talk page hu:User vita:Bdamokos if it is not too much to ask. Thank you for your answer in advance. --Dami 17:08, 15 August 2006 (UTC)

Popups not active in all pages
For some reason they're active in Special:Recentchanges but not in Special:Contributions/newbies. This is the dev version AFAICT, as included in VoA's antivandal script. Any idea why this should be so? Pseudomonas 23:36, 12 September 2006 (UTC)


 * This works for me at the moment, probably because I fixed your bug but forgot to thank you. Thanks! Lupin|talk|popups 08:12, 26 October 2006 (UTC)

wikiversity
Can you please add wikiversity to  Thanks --v:User:Matteo

Namespaces nds-nl:
Could you please add the following namespaces for the nds-nl wikipedia? I've simply copied the nl namespaces from this script and translated it, I don't know what the first item (m) stands for, so I don't know if that should be there. Thanks in advance, Erwin85 12:49, 9 October 2006 (UTC)

Software License?
What is the license for this software? I would love to copy and paste into other projects. Thanks, GChriss &lt;always listening&gt; &lt;c&gt; 01:41, 24 October 2006 (UTC)
 * I would like to license this under something like the GPL. However, it includes files from external sources with other licenses (eg BSD) or unclear licenses, so I don't know if I can do this. Of course, all content on wikipedia is supposedly GFDL anyway... but again, I don't know if this is legitimate here. I'd welcome advice on this. Lupin|talk|popups 08:17, 26 October 2006 (UTC)


 * Talk to the Free Software Foundation: part of their job is to answer questions like this. :-) Try irc.freenode.net channel #gnu first. If you have no luck there, either contact them at the email address at http://www.fsf.org/licensing/education or contact me on my talk page so I can look at the code and provide you with advice. Cheers, --unforg e ttableid | how's my driving? 21:02, 8 December 2006 (UTC)

Other wikis
Does this work on other wikis? If I were to copy the code to my monobook.js file on say wikiquote or wikinews, would it work or would it have to be completely rewritten? Koweja 01:35, 28 November 2006 (UTC)


 * And the general wikia as well. Can the author please answer this question? Much thx. --Blackhawk charlie2003 03:55, 15 February 2007 (UTC)

has anyone noticed
that it doesn't work at all anymore? --⁪froth T C  18:05, 28 November 2006 (UTC)
 * It works for me still! I used it to read this edit from my watchlist :) -- Renesis (talk) 18:06, 28 November 2006 (UTC)
 * Hmm it works today.. --⁪froth T C  20:59, 29 November 2006 (UTC)

Diff truncated for performance reasons
When viewing a popup difference, popups sometimes truncates the list of differences and shows Diff truncated for performance reasons at the bottom. This is well and good and it usually does the right thing, but every once in a while, I'm interested enough to see more, but not so much as to open another window. Would it be feasible to add a feature to indicate the user wants to see more? Like this:


 * Diff truncated for performance reasons (show more) (show all)

— EncMstr 23:31, 12 December 2006 (UTC)

Default revert summary text
My monobook.js has, among other settings popupRevertSummaryPrompt = true; popupQueriedRevertSummary = 'revert vandal $3 (talk) to last version by '; popupQueriedRevertToPreviousSummary = 'revert vandal $3 (talk) to last version by '; When viewing a revert worthy popup difference, I click on actions then revert. Perhaps once out of ten times, the evil editor's ID correctly replaces $3 and all I have to do is add the previous editor's name at the end. The other nine times, $3 has the previous edit's editor ID—a surprisingly tedious edit to fix. I'm primarily using SeaMonkey 1.0.6 on XP SP2, but observe identical behavior with FireFox 1.5.0.8. — EncMstr 23:31, 12 December 2006 (UTC)
 * Is something incorrectly set?
 * Is there a way to get the message correct most of the time?
 * Why does it not work the same way every time? I'm now certain I'm consistent:  hovering the (diff) link on special:watchlist.
 * Are there additional variables for substitution which might be of interest? Like $8 perhaps?  :-)
 * I'd like to select one of several messages: vandal, testing and blanking (for example).  Any suggestions to make easier?
 * Is there a way to make the popup summary confirmation dialog wider?


 * I have the same problem. It would be really useful if the string variables used in reverts could access details of both the vandal user (i.e. the author of the edit/edits being reverted) and the author of the last "good" user (the author of the version the revert sets as current).
 * Also it would make the customisation easier if the default string values were listed in the customisation scheme at WP:POPUPS.
 * --Jens Gyldenkærne Clausen 15:11, 26 March 2007 (UTC)

Text edit box popups
I accidently stumbled across this feature of popups in text edit boxes: if a double square bracket enclosed string is highlighted, hovering the mouse cursor over it activates useful popup features. (Way cool, by the way. Thanks.)  The only thing that was infuriating—until I understood the cause—is that highlighting must be done with the mouse—if it's done using the keyboard (for example, holding down shift while pressing the arrow keys), the highlight isn't magic enough. (Weird, eh?) — EncMstr 23:31, 12 December 2006 (UTC)
 * Was it the recent change to the popups that replaced the popup that used to appear in this case with a list of links at the top of the edit box? If so, how do I change it back? The new system causes the page to scroll erratically as soon as I select something, often causing the selection to change to something else entirely. DB (talk) 21:19, 14 February 2007 (UTC)
 * I just noticed that "edit preview function" today (that is what I would call it). It is weird and I am just getting used to it but I might come to like it. Fool around with it a bit and see if you get a better feel for what mouse action does. --Justanother 21:27, 14 February 2007 (UTC)
 * So there's no way to get rid of it aside from turning off popups entirely? I think it's terrible. DB (talk) 04:28, 15 February 2007 (UTC)
 * I imagine that you can copy the source to your own page and rem out the bits you don't like. Or, I imagine that there may be a line that you can add in your monobook.js page to disable a particular function? I am sure that someone here can answer more precisely than I. --Justanother 04:33, 15 February 2007 (UTC)
 * I like the idea of the new functionality, but the hightlighted area changes what I want to cut. The only text I can cut-and-paste are  sections without wikilinks.  The old behavior was less-annoying, but often the pop-up would block what I was trying to read.  Schmiteye 00:51, 26 February 2007 (UTC)
 * I tried selecting text in various ways and found that if I pause for a second after selecting, then everything works fine. Great tool!  Schmiteye 16:56, 26 February 2007 (UTC)

Performance issue
Hi Lupin, thank you for this wonderful tool (and for recent2.js as well)! It would be grate if there was an option to enable popups only on Special:Watchlist and dif pages. It slows my Safari a lot and I don't use it on articles/other pages anyway. Thank you.--Pethr 17:52, 7 January 2007 (UTC)


 * You could probably do this yourself, in your monobook.js, if you surrounded your include of the popups.js file with something like this:

if (document.location.href.indexOf("Special:Watchlist") > -1) { ... }


 * The diff page part might be a little more complex. -- Renesis (talk) 21:37, 7 January 2007 (UTC)


 * Thank you for your suggestion. It didn't seem to work or I've done something wrong. Anyway, I tried Firefox instead and it's very different [fast], so it looks like Safari still has some issues with this script. It's quite unfortunate because I have some wonderful workflow in Safari.--Pethr 00:08, 8 January 2007 (UTC)

Strange problem
Raised at village pump. [Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "http://en.wikipedia.org/w/index.php?title=User:Rich_Farmbrough/monobook.js&action=raw&ctype=text/javascript&dontcountme=s Line: 938"] Looks like popups, but can't see why as I have commented it out of my monobook and reloaded. Rich Farmbrough, 22:00 8 January 2007 (GMT).

Not sure
I'm not sure if this is a recent change to the script, but the popups have begun working only selectively for me. They work on my contributions page, for example, but not on mainspace articles or talk pages. Very puzzled. Tried re-installing. Is there something I don't know? I upgraded to FF 2.0 recently.. could that be it? Hornplease 00:03, 31 January 2007 (UTC)
 * You have lots of stuff in your monobook.js - I suspect something else is giving you errors. Please try a bare-bones installation as suggested in the FAQ. Lupin|talk|popups 09:05, 31 January 2007 (UTC)

revision $1 dated $2 by $3
Noticed you doing updates. Just an FYI Geting this on revisions, "Revert to revision $1 dated $2 by $3"--Hu12 11:03, 14 February 2007 (UTC)
 * Yep, me to --Van helsing 13:32, 14 February 2007 (UTC)
 * Same. --Justanother 17:08, 14 February 2007 (UTC)

Copying the below from my talk page as it may provide a workaround or help diagnose. --Justanother 17:29, 14 February 2007 (UTC)

RV
I have seen that an edit you made using popups to Dalip Singh came out like this "(Revert to revision $1 dated $2 by $3 using popups)" ,I have the same problem..do you know what might be causing the problem..???-- Cometstyles 14:22, 14 February 2007 (UTC)
 * Hi. Just some bust in the server-side script most likely. I am sure it will be repaired soon. have a nice day. --Justanother 14:24, 14 February 2007 (UTC)
 * You're both missing the  popupQueriedRevertSummary=  command at the end of your monobook code. Mine looks like this below.

// User:Lupin/popups.js

document.write(' '); popupQueriedRevertSummary='Reverted to version by $3 on $2 - Using popups';

- X201 17:02, 14 February 2007 (UTC)
 * Thanks, I'll check it out. Was working fine up to yesterday or today. It is already noted on the User:Lupin/popups.js talk page. --Justanother 17:10, 14 February 2007 (UTC)
 * Lupin has this


 * and


 * Maybe the error is in there. --Justanother 17:26, 14 February 2007 (UTC)

Bug in edit window?
I'm an italian wikipedian. We link the popup tool but, since yesterday evening, it has a strange behaviour in the edit windows. If you select a portion of text containing a wikilink, a new box (containing the selected text) is shown above the edit window, and no popup appears. Is this a requested behaviour or it is a bug? May I do something in order to workaround the problem? Bye and thanks. -- J  alo   14:28, 15 February 2007 (UTC)
 * I've found the property "popupOnEditSelection". I will set this to "false" workarounding the problem. In any case, congratulation for the tool; it's really great. -- J  alo   14:52, 15 February 2007 (UTC)


 * I have been experiencing this problem too. -- Renesis (talk) 16:50, 1 March 2007 (UTC)
 * This is supposed to be an improvement on the previous system - you can still mouse over the selected text and get relevant popups. It's more useful though, since it allows you to select a greater amount of text than just a single link - and so behaves as a mini-preview. Hope that helps --Firi e n § 13:03, 2 March 2007 (UTC)

Insert blank templates?
What would be nice would be a small panel near the edit box which would let you insert blank versions of frequently used templates (especially citation templates) with a click on the template's name. This might take some coordination to get the "blank" version of each such template but what I picture is that, just as an increasing number of templates have a subpage that stores their documentation (i.e., "Template:Foo/doc" holds the documentation for "Template:Foo") a similar subpage could hold the "blank" version with all fields ("Template:Foo/full" or the like). -- Antaeus Feldspar 04:13, 25 February 2007 (UTC)

Broken accents
e.g. on La Défense, which gets pop-upped to La DÃ©fense. Unicode glyph glitch? --Firi e n § 11:08, 1 March 2007 (UTC)


 * It looks OK to me (FF2 and IE6), FWIW, perhaps it's a browser-specific problem? Pseudomonas 13:00, 1 March 2007 (UTC)
 * Good catch. Works in Opera and Firefox for mac fine; IE 5.2 (obsolete, I know, was just testing) for mac doesn't cope with popups at all, and even things the link is to D√©fense, but goes there correctly (with %C3%A9 in the address bar string, which is presumably a unicode encoding of é, though U-C3A9 is 쎩); Safari is the one that's converting it to unicode and then still being odd with it. I think this might be down to a previous phishing thing where Apple tried to make it more difficult to be caught out by bánk.com and the even-close cyrillics like е а and К. I'll file a bug report with apple about it. --Firi e n § 15:33, 1 March 2007 (UTC)

Question
Hi. Using your tool, when I click rv, it saves without letting me add a summary, and instead of saying a specific summary, it says reversion $1 dated $2 by $3 or something like that. I'm not really concerned about the summary, but the $thing might be a problem. I've seen users with summaries like revert to reversion (number) dated(time) by (user), with specific imputs. Is this abug,or something else? Can it be fixed? Thanks. A stroHur ricane 00 1 (Talk+Contribs+Ubx) 00:56, 6 March 2007 (UTC)

Image Previews?
Whenever I try to preview an image, the message "imagepage preview failed :( is the query.php extension installed?" pops up instead. Is this normal? — Preceding unsigned comment added by Iamthebob (talk • contribs)
 * Same here, whether using Internet Explorer or Firefox. Scalene •UserPage•Talk•Contributions•Biography•Є • 09:33, 27 March 2007 (UTC)

Page Text
When I hover my mouse over a wikilink, the pictures and edit options work fine, but no text from the article appears below that. Any solutions?? (Note: I use Mozilla Firefox) — JuWiki (Talk <> Resources) 22:24, 1 April 2007 (UTC)


 * I have the same case! (I'm using Firefox + NoScript:wikipedia.org's javascript allowed)--Spring Dennis &#39;&#39;(&#91;&#91;User talk:84denniswong&#124;User Talk)&#39;&#39;]] 06:51, 10 May 2007 (UTC)

Why not use action=render
I see when you show a preview for a page, you do a action=raw request, then do some work to convert the wikitext to html. Why don't you just call action=render. You should be able to make the script much smaller by doing this. Gary van der Merwe (Talk) 11:18, 25 May 2007 (UTC)

Safari encoding bug fix
Hi, I've recently managed to fix an encoding problem of Safari in conjunction with this script. I suspect it is the one reported in. The cause was that Safari sometimes encodes % as %25 in UTF-8 encoded strings like %E5%A3 -> %25E5%25A3. My fix is to use unescape in such case inside Title.prototype.fromURL: please consider merging this change. Thanks in advance, --Makotoy (talk) 07:07, 5 January 2008 (UTC)

Popup settings
I was made some changes for popups. Maybe useful for others. // This is for automatic variable popupAdminLinks switching true when user has sysop rights. for (var i=0;i<wgUserGroups.length;i++) if (wgUserGroups[i]=="sysop") { popupAdminLinks=true; }

// This is for automatic setting all namespaces used in project without predefinitions, works on all projects, not only in Wikipedia. // This deffinition must be installed on local site! Not imported from other line enwiki. // If you want to use popups in sample plquote it must be saved on this project. function setNamespaceList { pg.ns.list=[ "Media", "   ", "   ", "    ", "    ", "    ",			"    ", "    ", "    ", "    ",			"    ", "    ", "    ",			"    ", "    ", "    ", "    ",			"    ", "    ", "    ", "    " ];	pg.ns.index = { '': 0, 'Special': 1, 'Talk': 2, 'User': 3, 'User talk': 4, 'Wikipedia': 5, 'Wikipedia talk': 6, 'Image': 7, 'Image talk': 8, 'MediaWiki': 9, 'MediaWiki talk': 10, 'Template': 11, 'Template talk': 12, 'Help': 13, 'Help talk': 14, 'Category': 15, 'Category talk':16, 'Portal': 17, 'Portal talk': 18, 'Wikiproject': 102, 'Wikiproject talk': 103}; }

// This code is a sample of Polish translation how make strings depends from project name // This definition must be installed on local site to. It is easy to copy from one site to another without changes.

/* // Insert this command (after popups.js) for including this file, if file is named: MediaWiki:Gadget-Popups-settings.js // Take a look on special parameter templates=expand

document.write(' ');

Sp5uhe (talk) 17:37, 13 January 2008 (UTC)

Security patch
I patched in a small, quick fix (diff) for a rather nasty security hole that allowed an attacker to craft a special link that would cause the user to make an arbitrary edit when clicked. If anyone has a more elegant solution for this please feel free to revert/meddle around, I just wanted to make sure a fix was in place before reporting it to the world :)  krimpet ✽  10:22, 17 January 2008 (UTC)
 * Just a small note: it's not really "before" if you consider caching and all other copies (in other projects) ∴ AlexSm 13:28, 17 January 2008 (UTC)

supplement for tool bar
Is there a way to get a library of more entries into the edit page? I'm really trying to find a better way of acccessing/using the CITET so that they can be popped into the edit window....--Smkolins (talk) 23:33, 23 February 2008 (UTC)

Bug report from Uncyclopedia
Hya, since the last Wikiupdate, the popups.js doesn't work for us. All popups direct to the index.php article. Anyone can help? Thanks. Mordillo —Preceding unsigned comment added by 77.124.107.162 (talk) 00:16, 11 March 2008 (UTC)

Create copy for Editing/Dev?
I tried putting a copy of it here: http://en.wikipedia.org/wiki/User:Ecuguru/dev2.js And linking to it via my monobook as: importScript('User:Ecuguru/dev2.js'); So I could make a link to it in my monobook, and try testing against it. But it doesn't seem to work. Is there a way to set up your own copy, so that you can try making changes to it locally? Or do changes in the file need to happen based on where the file is sitting?Ecuguru (talk) 20:52, 19 March 2008 (UTC)

Footnote format change: cite_note
The format for the IDs generated for  footnotes seems to have changed: they are now of the form:


 * 1) cite_note-0

As a result, on newly-edited pages, popups for the footnote citation show text from the beginning of the page, rather than the text of the footnote itself. I believe that  needs updating to reflect this change. The change made on my user page seems to work. In the meantime, others wanting to try this fix are welcome to add:

importScript('User:TimR/misc.js');

after the  line in their [  ] pages. TimR (talk) 20:10, 21 March 2008 (UTC)


 * I just noticed this problem today. Thanks for the fix. --Stacey Doljack Borsody (talk) 23:49, 27 March 2008 (UTC)


 * Thanks for the fix. Can we get this in the original? Earthsound (talk) 01:14, 21 April 2008 (UTC)

Bug with "-" diffs (generated by contribsrange gadget, among others)
The popups gadget doesn't properly handle - in the diff or target URL, when provided with a "curid" parameter. For example, in the link, we see that it links to Barbara Forrest, but the Popups script sees only the hyphen. This is quite a hassle when using the contribsrange gadget to assess large numbers of diffs, since none of the diffs can be seen (the diff popup compares - with the modified page, resulting in a useless diff).

Example links: diff Hassan (given name) link to specific revision Hassan (given name) This is something that could be fixed by either party, so if you think it is too much work for popups, I can (hopefully) find someone to nag about contribsrange ;) nneonneo (talk) 21:38, 24 March 2008 (UTC)

Bug with "-" diffs (generated by contribsrange gadget, among others)
The popups gadget doesn't properly handle - in the diff or target URL, when provided with a "curid" parameter. For example, in the link, we see that it links to Barbara Forrest, but the Popups script sees only the hyphen. This is quite a hassle when using the contribsrange gadget to assess large numbers of diffs, since none of the diffs can be seen (the diff popup compares - with the modified page, resulting in a useless diff).

Example links: diff - equivalent to link to specific revision - equivalent to This is something that could be fixed by either party, so if you think it is too much work for popups, I can (hopefully) find someone to nag about contribsrange ;) nneonneo (talk) 21:38, 24 March 2008 (UTC)

Change of Hungarian namespaces (revision 36499)
In the nsList array, please change the "hu" line to the following:

--Dami (talk) 17:20, 22 June 2008 (UTC)

Also, due to a recent change please add to the rediLists array, the following line:

--Dami (talk) 21:36, 22 June 2008 (UTC)
 * Whichever admin does this, could he make the same fix on the Gadget version of popups ? --Th e DJ (talk • contribs) 17:36, 22 June 2008 (UTC)
 * ✅ both.  Soxred  93  22:14, 22 June 2008 (UTC)

Thanks. --Dami (talk) 22:49, 22 June 2008 (UTC)

Hi, sorry to bother you again, but it seems I have made a mistake the first time, the "m" as the first element shouldn't have been added, the nsList array should now read:

The first "m" I added seems to have messed up the whole order of the namespaces as we have the extra "Média" in the first position. Thanks again, --Dami (talk) 22:02, 23 June 2008 (UTC)
 * Change made here and at the gadgets file. --- RockMFR 19:05, 25 June 2008 (UTC)


 * This change was lost due to the apipopups switch (which did not yet have this change applied.) A fixed version is prepared here --Th e DJ (talk • contribs) 13:21, 22 October 2008 (UTC)

Feature request: http://stats.grok.se
I'm posting this here, because Lupin appears to have retired: Could someone please add an interface for a query of the http://stats.grok.se database? That database indicates how often an article is viewed. Thanks,  Sandstein   14:56, 17 July 2008 (UTC)