Wikipedia talk:Tools/Navigation popups/Archive 2
Archive 1 | Archive 2 | Archive 3 | Archive 4 | Archive 5 |
Reversion edit summary
I just noticed this edit summary: "Popups-assisted reversion to revision 29857768" (diff). Is there a way to make the edit summary more understandable, the "29857768" doesn't appear in the history so it's unclear what the reversion was exaclty.--Commander Keane 09:18, 2 December 2005 (UTC)
- True, it appears in the URL of the old revisions, though, so you can in principle find out exactly what's been done. What would you like to see in the summary? Lupin|talk|popups 13:18, 2 December 2005 (UTC)
It would be nice if the message to be left was configurable. Perhaps a selection of a few internally defined options. I would personally prefer to use the class "Reverted edits by <user> to last version by <user>". Other than that, I'm very impressed with this addon! --StuffOfInterest 23:28, 2 December 2005 (UTC)
- The problem with such a summary is that you can revert to any revision whatsoever, not just reverting the edits made by a single editor. What would you suggest in this instance? Lupin|talk|popups 00:19, 3 December 2005 (UTC)
- "Reverting multiple edits to last version by <user>." in cases where multiple edits are reverted to the final version by another. Or "Reverting edits to version saved <datestamp> by <user>." where an earlier version by a user is called. Just an idea. I fear the logic could quickly get spaghettified. --StuffOfInterest 00:33, 3 December 2005 (UTC)
- I agree, the logic seems tricky. I'm not sure it's worth implementing this to be honest, since it would require loading the history page in the background and so entail more network overhead, as in the most general case (a link to a diff or an old revision of a page from any other page) the only information I have is the revision ID, no date, no editor data. Sorry. Lupin|talk|popups 01:02, 3 December 2005 (UTC)
- Well, I forgot that it is now configurable :-) but the only data available is the revision ID, so I guess you still won't be completely happy. Anyway, check out the popupRevertSummary variable. Lupin|talk|popups 01:29, 3 December 2005 (UTC)
- Interesting idea. Might there be any clues as to how to extract the last editor IP/Username details for use in the edit summary from the revert functions in Sam Hocevar's Godmode Light. The summary would read something like:
Popups-assisted revert to last version by GoodEditor
- Just a thought. --Cactus.man ✍ 17:35, 3 December 2005 (UTC)
- It'd have to be able to spit out "revert to n-th to last version by GoodEditor" too for n=2,3,4,5,..., in principle. This could be done, but I'm not going to do it since I don't feel it's that important. I will take a patch if anyone wants to write it, though. Lupin|talk|popups 13:15, 8 December 2005 (UTC)
I don't like the number either. How about using the timestamp? "Reverted to 07:54, May 19, 2006 using popups" --Doradus 13:55, 19 May 2006 (UTC)
The edit summary the tool produces is essentially useless except to an elite few, the in-group who use the tool, I suppose, or admins. For the vast majority of editors who patrol Recent Changes or their Watchlist, this tool's edit summary does not point to the vandal. Duh. When repairing Wikipedia and shutting down serial vandals, one of the most valuable ways is to look at edit summaries, click on the contribs or the IP address and check for other vandalisms by the same editor. Oh, and the version number is also rather meaningless. Sure, you can find it by a few extra clicks, if you are one of the elite few who know what it means (I only found out by being engaged enough to read this discussion). The edit summary should maximize usefulness, not pander to an elite. Hu 02:45, 29 November 2006 (UTC)
I Don't Understand
Maybe I'm just not internet savy, but I don't understand the instructions. I added the text to the link with my username. I cleared my browser cache (I use Mozilla) and the pop-ups are not there. What am I doing wrong? --kralahome 03:42, 7 January 2006 (UTC)
- Comments start with "//", so there is one "/" missing at the beginning of your monobook.js. By the way, I removed some misplaced java code from your user page. --Eddi (Talk) 07:44, 7 January 2006 (UTC)
- I don't have time to read the instructions and links in them. I'm still trying to figure out basic marks. The reset link used to reset the sandbox just fine a few days ago. I think it could be repaired by whoever wrote that template. Also, I shouldn't have to download something to view media.
- I don't get it either. I followed the instructions exactly, but don't see anything different. Damn computers. Exploding Boy 05:42, 15 May 2006 (UTC)
Wow
This is one of the most awesomely cool tools I've ever seen. I can't believe it doesn't require any download or change to the Mediawiki software. This will be great for checking for dab pages and redirects. I am in your debt. Deco 08:42, 10 February 2006 (UTC)
- Not to criticize the script too much :), but it does require a fair amount of downloading. The script itself is 231 KB (which must be downloaded again every time you clear your cache) and the most impressive features use background downloading through XMLHTTP. This is (somewhat of) a strain on both the Wikimedia servers and your own bandwith. Superm401 - Talk 08:22, 11 February 2006 (UTC)
- Thanks for this comment - it prompted me to host my version of the script locally, which speeds up development :-) This avoids the 231kb penalty when purging the cache. Lupin|talk|popups 01:02, 12 February 2006 (UTC)
- Could you give instructions on how we could also "host the script locally" instead of downloading it every time we clear our cache? - Phorque 15:48, 3 June 2006 (UTC)
- You need a webserver. Make a copy of popups.js (or popupsdev.js) on the webserver and replace the popups installation in your user javascript file on wikipedia with something like
- Could you give instructions on how we could also "host the script locally" instead of downloading it every time we clear our cache? - Phorque 15:48, 3 June 2006 (UTC)
- Thanks for this comment - it prompted me to host my version of the script locally, which speeds up development :-) This avoids the 231kb penalty when purging the cache. Lupin|talk|popups 01:02, 12 February 2006 (UTC)
// [[User:Lupin/popups.js]] document.write('<script type="text/javascript" src="' + 'http://your.server.name/path/to/popups.js' + '"></script>');
- For example, I run the apache webserver on port 8080, I keep the javascript files in /js/ on the server and I use the dev version of the script, so the crucial line for me looks like
+ 'http://localhost:8080/js/popupsdev.js'
- You may like to consider syncing your local versions with the versions on wikipedia periodically. Lupin|talk|popups 16:38, 3 June 2006 (UTC)
- Cool, I'll try that out sometime! I may host it on a more local server (ie. in my city, possibly on my university server space) to speed things up. Phorque (talk · contribs) 13:59, 13 June 2006 (UTC)
- You may like to consider syncing your local versions with the versions on wikipedia periodically. Lupin|talk|popups 16:38, 3 June 2006 (UTC)
- Just found about this script, and wanted to say 'wow' too :) I also just read the comment above, while my own bandwidth is no issue, just what does it download off the wiki servers ? I have the feeling I should at least disable pictures, I don't want to add on the server load that must be gigantic already.--Equendil 02:17, 19 May 2006 (UTC)
- It downloads the data needed to create the previews and other features: wikitext and so on. If you use firefox and install the firebug extension, then you can keep track of exactly what's going on (apart from the images) by getting it to show the xmlhttprequests. My own take on bandwidth usage is that (1) I've tried to make the script reasonably efficient, and (2) I haven't had any complaints from the devs, and I'm certain that they would complain (and/or implement technical countermeasures) if they thought it necessary. Lupin|talk|popups 04:24, 19 May 2006 (UTC)
Popups and Safari
The info page says that Safari crashes when attempting to use popups. However, I am not experiencing crashes, but I am experiencing a lack of these popups actually appearing in Safari. Has support for Safari been discontinued for the moment? --WCQuidditch ☎ ✎ 22:25, 16 March 2006 (UTC)
And this non-functioning happens even after clearing cache, FYI. --WCQuidditch ☎ ✎ 22:26, 16 March 2006 (UTC)- Never mind, it's just Java starting up. Javascripts don't seem to function instantly, it takes a few minutes. It's working fine for me (after the cache-clear). --WCQuidditch ☎ ✎ 22:34, 16 March 2006 (UTC)
- You mean the Javascript interpreter. Javascript and Java are actually very different, despite Netscape deliberately misnaming the script. :) Superm401 - Talk 02:44, 17 March 2006 (UTC)
- Not working for me in Safari at all -- nothing happens. I've had popups installed for some time and they simply never appear. Cleared cache repeatedly. Works fine in Firefox on the same computer. Latest release version of Safari on latest release version of OS X 10.4 Any ideas much appreciated. Dogville 11:18, 3 May 2006 (UTC)
- Just to flag this again. I hope I'm not missing an obvious answer to why it's not doing anything for me in Safari, but any advice would be very welcome. Thanks. Dogville 15:48, 13 May 2006 (UTC)
- It's probably working, but just dog-slow. On my dual G5 it takes well over 2 seconds for the popup to show, and it significantly slows my wikipedia navigation experience in general. I was already aware that Javascript in Safari wasn't top notch, never knew it was this bad. - TheDJ (talk • contribs • WikiProject Television) 23:29, 3 June 2006 (UTC)
- Which version of webkit is your Safari using? I've had good performance from webkit 418 on a macbook pro and the webkit nightlies work even better (menus are supported). You can find out your webkit version by going here and clicking the "Are you using AppleWebKit?" button. Lupin|talk|popups 03:06, 4 June 2006 (UTC)
- Thanks for the replies and apologies that I only just noticed them. Well, this is odd. I'm using WebKit 418. It's on a PowerBook G4 1.5 Ghz, but I don't believe speed is the (only) problem -- even after 10+ secs hovering over a link nothing appears apart from a yellow tooltip. In Firefox I get the popup within a second. By the way, JavaScript is enabled in Safari ... I have no idea what's going on. There's not any delay, either -- no sense that wiki browsing is getting slowed by half-executed code. Dogville 13:54, 11 June 2006 (UTC)
- I'm not sure what the problem could be. You are logged in when you browse with safari, right? :-) You could try adding a silly line like this to your monobook.js file:
- Thanks for the replies and apologies that I only just noticed them. Well, this is odd. I'm using WebKit 418. It's on a PowerBook G4 1.5 Ghz, but I don't believe speed is the (only) problem -- even after 10+ secs hovering over a link nothing appears apart from a yellow tooltip. In Firefox I get the popup within a second. By the way, JavaScript is enabled in Safari ... I have no idea what's going on. There's not any delay, either -- no sense that wiki browsing is getting slowed by half-executed code. Dogville 13:54, 11 June 2006 (UTC)
- Which version of webkit is your Safari using? I've had good performance from webkit 418 on a macbook pro and the webkit nightlies work even better (menus are supported). You can find out your webkit version by going here and clicking the "Are you using AppleWebKit?" button. Lupin|talk|popups 03:06, 4 June 2006 (UTC)
- It's probably working, but just dog-slow. On my dual G5 it takes well over 2 seconds for the popup to show, and it significantly slows my wikipedia navigation experience in general. I was already aware that Javascript in Safari wasn't top notch, never knew it was this bad. - TheDJ (talk • contribs • WikiProject Television) 23:29, 3 June 2006 (UTC)
- Just to flag this again. I hope I'm not missing an obvious answer to why it's not doing anything for me in Safari, but any advice would be very welcome. Thanks. Dogville 15:48, 13 May 2006 (UTC)
- Not working for me in Safari at all -- nothing happens. I've had popups installed for some time and they simply never appear. Cleared cache repeatedly. Works fine in Firefox on the same computer. Latest release version of Safari on latest release version of OS X 10.4 Any ideas much appreciated. Dogville 11:18, 3 May 2006 (UTC)
- You mean the Javascript interpreter. Javascript and Java are actually very different, despite Netscape deliberately misnaming the script. :) Superm401 - Talk 02:44, 17 March 2006 (UTC)
addOnloadHook(function(){document.title+=' (js working)';});
- It should append a message to the title of each wikipedia page in safari and in firefox. If it doesn't in safari but does in firefox, then I think the monobook.js file is not even being read or is erroring out somehow. Also please enable javascript debugging in safari and open the Javascript console from the debug menu while your browse, and see if any errors are being reported. Lupin|talk|popups 14:17, 11 June 2006 (UTC)
- I must apologise: I was being stupid, but only your last suggestions prompted me into remembering why. It was PithHelmet. I should have guessed this earlier. It's working now. Many thanks again Dogville 16:22, 12 June 2006 (UTC)
- It should append a message to the title of each wikipedia page in safari and in firefox. If it doesn't in safari but does in firefox, then I think the monobook.js file is not even being read or is erroring out somehow. Also please enable javascript debugging in safari and open the Javascript console from the debug menu while your browse, and see if any errors are being reported. Lupin|talk|popups 14:17, 11 June 2006 (UTC)
General availability?
Have you considered proposing that a stripped-down version of your popup script be included in the common Javascript file? You don't want the revert link in there, and probably you want to leave out the content-fetching previews due to server strain, but most of the other functions would be very handy for general use. —Simetrical (talk • contribs) 05:22, 22 March 2006 (UTC)
- I don't think it's stable enough for that yet. Also, this would doubtless cause lots of friction with people who dislike the tool. However, if I did consider this then I'd definitely want to keep the previews in since they're a lot more useful to general readers than the navigation links. Lupin|talk|popups 04:36, 24 March 2006 (UTC)
- I was thinking they'd put undue stress on the servers if everyone used them. They do have to call up the full page to show the first paragraph/image, right? —Simetrical (talk • contribs) 02:49, 26 March 2006 (UTC)
- I don't know if they would or not. General use would certainly increase server load, but I suspect not by much. The reason is that the previews are generated from the raw wikitext, which can be fetched much more efficiently than the fully rendered pages. Lupin|talk|popups 04:06, 26 March 2006 (UTC)
- Really? I thought the pages were aggressively cached, so the only page-transfer expense is bandwidth regardless. How much smaller is the wikitext than the rendered page? This page's wikitext is over half the length of the page (although the ratio is probably a good bit less for smaller pages, since CSS/JS/etc. is fixed overhead). Anyway, I think asking a developer before adding any kind of page-fetching to the general JS files would be wise. —Simetrical (talk • contribs) 19:50, 26 March 2006 (UTC)
- I don't know if they would or not. General use would certainly increase server load, but I suspect not by much. The reason is that the previews are generated from the raw wikitext, which can be fetched much more efficiently than the fully rendered pages. Lupin|talk|popups 04:06, 26 March 2006 (UTC)
- I was thinking they'd put undue stress on the servers if everyone used them. They do have to call up the full page to show the first paragraph/image, right? —Simetrical (talk • contribs) 02:49, 26 March 2006 (UTC)
Revert Problem
How do I revert Using Popups? WHen ever I click Revert, It doesn't do anything to the page. --Z.Spy 01:41, 28 March 2006 (UTC)
- You have to revert the article before the vandalism. (For example, on the history page, the very top/latest edit would be the vandalism. The one right below it would be the normal/fine version of the article. So point your cursor over the second from the top, click the |rv|/Revert, then it should rollback the article to the normal one.) Try it in the Wiki sandbox to get the hang of it. (Yes, I know it's a old question, but hopefully people searching this page will find this helpful.) :P Keero 02:36, 4 May 2006 (UTC)
Firefox 1.5.0.2 broken
This script doesn't work under FF 1.5.0.2 (the newest stable available) for Windows (exact data Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2)
WebDeveloper reports two errors: Error: pg is not defined Source File: http://en.wiki.x.io/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 185
Error: log is not defined Source File: http://en.wiki.x.io/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 2847
I am not a JavaScript guy, so other than noticing that these appear to be defined (as window.pg and window.log) at the top, I can't figure out why this error appears. nneonneo 02:12, 26 April 2006 (UTC)
- I expect these errors are transient (I don't know their cause) and will disappear after you give your cache a good cleaning out. Lupin|talk|popups 03:28, 4 May 2006 (UTC)
popupRevertSummary
Are there any other variables that can be used for popupRevertSummary
besides for %s? TheJabberwʘck 19:11, 3 May 2006 (UTC)
- You can use $1, $2 and so on for the extended summaries, I think. Lupin|talk|popups 03:27, 4 May 2006 (UTC)
Errors
I think I'm getting errors. Sometimes when I try to load a contributions page, I get a "Cannot load page. Operation aborted" error. I'm pretty sure this has something to do with popups as I only get it on Wikipedia contributions pages, and have only got it since having popups installed. What's confusing about it is that I get the error a few seconds after the page has loaded and is being displayed... Hope someone can help. --Darth Deskana (talk page) 19:18, 3 May 2006 (UTC)
- Do you get it with the script disabled? Do you get it if you load the page without moving your mouse at all, or only when you move the mouse over links? Which browser/os are your using? Lupin|talk|popups 03:32, 4 May 2006 (UTC)
2 small things
- When over an article link, we have access to the talk page, but when over a talk page link, we don't have directarticle access.
- If you use the menus, then you should see links at the bottom of the actions menu.
- Template page rendering would gain from taking <includeonly> and <noinclude> tags into account. Circeus 00:35, 4 May 2006 (UTC)
- Good idea... Lupin|talk|popups 03:26, 4 May 2006 (UTC)
Viewing deleted images
You can view deleted images with popups by going in an admin's deletion log and hovering the mouse over the link to the deleted image in the log. Then a thumbnail of the image will appear in the popup, but not when you click on the link. --GeorgeMoneyTalk Contribs 02:37, 5 May 2006 (UTC)
- I'm not in a position to say for sure but from my knowledge of how both Wikipedia and popups works I assume that's due to the caching that's done in various places between you and the server (I'm sure Lupin or someone else can pinpoint it better) so while you are correct, I doubt it will work with much older images that have already been flushed by the cache. Pegasus1138Talk | Contribs | Email ---- 02:57, 5 May 2006 (UTC)
- Err yeah, that was a typo. Pegasus1138Talk | Contribs | Email ---- 16:40, 9 May 2006 (UTC)
Extended revert summary
How does one make use of the extended revert summary? I used to automatically be using the extended one until recently, and I can't find any option to do so listed on the popups page. Cowman109Talk 19:05, 5 May 2006 (UTC)
- I'd like to know this too. More importantly, why was the extended summary which was present up until a week or two ago removed and replaced with the much less descriptive one? --Happynoodleboy 16:34, 9 May 2006 (UTC)
Wrong Revert (double revert & oops i did it again)
I don't use Popups but i have noticed a few times Nothing get's done 4 for edits. A typical mistake is
- Vandalism
- rm Vandalism
- rv to last edit by Vandal
- Oops Sorry about that rv back once or trice
One example is [1] fallow history forward. This is not a problem with an individual user but rather a problem with Popups because I have seen this several times by different users. Popups should have some safeguard over double reverts such as an edit conflict or it could read the previous edit for keywords such as rv or rm or revert or remove or vandalism or vand or any other thing somebody might use for and edit summary. this may make it harder to revert vandals who call their work vandalism or try to trick the system but those user's just be reverted by hand or a Popups could say are you sure you want to revert because it could be a double revert.--E-Bod 21:55, 7 May 2006 (UTC)
- Someone reported something similar happening on the german wikipedia, and it was a bug which I think I fixed. Let me know if you still see this happening now. Lupin|talk|popups 23:18, 15 May 2006 (UTC)
Error?
Sometimes when I hover over a link to an article or the diff/last link I get the article's history instead. If I mouseout and mouseover again I still get the history instead of the article itself or the diff. SCHZMO ✍ 21:03, 9 May 2006 (UTC)
- Yeah. Me too. --GeorgeMoney T·C 23:19, 9 May 2006 (UTC)
- I'm getting this also. When viewing my watchlist, I rollover (diff), and am somtimes shown the history instead. In some cases, this corrects itself without having to move the cursor. Sometimes it doesn't. This is only a recent thing. PrometheusX303 23:02, 11 May 2006 (UTC)
- I am also having this problem. Naconkantari e|t||c|m 15:47, 13 May 2006 (UTC)
- I'm getting this also. When viewing my watchlist, I rollover (diff), and am somtimes shown the history instead. In some cases, this corrects itself without having to move the cursor. Sometimes it doesn't. This is only a recent thing. PrometheusX303 23:02, 11 May 2006 (UTC)
- Thanks for the bug reports. I think I have fixed this in the dev version, but I'm not certain. Please could you test it out? Lupin|talk|popups 23:15, 15 May 2006 (UTC)
"Revert to revision 51870415 using popups"
I still see many, many reverts of the style "Revert to revision 51870415 using popups". I'd consider this as misleading edit summary by all definitions, as it is not easily visible, which version was reverted. Is there any way to urge or force users of this tools to provide a better summary? If the problem increases, perhaps edits with summaries in this style should be blocked? --Pjacobi 11:19, 10 May 2006 (UTC)
- From what I understand, an edit summary containing such details is inevitable unless the user reverts from the history page. Determining the editor of the old and new versions of the article, otherwise, would require extra quering to the Wiki servers, searching through the history list for the names. People can also edit the default edit summary however they wish. Cowman109Talk 19:05, 10 May 2006 (UTC)
- My point is, when manually reverting and not giving which version you are reverting to (except in the case of reverting the last edit, which is by and large assume as default), it would be considered at least as bad manners. And when done repeatedly would become a blockable offense. --Pjacobi
- Unfortunately the thing is that people can't write a better edit summary unless they put in a few options to their .jss file that either changes the default message or one that allows them to review the edit summary before saving. Not to sound hostile, but I completely disagree with the idea of blocking people for using this edit summary - the revision history number is contained within the article, though it may still take a bit of finding. However, with simple use of the diff tool people can determine whether people's reverts are fine or not. From what I understand, what you're proposing is blocking people for reverting vandalism. A more efficient thing to do in my opinion would to make the revert summary editable by default, so people actually have the choice to change their revert summary from the default "Revert to revision #### using popups". Cowman109Talk 19:13, 11 May 2006 (UTC)
- Addendum: However, if you're not speaking about reverting simple vandalism and you're talking about people pressing the revert button due to edit conflicts, this is not merely a popups issue but one about reverting tools as a whole. People are advised to only use the admin revert function for simple, clear vandalism for example, otherwise people are encouraged to use customized edit summaries to explain their point. Cowman109Talk 19:15, 11 May 2006 (UTC)
- Of course, I'm thinking about this problem. I can't get it, why a sensible comment isn't the default. It is very tedious to check to which version the reversion goes to. You are already hovering over the link containing the date of the revision you are about to revert to. This should be retrievable by client-side actions only. --Pjacobi 19:25, 11 May 2006 (UTC)
- To change your edit summary, all you have to do is press "stop" when you see the screen that warns you about editing a prior version, then change the summary. If you look at my contribs, I have messages like "I am always reverting vandalism on movie star pages, so: Revert to revision 12345678 using popups" or "Reverted vandalism by User:Example User to version by the guy before him, so this is what you would normally hear: Revert to revision 12345678 using popups"--GeorgeMoney T·C 23:02, 11 May 2006 (UTC)
- Of course, I'm thinking about this problem. I can't get it, why a sensible comment isn't the default. It is very tedious to check to which version the reversion goes to. You are already hovering over the link containing the date of the revision you are about to revert to. This should be retrievable by client-side actions only. --Pjacobi 19:25, 11 May 2006 (UTC)
- Addendum: However, if you're not speaking about reverting simple vandalism and you're talking about people pressing the revert button due to edit conflicts, this is not merely a popups issue but one about reverting tools as a whole. People are advised to only use the admin revert function for simple, clear vandalism for example, otherwise people are encouraged to use customized edit summaries to explain their point. Cowman109Talk 19:15, 11 May 2006 (UTC)
- Unfortunately the thing is that people can't write a better edit summary unless they put in a few options to their .jss file that either changes the default message or one that allows them to review the edit summary before saving. Not to sound hostile, but I completely disagree with the idea of blocking people for using this edit summary - the revision history number is contained within the article, though it may still take a bit of finding. However, with simple use of the diff tool people can determine whether people's reverts are fine or not. From what I understand, what you're proposing is blocking people for reverting vandalism. A more efficient thing to do in my opinion would to make the revert summary editable by default, so people actually have the choice to change their revert summary from the default "Revert to revision #### using popups". Cowman109Talk 19:13, 11 May 2006 (UTC)
- My point is, when manually reverting and not giving which version you are reverting to (except in the case of reverting the last edit, which is by and large assume as default), it would be considered at least as bad manners. And when done repeatedly would become a blockable offense. --Pjacobi
- A few remarks:
- I don't consider the current summaries misleading. They are accurate, succinct, and somewhat obscure.
- You should set popupRevertSummaryPrompt=true if you want to change the summaries instead of trying to hit the stop button in time.
- This situation may improve... watch this space. Lupin|talk|popups 13:09, 12 May 2006 (UTC)
- I'm not user of Popups, I'm a victim of the obscure edit summaries. I must now work harder to check the edits of users of Popups. --Pjacobi 13:18, 12 May 2006 (UTC)
- What do you think of setting popupRevertSummaryPrompt=true by default? This would encourage users to justify their revert; it would slow down reverting just enough to give obvious feedback that a revert was executed and thus prevent "oops, I did it again"; it would prevent accidental reverts. ---zzz 00:32, 13 May 2006 (UTC)
Revert edit summaries broken
I have changed the default summary to "Revert to last version by %s dated %s", and enabled the prompt, and until a few days ago that worked fine. But now whenever I revert a page from the history, the summary in the pop-up window says "null", so I have to enter my own summary. Has something changed which has broken this? (This problem has always existed for reverting from the "Older revision" links at the top of the page, but now it seems happen whatever link is used). JRawle (Talk) 14:56, 12 May 2006 (UTC)
- This might be related to the problem I had at User_talk:Lupin#Extended_revert_summary_broken.3F. It might be that your edit summary is not the extended one, so it does not accept the second %s. Cowman109Talk 18:43, 12 May 2006 (UTC)
- Thanks, that seems to have fixed it from the history list. I see, now the summary contains correct UTC time instead of my local timezone. Reverting from the toplinks on the "Revision as of..." page still doesn't work, but I've already taught myself not to do that anyway! JRawle (Talk) 23:23, 12 May 2006 (UTC)
- What I use is customized summary and the revert prompt options together so that way I have the popup where I can change my summary (and hit cancel if I want to save it manually) while at the same time when the prompt comes up it displays my preferred edit summary by default so if I wanted to I could just hit enter. It works perfectly. Pegasus1138Talk | Contribs | Email ---- 07:12, 14 May 2006 (UTC)
- Thanks, that seems to have fixed it from the history list. I see, now the summary contains correct UTC time instead of my local timezone. Reverting from the toplinks on the "Revision as of..." page still doesn't work, but I've already taught myself not to do that anyway! JRawle (Talk) 23:23, 12 May 2006 (UTC)
Bug: incorrect handling of + in URLs
Try hovering over http://en.wiki.x.io/w/index.php?title=C++. Click it to see where it goes. (Note that http://en.wiki.x.io/wiki/C++ goes to a different article entirely.) —Simetrical (talk • contribs) 05:51, 14 May 2006 (UTC)
- Did you see the third note on C? "Due to technical limitations, typing C++ in your browser may have redirected you here." --Closedmouth 06:58, 14 May 2006 (UTC)
- Yes, but the popups don't redirect you there when that's where the link actually goes. The popup is supposed to show a preview of what you'll see when you click the link, not an entirely different page. I almost "corrected" the page on technical restrictions on naming to remove the problem with C++/C, because due to the (correct) popup I thought it was fixed. Luckily I tried checking the actual page first. —Simetrical (talk • contribs) 21:03, 15 May 2006 (UTC)
- Thanks, this should be fixed in the dev version. Lupin|talk|popups 23:14, 15 May 2006 (UTC)
suggestion
Since the toolserver is FUBARed for the forseeable future I suggest in addition to allowing the values kate and interiot for the edit counter option also adding Interiot2 as an accepted value which would point towards User:Interiot/Tool2/code.js, it uses the format http://en.wiki.x.io/wiki/User:Interiot/Tool2/code.js?username=Pegasus1138 for linking to users, where Pegasus1138 would be replaced with whatever the person's username is. Shouldn't be a hard thing to add. Pegasus1138Talk | Contribs | Email ---- 07:17, 14 May 2006 (UTC)
- Are you suggesting I add interiot's code so that every popup user has it automatically installed? As far as I can tell, without doing so, this won't work. Lupin|talk|popups 23:16, 15 May 2006 (UTC)
- It won't work for those who don't have it installed no, but you can always include it as an option and either keep it as an unlisted option on the options listings page, or you can note on that page that to make Interiot's tool 2 work you need to install his js (the directions for which btw are on the same page as the the tool and show up if you don't have it). The latter could be somewhat confusing for people who don't know how to entirely work the js beyond copying and pasting code and the former hinders people knowing about the option but either way I think it should be at least be accepted as an option. Pegasus1138Talk | Contribs | Email ---- 23:45, 15 May 2006 (UTC)
- I've added a custom edit counter option to the dev version. To use it, set popupEditCounter='custom' and popupEditCounterUrl='http://foo.bar.baz/path/to/tool?username=%s'. Lupin|talk|popups 00:47, 16 May 2006 (UTC)
- Thanks, I've tested it out but it still seems to be pointing me towards the default (Interiot's Tool on toolserver). I'll try to fiddle with the option later to see if it's something in how I'm inputting it that's breaking it but I'm not sure which end the problem is on. Pegasus1138Talk | Contribs | Email ---- 03:08, 16 May 2006 (UTC)
- Oops, that should be popupEditCounterTool='custom'. Sorry! Lupin|talk|popups 03:18, 16 May 2006 (UTC)
- Still not working, odd, everything should work correctly... Feel free to edit my js file if it's something on my end and you think you can fix it but I have no idea what the issue is. Pegasus1138Talk | Contribs | Email ---- 02:00, 18 May 2006 (UTC)
- Yup, my fault. I fixed the bug and your monobook.js now works for me. Lupin|talk|popups 03:13, 18 May 2006 (UTC)
- Works perfectly now, thanks, though I of course would prefer the toolserver version (handles users with high edit counts better) to the tool2 version but we have to work what works I guess. Pegasus1138Talk | Contribs | Email ---- 19:37, 18 May 2006 (UTC)
- Yup, my fault. I fixed the bug and your monobook.js now works for me. Lupin|talk|popups 03:13, 18 May 2006 (UTC)
- Still not working, odd, everything should work correctly... Feel free to edit my js file if it's something on my end and you think you can fix it but I have no idea what the issue is. Pegasus1138Talk | Contribs | Email ---- 02:00, 18 May 2006 (UTC)
- Oops, that should be popupEditCounterTool='custom'. Sorry! Lupin|talk|popups 03:18, 16 May 2006 (UTC)
- Thanks, I've tested it out but it still seems to be pointing me towards the default (Interiot's Tool on toolserver). I'll try to fiddle with the option later to see if it's something in how I'm inputting it that's breaking it but I'm not sure which end the problem is on. Pegasus1138Talk | Contribs | Email ---- 03:08, 16 May 2006 (UTC)
help
My monobook.js page is here: User:Hdtopo/monobook.js Do I have this installed right? Hdtopo 01:45, 15 May 2006 (UTC)
- Yes, have you cleared your cache? --Closedmouth 02:23, 15 May 2006 (UTC)
It's not working for me either. Exploding Boy 04:11, 16 May 2006 (UTC)
- How do I know which skin I'm using? Maybe that's the problem. Exploding Boy 03:40, 17 May 2006 (UTC)
- One way to find out seems to be to go to a wikipedia page while logged in and type javascript:alert(skin) into your url bar and press enter. The boring way is to examine your user preferences under 'skin'. Lupin|talk|popups 03:54, 17 May 2006 (UTC)
- Wow, cool trick. I'm surprised that trick hasn't been coded into any scripts yet and isn't more widely known. Pegasus1138Talk | Contribs | Email ---- 03:29, 19 May 2006 (UTC)
Huzzah! That was the problem. Thanks. Exploding Boy 03:59, 17 May 2006 (UTC)
Getting error: op or cl is null
Everytime I use the pop up tool I get an error warning which goes along the lines of:
"Navigational Popups error: op or cl is null! something is wrong."
What does this mean and what can I do to correct it? The pop up is not able to load a section of the page at all. - Erebus555 10:43, 20 May 2006 (UTC)
- I am also intermittently getting this error both at home (most of the time) and at work (only sometimes). Both machines are running IE 6 with all of the latest patches and updates. --Kralizec! (talk) 12:48, 20 May 2006 (UTC)
- I believe that this bug is now fixed. Please clear your cache very thoroughly and see if it disappears. By the way, this bug is an indication that you're running the development version, which is prone to catastrophic failure of this sort from time to time... so while I do appreciate the bug reports, if you want to use the more stable version you should change popupsdev to popups everywhere in your user js file. Lupin|talk|popups 14:03, 20 May 2006 (UTC)
Question to the developer(s)
I'm a Bureaucrat on SporeWiki.com. I just installed these popups here and they are extremly impressive. I think they will be extremly useful to me here. When I found out about this, I doubtfully gave it a go and tossed the template directly into SporeWiki and into my .js file just to see if by chance it might work (hey, it's worth a shot). It did not as I'm sure you would have guessed. I'm wondering if it'd be possible for a version of this to be made for sporewiki. I realize that is an immense task and I wouldn't expect NEARLY the kind of completeness and quality that exists at this wiki here. But I personally think it would be extremly useful to make this kind of add-on as versatile as possible. As you'd guess, I really have no idea how complicated this may be (or even if it's possible), but I'm willing to do anything I can to help if you'd want to give it a shot. I'm sure we would be eternally greatful, and if you make a basic version perhaps it would be easy to port to any other wiki that asks about it. If you decline I will completly understand, just thought I might as well do everything I can to help out. Thanks, whether you do it or not your (everyone who worked on this) efforts are very much appreciated. Chris M. 15:50, 20 May 2006 (UTC)
- This should not be hard. The main difference is that Sporewiki uses short urls. To adapt the popups script for this, you should make a copy on sporewiki somewhere and change the line
var articlePath='wiki'; // as in http://some.thing.com/wiki/Article
- to
var articlePath=''; // as in http://some.thing.com/wiki/Article
- Hopefully it'll start working once you point your monobook.js at this copy and clear your cache. Lupin|talk|popups 17:18, 20 May 2006 (UTC)
- Thanks for your response, I tried to copy the file and found that section and changed it. When saving I came out with this. I also made these changes to the Navpop template]. I think that was what I wanted. Clearly though I messed up something with the popups.js thing, if you could let me know or if it would be easier for you, if you could just change it yourself (we have anon editing on), that would be great, thanks again. Chris M. 20:02, 20 May 2006 (UTC)
- Looks OK to me. Did you clear your browser cache? Do you see javascript errors in the firefox javascript console? Why exactly do you say you messed something up - how is it failing? What does logging into sporewiki, typing javascript:alert(pg.wiki.titlebase) into the location bar and pressing enter do for you? Lupin|talk|popups 20:26, 20 May 2006 (UTC)
- I did clear it, I don't see errors, The code on User:Mason11987/popups.js has messed up line breaks, and looks like this:
var popupVersion="Thu Apr 27 00:40:52 EDT 2006"; // STARTFILE: main.js // ********************************************************************** // ** ** // ** changes to this file affect many users. ** // ** please discuss on the talk page before editing ** // ** ** // ********************************************************************** // ** ** // ** if you do edit this file, be sure that your editor recognizes it ** // ** as utf8, or the weird and wonderful characters in the namespaces ** // ** below will be completely broken. You can check with the show ** // ** changes button before submitting the edit. ** // ** test: مدیا מיוחד Мэдыя ** // ** ** //
- It's failing by not showing me the same popups that I see here (or any popups besides the captions). Typing that in doing seem to do anything at all. Chris M. 20:57, 20 May 2006 (UTC)
- The line breaks look fine to me when you view the source of or edit that page, which is all that matters. Does that wiki have user javascript and user css enabled? One silly way to test this is to add something obvious like alert('javascript is enabled'); to the top of your user monobook.js file on that wiki, or you could view source on any page while logged in and see if your monobook file appears in a <script src=...> tag, or you could ask the site admins. Lupin|talk|popups 22:03, 20 May 2006 (UTC)
- heh...I'll find out, check back here in a little. This will be funny. Do you know if it's default on? Chris M. 00:55, 21 May 2006 (UTC)
- I think it defaults to off, actually :) Lupin|talk|popups 02:26, 21 May 2006 (UTC)
- heh...I'll find out, check back here in a little. This will be funny. Do you know if it's default on? Chris M. 00:55, 21 May 2006 (UTC)
stuff with templates and images
- It currently seems, for all practical purpose, impossible for the script to properly display any template in article space, if only because it appears to stop after the first line break in thetemplate code.
- Also, if an article start with a paragraph containing only a tamplate, nothing from the article is displayed.
- I humbly propose that all template code be ignored by the script.
- Also, if an article start with a paragraph containing only a tamplate, nothing from the article is displayed.
- The script will display images that were commented out by bots, this should not occur.
Circeus 18:26, 20 May 2006 (UTC)
- I've made some bugfixes regarding template handling to the dev version which I think will make you a little happier. Please provide example pages/urls where you feel the script is lacking if there are remaining issues with this.
- I'll think about the hidden image thing. Why do bots comment things out rather than deleting them? I've been using this as a way to display an image on my user page, which is why I'm hestitating slightly about "fixing" it. Lupin|talk|popups 20:16, 20 May 2006 (UTC)
- I'm not sure. I think it makes the change easier to revert or something along those lines. Circeus 01:14, 21 May 2006 (UTC)
Also, You can't pop a note when viewing a diff page. Circeus 01:14, 21 May 2006 (UTC)
- Sorry, I don't understand. Could you try to explain again? Lupin|talk|popups 02:25, 21 May 2006 (UTC)
- If you are on a diff page and try to use pop-ups on a WP:CITE note, it will display the page's diff instead. Circeus 18:10, 23 May 2006 (UTC)
- Hm, I'm still not completely sure what you mean. Do you have an example of a link with this bad behaviour? Lupin|talk|popups 22:13, 23 May 2006 (UTC)
- Go there and try to pop the note at the end of the article's first paragraph. Circeus 00:34, 24 May 2006 (UTC)
- Gotcha, thanks. Going on my todo list... Lupin|talk|popups 00:39, 24 May 2006 (UTC)
- This is now fixed in the dev version. Lupin|talk|popups 20:48, 28 May 2006 (UTC)
- I am an idiot. I just noticed this equally affect header links (when a section from within the same article). Circeus 14:50, 30 May 2006 (UTC)
- Do you mean a page with a link like this one? It seems to work more or less correctly, although admittedly the preview is of the current revision of the page instead of the old version. If this is not the issue, do you have an example for me to look at? Lupin|talk|popups 20:10, 31 May 2006 (UTC)
Suggestion: Popups over images
I don't know if this is feasable as I don't know how the script works, but could the 'summary' section that describes an image on wikipedia be displayed when you mousover a thumbnail of an image in an article? Right now you see a thumb of the image (usually smaller than the thumb you're hovering over), and several tool links, but it would be nice if the image's description (summary) would display under the tools (just like the intro paragraph of an article is displayed when hovering over a wikilink). Thanks TheHYPO 23:00, 24 May 2006 (UTC)
- Feasible, and even desirable. I'll put this on my todo list. Lupin|talk|popups 20:51, 28 May 2006 (UTC)
- Delayed response from me, but thanks - I just noticed this on an image today :) TheHYPO 06:06, 19 June 2006 (UTC)
Something [odd|fishy] happened. Please try again.
I keep getting the two errors "Something odd happened" and "Something fishy happened". But when I try again, it keeps saying it. Any idea why? – Gurch 08:13, 26 May 2006 (UTC)
- No :) Is this still a problem? Lupin|talk|popups 20:45, 28 May 2006 (UTC)
Viewing a user's space
When you hover over a userpage link, it has an option "user". When you hover over that option, you see a link to "space", which links to http://en.wiki.x.io/w/index.php?title=Special:Prefixindex&namespace=2&from=USERNAME What would be better is if it linked to http://en.wiki.x.io/w/index.php?title=Special:Prefixindex&namespace=2&from=USERNAME/ with a slash at the end. --GeorgeMoney T·C 01:38, 27 May 2006 (UTC)
- Thanks, I've put this in the dev version. Lupin|talk|popups 20:47, 28 May 2006 (UTC)
Not working
Whenever I roll over a link that should give me a popup, it says ‘Unknown structure: shortmenus’. What is this error and can it be remedied? ~Chris {tce@} 20:15, 28 May 2006 (UTC)
- This error should disappear if you clear your cache thoroughly. Lupin|talk|popups 20:45, 28 May 2006 (UTC)
Diffs
When you hover over a diff link, it doesn't show the edit summary and the editor. Is there some way to do that? --GeorgeMoney T·C 20:53, 28 May 2006 (UTC)
- Not currently. Lupin|talk|popups 19:57, 31 May 2006 (UTC)
Edit note summary
Popup's really needs to say what version it is reverting too in the article history edit notes. ie. "reverting to prior version by 205.45.66.3" .. the reason is, popups is reverting vandalism to prior versions made by anon users, which are also vandalism. The edit note summary helps to catch this. -- Stbalbach 21:50, 28 May 2006 (UTC)
For example. This is how WP:VandalProof does it:
- Reverted edits by 66.67.134.243 (talk) to version 54820622 by 172.195.82.180 using VandalProof
This is very helpful. Any chance of someone adding this to Popups also? -- Stbalbach 22:03, 28 May 2006 (UTC)
- I hope to add something like this, but I'm waiting for this feature request to be fulfilled, first. Lupin|talk|popups 22:23, 28 May 2006 (UTC)
- Didn't popups used to show the date of the version being reverted and the name, like this?
- Reverted to version dated 28 May 2006 by user blabla using popups
- What happened to this? --Tim1988 09:23, 30 May 2006 (UTC)
- Please see the discussion of popupTimeOffset above. Bonus points if you update the documentation :-) Lupin|talk|popups 12:33, 30 May 2006 (UTC)
- Didn't popups used to show the date of the version being reverted and the name, like this?
Great, I hope you can do it. I have to double-check every popup edit that shows up my watchlist - its a lot of work. Perhaps you can add some code warning people when they revert to an anon IP version of an article. How does VanalProof do it? -- Stbalbach 13:44, 30 May 2006 (UTC)
- It screen-scrapes the history page, I expect. I could do this, but it's messy. The best way would be to get the features needed added to Yurik's query.php extension and use that. I've requested these features, so they may appear before too long. Lupin|talk|popups 20:01, 31 May 2006 (UTC)
Control the popup image
Hi! From an editing perspective is there a way to contol which image pops up? For instance, for the Bon Secour National Wildlife Refuge instead of popping up the image of the US which is in the infobox, I'd prefer it popup a nice sunrise image instead. I tried experimenting with 1 pixel images as the first line, but it doesn't seem to work. Any suggestions? ClarkBHM 17:03, 31 May 2006 (UTC)
- There is a hackish way, but I've been asked to disable it so it may not work in the future. If you comment out the image <!-- like this --> then it won't appear on the page, but it will appear in the popup if it appears before other images on the page (and isn't scaled to a small size, as you've discovered). The wisdom of doing this is a little questionable however, as it clutters the markup for what many would consider to be uncertain benefit. Lupin|talk|popups 19:54, 31 May 2006 (UTC)
- Perfect. I agree with your assessment of the uncertain benefit, but in my opinion having the map pop up was a bit garish. Thanks for your help! ClarkBHM 20:07, 31 May 2006 (UTC)
- Apologies... I have stopped this working in the dev version since the script has been attempting to fetch images in comments which have been deleted, leading to no image at all for some pages. So I still see the map on that page, and others will too once I upgrade the script.
- Perfect. I agree with your assessment of the uncertain benefit, but in my opinion having the map pop up was a bit garish. Thanks for your help! ClarkBHM 20:07, 31 May 2006 (UTC)
- I'm open to suggestions for a better way to specify an image as being suitable for popups, though. The main problem is that people are bound to complain if it looks nasty in the wikitext. Lupin|talk|popups 16:49, 3 June 2006 (UTC)
- In the latest dev version, <!-- [[image:example.jpg]] --> won't work, but <!-- popup [[image:example.jpg]] --> should. You can put any text in the comment before the image provided it contains the word popup before the first [. Lupin|talk|popups 13:38, 6 June 2006 (UTC)
Preview in watchlist?
What is exact meaning of the item Preview diffs in watchlist, history and related changes. on WP:POPUP. I had hoped I could get a scaled down version of the diff just by moving the mouse over but get nothing like that (just a box with "editLast", etc). Could a picture be added what one should expected here? TIA Pavel Vozenilek 04:26, 2 June 2006 (UTC)
- Here you go. Lupin|talk|popups 04:45, 2 June 2006 (UTC)
CSS can cause problems
I didn't know where to post this, but maybe someone smarter can move it into place for me.
A while ago, I added popups to my monobook.js, but they would not, um, pop up. I finally discovered (through use of the javascript console), that my monobook.css was flawed. Once I fixed it, the popups worked (almost) perfectly. If anyone is having problems with popups, this may be the solution.--Max Talk (add) 23:56, 3 June 2006 (UTC)
Leaked JS
Hey, just wanted to report some leaked code, via the the Firefox extension Leak Monitor. Here's the leaky section (from the extension's copy feature), lines 1207-1223:
[+] [leaked object] (32daf28, http://en.wiki.x.io/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s, 1207-1223) = function () { if (d.getReadyState() == 4) { delete pg.misc.downloadsInProgress[this.id]; try { if (d.getStatus() == 200) { d.data = d.getData(); d.lastModified = d.getLastModifiedDate(); callback(d); } else { if (typeof onfailure == typeof 1) { if (onfailure > 0) { newDownload(url, id, callback, onfailure - 1); } } else { if (typeof onfailure == "function") { onfailure(d, url, id, callback); } } } } catch (somerr) { } } } [ ] prototype (20cea18) = [object Object]
Sorry it stretches the page. Don't know if you can make sense of that or what, but I hope it helps. — SheeEttin {T/C} 01:13, 5 June 2006 (UTC)
- Thanks, this is interesting. I think I read somewhere that a leak caused by incomplete xmlhttprequests was a known bug in firefox, so maybe that's what's going on here. Lupin|talk|popups 00:20, 11 June 2006 (UTC)
Odd popup behaviour - caused by link to .ogg file???
Lupin, I just encountered this odd popup behaviour on the Chile article. Everything after the link to the .ogg file appears bold in the popup (see screenshot), but is formatted correctly in the article itself. No big deal, but possibly a bug you may wish to iron out at some point. Keep up the good work on popups, thanks. --Cactus.man ✍ 11:14, 6 June 2006 (UTC)
Forgot to say: WinXP SP2, FF 1.5.0.4. --Cactus.man ✍ 11:16, 6 June 2006 (UTC)
Update: looks like a Firefox issue, everything is fine in IE6. :-( --Cactus.man ✍ 11:28, 6 June 2006 (UTC)
- Hm, it's odd that IE behaved differently. Anyway, it should now work in the dev version, in firefox at least. I wonder if it's still working in IE... Lupin|talk|popups 14:52, 6 June 2006 (UTC)
- :-) Fixed again, swiftly as usual, thanks. All is now fine in FF and still OK in IE. Don't ask me how, was it connected to the .ogg link, or was that just my imagination? --Cactus.man ✍ 15:05, 6 June 2006 (UTC)
- Kinda. By default, templates are removed from previews. The bug was caused by a ''{{bold template}}'' (like the ogg template) which became '''', which InstaView doesn't like. The fix was to replace templates with a space instead of simply deleting them. Lupin|talk|popups 15:29, 6 June 2006 (UTC)
Reason fields
I'd like to suggest a feature for popups: a reason field, especially for reverts. It's annoying when people revert an article with popups, and are unable to give a reason. I've been copying the link and appending a reason to my autosummaries to bypass this. — SheeEttin {T/C} 22:01, 9 June 2006 (UTC)
- Search for summaryprompt on WP:POP to see an easier way to do this. Lupin|talk|popups 00:21, 11 June 2006 (UTC)
- Ah, thanks. Now I'll have to read through the rest of those options and change the ones I want. ;) — SheeEttin {T/C} 20:49, 11 June 2006 (UTC)
Edit summaries: version numbers as well as names?
When I was making the archive, I saw a brief discussion where is was proposed that the edit summaries should refer to the previous editor (more recognizable) instead of the complicated edit version number. The idea was rejected saying that using names was too unspecific, as editors could make multiple consecutive edits. What if the summary included both the specific number and the more recognizable editor, such as VandalProof does? It says it all: "Reverted edits by (vandal) to version (version number) by (previous editor) using (tool)." Why doesn't popups do that? Just an idea. —Akrabbimtalk 22:11, 10 June 2006 (UTC)
- This is a good idea, and frequently suggested. It'll be done once the infrastructure is in place to do it efficiently via the query.php extension. Lupin|talk|popups 00:22, 11 June 2006 (UTC)
- This has now been implemented in the dev version. Please test the hell out of it :-) Lupin|talk|popups 05:16, 11 June 2006 (UTC)
Draggable?
I noticed the word "draggable" in the code and can't figure out what it refers to, not from the code, the documentation, or a web search. The popup window itself cannot be dragged about. What can be dragged? Does it depend on OS/browser? I'm using IE on W2K today. — Hippietrail 23:44, 10 June 2006 (UTC)
- If you hold the shift key, then you can drag the popup around the screen. I've added a little note to this effect to the instructions page - thanks for pointing out that this was missing. Lupin|talk|popups 00:25, 11 June 2006 (UTC)
- Wow! That is an extremely helpful feature. Thanks a lot for implementing it. It will help for when popups spontaneously pop up on top of the edit window and make it a tad hard to see what I'm reading :). Cowman109Talk 00:35, 11 June 2006 (UTC)
- Why not use a more standard UI element like a title bar for this? --Doradus 18:32, 12 July 2006 (UTC)
- There's no really good reason, I think... maybe I'll try this out. One thing is that it would probably stop people from copying any text that was in the title bar, although this is probably something worth sacrificing for a more intuitive interface. Lupin|talk|popups 00:41, 13 July 2006 (UTC)
- Why not use a more standard UI element like a title bar for this? --Doradus 18:32, 12 July 2006 (UTC)
- Wow! That is an extremely helpful feature. Thanks a lot for implementing it. It will help for when popups spontaneously pop up on top of the edit window and make it a tad hard to see what I'm reading :). Cowman109Talk 00:35, 11 June 2006 (UTC)
Wiktionary features
I've tried this doodah on the English Wiktionary and I like it. I've even added a couple of custom features. But Wiktionaries are different to Wikipedias so it would be really nice if there were ways for us to add other kinds of functionality. For instance, Wiktionary articles do not start with introductory sentences but with a level-2 language heading and then other standard headings. This means the summer as it is is not useful for us - it usually just tells me "English". Another kind of "filter" that we could add would be to list all of the level-2 headings since this would be a list of languages for which there currently exist a word spelled as the article title. These are just the first 2 ideas off the top of my head.
Thanks for the doodah! — Hippietrail 00:45, 11 June 2006 (UTC)
- I've added yet another option to the dev version, popupPreviewCutHeadings. If you set this to false and possibly increase the popupMaxPreviewSentences and/or popupMaxPreviewCharacters values, I think you should see better results on Wiktionary.
- I think the filter you suggest can be done fairly easily using regexps and the standard popups filter mechanism, as in the example on the instructions page. It's good to hear that people other than myself are actually getting use out of this feature! Lupin|talk|popups 05:20, 11 June 2006 (UTC)
- Thanks! That's really nice. I don't want to push too hard since you've been very helpful so far but I have another request/question. Due to Wiktionary's standard format, giving a number or characters or sentences is not ideal. What would be ideal would be the first level-2 (language) heading, the part-of-speech/inflection line, and the first line below that which has the definition for the first sense. What makes it tricky is that there are several optional sections such as Etymology, Pronunciation, and Alternative spellings which can come between the two key headings. Can you think of the easiest way for some kind of filter or such to display just this? Something to keep in mind is that other Wiktionaries have developed their own completely different formats. — Hippietrail 13:47, 11 June 2006 (UTC)
Edit Summary
I just got this edit summary: "Revert to revision $1 dated $2 by $3 using popups" --GeorgeMoney T·C 21:41, 11 June 2006 (UTC)
- Thanks for the bug report - that's not good. I've tried to fix the dev version to ensure that this doesn't happen, but I may be barking up the wrong tree. Let me know if you spot it again. Lupin|talk|popups 23:32, 11 June 2006 (UTC)
- It just happened again. --GeorgeMoney T·C 04:43, 12 June 2006 (UTC)
- Examining your monobook.js, I notice that you're loading my script twice, with two different versions: the stable version, popups.js, is loaded explcitly, and the dev version is loaded indirectly by loading VoA's monobook. These will conflict with each other and I think would explain the behaviour you're seeing. Please remove one of these and try again.
- It just happened again. --GeorgeMoney T·C 04:43, 12 June 2006 (UTC)
- If that doesn't work, then .... Did you clear your cache? Which browser, browser version and OS are you using? Lupin|talk|popups 12:30, 12 June 2006 (UTC)
- The problem was with the duplicate. But, I have never had that problem before, and I have had the duplicate for a long time. What made it change recently? --GeorgeMoney T·C 05:27, 13 June 2006 (UTC)
- Script internals changed - I forget the details. Lupin|talk|popups 12:11, 26 June 2006 (UTC)
- The problem was with the duplicate. But, I have never had that problem before, and I have had the duplicate for a long time. What made it change recently? --GeorgeMoney T·C 05:27, 13 June 2006 (UTC)
Edit counter
When you get the popup for a username, there's a link to the user's edit count. This edit count uses a tool that's no longer accurate. It lists my edits at 1087, when I know from this version of the edit count tool that I'm at over 1200. The contribution tree link is also outdated. Could that be fixed? --Grace 03:48, 14 June 2006 (UTC)
- You can set up a custom edit counter - please see the instructions page (search for popupEditCounterTool). Lupin|talk|popups 12:11, 26 June 2006 (UTC)
Edit summary - problem with reverting
When I use popups to revert, I get such edit summary: 'Revert to revision xxxxxxxx dated (unknown) by (unknown) using popups'. Why the date and previous editor are marked as an 'unknown'? How to change this edit summary into 'Revert to revision xxxxxxxx using popups' which I had before? Jacek Kendysz 23:03, 15 June 2006 (UTC)
- Firstly, is this still broken? Secondly, there is documentation about fiddling with edit summaries at WP:POP which I hope is not too confusing. Let me know if you're still having trouble. Lupin|talk|popups 12:11, 26 June 2006 (UTC)
- Yes, this is still broken. I tried to change something in my monobook.js, but nothing changed with reverting. It seems that the cause of my problem is my browser - Opera 9. Jacek Kendysz 12:47, 26 June 2006 (UTC)
- You mean you still have (unknown) appearing, every time? That's strange. I just tested with Opera 9 (build 3447) on a mac, and I didn't get (unknown) in the edit summary when I tried reverting. Are you getting any javascript errors at all? Lupin|talk|popups 14:19, 2 July 2006 (UTC)
- Yes, I have it still, as you can see here. I'm not getting any errors. BTW, is my monobook.js ok? Jacek Kendysz 14:36, 2 July 2006 (UTC)
- Your monobook.js looks fine to me. I still have no idea what the problem could be. Could you try the dev version, by changing popups.js to popupsdev.js everywhere in that file? Also, which operating system are you using, and which build of opera? Do previews for history pages and user contributions work correctly for you? Lupin|talk|popups 15:07, 2 July 2006 (UTC)
- popupsdev.js doesn't work also. My OS is Windows XP (SP2), and I use Opera 9 beta (build 8367). Here I don't see links to Larry Sanger's and Conversion script's contributions. This page seems to be ok. Jacek Kendysz 15:45, 2 July 2006 (UTC)
- Please could you post a screenshot for the popup you get here? Is the issue perhaps that those lines are off the bottom of the screen? You can shift-drag the popup upwards if so, or scroll the page downwards. Lupin|talk|popups 19:32, 2 July 2006 (UTC)
- Another thing: I think opera 9 final has been released. Maybe you could try with the latest version. Lupin|talk|popups 19:35, 2 July 2006 (UTC)
- OK, your tool works on Opera 9. Thanks. Jacek Kendysz 10:58, 8 August 2006 (UTC)
Articles with shipindex template not recognized as disambiguation
It appears that popups does not recognize articles tagged with {{shipindex}} as being disambiguation pages. Examples: HMS Glowworm, USS Enterprise. Is this a feature or bug? :-) --Kralizec! (talk) 21:00, 17 June 2006 (UTC)
- Each disambig template has to be listed in the script. I'll add shipindex to the list. Lupin|talk|popups 12:11, 26 June 2006 (UTC)
No longer working in...
the Article History page, in Firefox or IE. Means I can't revert using Popups. Known problem? If not, what info do I need to give? --kingboyk 21:10, 17 June 2006 (UTC)
- Is it still broken? Do you see any javascript errors? (Turn on javascript debugging in the IE options, and look at the javascript console (in the tools menu) in firefox). Lupin|talk|popups 12:11, 26 June 2006 (UTC)
- Ha! It was still broken, but snooping around in the JS error console I discovered it was a different script (User:Voice_of_All/History/monobook.js) causing the problem. Disabled that and Popups are working again. Thanks for the response and sorry for not working it out sooner! :) --kingboyk 12:28, 26 June 2006 (UTC)
Other wikis
I mentioned this on the talk page for Lupin's code, but his contribs suddenly stop a little else than a week ago, so I'll ask here--would it be okay to use the popup code on a wiki associated with an online game? And if so, how do i need to adapt it?--Mobius Soul 17:27, 19 June 2006 (UTC)
- Yes, it's OK. See WP:POPFAQ for (possibly inadequate) instructions. Lupin|talk|popups 12:11, 26 June 2006 (UTC)
I've got a related question: I'm hosting a wiki, and I want to enable popup's for everyone (everyone with JS enabled, anyway). In otherwords, I just want it built into the wiki. Any ideas on this? I tried taking the code you normally say to add to your user monobook.js, and added it to MediaWiki:Monobook.js in my project, but that didn't seem to do it.
Also, I do have it installed for my user account on the same wiki, but I only get popup's for red-links, otherwise I get the regular non-javascript tooltips. Any ideas on that?
Thanks. B.Mearns*, KSC 19:03, 9 July 2006 (UTC)
- Did you see the instructions at the bottom of WP:POPFAQ? I suspect that you'll have to supply siteArticlePath and/or siteBotInterfacePath functions, based on what you say. I've tried an installation in the site-wide monobook.js, and it works for me. If your wiki is publically accessible, I could take a look... Lupin|talk|popups 21:09, 9 July 2006 (UTC)
- I did follow those instructions for using them on a user-by-user basis, and that's what's giving me the partial functionality, i.e., only working for red-links. I'll spend some more time making sure I followed it exactly; I know I had PATHA and PATHB in there at some point, but I don't think they currently are. I'll try again, more carefully and more thoroughly, and report back. Thanks for the help. B.Mearns*, KSC 16:49, 10 July 2006 (UTC)
- I expect it's a problem with the PATHA. Lupin|talk|popups 22:35, 10 July 2006 (UTC)
- You are absolutely correct, thank you. I was just using the wrong value for PATHA. I corrected it, and it worked, and I was also able to add it to MediaWiki:monobook.js and made it site wide. Thanks for the help, and the great plugin. B.Mearns*, KSC 12:04, 14 July 2006 (UTC)
More Opera problems
Soo...I'm back. With the release of the stable Opera 9.0, I eagerly downloaded it and turned popups on again. And it works! Kind of...I'm happy to say that Opera doesn't crash, but I am missing functionality. See here [2] for detail - it just says "actions" and "popups". If I click it, it is merely a # link; that is, if I'm at WP:POP and I hover over a link, it will read WP:POP#. I just checked IE and it has all the functionaity I remember having. So...what are you doing, Opera, and can this be fixed? Hbdragon88 19:57, 23 June 2006 (UTC)
- Erm, the best place to ask this is on the Opera forums. And there is a likely possibility that it isn't Opera's fault, but the popup's fault for using improper scripting that Opera refuses to support. 203.218.88.186 11:03, 24 June 2006 (UTC)
- LOL...Opera is not CSS-compilant enough...get a more modern brwoser...good stuff. Nonwithstanding Opera's dedication and compliance through all versions. The funny thing, though, is that it somehow regressed - I got the menus just fine in 8.54, but don't get them in 9.0. Hbdragon88 17:02, 28 June 2006 (UTC)
Bug?
Why if you hover over this link using popups it links to the article for the letter "B", but if you click it it links to Bad Title?
Works for me.Which browser? Lupin|talk|popups 12:11, 26 June 2006 (UTC)- Firefox 1.5.0.4 . --GeorgeMoney (talk) (Help Me Improve!) 01:54, 27 June 2006 (UTC)
- Oh, I see the problem now. I'll think about the best way to deal with this. Lupin|talk|popups 11:35, 27 June 2006 (UTC)
- Firefox 1.5.0.4 . --GeorgeMoney (talk) (Help Me Improve!) 01:54, 27 June 2006 (UTC)
Also, why if you try to use popups to see a diff in the MediaWiki: namespace, it just has "[object Object]--GeorgeMoney (talk) (Help Me Improve!) 21:22, 24 June 2006 (UTC)
- Do you have a link exhibiting this behaviour? I see brokenness (the diff I'm seeing is not a diff at all), but not this problem exactly. I'll investigate when I get the time. Lupin|talk|popups 12:11, 26 June 2006 (UTC)
- This problem is double-headed: there's a bug in mediawiki which I've patched (but hasn't gone live yet), and a bug in popups.js which has now been fixed. Lupin|talk|popups 22:43, 29 July 2006 (UTC)
Reverting sometimes includes concurrent edits by others
This is supposedly a revert back to an earlier version, but it's not identical. Another vandal edited shortly before the revert, and the vandal's edits are included. Most people assume a revert is identical. I've seen this happen a couple times now; can anything be done about it? Gimmetrow 22:30, 1 July 2006 (UTC)
- I haven't encountered this myself, but this is one possible explanation. People hover over diff=prev links, as found on contribs pages, and use those to revert. These should revert to the penultimate revision, always. However, if a third editor edits between the popup being created and the revert link being pressed, then the penultimate revision will be that edit instead of the old edit as previewed in the popup. I know of no simple fix for this, but I'll ponder it.
- From a user's perspective, if you want to make sure that you're never bitten by this then you should never revert from user contribs pages. Instead, click through to the history (for example) and revert from there. Lupin|talk|popups 11:28, 2 July 2006 (UTC)
- I usually revert from the popup from the hist link in my watchlist, not the diff link. Note that in the diff shown above, the succession went: versionA -> edit1 -> edit2 -> revert. The revert undid edit1 but not edit2 (which was later than edit1). With what you seem to be describing, the revert should have undone edit2. Intuitively, if I select versionA from the history list and revert, it shouldn't matter what edits happened in between, it should end up with versionA exactly. Gimmetrow 14:25, 2 July 2006 (UTC)
- When you say "the hist link in my watchlist", what do you mean? The popup for the hist link should not have a revert link in it. The diff link on the watchlist page should have, and that one should not cause problems (reason: it has a specific revision id in it). I think the (last) links in the popup for the hist link should not be problematic either. As I explained above, the problem occurs when the link is a "diff=prev" link (ie that occurs in the url without a revision id number). Then the diff preview may be generated before an edit, in which case clicking revert will revert the the penultimate revision, which won't be the one previewed. Lupin|talk|popups 15:01, 2 July 2006 (UTC)
- I mean, I hover on the "hist" link, a history pops up, I go to the version I want to revert to, and another window pops up, and I select rv there. That seems to have an id. (I don't think I use a "diff=prev" link.) Anyway, this may not be your problem, I'm just trying to understand how it happens. Gimmetrow 15:23, 2 July 2006 (UTC)
- OK. This should be a reliable method. If you can pinpoint a time when you reverted like this but it didn't work properly, please let me know. Lupin|talk|popups 23:36, 2 July 2006 (UTC)
- I mean, I hover on the "hist" link, a history pops up, I go to the version I want to revert to, and another window pops up, and I select rv there. That seems to have an id. (I don't think I use a "diff=prev" link.) Anyway, this may not be your problem, I'm just trying to understand how it happens. Gimmetrow 15:23, 2 July 2006 (UTC)
I saw another example of this.[3] The revert edit summary mentions a specific version number. The part that was not reverted was added slightly before the revert.[4] It is as if the edit slightly before the revert is treated as combined with or after the revert. Gimmetrow 01:12, 19 July 2006 (UTC)
- I think the behaviour is part of wikipedia's edit conflict resolution. I was editing a page and another editor made some spelling corrections (after I hit edit page), but there was no edit conflict when I saved. I had made no edits near the spelling errors. If possible you might want to add code to flag every section as "edited" when reverting, or mention this issue somehow. Gimmetrow 22:34, 23 July 2006 (UTC)
- Conflict resolution does sound like a plausible cause of this. I don't really understand what your proposed solution is, though. Could you try explaining again please? Thanks, Lupin|talk|popups 01:00, 24 July 2006 (UTC)
- OK, the main issue is that reverts generated by Popups are taken by most people to be "pure" reverts to the version listed in the edit summary. I've now seen vandalism sneak in and take a long time to get fixed, and that needs to be avoided. Documenting the possibility will help but won't solve it. The solution is to not allow a revert unless it is a "pure" revert. Since the software doesn't seem to be well documented on this point (at least in public) I'm not sure if this can be done. If the CVS-style edit conflict resolution works on easily identifiable pieces (like, sections), then you could program a sort of null-edit to every section, like adding or subtracting a blank line. (That's one way of flagging every section as edited; there also might be a way to cause a text to ignore all edit conflicts and replace everything regardless.) That way if there were other edits you would get an edit conflict before saving, and only a "pure" revert could get saved. If the CVS pieces are smaller (and I think they are), then this approach would mean adding or subtracting a space after every "." - probably not reasonable, and might be insufficient too. Another idea might be to have your revert code bring up a diff between the version just saved and the supposed "revert" version - this should be a blank diff but if there were concurrent edits there would be differences. This approach still depends on people recognizing a problem, but it should bring it noticeably to their attention when it occurs. If your software can recognize non-blank diffs and add some bright red warning, all the better. Gimmetrow 21:44, 24 July 2006 (UTC)
- Thanks, some good ideas here. I think the best thing is to have some way to ask the server not to perform silent automatic conflict resolution. I've filed a bug to this effect: bugzilla:6797. Lupin|talk|popups 22:24, 24 July 2006 (UTC)
- OK, the main issue is that reverts generated by Popups are taken by most people to be "pure" reverts to the version listed in the edit summary. I've now seen vandalism sneak in and take a long time to get fixed, and that needs to be avoided. Documenting the possibility will help but won't solve it. The solution is to not allow a revert unless it is a "pure" revert. Since the software doesn't seem to be well documented on this point (at least in public) I'm not sure if this can be done. If the CVS-style edit conflict resolution works on easily identifiable pieces (like, sections), then you could program a sort of null-edit to every section, like adding or subtracting a blank line. (That's one way of flagging every section as edited; there also might be a way to cause a text to ignore all edit conflicts and replace everything regardless.) That way if there were other edits you would get an edit conflict before saving, and only a "pure" revert could get saved. If the CVS pieces are smaller (and I think they are), then this approach would mean adding or subtracting a space after every "." - probably not reasonable, and might be insufficient too. Another idea might be to have your revert code bring up a diff between the version just saved and the supposed "revert" version - this should be a blank diff but if there were concurrent edits there would be differences. This approach still depends on people recognizing a problem, but it should bring it noticeably to their attention when it occurs. If your software can recognize non-blank diffs and add some bright red warning, all the better. Gimmetrow 21:44, 24 July 2006 (UTC)
- Conflict resolution does sound like a plausible cause of this. I don't really understand what your proposed solution is, though. Could you try explaining again please? Thanks, Lupin|talk|popups 01:00, 24 July 2006 (UTC)
Popups in edit mode?
When I'm editing a page and highlight an internal link, then hover over the highlighted link (in edit mode) or do something to it (cut, copy, or delete), a popup appears for the link. Is it normal to have popups in edit mode? SCHZMO ✍ 23:15, 2 July 2006 (UTC)
- Please see WP:POPFAQ. Lupin|talk|popups 23:34, 2 July 2006 (UTC)
Are the old one's back?
Are they? I've been seeing the old version (I kinda liked the old ones anyway, since I use Opera.) for a few hours. Pacific Coast Highway (blah • lol, internet) 05:58, 6 July 2006 (UTC)
- Menus don't really work in Opera, so by default another structure is used. Check out the popupStructure option for more choices here. Lupin|talk|popups 13:16, 6 July 2006 (UTC)
- Ok. Nice work with the tools, keep it up. :) Pacific Coast Highway (blah • lol, internet) 22:24, 12 July 2006 (UTC)
Link to picture
How hard would it be to make the little thumbs in the popups to link to the picture's description page? It would just remove one step to getting to it. If it would be too cumbersome to add to everybody's, is there code I could add to my monobook.js to have it work for me? —Akrabbimtalk 19:18, 8 July 2006 (UTC)
- I've added this to the dev version. There's a new option, popupThumbAction which defaults to 'imagepage'. Other possible values are 'sizetoggle' and 'linkfull'. Lupin|talk|popups 21:03, 8 July 2006 (UTC)
Removing trivial link aliases
I just started fixing occurrences of [[Microsoft Office Word|Microsoft Word]]
using popups, and I got through a half dozen before I realized that it was substituting the redundant [[Microsoft Word|Microsoft Word]]
. Would it be feasible to have the popups detect that the resulting link alias is redundant and remove it? I imagine it might not be easy to do. --Doradus 16:04, 10 July 2006 (UTC)
- This is a good idea. I've added this to the dev version. Lupin|talk|popups 22:36, 10 July 2006 (UTC)
Can't get local date/time in summary to work
I've tried everything I could reasonably conceive of (like a negative value for “popupTimeOffset=-2
”), without any luck. In “My prefernces – Time zone – Offset” is set to “02:00” (changing that had no effect on popups.js anyway). I'm using Firefox 1.5.0.4, and don't suspect the problem there. Perhaps someone might like to take a look, and recognize what I'm doing wrong: “de:Benutzer:ParaDox/monobook.js”. -- ParaDox 10:00, 11 July 2006 (UTC) PS.: I've modified the link to my monobook.js to an old version, because I've been/keep experimenting with it since “this morning”. -- ParaDox 19:52, 11 July 2006 (UTC) PPS.: I've given up. -- ParaDox 00:07, 12 July 2006 (UTC)
- I think popupTimeOffset is obselete and won't work. You should get nice UTC timestamps automatically now, but I see that this is not what's required in de (since the history pages don't display UTC for some reason). I'll think about a solution. Lupin|talk|popups 14:57, 12 July 2006 (UTC)
- Thank you for looking and thinking about it. UTC wouldn't bother me at all, but not everyone here sees it that way, so a solution would be very helpful, considering that reverting itself causes more than enough irritation anyway ;) Apart from that, I find popups.js wonderful. -- ParaDox 02:49, 13 July 2006 (UTC)
Popups inside popups
First, I want to congratulate Lupin for this piece of work! However, for some reasons, when I hover over an articles name (inside my watchlist), altough it shows the popus (with different links: last edit...history... editors... un/watch, etc...), when I hover again over these links, a new popup (inside the old one) does not appear. is that normal, or is it because I might of spoiled my monobook.js??? Do you know what I mean? I would like, for example, that when I hover over lastEdit, for a new popup to show me what are the diffs, and not having to click on the link (which naturally opens a new window). Anybody? greier 14:21, 12 July 2006 (UTC)
- No, this isn't expected to work. The navigation links do not produce subpopups; in some cases, this would be tricky, in other cases, easier. You should see subpopups on wikilinks in the previews, though. Lupin|talk|popups 14:58, 12 July 2006 (UTC)
- Yes, I can see those.. Thank for the reply! Would of been nice for that to work too... Still good job on doing this! But a new question :D I see some mentioned reverting using popups: how is this done? In the navigation links I have no revert link... 18:56, 12 July 2006 (UTC)
- I like your original request, so I've added it to the dev version. You only get subpopups on some of the links, though, like history, talk page etc (not lastEdit, for example). Lupin|talk|popups 22:40, 29 July 2006 (UTC)
Loading Problems
Ever since I installed Pop-ups, whenever I use Wikipedia, every few pages fail to load. It's not a big problem. I merely have to refresh the page and it works fine. But I just thought I mention it. -- He Who Is[ Talk ] 17:42, 12 July 2006 (UTC)
- I think that this is a problem with wikipedia which you'd experience with or without popups. Lupin|talk|popups 00:35, 13 July 2006 (UTC)
The only thing is that the page loads just fine, but as soon as its completely loaded, a window opens saying that the page failed to load and it goes to the 404 page. Its happening after the page loads, so it can't be a server-side error. -- He Who Is[ Talk ] 16:01, 13 July 2006 (UTC)
If it helps, the last time it happened I got exactly what it said:
- Internet Explorer cannot open internet site [URL]
- Operation Aborted
Where, of course, [URL] is the URL. -- He Who Is[ Talk ] 18:27, 13 July 2006 (UTC)
- Does it happen if you remove popups? Lupin|talk|popups 01:31, 21 July 2006 (UTC)
I've removed popups and been using Wikipedia without them for a little bit, and it hasn't happened yet. But in general it does happen randomly, so that doesn't nessecarily mean it stopped. I'll use it without popups for a little longer and then get back to you on wether or not its completely gone. -- He Who Is[ Talk ] 19:32, 21 July 2006 (UTC)
It's been four days, and it hasn't happened, so I think it's safe to attribute it to pop-ups. Any ideas on what might be causing it? -- He Who Is[ Talk ] 22:24, 25 July 2006 (UTC)
- Sorry, no idea. Which URL exactly does it report when it fails? Lupin|talk|popups 03:17, 26 July 2006 (UTC)
Sorry, I should have clarified. It's the URL of whatever page I was trying to load. -- He Who Is[ Talk ] 03:27, 26 July 2006 (UTC)
- OK. I don't currently have access to IE, so I can't duplicate this. Can you duplicate it on another computer? Lupin|talk|popups 22:35, 29 July 2006 (UTC)
A little help
Could someone please look at my install and tell me what I did wrong. It is at the end of my monobook.js file. I am not getting anything.
—Lady Aleena talk/contribs 23:02, 13 July 2006 (UTC)
PS. Please tell me on my talk page where I messed this up.
- I didn't see anything. Did you remember to empty your cache after changing it? -- He Who Is[ Talk ] 00:43, 19 July 2006 (UTC)
Stubs
Popup says that an article is a stub even if Template:Tl is used with a stub template or if the stub template is in nowiki tags. For example, it says Wikipedia:Template substitution is a stub when it really isn't, since the page uses {{tl|stub}}. Is there a way to fix this? --Schzmo 15:45, 14 July 2006 (UTC)
- It occurs to me that maybe the only valid stubs lie in the main namespace, and all of the invalid stubs that you're talking about don't. Maybe I should just count stub templates in the main namespace? Or do you see a problem with that? Lupin|talk|popups 01:30, 21 July 2006 (UTC)
- I've now implemented this feature. Lupin|talk|popups 22:34, 29 July 2006 (UTC)
Annoying popups
Could someone help me, I deletd the script from User:Myrtone86/monobook.js, the popups still remained, then I read the intruction and so went back and tried deleting my browser's (Safari) cache, it still didn't work, so I put the script back in and removed it and deleted my broweser's cache, but still nothing happened. Myrtone (☏):-o
- I've added some instructions to the FAQ to address this. Lupin|talk|popups 01:29, 21 July 2006 (UTC)
Section Stubs
Whenever an article has a section stub ({{sectstub}}), in popups it shows the article as a stub. I suggest you make it say "Section Stub" insted of "Stub" for such cases. Here is an example: [5], as you can see, in popups it shows as a Stub --Mini-Geek 12:36, 23 July 2006 (UTC)
- Thanks, this is a good idea. I've added this to the dev version. Lupin|talk|popups 15:43, 23 July 2006 (UTC)
Stupid question...
how do I use popups to disambiguate? Zythe 02:28, 27 July 2006 (UTC)
- Set popupFixDabs=true, hover over a link to a disambiguation page and look for the green links at the bottom of the popup. Lupin|talk|popups 04:26, 27 July 2006 (UTC)
- Awesome, thanks. Zythe 13:06, 27 July 2006 (UTC)
Error
I've tried the code, and it doesn't seem to work. Can someone please send a message to my talk page explaining, cheers —Minun Spiderman 15:38, 28 July 2006 (UTC)
- Please see the FAQ. Lupin|talk|popups 22:33, 29 July 2006 (UTC)
Using popups on other MediaWikis
Popups aren't working for me on my own MediaWiki. I followed the instructions in the FAQ, adding to my LocalSettings.php the following:
$wgAllowUserJs = true; $wgAllowUserCss = true;
and I added this to my monobook.js:
document.write('<script type="text/javascript" src="' + 'http://en.wiki.x.io/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); popupUseQueryInterface=false;
Now, with each page load, in my JavaScript Console (Firefox) I get the error:
'addOnloadHook is not defined' and it points me to line 68 of popups.js on wikipedia.org.
Let me know if I can help further debug. —mjb 21:39, 29 July 2006 (UTC)
- Which version of mediawiki are you running? addOnloadHook should be defined in wikibits.js; maybe it's absent from very old versions. Lupin|talk|popups 22:26, 29 July 2006 (UTC)
Pure awesomeness
Okay, this is an awesome tool. It makes it so much easier to revert! -- TheGreatLlama (speak to the Llama!) 01:00, 9 August 2006 (UTC)
- I second that! --KeithB 19:04, 19 October 2006 (UTC)
Mark as patrolled from popup
Hi,
I could be really great, if someone could add a link to the "mark as patrolled" page when previewing diffs from watchlist and recentchanges (when rcid is present, that is). I should be very simple and doable, and would help patrolling admins a lot (like me on dawiki). Thanks in advance. --Morten Barklund [ talk / contribs ] 11:45, 10 August 2006 (UTC)
- I've added this feature to the dev version. Enjoy! Lupin|talk|popups 13:49, 10 August 2006 (UTC)
- I have! (enjoyed, that is :-) But the option "mark patrolled" is not available for a new article if subsequent edits have been made.--Manscher 21:02, 20 September 2006 (UTC)
- (Suggestion: A really cool feature would be to mark a series of edits as patrolled; often a user has made e.g. six edits, and these can be shown as one compound edit by popups, but not marked patrolled because of the many edits. But now I'm just being greedy :-) --Manscher 21:02, 20 September 2006 (UTC)
popupFixDabAutoClick and popupRedirAutoClick
I think that there should be a popupFixDabAutoClick option that would do the same thing for dab fixes as popupRedirAutoClick does for redir fixes. Also, both should have an option to somehow choose on-the-fly which to do, either in the menu, or to have another option that doesn't automatically do any of the others. Thanks for all the work on popups, Lupin, it really helps when fixing dab pages. --Mini-Geek 13:32, 14 August 2006 (UTC)
Linksearch
Hi Lupin,
Could you please add Special:Linksearch to your popups on External Links?
http://en.wiki.x.io/w/index.php?title=Special%3ALinksearch&target=URL
It'd be great for uncovering all the articles where a spammer with multiple accounts may have hidden their URLs in.
Cheers, Netsnipe (Talk) 06:59, 20 August 2006 (UTC)
Extra links
Is it possible to add an extra link to the actions menu? I'd like to have a link to Interiot's what links here tool, but can I add it using options or is it only possible by changing the code itself? --Erwin85 21:02, 22 August 2006 (UTC)
- Currently, only by changing the code. Lupin|talk|popups 10:06, 1 October 2006 (UTC)
- Shouldn't it be possible to add a config option like var popups_extra = "link1|link2|link3"; and have a split() in the code? --69.236.22.166 20:17, 2 October 2006 (UTC)
Bug with popupRevertSummaryPrompt - doesn't work
Hello, When I set popupRevertSummaryPrompt=true; , and then try reverting a page, I still don't get given the chance to change the summary - so I presume that this is a bug? Hope you can fix this soon. Madder 22:12, 3 September 2006 (UTC)
- OK, it seems to be working now! :-) Madder 21:33, 11 September 2006 (UTC)
popup for diff links on other wikis
Hi, I managed to install popups for another wiki and it manages to work for practically everything except for when I hover my mouse over diff or revision links. It works for me on Wikipedia though, was wondering if there was some option I had to set to get this right? Oh, and thanks for the great tool! :P --Wonglkd 03:33, 4 September 2006 (UTC)
- Please see WP:POPFAQ. Lupin|talk|popups 10:04, 1 October 2006 (UTC)
Bypassing double redirects
This is a great tool. Can it be used to fix double redirects after a page move? When I try to use the "bypass redirects" option on [6], it instead tries to edit the new page. --NE2 06:33, 7 September 2006 (UTC)
Crashing IE 6
I started using popups a few days ago, and have had it crash my browser several times. On occasion, after the initial popup shows, and during the lag while the content is being grabbed, my browser goes "hourglass", and the IE process has to be killed. The version of IE I am using is 6.0.2900.2180.xpsp_sp2_gdr.050301-1519. Crockspot 14:16, 14 September 2006 (UTC)
disable popups
I feel completely ridiculous asking this question, but how do I turn the popups back on when I've hit the "disable popups" button? Laurənwhisper 02:34, 18 September 2006 (UTC)
- Reload the page. Lupin|talk|popups 06:40, 27 September 2006 (UTC)
Namespace changes
Hi Lupin, First: Kudos for popups; really an excellent tool. Now my question: The Danish Wikipedia has changed the names of the talkspaces; see list here. Popups still uses the old talkspace names. Are these taken from a list (which then needs to be updated), or is it loaded dynamically, in which case my question is how to reaload them? --Manscher 20:57, 20 September 2006 (UTC)
- The names are hard-coded into the script and need to be updated. Thanks for pointing out the change - I'll fix it in the next update. Lupin|talk|popups 06:42, 27 September 2006 (UTC)
Actions/ pop ups tab doesn't work.
I tried asking Lupin on his user talk page but he has not replied. My problem is that I do not get a small box appearing when I hover the cursor over "actions" on the pop up. I did not know what actions did until when I saw a screenshot and realised it had a use. Whenever I click on actions, it goes to the page however has # at the end of the URL. Why is this? How can I get this small box to appear when I hover the cursor over actions? - Erebus555 16:23, 21 September 2006 (UTC)
- I have tried to do some edits to it yet it still will not work. I reverted the edits. Is it the code or is it just my computer? - Erebus555 18:33, 26 September 2006 (UTC)
- I think VoA's script must force the menus to be on. Menus don't work in several browsers. Maybe you should try deleting VoA's script and installing popups according to the instructions pages and see if that helps. Which browser are you using? Lupin|talk|popups 06:39, 27 September 2006 (UTC)
- I use Internet Explorer 6. The thing is, VoAs script has a lot more than just pop ups which I would like to retain (such as the clock and anti-vandal stuff) and I would not have the first idea of what to do. - Erebus555 10:32, 1 October 2006 (UTC)
- Maybe you could lobby VoA to turn this option off or do a browser sniff? The line in question seems to be
popupStructure='shortmenus';
- which could be changed to something like
if(navigator.appName.indexOf("Microsoft")==-1) { popupStructure='shortmenus'; }
- VoA and Lupin/popups.js can coexist by using User:Voice of All/RC/nolupin/monobook.js , if that's what you're talking about, but note that it does include Lupin's recent2.js --Witchinghour 13:52, 11 October 2006 (UTC)
- Its OK now. I copied VoAs monobook script into mine and editted the appropriate sections. Thanks for you help, both of you. - Erebus555 15:33, 11 October 2006 (UTC)
Configuration not working
I'm trying to use some of the configuration parameters for example popupRevertSummary and I must be doing something wrong. I added this:
popupRevertSummary='Reverted vandalism';
just as a test, and did the shift-reload trick to load the new version into the cache, but the edit summary hasn't changed. What am I doing wrong?--Bookgrrl 17:39, 21 September 2006 (UTC) Thanks :)
- Try changing popupQueriedRevertSummary instead. (I admit that these options are hopelessly confusing). Lupin|talk|popups 05:21, 4 October 2006 (UTC)
- Beautiful!! That did it, thanks... --Bookgrrl 14:46, 4 October 2006 (UTC)
Local copies on other wikis
Is it possible to install the source of popups.js on another Mediawiki installation? When I create a popups.js subpage and paste the code in, it comes out messed up and appends a LOT of garbage to the header of every page on my site until I remove it. I'm pasting it directly from the source at User:Lupin/popups.js, but it's not surrounded by that neat code box on my wiki like it is in your subpage. --Neurophyre(talk) 04:43, 30 September 2006 (UTC)
- Yes, please see WP:POPFAQ. Lupin|talk|popups 05:19, 4 October 2006 (UTC)
hidden comments scanned
If there are hidden comments on a dab page, and the comments contain apparent wikilinks, the wikilinks get picked up as possible dabs. I don't have an example in a live page, but you can see the effect in this historical version of Castor (78804524), If you have FixDabs enabled, and you hover over that link, the list of dabs will include "calorimeter" and "dry cask storage", but if you go look at the link, you won't see those listed. It seems like anything inside a comment should really be ignored. (I admit that this is probably not something that comes up very often.) Xtifr tälk 03:53, 1 October 2006 (UTC)
show authors on diff popups
When previewing a diff link, it would be useful if the popups showed the author of the old and current revisions. This will make it easy to see if if there have been more changes since the last time you looked at the article. It will also make it easy to see that someone has made multiple revisions and that what you are seeing is not the full extent of their changes. So instead of
- New revision 2006-10-09 11:47:28
- Old revision 2006-10-09 11:37:55
It would display
Ideally linking to the user pages of registered users and the contribs of anons. Thryduulf 11:57, 9 October 2006 (UTC)
- Good idea - going onto the TODO list. Thanks! Lupin|talk|popups 21:25, 10 November 2006 (UTC)
False disambiguation report?
At first blush, it appears that rutabaga is not a disambiguation page. However, popups gives me the option to disambiguate links to it. Is this a feature I do not understand, or is it a bug of some sort? --Kralizec! (talk) 00:18, 20 October 2006 (UTC)
Revert summary
Hi, I have the same issue that Madder had before. I set popupRevertSummaryPrompt=true and then cached my browser; yet, I don't get the chance to change summary again. Is it a bug or an individual problem that's in my monobook.js? —Mirlen 21:51, 22 October 2006 (UTC)
Works Good
This is a good Idea I finally got it working-_SeadogTalk 14:07, 27 October 2006 (UTC)
possible to click "minor edit"?
Hi there, I use the popups a lot, and not just to revert vandalism. My question is if it's possible to make it so that when you revert a page, you can have the "minor edit" box ticked as well. Thanks, and I really appreciate this great tool! --Kyoko 18:51, 28 October 2006 (UTC)
- I second this request, and I'd like all reverts to be marked 'minor' by default, as that's what the sysop rollback link does as well. Jayden54 22:38, 25 November 2006 (UTC)
Rendering bug
In firefox, increase the text size and then mouse over Pneumonoultramicroscopicsilicovolcanoconiosis —Disavian (talk/contribs) 03:14, 29 October 2006 (UTC)
Also, mouse over The Technique for crazy-bold action. —Disavian (talk/contribs) 15:19, 8 December 2006 (UTC)
2 things
On Special:Watchlist popups don't work and sometimes [[]] style links render inside the edit box when editing the page. Lcarsdata (Talk) 18:23, 1 November 2006 (UTC)
Using revert
I don't want to test this out on a page for fear of reverting improperly... I know that when I'm on my watchlist, and I push the "revert" link on a popup, it reverts that most recent change. But let's say I'm on the page history. Do I hover over the version I want to revert to, and push the revert on THAT popup? Or do I hover over the version that needs to be reverted? --Wolf530 17:15, 4 November 2006 (UTC)
- You hover of the version you want to revert to and push revert on that popup. If you want to test it, use the sandbox. Jayden54 22:36, 25 November 2006 (UTC)
About Direct Links with Non-alphanumeric Characters
Problems occur when encountering with direct links (i.e. links with URLs in the format of http://XX.wiki.x.io/wiki/PAGENAME) with such kind of characters. In the Popups tooltip, the links to these kind of pages won't be displayed properly, and such links will lead you to the pages with the wrongly displayed names as their titles (so as their corresponding URLs). Such pages do not exist, obviously, and so the previews in the tooltips report "Empty Page"s. A similar behaviour could also be seen from the internal links in the previews of the tooltips (in, of course, those manage to have their pages found correctly), although the titles are displayed wrongly in a different way.
Note that the above problems do not exist in other kinds of links (such as History, Difference between revisions, etc.)
Hope this could be fixed asap, thanks!
--Moonian 03:07, 5 November 2006 (UTC)
P.S. Although a different string.js file was used in the image shown here, the problems also exist with the original settings from English Wikipedia. --Moonian 03:28, 5 November 2006 (UTC)
Ctrl-Popup
Hi Lupin, I'm a longtime user of your Popups &mash; even if the unrequested and unwanted popping-ups are often very distracting. I am wondering if it is possible to let it popup immediately only when I press the Ctrl key while hovering over a link. For me that would be a big improvement. Thanks, Cacycle 23:05, 8 November 2006 (UTC)
- Thanks for the idea! I've implemented this in the dev version. You should be able to set
popupModifier='ctrl'; popupDelay=0;
- to get something close to the behaviour you describe. (The way I've implemented it, you press control first and then move the mouse over the link). Lupin|talk|popups 22:54, 7 December 2006 (UTC)
Rollback
One more: I could not yet find a rollback link for diff popups, even with popupAdminLinks = true;. Would it be possible to implement that, is it intentionally, or am I blind :-) Cacycle 23:05, 8 November 2006 (UTC)
- No, there's no admin-style rollback since edit tokens make this a little complicated. Lupin|talk|popups 22:56, 7 December 2006 (UTC)
ignore insert links?
Is it possible for the link to ignore edit page links? Especially the character/content insert link? losing the popups over the template list would not be that bad since half the time the rendering is more or less mangled anyway. Circeus 21:39, 16 November 2006 (UTC)
- Which links do you mean? The links in the box following the line ending "... It will be deleted." don't give popups for me. Lupin|talk|popups 22:58, 7 December 2006 (UTC)
Image deletion log for Special:Upload links?
Is it possible to make popups appear when I hover over the redlink of a deleted image that goes to Special:Upload? It would be nice to have a link to the image's deletion log (and perhaps an undelete link) in the popup instead of having to cut and paste the image name to find out why it was deleted. Kusma (討論) 14:08, 29 November 2006 (UTC)