Please do not edit this page
It is intended to be useful for searching, but not for editing! Thanks, Lupin|talk|popups 01:51, 28 April 2006 (UTC)
{{Wikipedia talk:Tools/Navigation popups}}
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current main page. |
Archive created 15:29, 9 June 2006 (UTC) by Akrabbimtalk — All conversations ending before May 2006
Admin tools?
I see even setting admin tools to true, admin tools (like "block") when overing over User: links are gone. Was this intentional? Any other way to enable it? -- (☺drini♫|☎) 04:31, 3 October 2005 (UTC)
- The interface has changed somewhat - by default, there's now a separate "menu" which appears for user links, called "user". It doesn't look like a link, just normal text which I guess is confusing - I should change this I suppose, although I'm not sure what it should link to. Do you think that I should keep all the links in one menu or have another suggestion for improving this UI? My reasoning was that the menu would start getting pretty long if I did so, but maybe that's not a big issue.
- If you find that you don't have this "user" menu, then something has gone wrong. Do you have the admin links for protection and deletion?
- By the way, you can change back to the original structure with out menus by setting popupStructure='original';. I rather like the menus as I was finding the old structure was looking cluttered. Lupin|talk|popups 11:46, 3 October 2005 (UTC)
- The new one looks good! I do have admin links for protection/ unprotection, and now I realize that "user" becomes a menu. Perhaps make the "user" menu blue so it looks like a link? Thanks for all your work! Flcelloguy | A note? | Desk | WS 23:22, 3 October 2005 (UTC)
Error?
For some reason, my popups arent giving me the fancy options I installed them for (edit / un|watch / etc). My browser (IE on WinXP) is giving an error on Line 1, Char 51, "';' expected". Any idea what this could be? TIA! The Minister of War 09:47, 20 October 2005 (UTC)
- The popups are working, but I also get the same error (Line 1, Char 51, ';' expected) as soon as the window pops up. This makes it impossible to see the target of a link when you hover over it—a pretty useful function which I'd hate to give up. I am using Win2k with IE6.0. Owen× ☎ 10:42, 21 October 2005 (UTC)
- It's probable that IE won't work with the menus since it is somewhat outdated in its support for CSS. Could you try adding popupStructure='original'; to your JS file and see if that helps?
- I've installed IE on linux with Wine and think I may have got to the bottom of this - the problem seems to have been an IE-specific hack which has backfired somewhat. I've
removedhopefully fixed it, so could you try the development version and let me know how you fare? Thanks. Lupin|talk|popups 03:55, 23 October 2005 (UTC)
- I've installed IE on linux with Wine and think I may have got to the bottom of this - the problem seems to have been an IE-specific hack which has backfired somewhat. I've
Its definitely working better, though there is still an error. Its on line 2343, char 3, Error: not implemented. Also, another error is line 2302, char 3, Error: 'keyCode is null or not an object'. I've never done any debugging, but i'll see what i can do. The Minister of War 10:18, 23 October 2005 (UTC)
- The functionality with un|watch and such seems to come and go. the debugger sadly isnt going to work. The Minister of War 07:06, 24 October 2005 (UTC)
- I'm assuming you're using IE too. Please could you try removing the lines in your monobook.js file where you set popupShortcutKeys? (As far as I know, the menus are non-functional in IE too, so you may want to change that as well). I've noticed odd things happening when I use popupShortcutKeys with IE in Wine. Lupin|talk|popups 20:02, 25 October 2005 (UTC)
- It seems those last changes did the trick, no errors, functionality is OK, and seems to be a lot quicker too - thanks! It might be a good idea to post this as the main IE config, as I have noticed other users trying the popups but just giving up... And am i missing functionality because of this? The Minister of War (Peace) 09:15, 27 October 2005 (UTC)
Is it okay to use this tool on other languages (xx.wikipedia)?
Great tool! BTW, although the description says "Currently works on en.wikipedia.org, commons.wikimedia.org and (probably) en.wiktionary.org" , I installed the tool on my user subpage on ja.wikipedia and it works quite well. However, now I'm afraid if there was any problem (legal or technical) to use the tool on other languages... no? - Marsian / talk 07:19, 4 November 2005 (UTC)
- No, there's no problem. This page is just out of date. Lupin|talk|popups 00:30, 9 November 2005 (UTC)
- Thank you for your reply. Now I can create the description page in Japanese on ja.wikipedia so that users there can enjoy this cool tool ;) Thanks again! - Marsian / talk 09:17, 9 November 2005 (UTC)
- Let me comment on your credit. Perhaps this is subtle matter but I wonder if it's better to change the comment line from current "// [[User:Lupin/..." to sharper "// [[w:en:User:Lupin/..." ? Of course there's URI pointing en.wikipedia and not many people would be confused but... anyway, just a suggestion. - Marsian / talk 16:00, 9 November 2005 (UTC)
popupFixDabs message setting
Is there a setting to change the default edit summary message for popup assisted disambiguation edits? I'd like to use the disambiguation project message: "disambiguation link repair (You can help!)" Gimboid13 20:00, 12 November 2005 (UTC)
It'd be useful - on non-English Wikipedias the message shouldn't be in English and shouldn't contain the there-invalid link to this page. / tsca ✉ 17:16, 23 November 2005 (UTC)
- Good point. I've made the summaries customizable
in the dev version- you can change the options popupRevertSummary, popupFixDabsSummary and popupFixRedirsSummary to whatever you like. You can also use %s in the string to get the variable bits (revision id for revert, old article and new article for the other two). Lupin|talk|popups 14:10, 27 November 2005 (UTC)
i18n
is it possible, to use mediawiki-templates in this tool for use in other languages? --
- That would be terribly slow I think, unless there's a clever way to do it that I haven't thought of. Remember that this is all happening client-side. Lupin|talk|popups 04:44, 19 November 2005 (UTC)
dumb question
do i edit Lupin to be my username in the top of the script and the body as well? Or just the top line? Gzuckier 15:55, 16 November 2005 (UTC)
- No, just copy and paste it without changing anything. Lupin|talk|popups 04:44, 19 November 2005 (UTC)
question - other skins
skin | sub pages | |
---|---|---|
javascrips (.js) | style sheet (.css) | |
MonoBook (default) |
monobook.js | monobook.css |
Simple | simple.js | simple.css |
Classic | standard.js | standard.css |
Amethyst | amethyst.js | amethyst.css |
MySkin | myskin.js | myskin.css |
Cologne Blue | cologneblue.js | cologneblue.css |
Nostalgia | nostalgia.js | nostalgia.css |
Chick | chick.js | chick.css |
So, I have little problem with that script. In plwiki I have classic skin. I created first page with monobook.js, and next page with classic.js. This done no effect in both. :( When I changed preferences from classic to monobook it given no effect too. Here are my pages on plwiki [3] and [4]. Thanks for every answer and sorry for poor English. Przykuta 19:18, 23 November 2005 (UTC)
- Sorry. Sript of course is useful, but only for monobook skin. Is it possible make that script for others? Przykuta 22:28, 23 November 2005 (UTC)
- I might be wrong but I thought the names of javascript and CSS subpages for "Classic" skin were not "classic.xx", but "standard.js" and "standard.css"... weren't they? Hope this helps. - Marsian / talk 10:44, 24 November 2005 (UTC)
- Perhaps like the table on the right (If wrong, please correct). - Marsian / talk 10:51, 24 November 2005 (UTC)
How to make popup go away on certain browsers?
Is there some way for me to disable popups when I'm using certain browsers? I like the popups on most browsers, but with Safari they don't work right (the menus are obscured so you can't see what you're clicking, and they don't go away when you move the mouse elsewhere). --TreyHarris 17:56, 29 November 2005 (UTC)
- You could try this (untested):
if (navigator.userAgent.toLowerCase().indexOf('safari') == -1) { // [[User:Lupin/popups.js]] - please include this line document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }
Looks like it is working for meThe above code does not disable the tool in safari. Any idea why? It is too bad it doesn't work well in Safari, I was really looking forward to trying out the new tool, but it really is a dog in Safari and I don't really edit on Firefox that much...PaulC/T+ 19:42, 18 February 2006 (UTC)
- No, I don't know why. Does it work if you change 'safari' to 'applewebkit' above? Also, I am keen to get to the bottom of what's going wrong with safari. Is it still freezing? If you follow the instructions here, do you see errors logged? Thanks in advance for your help. Lupin|talk|popups 23:34, 18 February 2006 (UTC)
- Actually, it is working correctly, I must have had some older pages loaded in background tabs that were still showing up with popups... Safari wasn't freezing, just really slow and the tooltips would remain even after I moved away from the link. I couldn't find anything in my console.log or JavaNativeCrash_pid366.crash.log about your tool. (Any errors around the time it was loaded into Safari...) PaulC/T+ 02:44, 20 February 2006 (UTC)
Bypass redirects
This is a great tool, by the way. I love it.
One comment on its usage: I've come across a couple of users bypassing lots of redirects using this tool. I don't think we should bypass redirects, as it's of little value (both get to the same page), and it clutters up the Wikicode. For example, [[SHA-1]] is easier to read than [[SHA hash functions|SHA-1]]. There are quite a few benefits from keeping the WikiCode as clean and simple as possible, namely that it's less threatening for new Wikipedia editors, and it's easier to read and edit even for experienced editors. — Matt Crypto 10:43, 8 December 2005 (UTC)
- I don't think there's much harm in bypassing redirects since the Wikicode isn't that complex and it does prevent some possible problems in the future. What if the article being linked to was moved (renamed) and the redirect wasn't updated? Now the link won't work at all because it's a double-redirect. I think redirects are essential for users who are searching for an article, but it makes sense to link as directly as possible in an article. My rule of thumb is to bypass the redirect if the redirect would never be made into a more specific article on the topic. For example, it makes sense to bypass the redirect from Fall to Autumn. It probably wouldn't be as good to bypass the redirect described in your example because it's possible that SHA-1 will eventually become it's own article. Carbonite | Talk 11:20, 8 December 2005 (UTC)
- The tradeoff seems to be that we make Wikicode more complex because there's some possibility that the article is moved later on, and that someone might forget to update the double redirects. Personally, I'd prefer cleaner Wikicode, and to run a bot to fix any double redirects. — Matt Crypto 11:27, 8 December 2005 (UTC)
- I think that there are good arguments both for and against bypassing redirects. If there were such a bot eliminating double-redirects automatically, I'd probably fall somewhat on the "against" side. For now, I personally prefer linking directly to articles whenever possible because I feel it's cleaner to eliminate the intermediate step of a redirect. There is the tradeoff of more slightly more complex Wikicode, but newbies aren't being required to bypass redirects. Carbonite | Talk 13:09, 8 December 2005 (UTC)
- The tradeoff seems to be that we make Wikicode more complex because there's some possibility that the article is moved later on, and that someone might forget to update the double redirects. Personally, I'd prefer cleaner Wikicode, and to run a bot to fix any double redirects. — Matt Crypto 11:27, 8 December 2005 (UTC)
Agreed - redirects should not be bypassed. If the article being redirected to is split, all the links now point to the wrong place. On the other hand, when an article is moved, it specifically says to check for double redirects, AND we have automated detection of double redirects. --SPUI (talk) 00:16, 14 December 2005 (UTC)
- I agree that it is not appropriate to bypass redirects in every case. I think it is sometimes appropriate to do so, though. From a pragmatic point of view, what would you recommend I do to the script? I'm unwilling to remove this functionality, but I could put a less encouraging popup hint (it currently says "Fix this redirect"). Any suggestions for a short snappy replacement? Lupin|talk|popups 00:27, 14 December 2005 (UTC)
- Perhaps "Bypass redirect", although I don't think this or "Fix this redirect" adequately describe the function. - Stoph 22:20, 21 December 2005 (UTC)
Not to add to a dead discussion but the reason for avoiding linking to redirects is the reduction of extra load on the servers. If a link is sent through an extra redirect it adds extra requests for the servers to handle. This, spread across thousands of such links is very bad. -Localzuk (talk) 21:55, 29 January 2006 (UTC)
- Ah, ignore me. The explanation later explains better. It still uses some cpu cylces though - which with wikipedia being so slow is one way to improve (even if marginally).-Localzuk (talk) 22:03, 29 January 2006 (UTC)
Translation
I want to translate this feature into Hebrew, What I need to do? Troll Refaim 21:21, 8 December 2005 (UTC)
- I've given some hints on my talk page. It's not very straightforward, unfortunately. Lupin|talk|popups 05:26, 9 December 2005 (UTC)
Hey Lupin, and thank you for this wonderful tool ! I've just copied it on the French Wikipedia, and beginning to translate the interface. My question is : when you update it, is there a way to know it, and to get a new version while keeping the translated bits ? Thank you, le Korrigan bla 22:22, 9 December 2005 (UTC)
- Update: translation is now much easier, in the dev version at least (which is working well right now). See the comments in User:Lupin/popupsdev.js and the list of strings at User:Lupin/popupStrings.js. Lupin|talk|popups 00:21, 14 December 2005 (UTC)
Help, please
How can I change the edit summary given when I fix a redirect? Matt Yeager 03:59, 16 December 2005 (UTC)
A Question
Is it possible to use this on another wiki unrelated to Wikipedia? And if so, is it alright if I do? Of course, I'd assume that the actual conversion would fall into my own hands, and updating would be my responsibility after that point. =FaxCelestis 06:46, 18 December 2005 (UTC)
- I have this question too... what all would need to be brought over to make things work on a wiki that's running MediaWiki 1.5 but is not hosted here (BrickWiki to be specific)? I am guessing it's more than just copying monobook.js but am curious as to how MUCH more... Thanks! ++Lar: t/c 05:26, 5 February 2006 (UTC)
- If you don't mind leeching a little bandwidth from en.wikipedia.org to load User:Lupin/popups.js and User:Lupin/menus.css then in fact you should be able to just copy the monobook.js over exactly. Otherwise you could host these files locally and change the references to them in monobook.js and the script itself. If you have unusual options (like the form urls take in the wiki) then a few things may need tweaking though, but it should be easy to do. Lupin|talk|popups 07:26, 5 February 2006 (UTC)
- I'd rather get as much as I can without copying over as that way I (and other users once I get it working for me) stay in synch easier. Right now my monobook.js is just copied over there Brickwiki:User:Lar/monobook.js, but with some commenting out of other irrelevant gadgetry (why add a toolbox link to village pump if BW doesn't have one!, etc) and it's not doing anything at all. I think js is enabled, but have to check that first. I sort of expected that at least the standalone edit summary warning funciton would work as that has little or no dependence on other functions. I need to cut a lot of stuff away temporarily to get to the bottom of whether anything works at all.... Are you sure there aren't dependencies on stuff that might be missing? I saw references to things like wikibits.js as a source for common functions. I am going to have to talk to the 'crat there, I may be wrong about javascript being turned on but I THOUGHT it was! That's probably the first place to start... thanks for the help. If there's a better place to ask, please point me there! ++Lar: t/c 07:46, 5 February 2006 (UTC)
- View the source of a random page while logged in on that wiki and search for User:Lar/monobook.js. If it's being loaded in the header, then javascript should be enabled on that wiki. Otherwise, ask the admin to add
- I'd rather get as much as I can without copying over as that way I (and other users once I get it working for me) stay in synch easier. Right now my monobook.js is just copied over there Brickwiki:User:Lar/monobook.js, but with some commenting out of other irrelevant gadgetry (why add a toolbox link to village pump if BW doesn't have one!, etc) and it's not doing anything at all. I think js is enabled, but have to check that first. I sort of expected that at least the standalone edit summary warning funciton would work as that has little or no dependence on other functions. I need to cut a lot of stuff away temporarily to get to the bottom of whether anything works at all.... Are you sure there aren't dependencies on stuff that might be missing? I saw references to things like wikibits.js as a source for common functions. I am going to have to talk to the 'crat there, I may be wrong about javascript being turned on but I THOUGHT it was! That's probably the first place to start... thanks for the help. If there's a better place to ask, please point me there! ++Lar: t/c 07:46, 5 February 2006 (UTC)
- If you don't mind leeching a little bandwidth from en.wikipedia.org to load User:Lupin/popups.js and User:Lupin/menus.css then in fact you should be able to just copy the monobook.js over exactly. Otherwise you could host these files locally and change the references to them in monobook.js and the script itself. If you have unusual options (like the form urls take in the wiki) then a few things may need tweaking though, but it should be easy to do. Lupin|talk|popups 07:26, 5 February 2006 (UTC)
$wgAllowUserJs = true; $wgAllowUserCss = true;
- The header has some evidence of having SOME scripts in it, (for example it has wikibits.js) just not mine. I've asked the owner/crat/admin, which is the more authoritative way to find out what's going on I guess... LocalSettings.php isn't a file randoms can look at to check for themselves I don't think. Thanks again! ++Lar: t/c 15:26, 5 February 2006 (UTC)
- Hello, I've tried to put the script on my wikicities MediaWiki:Monobook.js [5] but it doesn't work. Is it normal ? --Henrique Diaz 11:58, 30 March 2006 (UTC)
- I've also tried to use your (wonderfull) script on another wiki I admin on my user/monobook.js page [6] and it doesn't work neither, wich despite me a lot ! I've checked that javascript is enabled and I've put $wgAllowUserJs = true; $wgAllowUserCss = true ; on the Localsettings.php of this website. I've also tried to import the whole script (puting on the website popups.js, menu.css, Navpops.css and it still doesn't work). In fact, i'd like very much to put your script on MediaWiki:Monobook.js, as an admin. Do you think it could be possible. And also, do you think you could explain some day how a MediaWiki user or admin can manage to use the navigation popups for everyone ? --Henrique Diaz 23:03, 30 March 2006 (UTC)
Possible bug
Attempting to disambiguate the minesweeper link on Blohm & Voss BV 138 causes Popups to load the wrong page. I assume this is related to & being a reserved character in HTML. I'm not sure if this is a bug in the script or whether the article just shouldn't have that title. Just lettering you know. Soo 16:16, 24 December 2005 (UTC)
Firefox 1.5
Has anyone else got this working on Firefox 1.5? I installed popups on my userspace but it seems to have no effect --Mistress Selina Kyle (Α⇔Ω ¦ ⇒✉) 22:49, 2 January 2006 (UTC)
- Works fine for me. Have you tried clearing your browser cache with ctrl-f5? -- MisterHand 22:56, 2 January 2006 (UTC)
- ahahahhaa. I'm stoopid. Thanks! fixed. --Mistress Selina Kyle (Α⇔Ω ¦ ⇒✉) 22:57, 2 January 2006 (UTC)
Use on non-WikiMedia wikis
Do you by any chance know what options are necessary for this kind of Javascript to work on a non-WikiMedia MediaWiki, or do you know who might know? I have a MediaWiki 1.6a installed at an undisclosed location, and instead of the normal /monobook.js with the message about cache-clearing at the top and all content spacing-preserved, monobook.js gets treated as an ordinary page. Since the URL provided in the script is absolute, presumably it should work from anywhere, so I assume it's a server-side problem.
Also, I presume you don't mind that I'm using your script outside Wikimedia where you can't see it. :) —Simetrical (talk • contribs) 06:30, 5 January 2006 (UTC)
- You have to enable user javascript in LocalSettings.php. Try this for size:
$wgAllowUserJs = true; $wgAllowUserCss = true;
Thanks! —Simetrical (talk • contribs) 04:20, 9 January 2006 (UTC)
Problem
I think there's a problem with the option:
popupFixDabs=true;
When you click on a link at the bottom of the popup window, it automatically clicks "Show Changes" instead of the "Save" button. -- King of Hearts | (talk) 00:22, 13 January 2006 (UTC)
- This is intentional. The tool attempts to change every link on a page; this is not always appropriate, as sometimes links to dab pages are needed. Thus the user should check the diff manually before submitting it. Lupin|talk|popups 01:55, 13 January 2006 (UTC)
Disambig bookmarks, articles in Wikipedia namespace
The disambig tool also wipes out bookmarks, if present (example). Is this the intended behaviour?
- I haven't thought about this, but the current behaviour does seem to make sense to me. This is because a valid bookmark on a disambig page will in general not be a valid bookmark on a page linked to from the disambig page. Lupin|talk|popups 03:31, 15 January 2006 (UTC)
Also, the tool wouldn't fix a link in the wikipedia namespace -- it appeared to effect an edit, but in fact did nothing at all. Here's an example of a fix it wouldn't make, which I did manually instead. Apparently it's confused by the namespace qualifier. Cleduc 03:07, 15 January 2006 (UTC)
- That's strange. I used it successfully here to fix the same redirect. Which browser are you using? Can you duplicate the bug anywhere? Lupin|talk|popups 03:31, 15 January 2006 (UTC)
- That's the page where I had the problem, using Firefox 1.5, Ubuntu (Hoary Hedgehog). Maybe if reverted the problem would show up again? Cleduc 04:13, 15 January 2006 (UTC)
Is it possible for the pop-up to show redlinks?
See header. That would be nifty. Circeus 05:37, 15 January 2006 (UTC)
- This would be difficult, I think. At the very least it would involve extra network overhead. Lupin|talk|popups 05:39, 15 January 2006 (UTC)
"unresponsive script" warning
I get an "unresponsive script" warning when loading Wikipedia:Reference desk/Science. I am using Firefox 1.5 on Windows XP. I think popups are probably the cause since commenting out the popups code in monobook.js stops the warning.--Commander Keane 10:15, 18 January 2006 (UTC)
- Thanks for reporting this. There is a large number of links on that page, and when the page loads the script has to add popups to each one of them. I've split this process up into chunks in the dev version, so if you use that then this issue should hopefully be gone. Lupin|talk|popups 23:07, 18 January 2006 (UTC)
"Fixing" misspelling redirects
I am getting more and more annoyed by the number of times I'm seeing Popups-assisted edits of
- [[incorrect spelling with redirect]]
to
- [[correct spelling|incorrect spelling]]
this is creating worse-than-useless churn on pages, because it makes it look like the incorrect spelling was intentional. Please, somebody do something about this, it's driving me crazy, especially since it takes editors using Popups seconds to do damage on large numbers of pages that takes me hours to fix. --TreyHarris 21:18, 20 January 2006 (UTC)
- Yes, people use this feature inappropriately sometimes. What do you suggest I change? Lupin|talk|popups 21:38, 20 January 2006 (UTC)
- Get rid of the redirect-"fixing" feature. The folks on #mediawiki tell me that it's unnecessary, that redirects are not the big performance hog on Wikipedia that people seem to think they are. Fixing links to disambiguation pages is still a really useful feature. But changing [[foo that redirects to bar]] to [[bar|foo that redirects to bar]] isn't necessary. --TreyHarris 22:34, 20 January 2006 (UTC)
- I like that as a first step. But out of curiosity, when do you find changing [[redirect term]] to [[target|redirect term]] useful? I guess I don't understand the utility (other than the misguided perception that eliminating redirect terms is a good thing). --TreyHarris 23:43, 20 January 2006 (UTC)
Ok, you sold me—make it an optional feature with the default turned off. Is there anywhere to put some text about when to properly use the feature if you turn it on, so that we don't have more misspelling redirects in the future? Thanks for being so reasonable about this. --TreyHarris 00:19, 21 January 2006 (UTC)
- Just curious TreyHarris, but how does fixing redirects cause hours of work for you? At first blush, one would expect that fixing the link half of a spelling problem is better than leaving it all wrong. As it is, processing redirects does eat up CPU cycles on the server end, and as slow as en.wikipedia gets during the North American workday, I would imagine anything that decreases server load would be viewed as a good thing. While I share your frustration with the pervasive spelling and grammar issues endemic to wikipedia articles, perhaps your ire should be directed at the people making the mistakes rather than those of us trying to fix them. As always, YMMV. --Kralizec! 00:39, 21 January 2006 (UTC)
- Kralizec!, you're mistaken (though it's a very common mistake that keeps coming up). I don't know if you have the technical expertise to understand the MediaWiki code and its database performance, but if you can, I suggest you look rather than take my word for it. Two things are going on. First of all, following a redirect is a simple SQL query that's already happening anyway (to see if the field page.page_is_redirect is set or not). Second, the results of such a redirect are cached.
- Just curious TreyHarris, but how does fixing redirects cause hours of work for you? At first blush, one would expect that fixing the link half of a spelling problem is better than leaving it all wrong. As it is, processing redirects does eat up CPU cycles on the server end, and as slow as en.wikipedia gets during the North American workday, I would imagine anything that decreases server load would be viewed as a good thing. While I share your frustration with the pervasive spelling and grammar issues endemic to wikipedia articles, perhaps your ire should be directed at the people making the mistakes rather than those of us trying to fix them. As always, YMMV. --Kralizec! 00:39, 21 January 2006 (UTC)
- It's not as if the servers are loading two complete pages (even if conceptually, that's what seems to be happening). If it worked that way, double, triple, or more redirects would work (they don't), and you'd be correct in your urge to "fix" them. But it doesn't work that way.
- So going to Charles de Gaulle via the link Charles DeGaulle is very inexpensive, in fact, usually no more expensive than going directly (especially if it is a popular page and is in the cache). In comparison, changing a page that links to Charles DeGaulle to point to Charles de Gaulle instead requires a database update, which is orders of magnitude more expensive on the servers than a query. I'm not certain of the exact performance differential, but based on a quick benchmark I just ran, it is probably on the order of a thousand times more expensive to update a page to point to the direct target than it is to follow the redirect. So, if you're going to edit a page anyway for some other reason, I'd say, sure, update the redirect link at the same time if you so desire. But editing a page expressly for the purpose of fixing a redirect is a net loss of performance for the servers. --TreyHarris 02:26, 21 January 2006 (UTC)
- Let me followup with a clarification: in no way am I suggesting that you shouldn't update an article that says Charles de Gaule with Charles de Gaulle. The first is a misspelling, and should be fixed as soon as you come across it. My point is that Popups is leaving the misspelling there to create [[Charles de Gaulle|Charles de Gaule]], and thus the edit is only useful insofar as avoiding the redirect, by itself, is useful. And my point is that avoiding the redirect, by itself, is not useful — at least, not useful for the purpose of reducing server load. --TreyHarris 03:01, 21 January 2006 (UTC)
- So going to Charles de Gaulle via the link Charles DeGaulle is very inexpensive, in fact, usually no more expensive than going directly (especially if it is a popular page and is in the cache). In comparison, changing a page that links to Charles DeGaulle to point to Charles de Gaulle instead requires a database update, which is orders of magnitude more expensive on the servers than a query. I'm not certain of the exact performance differential, but based on a quick benchmark I just ran, it is probably on the order of a thousand times more expensive to update a page to point to the direct target than it is to follow the redirect. So, if you're going to edit a page anyway for some other reason, I'd say, sure, update the redirect link at the same time if you so desire. But editing a page expressly for the purpose of fixing a redirect is a net loss of performance for the servers. --TreyHarris 02:26, 21 January 2006 (UTC)
- The option, popupFixRedirs, exists already and is documented at WP:POP. You could add a brief note in the table where the option is described, or if you have a lot to say then maybe you could create a sub-page and link to it from there. I intend to change this in the dev version soon, and in the "stable" version that most people use when I next update it to match the dev version. Lupin|talk|popups 04:29, 21 January 2006 (UTC)
- Thanks. I added a note and a subpage. I did some testing on my personal MediaWiki installation to get some exact numbers. --TreyHarris 23:01, 21 January 2006 (UTC)
- Uh-oh. Looks like Popups can't actually display a preview for the subpage. It says it's an empty page, which it isn't. Is this a bug? --TreyHarris 23:14, 21 January 2006 (UTC)
- Thanks. I added a note and a subpage. I did some testing on my personal MediaWiki installation to get some exact numbers. --TreyHarris 23:01, 21 January 2006 (UTC)
- Many redirection pages are already tagged with {{R from misspelling}}. Would it be possible for Popups to recognize this and fix the spelling in this case? The text could be updated to reflect this. i.e. instead of "Charles de Gaule redirects to Charles de Gaulle", it could say, "Charles de Gaule is a misspelling of Charles de Gaulle". Clicking on misspelling should fix the misspelling, not just the link, in this case. Pburka 02:57, 24 January 2006 (UTC)
- That would be lovely—that's a case where redirects should be fixed. See WP:R#Don't fix redirects that aren't broken. Those redirects display incorrectly, and so should be fixed whenever found. Seems like it would slow down the preview, though, unless Lupin can think of a clever implementation. --TreyHarris 06:38, 24 January 2006 (UTC)
- That's a nice idea (and I think it would be possible to code), except that the template doesn't seem to get much use. Lupin|talk|popups 14:59, 24 January 2006 (UTC)
- It is, indeed, unfortunate. Perhaps support for the template in Popups would encourage increased use? Pburka 01:12, 26 January 2006 (UTC)
- Would it be possible to present an option when fixing redirects? Could be a submenu of different ways to fix the redirect or perhaps an edit box with the default suggestion and the ability to override it.
- --BullWikiWinkle 23:07, 14 February 2006 (UTC)
Reverting
How do you revert using Popups? Do you have to be an admin? ⇒ JarlaxleArtemis 04:11, 21 January 2006 (UTC)
- No, non-admins can revert with popups, although it is different to the admin capability. To do so, you have to locate a link to the revision of the article that you want to revert to (for example in a diff page or a history page). Then you should find a "revert" link in the popup. If your links appear in menus, then it's in the "actions" menu. Lupin|talk|popups 04:19, 21 January 2006 (UTC)
Query on popupFixDabs
The "Air National Guard Installations" section of the List of U.S. Air Force bases article was poorly wikified, with the city and state set as separate links. When I attempt to disambiguate the cities, Popups (BTW, a great tool!!) often does not show the links I am looking for. As an example, on Port Clinton, it gives you the option to disambiguate to Pennsylvania or United States, but not the actual city links of Port Clinton, Ohio or Port Clinton, Pennsylvania. Same thing for Bangor (Maine), Westfield (Massachusetts), Burlington (Vermont), and many, many more. Is this a feature (aka I am not using it correctly) or a bug? Thanks, Kralizec! 14:31, 21 January 2006 (UTC)
- This seems to be working correctly for me with Port Clinton and the other examples you gave. A list of all links appearing in the disambig page appears at the bottom of the popup. I'm using Firefox 1.5 - which browser are you using? Lupin|talk|popups 14:48, 21 January 2006 (UTC)
- Thanks for reporting this bug. It should now be fixed in the dev version. Lupin|talk|popups 17:31, 21 January 2006 (UTC)
What stub?
I just realized that this tool could be ultimate asset to stub sorters if it was able ti indicate which stub template is in use on a page. Is that possible? Circeus 17:10, 21 January 2006 (UTC)
- Yes, with a bit of javascript you could write a custom filter for this - see Wikipedia:Tools/Navigation_popups#Advanced_customization. You'd need either a canonical list of stub templates or some other way of detecting them from the wikitext of an article (like a good regexp or something). Lupin|talk|popups 17:35, 21 January 2006 (UTC)
- ... for example, you could try adding this to your user javascript file:
window.extraPopupFilters=[]; function popupFilterListStubTypes(wikiText) { var re=RegExp('[{]{2}([^{}]*?stub)\s*[}]{2}', 'i'); var splitted=wikiText.parenSplit(re); if(splitted.length < 3) return ''; var list=[]; for (var i=1; i<splitted.length; i+=2) list.push(splitted[i]); return 'stub templates: '+list.join(', '); } window.extraPopupFilters.push(popupFilterListStubTypes);
Misusing edit summaries
Edit summaries are for summarizing edits, not for promoting software (see Wikipedia:Edit summary). Would someone please remove the "Popups-assisted . . ." from the beginning of the summary line, or at the very least move it to a short link at the end? —Michael Z. 2006-01-22 20:40 Z
- A few points in reply:
- I see nothing on Wikipedia:Edit summary which makes me think that the current edit summaries are inappropriate.
- It is important that some record of the tool being used to make edits is made so that if it is abused or if it has bugs, then this can be dealt with.
- Why would it be better to put the link at the end than at the beginning of the edit summary?
- If individual users wish to change the edit summaries the tool generates for them, they can already do so - see Wikipedia:Tools/Navigation popups#Options. Lupin|talk|popups 21:56, 22 January 2006 (UTC)
- To put it simply, a reader of edit summaries is interested in a summary of the edit. He is interested in the change to the content of the page, not what software was used to accomplish it. The convention starts with "Filling in the summary field . . . makes Wikipedia work better by quickly explaining to other users what your change was about" [my emphasis]. The purpose of the "popups" link is to promote this software, which is not an intended use of the edit summary. If every editors' edit summary started with something like "Microsoft Internet Explorer™-assisted correction of spelling", everyone's watchlist would be much harder to read—the beginning of a slow slide into uselessness. —Michael Z. 2006-01-22 22:58 Z
- I would have had no idea that Popups existed if I hadn't seen the link in edit summaries. It assisted me in figuring out recently that the flare-up of useless redirection "fixing" was due to the Popups feature and not just random editors deciding to go on cleanup expeditions. Bots are supposed to explain in the edit summary that the edit is being done by a bot; I think Popups-assisted edits should be so explained for exactly the same reasons. The analogy to browsers is fallacious, unless or until browsers are modified to edit Wikipedia in unusual ways like bots or Popups do. (If editors used Greasemonkey to do something unusual, for instance, I would hope the edit summary would explain this.) --TreyHarris 23:13, 22 January 2006 (UTC)
- Then please put the promotional link at the end of the edit summary, so I can just go down the list and see what the edits are about. As it is, I have to stop at every "Popups-assisted" link and read through it to get to the actual summary of the edit. Maybe even make it a distinctive little link like "[p]" or "p↑"—it will have its own more distinctive "branding", but clutter the watchlist less. —Michael Z. 2006-01-22 23:59 Z
- No, remove the link completely & do not even mention it. We should not have to suffer advertisements on Wikipedia. ¦ Reisio 17:32, 27 January 2006 (UTC)
- I have brought this up (copied from entry initiated by Mzajac at Wikipedia talk:Edit summary) at Wikipedia talk:What Wikipedia is not#Promotional use of edit summaries. ¦ Reisio 17:46, 27 January 2006 (UTC)
- I think the link should remain. Knowing what tools an aeditor has used in making an edit may be important in evaluating that edit. Auto-Wiki Browser uses a simialr link. For the mater of that, amny cleanup projects reccomend an edit summery with a link to the project. I think this is a good, not a bad, idea. DES (talk) 17:59, 27 January 2006 (UTC)
- I agree, but would have no objection to this appearing at the end of summaries as suggested by Michael. This is a helpful notification for other users of the invaluable tools that exist out there, and in no way is it a misuse of edit summaries. --Cactus.man ✍ 18:19, 27 January 2006 (UTC)
- This is…helpful
- Most advertisers probably think that.
- ¦ Reisio 18:40, 27 January 2006 (UTC)
- Helpful? ... yes, most definitely. Maybe you should try it out - check out the instructions on the Project page for details of how to add it to your monobook.js (or other skin). Or you can let me know on my talk page if you need help. This is not a commercial product, but a tool for Wikipedians that Lupin has clearly expended a huge effort to create for the benefit of the community, and it aids productivity in spades. --Cactus.man ✍ 18:49, 27 January 2006 (UTC)
- This is…helpful
- The point is that even someone spamming your email with advertisements for viagra might think he's helping someone out - it's extremely agitating (and in that case downright evil) nonetheless. It doesn't matter to me if someone is making money off it or not. I hate ads in general, they're immensely annoying & exceptions should not be made even for things most people might like. [7] [8] ¦ Reisio 20:39, 27 January 2006 (UTC)
- Helpful to the advertiser, yes, but also helpful to those thankful consumers who would never have heard about the product if it wasn't for the advertisements. I'm genuinely happy I learned about the popup tool that way. Edit summaries like this are just a tad more informative than "rv", but the spam factor isn't very high either. --Eddi (Talk) 21:29, 27 January 2006 (UTC)
- Agreed 100%. This is how I found the tool, and now I don't know how I'd live without it. -- MisterHand 21:37, 27 January 2006 (UTC)
- Helpful to the advertiser, yes, but also helpful to those thankful consumers who would never have heard about the product if it wasn't for the advertisements. I'm genuinely happy I learned about the popup tool that way. Edit summaries like this are just a tad more informative than "rv", but the spam factor isn't very high either. --Eddi (Talk) 21:29, 27 January 2006 (UTC)
- Hi Reizo! I won't remove the links for reasons explained above (although individual users can prevent them from appearing in the edit summaries they generate, so if there is widespread disquiet then they should disappear on their own). I could write a crude "spam filter" to remove these notices from your watchlist, recent changes and history pages if it makes you feel better. Lupin|talk|popups 21:36, 27 January 2006 (UTC)
- No, thanks. :) ¦ Reisio 21:45, 27 January 2006 (UTC)
- Hi Reizo! I won't remove the links for reasons explained above (although individual users can prevent them from appearing in the edit summaries they generate, so if there is widespread disquiet then they should disappear on their own). I could write a crude "spam filter" to remove these notices from your watchlist, recent changes and history pages if it makes you feel better. Lupin|talk|popups 21:36, 27 January 2006 (UTC)
For what it's worth, I hereby retract any concern I have on this matter. My watchlist is now also flooded with lines such as "AWB assisted clean up + reduce overlinking", and I expect there will be others, so there's no point in Popups not using its old "Popups-assisted…", too. ¦ Reisio 22:46, 2 February 2006 (UTC)
- Please leave a comment at Wikipedia talk:AutoWikiBrowser#Edit summaries. —Michael Z. 2006-02-20 05:14 Z
Lately, I've only seen edit summaries ending with "...using popups" on my watchlist. I don't know if this is because the software has been updated, or because some users have changed their settings, but it's a great improvement. They don't interfere with reading the watchlist at all. Sincerely, thanks for responding to my concern.
(But I am now finding "AWB assisted...". Time to leave a comment over there.) —Michael Z. 2006-02-20 04:59 Z
Preview of (diff) and (last)?
Lupin, thank you. I thought you would appreciate this: http://community.livejournal.com/wikipedians/69759.html
It prompted me to come here and ask a question. I have a feeling the answer is the many-times-above-mentioned "too much server overhead", and if so, alas, so be it.
However, I simply must ask if it's possible to provide an actual mini-diff in the preview box if I hover over a "(diff)" or "(last)" link -- an answer to "what was this edit?". Ideally it would provide the entire diff if it's a small edit (less than, say, 50 characters?), and some other kind of feedback if it's something bigger. It would be brilliant to be able to scan my watchlist or a related changes page or a page history and not bother clicking the diffs that end up being "removed a comma" or "added a category" just to make sure it's not vandalism. (Yes, yes, I know, everyone should be using informative edit summaries -- they don't. And smart vandals lie anyway.)
So is it possible? Please? Pretty please? I'm pretty sure I wouldn't be the only one who would worship the ground you walk on.... — Catherine\talk 07:04, 27 January 2006 (UTC)
- I second altmany 07:58, 27 January 2006 (UTC)
- It's sooooo cool, Lupin! Please do keep up the good work :-))) altmany 13:52, 29 January 2006 (UTC)
- Ditto that, just noticed all the pink and turquoise colouring on the diff links by accident. Are you saying the coding is ugly and stupid, or the functionality? I find it very useful as it cuts out the need to physically check a big chunk of your watchlist because it, well ... pops up the diffs :-) Perfect for smaller edits. Cactus.man ✍ 17:53, 29 January 2006 (UTC)
- It's sooooo cool, Lupin! Please do keep up the good work :-))) altmany 13:52, 29 January 2006 (UTC)
- I can't see this... Is there a reason? Do I need to use the dev. version or something? Circeus 01:14, 1 February 2006 (UTC)
- And howdo I do that, if Imay ask? Circeus 14:00, 1 February 2006 (UTC)
Okay, I've been trying this out for about fifteen minutes, and now I need to know which part of the world cpntains the ground you walk on, so I can point my worship in the proper direction! This is an wonderful tool, and is going to be very popular once it's in the main version. Thank you so much for putting your work into this for a few days! — Catherine\talk 03:07, 2 February 2006 (UTC)
- Ditto here. Circeus 03:16, 2 February 2006 (UTC)
- I am also very impressed. This will genuinely save me a significant amount of time. Thank you. Superm401 - Talk 01:52, 5 February 2006 (UTC)
display bug on article with two () in first line
From daimyo The daimyo (大名, daimyō?) (daimyō ▶ (help·info)) were the most the pop up just shows the empty The () Dalf | Talk 07:31, 27 January 2006 (UTC)
- Thanks. This should be at least partially fixed, although the empty brackets will still appear unless you set popupPreviewKillTemplates=false. Lupin|talk|popups 20:07, 29 January 2006 (UTC)
Revert needs to show 'username' not 'revision#'
I just noticed this edit today. Is there a way to make it show the username instead of a revision number? Ex.) Instead of: "Reversion to revision 37531695 using popups" say "Reversion to revision Martin Hinks using popups". Using the revision# makes it much harder to see how far back the article has been reverted. Thanks. Monkeyman 20:27, 31 January 2006 (UTC)
- Short answer: yes it's possible, but it would involve extra code and extra network overhead, and ambiguous summaries if Martin Hinks has made several edits to the article. Lupin|talk|popups 00:27, 1 February 2006 (UTC)
- for the ambiguity issue, just have "revert to revision xxx by Martin Hinks". best of both worlds. Derex 03:35, 1 February 2006 (UTC)
- I was about to suggest "rv to last version by <author>", but that would be ambiguous since we don't always revert to the last version. A better solution would be "rv to version <number> by <author>", or "rv to version as of <timestamp> by <author>". In addition, as I have mentioned earlier, it would be great if the script could prompt for an explanatory statement so that "rv <statement> to version <number>" would become, e.g. "rv unsourced claim to version 31912413". --Eddi (Talk) 04:58, 1 February 2006 (UTC)
- Lupin - the new prompt's very handy, thanks. Could you add another %s to the default prompt with <author>, so it would read something like "Revert to revision <oldid> by <author> using popups"? also, can you replace <oldid> with <oldtimestamp>? altmany 09:50, 2 February 2006 (UTC)
- Nice new feature Lupin. I assume that the string can be customised like the others, and is it possible to have this implemented for reverts from Diff pages? I suspect there's some fiendishly tricky technical stuff stopping this or you would probably have done it already. --Cactus.man ✍ 10:59, 4 March 2006 (UTC)
- Extended reversion summaries are brilliant! Manual summaries prompted by
popupRevertSummaryPrompt
are greatly enhanced, and the standard summary is readily customised through my strings-en.js file. However, most times I include only the editor name in a summary, not the timestamp or revision ID, so it would be useful to pick just%s
number 2 and leave out number 1 and 3. Is this possible with the current strings? --Eddi (Talk) 02:37, 7 March 2006 (UTC)
- Extended reversion summaries are brilliant! Manual summaries prompted by
- By the way, extended summaries don't seem to work in translated versions (strings-no.js, strings-nn.js). See e.g. the last few edits of [9] and [10]. I have set the same options in the respective monobook.js files as in en:monobook.js, so I don't quite understand. Doesn't the script recognise that I'm on a history page? --Eddi (Talk) 02:37, 7 March 2006 (UTC)
Time stamp bug in extended reversion summary?
The extended reversion summary only works on history pages, so I wonder if the time stamp is just grabbed from the history page. If it is, the information may be ambiguous because the user settings of date format and time zone are not considered. I noticed that this reversion summary didn't give the UTC time but rather the same time as the history page, which is my local time. --Eddi (Talk) 04:14, 9 March 2006 (UTC)
- Should be fixed in dev provided the time offset in your preferences matches the local time zone reported by your OS to your browser. Lupin|talk|popups 00:20, 10 March 2006 (UTC)
- I'll try it. My offset is the same as the OS time zone. But now it might swing the other way for users who haven't set any offset in their preferences. Although this may be less likely, I believe it's technically still a bug as long as the user preferences are unknown. Perhaps each user must set his/her time zone in the popups setup? Or is there another way to obtain time stamps? Recently I've seen additional date and time information in the popups of diff links, e.g. this one. Could the same method be used for extended reversion summaries? --Eddi (Talk) 02:35, 10 March 2006 (UTC)
- I agree, this is a bug, and a potentially misleading one. I've changed things in dev so that people wanting to use this feature must specify a time offset by setting the popupTimeOffset in their use javascript file.
- This is a suboptimal fix, but I don't use this feature myself so it won't get much testing from me. If someone wants to drop me a patch implementing this feature less kludgily (eg somehow getting the dates with ajax as you suggested), I'll gladly incorporate it. Lupin|talk|popups 01:21, 19 March 2006 (UTC)
- You should set it to be the number of hours that should be
added tosubtracted from the date displayed on history pages to get to the date that should appear in the revert summary (ie UTC time). Since I haven't documented this anywhere, I'd be happy to change this to say the number of hours that should be subtracted instead, since this may be more sensible in retrospect... Lupin|talk|popups 02:17, 23 March 2006 (UTC)
- You should set it to be the number of hours that should be
- It works, see e.g. the history of User:Eddideigel/Sandbox where the last reversion includes
popupTimeOffset=1
and the next to last doesn't. But, as you say, it may be more sensible to subtract than add, so that the offset option corresponds directly to the respective time zone. --Eddi (Talk) 02:11, 24 March 2006 (UTC)
- It works, see e.g. the history of User:Eddideigel/Sandbox where the last reversion includes
Code changed? Bug appeared!
Hi there! Using the popupsdev, but somehow it stopped working today on IE6/WinXP. javacode shows the error: Could not set the innerHTML property. Invalid target element for this operation. On line 4927. Does this info help? Greets, The Minister of War (Peace) 16:37, 2 February 2006 (UTC)
- Yes, that helps a lot! I've changed to User:Cacycle's diff code, which seems to be the cause of this. (It works in firefox). I've asked him for a fix. Lupin|talk|popups 17:20, 2 February 2006 (UTC)
- That seems to have done the trick! Thanks once again for a speedy fix! The Minister of War (Peace) 19:58, 2 February 2006 (UTC)
- Euhmmmm, weeeeeell... then again.... there seems to be a problem with external links only (such as this one), which is rather bad because my browser actually freezes. No error code either, just a plain ol freeze. The Minister of War (Peace) 20:13, 2 February 2006 (UTC)
Recent Changes to Disambig Templates Breaking Popups
There's some discussion over at Wikipedia_talk:Manual_of_Style_(disambiguation_pages)#Wikipedia:Disambiguation_and_abbreviations regarding some changes being made to certain disambuation templates. It seems one particular user has introduced some new templates Template:2LC, Template:3LC and Template:4LC and has apparently launched a bot to replace the current disambiguation templates on all the 2, 3, and 4 character disambuation pages. It breaks Popups' disambiguation features for sure. I don't know what else it may be breaking. Ewlyahoocom 14:58, 5 February 2006 (UTC)
- If these become accepted, it'll be easy to fix the script. Lupin|talk|popups 15:09, 5 February 2006 (UTC)
- Just noting here after discussion elsewhere, it has been determined that these tools have never included those template being replaced: 2LA, 2LAdisambig, 2LCdisambig, TLAdisambig, 4LA, 5LA, and LND. Therefore, nothing is broken by these replacements. Also, the automated piping of abbreviations is contrary to several guidelines. Adding these to the tool would require quite different programming.
- --William Allen Simpson 12:28, 21 February 2006 (UTC)
- Just noting here after discussion elsewhere, it has been determined that these tools have never included those template being replaced: 2LA, 2LAdisambig, 2LCdisambig, TLAdisambig, 4LA, 5LA, and LND. Therefore, nothing is broken by these replacements. Also, the automated piping of abbreviations is contrary to several guidelines. Adding these to the tool would require quite different programming.
Problem I'm having
Popups are extremely useful on Recent Changes to check out diffs. I mouse over the "(diff)" link and the diffs come up. However, it works for a while and then stops working. I need to reload the page to get it to work again. Anyone else having this? --Spaceman85 17:58, 5 February 2006 (UTC)
- I haven't seen this myself. Which browser(s) are you using? Also, when you say it stops working, do you mean that popups stop working altogether, or you get popups with normal previews instead of diffs, or you get a popup but not a preview or a diff? Do previews for non-diff links still work still work when the diff links are broken? Lupin|talk|popups 18:09, 5 February 2006 (UTC)
- Oh, sorry I was rushing. I'm using Firefox and the pop-up appears with the name of the article, but the actual diff doesn't appear. It looks at first like if it is still "loading", but the diff doesn't appear. I'll get a screenshot later if you'd like me to. Thanks. --Spaceman85 18:13, 5 February 2006 (UTC)
- The next time this happens, please could you copy the url of the diff and paste it here?
- Please check if the page the diff refers to has been deleted e.g. [11]
- I'm still not sure if either (1) all diffs stop working at the same time, or (2) some diffs don't work, but others continue to work.
- When the diff fails, if you mouseover another diff and then go back to the original, does the original diff work?
- When this next happens, please mouseover a normal non-diff link to a page which you are certain you haven't passed your cursor over yet. Does the preview appear as usual?
- There is a bug I discovered today whereby urls like this [12] won't preview properly - does the popup for that link look like your buggy ones?
- Before loading the recent changes page to test this, please go to the Tools menu in firefox and open the javascript console. Hit "Clear" and load the page. Ignore any CSS errors, but please let me know about any javascript errors reported there. Thanks! Lupin|talk|popups 18:25, 5 February 2006 (UTC)
- Hi, I cleared my cache and it seems to be working alright now. Sometimes it takes a while for diffs to appear but that must be down to Wikipedia. Thanks for the help! --Spaceman85 19:36, 5 February 2006 (UTC)
- Could be, or it could be down to the script. If diffs are slow the second time they're displayed, then it's the script taking a long time to compute the diff. I should probably start collecting these diffs somewhere so I can try to improve the speed. Lupin|talk|popups 23:05, 5 February 2006 (UTC)
- Since today, my browser hangs when i'm checking out diffs, the rest of the functions work normally. No error code, because i have to shut it down by force. Any ideas? The Minister of War (Peace) 09:19, 8 February 2006 (UTC)
- Seems to be working okay now. I am using IE6 and WinXP. Occassionally, i get a Javascript error saying Permission Denied at the Watchlist Url. Doesnt happen now, so i couldnt quote the line, but i'll keep my eyes peeled. The Minister of War (Peace) 19:51, 8 February 2006 (UTC)
- Got the error again, which didnt cause it to freeze but caused the POPs not to work at all (which is better!). The error was supposedly on line 184, char 3. Didnt try the non-dev yet, I'm perfectly okay with using this one and helping out the Bughunt! Cheers, The Minister of War (Peace) 08:31, 9 February 2006 (UTC)
- My mistake your monobook.js is considerably shorter than that. Well I have no idea what the problem is, but it could be in any JS file that you load. I'd still suggest taking out everything except popups to see if the error persists. If not, then add scripts back one by one until you find out what's responsible. Lupin|talk|popups 13:15, 9 February 2006 (UTC)
Since me
The since me feature doesn't seem to work if your last edit isn't on the first page of the history. The problem appears to be in the getHistory function. It should use a while loop to download all the history pages and return them cocatenated together. Superm401 - Talk 19:30, 7 February 2006 (UTC)
- I did consider this. Some pages have stupidly long histories, and I wanted to avoid downloading them all. The best solution would be to provide a bot interface to mediawiki which lets you get this information directly, but the devs seem resistant to such changes. Lupin|talk|popups 00:23, 8 February 2006 (UTC)
- That's a valid point. However, it could still function better. You should change the limit of the history URL to 1000 (using a variable so it can be reset in individual monobooks). Thus, the releveant line of getHistory would be:
var url = titlebase + removeAnchor(wikipage) + '&action=history' + '&limit=' + getValueOf('popupHistoryLimit');
- Obviously, you would make that be a new variable. Also, the message should somehow indicate that not all edits are being searched. Superm401 - Talk 04:55, 8 February 2006 (UTC)
- Now in the dev version. Lupin|talk|popups 12:40, 10 February 2006 (UTC)
- It now uses the new popupHistoryLimit var, but it still can't find any of my last edits... See [13] for example - my edit is 7th to last (in the first history page) but it still can't find it... Perhaps it's an issue of case-sensitivity in the contributor's username (in my case, "altmany" vs "Altmany")? altmany 14:29, 10 February 2006 (UTC)
- Thanks - I think this was a bug triggered by you not having a userpage, and the red link confusing the script. This should hopefully now be fixed in the dev version. I haven't tested this, since I do have a user page, so let me know if this doesn't work. Lupin|talk|popups 03:17, 11 February 2006 (UTC)
- Sorry - It didn't work... I added some content to my userpage (about time, that) and that solved the problem, so that's indeed the bug cause. If you drop me a note when you fix it on dev, I'll be happy to test it for you. altmany 21:37, 11 February 2006 (UTC)
- Thanks - I think this was a bug triggered by you not having a userpage, and the red link confusing the script. This should hopefully now be fixed in the dev version. I haven't tested this, since I do have a user page, so let me know if this doesn't work. Lupin|talk|popups 03:17, 11 February 2006 (UTC)
- It now uses the new popupHistoryLimit var, but it still can't find any of my last edits... See [13] for example - my edit is 7th to last (in the first history page) but it still can't find it... Perhaps it's an issue of case-sensitivity in the contributor's username (in my case, "altmany" vs "Altmany")? altmany 14:29, 10 February 2006 (UTC)
- Now in the dev version. Lupin|talk|popups 12:40, 10 February 2006 (UTC)
- That's a valid point. However, it could still function better. You should change the limit of the history URL to 1000 (using a variable so it can be reset in individual monobooks). Thus, the releveant line of getHistory would be:
Preview of (diff)
Not sure if it's just my setup, but when hovering over a diff link on any user contributions page the popup doesn't show the diff, as it does correctly on other pages, but shows the target page in question. Anybody else have this problem? --Cactus.man ✍ 11:29, 11 February 2006 (UTC)
- I get diff previews on some diff links in contribution pages, but not all. Otherwise I just get the popup with links and no preview, especially when the diff is (top), which is often true in contribution pages. I think Lupin mentioned something about diff preview not working when the URL reads &diff=prev or &diff=next on the most recent edits. --Eddi (Talk) 13:09, 11 February 2006 (UTC)
- Interesting, some very odd behaviour going on. On a contribs page when the diff is (top) I get NO popup on the main link or the diff link. Otherwise I get a regular popup on both links. I cannot get a diff preview anywhere on a contribs page ?? All other pages seem to function perfectly. --Cactus.man ✍ 13:22, 11 February 2006 (UTC)
- My script requests specific revision IDs of raw wikitext from the server to generate its diffs. This is fine when the revision IDs are in diff urls (like diff=42312345&oldid=24121232) but when the urls say diff=prev, there's no way to find out the right revision ID efficiently short of screen-scraping the history page, which is unpleasant and liable to break. I've written a patch which would fix this by supporting relative IDs when fetching raw wikitext, but no-one seems to want to apply it to Mediawiki. Lupin|talk|popups 01:09, 12 February 2006 (UTC)
- The (top) links should not function very differently to the others, though. They may preview more slowly, since the data is less likely to be cached by the servers, but the preview should still appear... please send me some urls I can test if you notice this again, and remind me which browsers you're using. Thanks! Lupin|talk|popups 01:14, 12 February 2006 (UTC)
- The problem is the same for me on ALL contributions pages. No matter how long I hover over a "top link" a popup never appears for either the link itself or the diff and history links. For the other links the diff popup always gives the regular article preview, not the diff preview. This is with Firefox 1.5.0.1. I just tried it in IE 6.0.2900.2180 and popups doesn't seem to work at all !! --Cactus.man ✍ 09:14, 12 February 2006 (UTC)
- With the latest dev version I have to modify my above observations. (I used an outdated version earlier.) On my contribs page none of the previews are diff previews, there is no difference between (top) or not, and there is no difference between hist, diff and page links. For articles I get article preview, for article talk I get talk preview, and for article sections I get section preview. The exception is articles with only tables and no plain text, resulting in popups with navigation links but no preview. I use Opera in Linux. --Eddi (Talk) 15:00, 12 February 2006 (UTC)
- For Lupin's information I forgot to say I am also using the dev version on Win XP SP2. --Cactus.man ✍ 15:33, 12 February 2006 (UTC)
- Thanks a bunch as usual. I now get diff previews on Contribs pages, yay :-) But since you asked, I am HOLLERING: The (top) links still do not give any popups for me on contribs pages. I am running the dev version on Firefox 1.5.0.1, Win XP SP2. One final outrageous request - can you do a Jim'll Fix It and fix the rest of Teh Internets so that popups works outside of Wikipedia. I get so confused in the real world when there are no popups when hovering over links. Thanks in advance :-) --Cactus.man ✍ 10:53, 4 March 2006 (UTC)
redirection bypass function broken?
Somehow, I cannot bypass redirects anymore. --Ixfd64 10:41, 15 February 2006 (UTC)
- This feature annoyed some people (see above) so it's turned off by default. You have to set an option to enable it - I forget the exact name, see WP:POP for details. Lupin|talk|popups 13:44, 15 February 2006 (UTC)
JS error
The Pops dont seem to work anymore. On WinXP, IE6, the JS error reads: Expected identifier, string or number, in char 3 on line 3687. Damn you have that much lines? Respect! Greets, The Minister of War (Peace) 09:13, 16 February 2006 (UTC)
Fixed! The Minister of War (Peace) 15:38, 17 February 2006 (UTC)
Transparent Diffs
The popups for the dev version seem to be transparent. I'm not sure if this is deliberate, but it makes them significantly less readable. Superm401 - Talk 06:20, 20 February 2006 (UTC)
- See also User_talk:Lupin#Transparent_background ++Lar: t/c 06:58, 20 February 2006 (UTC)
Popup images within Infoboxes
Guys, I love the navagation popups! Everyone should use it! One thing I would like to see, however, is when you hover over a movie link, that the image in the movie infobox doesn't appear on the popup. Anyway to get that to work? We're attempting to have an infobox on every film page... Steve-O 16:26, 22 February 2006 (UTC)
- I've had a go at this in the dev version. I'll upload it in a moment. Lupin|talk|popups 22:49, 22 February 2006 (UTC)
- Thanks for the great effort on this! I tested out the change, and most but not all images in the infoboxes show up. I'm not really sure why some don't and some do. For example, go to "List of film noir" and you'll see that some work and some don't (most of the pages there have images in infoboxes). Thanks again! Steve-O 16:39, 23 February 2006 (UTC)
pop-up don't diappear in some circumstances
Pop up appears automatically when hovering over an highlighted link in the textarea. however, if the link is deleted after the pop-up has appeared, it appears that the pop-up stays inplace no matter what. It can leads to several pop-up cluttering the text-editing window! Circeus 17:08, 22 February 2006 (UTC)
- Expansion on what I wrote: in the text-editing window,pop-up are automatically generated whenever a link is highlighted, regardless of whether the cursor hovers over it or whether other text is highlighted. This should really be fixed or made optionnal, because it can be very annoying. Circeus 17:34, 22 February 2006 (UTC)
- You should always be able to dismiss popups by wiggling your mouse away from them. This feature is optional in the dev version but it looks like I forgot to put the option in the stable version. Do you have any suggestions on how to improve the interface here? I realise it's suboptimal at the moment. Lupin|talk|popups 22:39, 22 February 2006 (UTC)
- Exactly my point: If the text is deleted while the pop-up is around, the pop-up becomes impossible todismiss. Circeus 22:54, 22 February 2006 (UTC)
- I haven't seen it since that occurence,and I already use the dev, might have been a freak case.An option to deactivate po-ups in editing would be awful nice, though. At least forme.
Crashes Opera
I'm running Opera 8.51 and I just installed this tool. After a few minutes of usage Opera just crashes on me. I haven't even done anything with it; I just use the popups to go to say, the talk page; I haven't done any reverting or any of that sort yet. But it has crashed 3 times just 3-4 minutes after i begin using it. What other details should I include in describing this problem? - Hbdragon88 05:12, 23 February 2006 (UTC)
- I'd send a bug report to Opera. I'm typing this in Opera 8.52 on Linux, and have noticed no ill effects in the past 5 minutes of usage. It shouldn't be possible for javascript to crash a browser, so if this is happening then it's a browser bug. Lupin|talk|popups 05:42, 23 February 2006 (UTC)
- I'm using Opera 8.51 for 95% of my edits using these popup system. It crashed only once. So from my experience, this is not related to Opera ! Lvr 00:29, 25 February 2006 (UTC)
- More feedback regarding this issue: Opera crashes more often these last days. Netscape (7.0) also: I'm not able to look at my watchlist at all with Nescape. It crashes immediately. I removed the popups, and Netscape works again. Workaround: I don't use Netscape any longer !!! Lvr 10:17, 28 February 2006 (UTC)
- I also am experiencing Opera (8.52) crashing on my *a lot* recently while using popups :( Its been happening more recently. Seems to happen when hovering mouse over a link before the popup appears. Running windows xp. I think you reporting any further bug reports to Opera (as you say I assume it is an Opera bug as it shouldn't crash, even if there is something wrong in the javascript) would make more sense as you know your own code! Petros471 20:40, 3 March 2006 (UTC)
Well, I just installed Opera 8.53 and turned the popups back on. If I don't report back here assume everything is a okay. - Hbdragon88 22:05, 7 March 2006 (UTC)
- That was short. While loading a page Opera 8.53 crashed. Removing popups... - Hbdragon88 22:12, 7 March 2006 (UTC)
I'm running Opera 9.00 Beta and my browser is crashing a lot after installing this tool. I had the same problem with Opera 8.5. It doesn't happen all the time but probably every 5 min. jerkmonkee 17:07, 10 March 2006 (UTC)
- Interesting (if slightly depressing) that you mention that, I've been running Opera 9.0 as a separate install from my main 8.53, and no crashes at all using that (so far!). 8.53 still crashes... Petros471 17:55, 10 March 2006 (UTC)
Okay! I've upgraded to Opera 8.54! Popups...on! Let's see how this goes... - Hbdragon88 05:00, 7 April 2006 (UTC)
- And...removed again. It crashed after some ten minutes of usage. I'll wait for Opera 9.0 final. Heh, this reminds me of waiting for Opera 7.60 (which would become 8.0 later) so I could get native Gmail support. - Hbdragon88 05:09, 7 April 2006 (UTC)
Opera 8.52 crashes here, too, with that popup. Which is a shame, because it is really nice. -- AlexR 11:24, 9 April 2006 (UTC)
font changed?
I noticed that the popups seem to be displaying a different font now. Was this an intentional change, or is my browser acting up? --Ixfd64 09:37, 23 February 2006 (UTC)
- It's semi-intentional: I've changed the internals a lot and no longer use overlib, so am not stuck with its settings. Thus I've not specified a particular font for the popups, so you should get whatever the ambient font is on the page. If you want to change this, you have to edit your user CSS, and I now realise that I have to update the documentation there... done. Lupin|talk|popups 14:03, 23 February 2006 (UTC)
- Hmmm...I use the Cologne Blue layout, and popups is coming up with a font different than what's on the rest of the page. -- MisterHand 20:53, 23 February 2006 (UTC)
- Try this:
.navpopup { font-family: Verdana, Arial, Helvetica !important; }
Usage guide?
This feature needs a usage guide. It took me ages to work out how to use the revert functionality for example. The feature list is a start, but we need more than that.WolfKeeper 02:42, 24 February 2006 (UTC)
- Thanks for adding the explanation to the page. If you want to go further and start some clearer documentation this would be great. Lupin|talk|popups 03:58, 24 February 2006 (UTC)
strange behavior
I made this redirect bypass with popups [14] and instead of making the piped redirect [[U.S. 10th Mountain Division|10th Mountain Division]], it made it [[U.S.%2010th%20Mountain%20Division|10th Mountain Division]]. I have not seen this behavior before. Any clues? --rogerd 03:05, 24 February 2006 (UTC)
- Thanks for finding this bug - I hope it's fixed now. Lupin|talk|popups 03:55, 24 February 2006 (UTC)
ARIN lookup removed?
Hiya Lupin ... was the ARIN lookup feature for IP addresses removed on purpose? I used that almost every day, and kind of miss it. --Aaron 18:19, 24 February 2006 (UTC)
- No, that's a bug! I'll fix it in a moment in the dev version. Lupin|talk|popups 00:01, 25 February 2006 (UTC)
Popups not working
I love the tool, but over the past couple days it hasn't been working for me any longer. Has anything been changed? BTW I use Firefox. -- Jeff3000 23:03, 24 February 2006 (UTC)
- Yes, there have been rather significant internal changes to the script. I use Firefox myself (v 1.5.0.1 on Linux) and things are OK here. Which version and OS are you running? Lupin|talk|popups 00:01, 25 February 2006 (UTC)
- I used Firefox 1.5.0.1 on Windows XP. I'll try disabling some of my extensions to see if things get better, but any help would be much appreaciated. -- Jeff3000 03:55, 25 February 2006 (UTC)
- I found the problem. I use the userContent.css file in Firefox to block ads as shown on the Mozilla.org website [15]. One of the rules is to block div elements who have the string "popup" in it's id as so
- I used Firefox 1.5.0.1 on Windows XP. I'll try disabling some of my extensions to see if things get better, but any help would be much appreaciated. -- Jeff3000 03:55, 25 February 2006 (UTC)
div[id*="popup"]
- Since the new popups use the word "popup" in most id names like
<div style="position: absolute; display: inline; left: 317px; top: 231px; z-index: 1002; max-width: 350px;" id="navpopup_maindiv0" class="navpopup">
- they are getting blocked. Is there any chance you can rename the div elements to something that doesn't seem like its a malicious ad? -- Jeff3000 04:17, 25 February 2006 (UTC)
Quick & Flupke
I got a small problem with the popup today. I cannot say if it is due to this new version. I'm watching the Quick & Flupke article. When I put my mouse over it, the popup shows me the Quick article instead ! Lvr 00:32, 25 February 2006 (UTC)
- Thanks for the bug report - this is fixed in the dev version. Lupin|talk|popups 01:13, 25 February 2006 (UTC)
Log Link
Is there a reason the menu does not link to the log for the active page? That would be a useful option. Superm401 - Talk 04:43, 25 February 2006 (UTC)
- Please could you tell me which URL you'd like a link to in, say, the popup for this page? (I don't use Special:Log much, and am unfamiliar with its intricacies). Lupin|talk|popups 02:30, 9 March 2006 (UTC)
Help?
Hey, I don't really know what I'm doing at all, and I'm trying to get popups to work, but it isn't. Can anybody help? I think I did the change right (I use classic skin) but it still isn't working, and I tried clearing my cache already. -Tim Rhymeless (Er...let's shimmy) 07:09, 27 February 2006 (UTC)
- Okay, I managed to get this to work, but only on monobook. I still can't seem to figure out how to get it to work on classic. Can anybody help me figure out why? -Tim Rhymeless (Er...let's shimmy) 08:46, 27 February 2006 (UTC)
- More specifically, on classic I only seem to get the menu popups, but no preview of articles. It's all a bit dodgy. (Works for me on monobook, though, but I'd really prefer to use classic.) -Tim Rhymeless (Er...let's shimmy) 09:17, 27 February 2006 (UTC)
- You should remove the "simplePopups=true;" option in your standard.js file, like you have done in monobook.js. If it still doesn't work after clearing the cache, try to specify more options. For some examples of options, see my monobook.js or standard.js. --Eddi (Talk) 15:13, 27 February 2006 (UTC)
Printable version
The printable version of the article page has some images overlaying the text at Features. David 01:46, 2 March 2006 (UTC)
More standard javascript for Template:Navpop
The following javascript is more standard and conforms to XML and XHTML standards.
var obj = document.createElement("script"); obj.type = "text/javascript"; obj.src = "http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s"; document.getElementsByTagName("head").item(0).appendChild(obj);
For use in {{navpop}}. -- infinity0 19:23, 2 March 2006 (UTC)
Similarly, this is more standard than the current document.write() in Lupin's popups.js
var npcss = document.createElement("style"); npcss.rel = "stylesheet"; npcss.type = "text/css"; npcss.href = "http://en.wikipedia.org/w/index.php?title=User:Lupin/navpop.css&action=raw&ctype=text/css&dontcountme=s"; document.getElementsByTagName("head").item(0).appendChild(npcss);
Intended to replace the "import stylesheets" part. -- infinity0 19:26, 2 March 2006 (UTC)
- I haven't tested the first block of code, but the second fails in IE and Konqueror (I didn't try other browsers).
- I don't really understand what is wrong with the current code - I'm quite ignorant about XHTML. Please could you explain? Lupin|talk|popups 23:39, 2 March 2006 (UTC)
The W3C recommends using DOM node methods to manipulate pages instead of changing the source code using document.write(). The reason is becaues XML parsers use nodes to display objects and it's easier for them. If the document is sent as XML+XHTML, then document.write() and object.innerHTML fail to work. It's just me being pedantic, but in the future all browsers may be XML-based, and these type of scripts will no longer work.
It should work in IE6 and Konqueror... :S meh... What's the error? -- infinity0 21:21, 3 March 2006 (UTC)
Oh, silly of me. I forgot to change "script" to "style". It should work now. -- infinity0 21:22, 3 March 2006 (UTC)
- Hah, there's no chance the script will work in those hypothetical browsers at the moment - waaay to much use of innerHTML! I find this a very handy device (and it's much faster than using the DOM, in programming and execution time). I don't see the point in obfusticating the code by using the DOM for installation and stylesheets either, but thanks for the suggestion. Lupin|talk|popups 02:15, 4 March 2006 (UTC)
Bug at bottom of window?
When hovering over a link near the lower part of my display, the popup opens such that most of it is below the viewable window, unlike other popups which seem to be aware of screen location and "flip" the popup above the cursor - the tool seems to be aware of the left and right sides of the display. Firefox 1.5. David 21:58, 3 March 2006 (UTC)
- This also happens in Linux Opera 8.50, dev version. However, I'm able to scroll within the popup using the mouse wheel, and if the link is at the bottom of the page as well as the window, some white space is added to the page to allow for scrolling. --Eddi (Talk) 02:36, 5 March 2006 (UTC)
- Also in Linux with Firefox 1.5, although for me the browser notices that the page has expanded and adds a little space to the scroll-bar making it possible to scroll down (using my wheelmouse anyways) to access the rest of the menu. Ewlyahoocom 05:40, 5 March 2006 (UTC)
- And I. FireFox 1.5, Windows XP, running dev version of tool. For me it does not add anything to the scroll bar. This behaviour has been here a long time, as long as I can remember, and I sort of just compensate for it by never opening stuff at the very bottom, but scrolling first to make room. ++Lar: t/c 14:43, 5 March 2006 (UTC)
- Me too, although I have been in the habit of holding shift and dragging the popup further up the screen if I forget to scroll up first. Thanks to this thread I now see that I can also use the scrollwheel - brilliant. --Cactus.man ✍ 15:26, 5 March 2006 (UTC)
Revert summary
I have some problems. The first "%s" in the revert summary is date and not previous contributor's ip/user name. Is that legally to copie the code from "User:Lupin/popups.js" and create a own popups.js, only with this fix? I will create a own revert summary; "Revert to last version by %s using popups" (marked as minor edit). I can't javascript, so a simple description to what i must edit in the code in my own popups.js to fix this is welcome. Fdp 23:55, 6 March 2006 (UTC)
- Sure, you can if you want to. Better would be for me to let you use $1 $2 $3 instead of/as well as %s. I'll think about this some more. Lupin|talk|popups 04:06, 7 March 2006 (UTC)
- I've implemented this change in the dev version. You should now be able to use 'Revert to revision by $2' and it should do what you want. (Note that such a summary is ambiguous, since popups don't always revert to the last revision by a particular editor). Lupin|talk|popups 02:25, 9 March 2006 (UTC)
- Works fine, great, brilliant! Well done! You're approaching your next star, just so you know it. :) (But also note the possible time stamp bug.) --Eddi (Talk) 04:02, 9 March 2006 (UTC)
Is this usable now? The dev version still has:
'defaultpopupExtendedRevertSummary': 'Revert to revision dated %s by %s, oldid %s using [[:en:Wikipedia:Tools/Navigation_popups|popups]]'
It would be great to be able to customise this string. Thanks. --Cactus.man ✍ 07:27, 9 March 2006 (UTC)
- It should work, yes. Don't try to alter that variable though, use the option popupExtendedRevertSummary instead. (Don't let the lack of $n in the script fool you, it should understand both the new syntax and the old syntax). Lupin|talk|popups 00:20, 10 March 2006 (UTC)
- OK, thanks - I'll give it a try. --Cactus.man ✍ 13:06, 10 March 2006 (UTC)
- I modified this string in my personal string file, which is based on the strings of the dev version, and it worked fine. But I see the point in tailoring monobook.js instead of some general string file, because that file may be shared between several users, especially if the file is translated, even if it's located in one individual's user space. I think I'll revert the general file to %s and leave the $'s to monobook.js. --Eddi (Talk) 03:06, 10 March 2006 (UTC)
popups and IE6
I run Firefox 1.5.0.1 on Win XP SP2, and frequently suffer from unresponsive script warnings on Contribs and Log pages where &limit=500
or greater. In these cases I switch to IE, but popups does not work AT ALL for me on IE. Any ideas how to fix this anyone? Thanks. --Cactus.man ✍ 11:14, 7 March 2006 (UTC)
- It's possible that this is not caused by the popups, but it still my fault. I committed a change to mediawiki CVS that lets you shift-click to select ranges of checkboxes. This made pages with long bullet lists load slowly, which could be the cause of your problem (or it could be the popups, I'm not sure at the moment). I've since committed what I believe is a fix for the checkbox issue, but it hasn't been made live yet. So I'm going to wait and see if that fixes things before looking for answers in the popups script :) Lupin|talk|popups 02:22, 9 March 2006 (UTC)
- I'm not sure why things don't work at all for you in IE, but note that Zocky's picture popups aren't IE-compatible. I'd suggest disabling them for IE stuff and see if popups start working. Lupin|talk|popups 02:23, 9 March 2006 (UTC)
- Ah, OK. Thanks for the answer. I'll just wait and see if your mediawiki fix sorts things out. It's not that big a deal to click "stop script" on a few alert boxes in the meantime. Also, I don't know what you've changed in the dev version, but I now get popups and diff previews on (top) links on contribs pages. :-) Fantastic, keep up the good work. --Cactus.man ✍ 09:05, 12 March 2006 (UTC)
Popups and Mozilla v. 1.6
Popups seem to be working fine except for that I can't access the submenus. When I put the cursor over the 'actions' menu, it shows the menu, but if I move the cursor off the 'actions', the menu dissappears, meaning that I can't access any of the features. Perhaps some of my browsers settings are interfering? ---Marcus- 18:11, 8 March 2006 (UTC)
- I upgraded to 1.7 and now it works just fine---Marcus- 18:47, 8 March 2006 (UTC)
Locale String
In your insertDiff function, you use toLocaleString() to output a Date object. This is actually confusing because I've set all my other Wikipedia dates to use UTC time. Could you change it to toUTCString(), or at least provide this as an option? Superm401 - Talk 02:44, 17 March 2006 (UTC)
- In the dev version, you can now set popupDiffDatePrinter='toUTCString' and it should do what you want. Lupin|talk|popups 01:12, 19 March 2006 (UTC)
While using popups to view the differences in this Talk section, I received the error "Bad word: toLocaleString. Please report this error" David 05:02, 22 March 2006 (UTC)
- Cool, a bug I anticipated :) I like those. Should now be fixed in the dev version. Lupin|talk|popups 02:04, 24 March 2006 (UTC)
Cut buffer interaction?
Hi, long time user, first time caller. OK not really, I've posted here before. Anyway, I've noticed a behaviour starting a few days/weeks ago that I'm not sure I like, wondering if others see it too. If I am editing an article and I place text containing a link ([[]]) in my cut buffer (because I deleted it or want to move it, etc). that link gets popped up. This can be disconcerting because it's in the way, and it isn't something I wanted. Worse, it freezes editing, so if I am furiously typing away, any keystrokes after the cntl-x or cntl-c are lost until I clear the popup away. Is this just me? Is it stoppable? I briefly looked at the options but may have missed one... or is this what popupOnEditSelection controls? Thanks. ++Lar: t/c 12:04, 17 March 2006 (UTC)
- C'mon now, you gotta at least give the developer(s) a clue as to which operating system and browser you're using. Ewlyahoocom 15:36, 17 March 2006 (UTC)
Edit count and Wiktionary
Edit counter option gives wrong URL in finnish Wiktionary:
http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=wiktionary_p&user=Hartz
It should be:
http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?user=Hartz&dbname=fiwiktionary_p
Thanks. --HartzR 15:52, 18 March 2006 (UTC)
- Thanks for the bug report. I've tried to fix this in the dev version, but haven't tested it. Lupin|talk|popups 01:10, 19 March 2006 (UTC)
- Tested the dev version and it's working! --HartzR 07:12, 19 March 2006 (UTC)
Previewing of references using popups
A discussion has started at Talk:Nintendo_Revolution#The_new_references about whether it's possible for popups to preview a reference that's pointed to. Appreciate any thoughts on whether this is possible already, whether it's technically possible (enhancement request?) or perhaps there's another approach which can solve this scenario? Thx. --OscarTheCattalk 20:13, 19 March 2006 (UTC)
- That shouldn't be too difficult. Based on the existing script, you can something like this:
var anch=decodeAnchor(pg.current.article); var note=document.getElementById(anch); setPopupHTML(note.innerHTML...);
--Superm401 - Talk 23:48, 19 March 2006 (UTC)
- Wow, that's pretty rapid. Cheers. --OscarTheCattalk 07:15, 20 March 2006 (UTC)
Misuse
Are you aware that your tool is not only a helpful to revert vandalism, but also to silence unwanted content edits? I'd appreacaite, if you would condems misuse in such a manner. Thank, you. --Fossa 03:51, 20 March 2006 (UTC)
- Could you be more specific about what you are referring to? Pegasus1138Talk | Contribs | Email ---- 03:56, 20 March 2006 (UTC)
- I assume he's referring to the automatic revert link. However, edit warriors will always find a way to ply their trade; two extra clicks won't stop them. Superm401 - Talk 04:22, 20 March 2006 (UTC)
- Maybe if we add a third click :) Pegasus1138Talk | Contribs | Email ---- 03:14, 24 March 2006 (UTC)
- Superman401 is right, that's what was referring to. Problem is, that Popups includes a revert message that expresses even more disdain to the reverted author than no comment at all. I realize that the included Version-id- s meant to encourage transparency, but the "using popups" part sounds (and often is) a robotic message. How about putting "Reverted User:XY 's edit to User:ZY's edit" as the default messsage?--Fossa 03:04, 26 March 2006 (UTC)
Script detect inexistant images
If a template in the article happens to have an undefined "image" variable, (eg, |image=|foo=bar
in the source), the script will detect an image even though there is none in the article. Circeus 02:03, 28 March 2006 (UTC)
Error
On the latest revision of the article Jim Cummings I get a "Bad word: constructor" error using popups. It says to report it, so there you go. --Closedmouth 03:14, 31 March 2006 (UTC)
While hovering over the "diff" on this very item, I got the Bad word: constructor error message also. David 15:17, 31 March 2006 (UTC)
Null edit summary when reverting from diff page
If I view a diff page, hover over the link to the old version on the left-hand side, then choose to revert to that version, I get a blank edit summary. I've switched on the option to let me edit the summary, and it shows (null). Edit summaries work correctly if I choose the version from the history page. JRawle (Talk) 16:20, 4 April 2006 (UTC)
changelog
Is there also some kind of changelog what has been implemented and what has been fixed in previous releases....
- There's nothing formal like this, no. You could try the edit summaries in the history of User:Lupin/popups.js (and probably less usefully, User:Lupin/popupsdev.js) though. Lupin|talk|popups 03:21, 7 April 2006 (UTC)
Would using this tool dramatically increase the amount of data downloaded? I.e. does it automatically load all the pages to which the current page links? - sYndicate talk 14:14, 6 April 2006 (UTC)
- No, that's not how it works. Preview data is fetched on demand. Lupin|talk|popups 03:22, 7 April 2006 (UTC)
Mind-blowing!
Go wiki go! Woooooow! I whish I had know this about 1 year ago! Wooooow! great guys! Msoos 23:35, 7 April 2006 (UTC)
How do you load on demand?
I would say I'm mid-level at this stuff. I'm not a beginner, but I'm certainly nowhere near the complexity of this kind of thing. I saw the link to the overlib in the main article and I've wanted to add something like this to my own site. I'm just curious if there is some kind of modification I can make to that script (ie, I'm curious what method this script uses) to a) load the popup contents on demand, and b) not actually require any javascript function called in the href tag. Forgive me if it's a stupid quetsion. Thanks very much.
- As far as I know, you need some javascript to do the AJAX bit, which fetches data on demand. There are various libraries around which you can use to make this less painful. Overlib isn't actually used in the script any more, but that was just used to display the popups, not to provide their contents. Lupin|talk|popups 01:40, 11 April 2006 (UTC)
- I know that overlib is just the script that causes the popup (in an older version), but I'm just wondering how the current script calls the popup on without any script at all in the href tags (but only certain href tags that link to a wiki article. It's a really cool script. TheHYPO 17:59, 11 April 2006 (UTC)
Suggestion
I think it would be nice if you had an option similar to the set summary for reverts and set summary prompt for reverts to add options to be able to set summary and summary prompt for dab fixes, redirect fixes, and link removals as well. Pegasus1138Talk | Contribs | Email ---- 02:58, 12 April 2006 (UTC)
Marking reversions as minor edits
I've gotta say, I love Popups. They're just amazing- they make everything so much easier. Just a quick question: is there any way to mark reversions as minor edits? Thanks for making popups! They're great! --Darth Deskana (Darth Talk) 21:22, 13 April 2006 (UTC)
- I find the best way to do that is just hit the "minor edit" button really really fast. --D-Day(Wouldn't you like to be a pepper too?) 20:51, 20 April 2006 (UTC)
Advocacy?
This is the best software ever. What would it take to get it integrated into the "my preferences" section of Wikipedia? I think a lot of people would love this and momentum would build. Are there a group of popups-boosters out there? --Dwiki 08:49, 15 April 2006 (UTC)
too many options breaks script
I expanded from only using a few of the base options to adding some of the extra options for edit summaries and it just broke my monobook.js. I've had to revert back (see my js file for current working version) but the ones I experimented with that broke the script and everything else suddenly were:
// [[User:Lupin/popups.js]] - please include this line document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); popupAdminLinks=true; popupShortcutKeys=true; popupFixRedirs=true; popupFixDabs=true; popupRedlinkRemoval=true; popupRevertSummary=rvv; popupRevertSummaryPrompt=true; popupFixRedirsSummary=Redirect fixing per [[Wikipedia:Redirect]]; popupFixDabsSummary=[[Wikipedia:Disambiguation|Disambiguation]] repair; popupRedlinkSummary=Removing link to non existent page; };
Probably some way in which you implemented the new options or I did something that ended up being contradictory, either way any fix or way that I can fix it if it's an issue with my set of options would be appreciated. Pegasus1138Talk | Contribs | Email ---- 04:02, 18 April 2006 (UTC)
- The strings values should be enclosed in quotation marks. For example,
popupRevertSummary='rvv'; popupRevertSummaryPrompt=true; popupFixRedirsSummary='Redirect fixing per [[Wikipedia:Redirect]]';
- Note that boolean values (true or false) should not be quoted in this way. Lupin|talk|popups 05:15, 18 April 2006 (UTC)
- ah, thanks. I'll try it that way. Pegasus1138Talk | Contribs | Email ---- 05:17, 18 April 2006 (UTC)
View "diff"
This is an amazing piece of software. However, sometimes the difference in an edit(on my watchlist, for example) doesn't always show up in a popup. Is there a way to fix this? --D-Day(Wouldn't you like to be a pepper too?) 18:35, 18 April 2006 (UTC)
- Sorry, don't know. I see this too, now and again... most annoying. Lupin|talk|popups 04:45, 27 April 2006 (UTC)
Null edit?
Out of curiosity, what is the use of adding a null edit to an entry, making no changes whatsoever to a wiki artile? Cowman109Talk 22:53, 21 April 2006 (UTC)
- I think it's the same as purging the cache (i.e., putting "?action=purge" at the end of an article's URL). --Closedmouth 02:57, 26 April 2006 (UTC)
Only see a small preview
Can someone plz tell me why I only see a few lines of preview when I hover over a link. At the most its 10. Whereas the screenshot in Wikipedia:Tools/Navigation_popups shows about 20+. My options set in my monobook.js file are:
popupSubpopups=true; popupPreviews=true; simplePopups=false; popupImages=true; removeTitles=true; popupPreviewFirstParOnl=false;
- You're missing a y: it should be popupPreviewFirstParOnly, not popupPreviewFirstParOnl. Lupin|talk|popups 00:07, 24 April 2006 (UTC)
Bug: reverts to wrong version (sometimes)
I'm generally very happy with popups, it works nicely, even on the German WP. Thanks for that! However, in three cases out of 100+, popups made me restore vandalism rather than revert it, i.e. it reverted to the wrong version. Here they are: [16], [17], [18]. This happened when someone else was faster at reverting than I was. I hit 'revert' while seeing the diff between the last clean and the vandalized version. My configuration: Firefox 1.5.0.2 and XP Pro SP2, and, as you see, German WP. At that time, there was only popups in my monobook.js (I've now added godmode light for reverting).
It appears to me like popups doesn't go back to the (absolute) revision #foobar, but rather to the (relative) version "this-and-that-many edits back in time". This leads you into trouble, provided the revision history has changed in the meantime, and provided the software re-reads it before reverting. Note that among the three edits linked above, the first two go one step back in time, while the third one goes two steps back in time as intended, however ending up restoring the first vandal edit but not the second one. Hope that helps, --DerHerrMigo 07:15, 26 April 2006 (UTC)
- Ah, I think you've uncovered a nasty bug - thanks! Here's my diagnosis: for most links, this will never happen, but this will always happen if you use links like the diffs in contribs pages. This should be fixed in the dev version. Lupin|talk|popups 04:43, 27 April 2006 (UTC)
Suggestion for script popup
Hello,
A small suggestion for your script who is very good : to see the notes when there are in the popup. For example, I was in a page, with notes [1], and when we point the cursor on this, the article appear, but it could be better with the note in the popup.
That was a small suggestion, because I saw it. Thank you for your script, it's very well.
Nyro Xeo 14:52, 26 April 2006 (UTC)
Problem, maybe
Hi, I use opera 8.53, WInXP Pro, I have cleared my cache several times and followed a previous suggestion to make sure the comments have two slashes and not just one and I still can't make the pop ups work. I have enabled pop ups in my browser just in case and still nothing! Please help? Jaberwocky6669 04:45, 29 April 2006 (UTC)
- I see that it keeps replacing the popups code with a previous code that I used for an edit count. How do I make that go away? 68.18.178.147 04:48, 29 April 2006 (UTC)
- I figured it out! I can't have more than one thing in my .js file I guess and so I deleted that previous code, saved again, and then put in the template! Jaberwocky6669 04:53, 29 April 2006 (UTC)
Fix link to CSS
Hi!
Could someone point the link directly to MediaWiki:Gadget-navpop.css instead of User:Lupin/navpopdev.css (which just import MediaWiki:Gadget-navpop.css anywway)? This page is used by external users to enable pupups, according to its documentation. Helder 22:09, 30 September 2011 (UTC)
- Already done after your first request. :) Amalthea 07:35, 2 October 2011 (UTC)
HTTPS
Please change the first two lines to:
var popScript = '//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-popups.js';
var popStyleSheet = '//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-navpop.css';
i.e. use protocol-relative URLs. Thanks. Liangent (talk) 12:24, 2 October 2011 (UTC)
- I have the exactly same request ;)
- Please have a look at my request at User talk:Lupin/navpopdev.css, too.
- Thanks in advance! — Arkanosis ✉ 14:46, 2 October 2011 (UTC)
UTF-8
Dear Lupin! I very much like your popups.js. It has a bug, though (at least it seems so on Nynorsk Wikipedia. Links containing letters A-Z works fine, but letters outside that rank (of which there are 3 in Norwegian, æøå), come up with the Latin 1 values of the two UTF-8 parts of each letter outside the ascii repertoire. The whole Wikipedia is UTF-8, it is thus sad that your fine tool is not. All the best, Trondtr (talk) 16:35, 12 November 2011 (UTC).
Hi. The popups still call people "autoreviewer" when the userright is now called "autopatrolled". Could someone please fix this? Thanks. It Is Me Here t / c 17:34, 7 January 2012 (UTC)
Deprecated
Please append the following to the script in order to make sure that people are encouraged to stop using it, and using the Gadget instead.
if ( typeof mw !== 'undefined' ) {
mw.loader.using('jquery.jStorage', function() {
var k = 'User:Lupin/popups.js',
t = 'Information: You are importing User:Lupin/popups.js' +
' into your common.js or <skin>.js!\n' +
'This script is unmaintained. Please remove this inclusion and enable the Navigation popups Gadget in the preferences of your account instead.',
x = $.jStorage.get( k );
if ( !x ) {
$.jStorage.set( k, 1 );
alert( t );
} else {
x++;
$.jStorage.set( k, x );
if ( x % 25 === 0 ) {
mw.notify( t );
}
}
});
}
—TheDJ (talk • contribs) 10:17, 8 August 2015 (UTC)
- Done — Mr. Stradivarius ♪ talk ♪ 17:28, 9 August 2015 (UTC)
- Instructions for installing the supported version in global.js : Wikipedia:Tools/Navigation_popups#Installation. --V111P (talk) 22:15, 11 August 2015 (UTC)
TheDJ, can we change the message to something better, for example: You are using an unmaintained version of Navigation Popups, please see the instructions at en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups#Installation
Some wikis are using User:Lupin/popups.js as a gadget, so I'm sure your message is very confusing to their users. Examples: [19], [20].
Also, some people may be using it in their global.js or in their common.js on wikis that don't have NavPopups as a gadget and they may also be very confused now.
--V111P (talk) 18:53, 30 August 2015 (UTC)
This page is for discussing Navigation popups and reporting bugs you encounter with it. Please be aware that the original author of Lupin Anti Vandal Tool (Lupin) is no longer active on Wikipedia. As such this tool is currently unmaintained. All issues are handled at the discretion of other experienced editors.
Not sure how to explain your problem clearly? Read How to Report Bugs Effectively for some general pointers. If you have trouble with the script, please mention your browser, browser version and operating system.
no archives yet (create) |
Filter recent changes works in FF again
So, I'm not sure if it's due to the changes mentioned above, or whether Mozilla redid the Firefox regex engine again, but Filter Recent Changes now works in Firefox as of FF 10.0.2. —Darkwind (talk) 16:38, 9 March 2012 (UTC)
Red coloring in diff display
So for a while now, the diff display in AVT has not been coloring the added/removed text in red. Turns out this is because MediaWiki moved the CSS for diff display to a separate call to load.php, which is not loaded unless you're viewing an actual diff page.
To resolve this, and restore the red coloring in diffs in AVT, you can add the following CSS code to your common.css (or vector.css or whatever), with no linebreaks:
table.diff,td.diff-otitle,td.diff-ntitle{background-color:white}td.diff-otitle,td.diff-ntitle{text-align:center}td.diff-marker{text-align:right}td.diff-lineno{font-weight:bold}td.diff-addedline{background:#cfc;font-size:smaller}td.diff-deletedline{background:#ffa;font-size:smaller}td.diff-context{background:#eee;font-size:smaller}.diffchange{color:red;font-weight:bold;white-space:-moz-pre-wrap;white-space:pre-wrap;text-decoration:none}table.diff{border:none;width:98%;border-spacing:4px; table-layout:fixed}table.diff td{padding:0}table.diff col.diff-marker{width:2%}table.diff col.diff-content{width:48%}table.diff td div{ word-wrap:break-word; overflow:auto}
—Darkwind (talk) 01:55, 10 March 2012 (UTC)
- While adapting the script for Portuguese Wikipedia, I found some bugs in the MediaWiki code which formats the RSS feeds (
34798[fixed] and 34800) which I believe may be affecting the coloring of the diffs used by this script. I think it should be migrated as soon as possible, to stop using something like - to get the list of recent changes, and start to use the API to get lists (in JSON) such as these:
- Helder 00:21, 11 March 2012 (UTC)
- I absolutely agree that the script should be converted to use the API as soon as possible -- it will be more responsive, less resource intensive, and so on. However, that's not the cause of the diff problem (although the problem might go away after conversion, it probably won't as long as the script is run by viewing a User: page).
- The current problem is that although the diffs are already being returned with the correct <span> wrappings with the right CSS classes to display the diff colors (i.e. span.diffchange.diffchange-inline), there's no CSS style information included on the page for those classes.
- There is specific CSS styling in the MediaWiki software for diff color display. In the past, this CSS was downloaded for every page request. However, at some point, the decision was apparently made to stop providing that particular stylesheet unless the URL being requested contains a &diff= argument. To be more specific, the following HTML tag only appears when you actually view a diff by using a (diff) link: <link rel="stylesheet" href="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=mediawiki.action.history.diff&only=styles&skin=vector&*" type="text/css" media="all" />. That tag does not appear on User:Lupin/Filter recent changes because the server thinks it's not actually a diff page, which means the diff-specific stylesheet never gets loaded.
- The workaround is to force the issue by copying the CSS style information from that sheet to your common.css (or $skin.css, whatever). Doing this means the CSS classes already being used by AVT would now have the corresponding style information, and the diffs are magically red again. It's probably possible to trim down that style info from what I provided (I just pasted the whole of the stylesheet in question), but it's an effective workaround. —Darkwind (talk) 10:08, 11 March 2012 (UTC)
- Actually, this is just a dependency issue: any gadget or user script which depends on a module (e.g. "mediawiki.action.history.diff") should indicate this explicitly in order to allow the Resource Loader to make sure that the content of the module (in this case, mediawiki.action.history.diff.css) is available. You can check this by typing the following on Google Chrome console (other browser may have similar tools):
mw.loader.load('mediawiki.action.history.diff');
- (it will insert the <link> tag you have mentioned). Since the AVT is not a gadget, some part of it should be wrapped in
- Actually, this is just a dependency issue: any gadget or user script which depends on a module (e.g. "mediawiki.action.history.diff") should indicate this explicitly in order to allow the Resource Loader to make sure that the content of the module (in this case, mediawiki.action.history.diff.css) is available. You can check this by typing the following on Google Chrome console (other browser may have similar tools):
- The workaround is to force the issue by copying the CSS style information from that sheet to your common.css (or $skin.css, whatever). Doing this means the CSS classes already being used by AVT would now have the corresponding style information, and the diffs are magically red again. It's probably possible to trim down that style info from what I provided (I just pasted the whole of the stylesheet in question), but it's an effective workaround. —Darkwind (talk) 10:08, 11 March 2012 (UTC)
mw.loader.using('mediawiki.action.history.diff', function(){ /* Here goes the AVT code */ });
- Helder 22:51, 11 March 2012 (UTC)
- Actually, the above will not work, because the Mediawiki RSS feeds for some reason contain hard-coded "style=" attributes instead of using the CSS classes to format the diffs; even if the correct CSS stylesheet is loaded, the hard-coded font colors and other styles will still be used. The only real solution seems to be to convert to using the API instead of the RSS feed. --R'n'B (call me Russ) 16:21, 17 May 2012 (UTC)
Filter IP Edits
Is it possible to include an option to filter edits only made by IP users? Thanks. FrigidNinja (talk) 12:20, 7 February 2013 (UTC)
- Yes, there is. User:Lupin/Recent IP edits is what your looking for. However, Lupin doesn't seem to have been active since September 2009... jcc (tea and biscuits) 19:52, 1 June 2013 (UTC)
- "Recent IP edits" is not filtered using the regexes a la "Filter recent changes". I think FrigidNinja (t c) was asking for an option that combines "Filter recent changes" with "Recent IP edits", which does not presently exist. TBQH, I doubt there will ever be any future substantial changes to this tool, because if it gets reworked to any degree, it should be converted to API, and that's just more effort than it's probably worth. —Darkwind (talk) 00:25, 2 June 2013 (UTC)
Updating Lupin??
I noticed today that occasionally when I do a 'rollback' on Lupin the edit appears to save. I then leave a warning on the editors page if necessary. However today I found several times that my edit rollback wasn't the one that went through - it didn't report an edit conflict but it was another editor who made the correction and also left a warning on the users page. So there were 2 warnings for the single edit. I have since then taken to checking that it was my edit before leaving the warning but it seemed to be a new situation, not one there a few days ago... Can anyone comment?-- 🍺 Antiqueight confer 18:34, 20 October 2013 (UTC)
- Are you using the "non-admin rollback" option in the tool? —Darkwind (talk) 06:55, 23 October 2013 (UTC)
- Yes - I started using the tool before I had rollback. If I turn off non-admin rollback will that make the difference? I'll try it out later -- 🍺 Antiqueight confer 08:48, 23 October 2013 (UTC)
Well - that certainly worked quickly. I'll have to pay lots of attention not to rollback in error!! But thanks - I hadn't thought of that.-- 🍺 Antiqueight confer 11:18, 23 October 2013 (UTC)
- Also, if you use TW, if you open the vandal's talk page from the rollback success window, the Warn window will pre-populate with the vandalized article/page name. It doesn't automatically populate if you open the talk page directly from the anti-vandal tool. —Darkwind (talk) 19:58, 23 October 2013 (UTC)
- Yeah - I have discovered I prefer to use TW for warnings rather than the Lupin tool - it lets me do the various levels as well. But I only discovered the tool prepopulates yesterday or today....Yesterday I think. Some of these tools are very clever and I just wish I had the skill to put all my favourite bits together into one! I am currently overdosing on tools :-)-- 🍺 Antiqueight confer 20:27, 23 October 2013 (UTC)
- One of the modifications I added to PILT was to report the names of articles where my revert had been successful, so that I don't end up warning vandals I hadn't reverted myself. I think Antiqueight will find that although switching to MediaWiki rollback speeds things up, so that he has more chance of winning the race, the problem of someone else having got there first will remain. Philip Trueman (talk) 09:40, 24 October 2013 (UTC)
Idea for Anti-Vandal tool!
Hey Lupin,
I have an idea for your amazing Anti-Vandal tool: Verify that different things are closed off, like quotations, apostrophes, perentheses, brackets, etc. For example, if you were quoting Homer (the Greek poet):
Homer is a Greek poet, who is well-known for writing poems. One of his poems (The Iliad starts off, "Sing, O goddess, the anger of Achilles son of Peleus, that brought countless ills upon the Achaeans.
People using your Anti-Vandal tool would receive a message on your Anti-Vandal page saying that there are an odd number of parentheses and quotations. The user would add a closed parenthesis after "Iliad" and add a quotation mark after "Achaeans".
Regarding possession (for example, "Newyorkadam's") there is correctly a single apostrophe. If you were to implement this idea, the checker would ignore apostrophes before or after an 's'.
Thanks!
Newyorkadam (talk) 23:41, 21 October 2013 (UTC)Newyorkadam
- This would require a new mode of the tool to be written, since the "filter recent changes" mode uses regular expressions, which are computationally incapable of matching brackets/braces/parentheses. If someone wanted to go to the effort of making a new mode of the tool, I think the effort would be better spent converting the script to use the MediaWiki API instead.
- Also, for well-meaning editors, there is already a bot which checks for unbalanced {, [, and ('s. If it finds an edit that results in unbalanced brackets of some kind, it leaves a message on the talk page of the user who made the edit. It doesn't do quotes, but it still lets people know if they accidentally make such a change. If you want to get a live feed of the bad edits BracketBot finds, there's apparently an IRC channel it streams to. —Darkwind (talk) 20:10, 23 October 2013 (UTC)
- Thank you very much for the information! :) Newyorkadam (talk) 03:19, 7 November 2013 (UTC)Newyorkadam
Lupin's tool rewrite (sort of)
As per some of the discussions above, I tried my hand at updating Lupin's tool to use the API instead of the RSS feed, but ran into several difficulties. Lupin wasn't very reliable at commenting his code, so it's hard to follow in places. Also, unlike the RSS feed, the API doesn't provide a mode that provides a list of recent changes along with diffs for each edit -- you have to download the list of changes, then download each diff individually to match against the badwords list, which completely screws with the flow of Lupin's code.
I decided it's basically easier to start over again, so I've re-implemented the basic functionality as Darkwind's Anti-Vandal Tool. It's still in a very early stage of development (the only mode currently is equivalent to "filter recent changes"), but it's usable, and I'd appreciate any feedback and/or suggestions you all may have. You can read more about it and get installation instructions at User:Darkwind/DAVT. —Darkwind (talk) 05:45, 1 November 2013 (UTC)
Not working
Recently, I see no pages when I start the Anti-vandal Tool. I have to refresh the tool over and over to get it working. What could be going on? Cache problem? I tried Control + F5 but that doesn't help.- Gilliam (talk) 13:09, 29 January 2014 (UTC)
- Same. I just discovered that on the revision history page of the tool, at the bottom the filter works and runs fine. It obviously isn't optimal, but it works for now. -Newyorkadam (talk) 13:32, 29 January 2014 (UTC)Newyorkadam
- Thanks! I would not have thought to look there.- Gilliam (talk) 13:46, 29 January 2014 (UTC)
- It seems to be working fine now. -Newyorkadam (talk) 20:00, 30 January 2014 (UTC)Newyorkadam
- Thanks! I would not have thought to look there.- Gilliam (talk) 13:46, 29 January 2014 (UTC)
Suggestion
Hello, I have a easy suggestion for Your Anti-Vandal tool, Could you add a option to ignore words that are put in between Reference Tags? There have been a lot of instances where I look into a word and i see that it is in A reference. Thanks,
Happy Attack Dog (Bark! Bark!) 13:47, 13 May 2014 (UTC)
Some questions
- Why does "didn't" keep appearing as a misspelling? It is correct, whereas "didnt" would be incorrect. I think I am going to remove it from the list.
- Is there a way to update the word list, to not monitor certain words on the fly, instead of changing it for everyone? For example, in addition to the above, every time I see "wanna" it is correct, as part of a title.
Thanks, BollyJeff | talk 15:08, 13 October 2014 (UTC)
- I think I have the answer to the first part. Someone recently added it to the list, citing MOS:N'T. So it is a style issue, not precisely a misspelling. Does anyone have opinions on keeping this as is, or putting back? It greatly enhances the number of hits on the tool. BollyJeff | talk 15:31, 13 October 2014 (UTC)
- I think "didn't" should be removed from the list, since it is not a misspelling and despite the style guideline, there are situations where it is preferable to "did not". It also often appears in quotations which should not be edited. Likewise, "didnt" should suggest "didn't" as the correct form. Dwpaul Talk 01:29, 26 November 2014 (UTC)
No misspellings are coming up.
Help? ThatKongregateGuy (talk) 02:00, 6 June 2015 (UTC)
Translation of the anti-vandal list and tool
Is it allowed for me to make a translation of the anti-vandal tool and list for use on Wikipedia in other languages? Dakar (talk) 01:56, 30 July 2015 (UTC)
Customization
Hello Cacycle--
I sent an email to Lupin, but I do not think he will be responding any time soon.
I wanted to ask, how might I go about creating my own badwords list? I use the Filter Recent changes script almost every day, and would like to perform testing on a custom badwords list, without interfering with the general list used by others.
With proper attribution, would this be okay to do? I am not a programmer by trade, would it be as simple as copying the script to my user page and then changing the pointers for the badwords file?
Thank you for your time and any insight or assistance you may offer. Kind regards, Yamaguchi
- Hi Yamaguchi, I think the only way to customize this script is to run your own copies of the script itself and the badwords page. Just copy the script to e.g. User:Yamaguchi先生/recent2.js and the badwords page to User:Yamaguchi先生/badwords and then change the line "badwordsPage: 'User:Lupin/badwords'," to "badwordsPage: 'User:Yamaguchi先生/badwords',". Cacycle (talk) 12:27, 6 February 2016 (UTC)
"Use non-admin rollback" - should check both "sysop" and "rollbacker"
Hi, in the script at User:Lupin/recent2.js, recent2.userIsSysop should include a check for whether the user is a rollbacker, because rollbackers can use admin rollback. (it's also faster than non-admin rollback javascript anyway). (recent2.userIsSysop) — Andy W. (talk · contrib) 17:46, 5 April 2016 (UTC)
- Scratch that. I'm thinking that, due to updates in Wikimedia policy, only Lupin can edit the script now...? I made my own js at User:Andy M. Wang/recent2.js that takes that into consideration. Thanks anyway — Andy W. (talk · contrib) 18:52, 5 April 2016 (UTC)
- @Andy W.:, you may request an edit by using {{editprotected}}. But I would ask that you get someone else to check your code before requesting, just to be safe — Martin (MSGJ · talk) 20:02, 6 April 2016 (UTC)
- @Andy M. Wang: fixing the ping — Martin (MSGJ · talk) 20:03, 6 April 2016 (UTC)
Rollback function seems to have been changed
There is an ongoing discussion about a change in rollback behavior at the Village Pump. I currently believe the change breaks LAVT for admin rollback. Non-admin javascript rollback seems fine. The discussion is here. — Andy W. (talk · ctb) 00:02, 27 May 2016 (UTC)
Tag edits made by this gadget
This script should add a tag to its edits, so that users can filter them on recent changes (this is already possible for huggle, WPCleaner and ProveIt for example). Helder 17:08, 29 December 2017 (UTC)
- @He7d3r: I'm not sure how useful this feature would be, but you would need to raise a Phabricator ticket. See Wikipedia:Tags. Though not quite the same thing, if you simply wanted to change the text that Lupin's tool leaves (as I've done) you can do this by making a copy of the .js file and then editing line 874 to suit your needs. Regards from the UK. Nick Moyes (talk) 23:24, 12 February 2018 (UTC)
Ignore safe pages
What does ignore safe pages mean?--Tyw7 (☎ Contact me! • Contributions) 10:47, 26 May 2018 (UTC)
Lupin's Spellchecker not functioning (or is it just me?)
The spellchecker script disappeared from my Tools menu back around October 2019. But I use my own copy which I've tweaked to give better edit summaries, and to run for longer). Having reinstalled the original Lupin script into my commons.js file, the Tool is visible again on the left side of every page, but still will not function.
Superficially, Lupin's tool appears to run and report likely spelling errors, as normal. So...
- ...clicking the highlighted 'error' in the Lupin report correctly opens a new edit page for the relevant article, and
- it also correctly populates the edit summary with the suggested change.
However:
- Very significantly, no change to the article text has been made, and 'Show Changes' which normally automatically displays the old and new suggestion does not load, nor will it do so by manually clicking the 'Show changes' button.
- The following bold text is displayed at the top of the page: The "Show changes" button has been automatically clicked. Please wait for the next page to load. But nothing happens.
- The edit summary field is correctly populated with the proposed change, despite the proposed change itself not having been entered.
Example: Lupin reported the word 'particulary' as an error in in this version of an article. Clicking particulary in the report led to this editing page Note the absence of any correction, and the bold warning message, plus the edit summary stating: Correcting spelling: particulary->particularly
I do know Lupin's tool is old, but I'm unaware of any better live-monitoring script, so it would be a shame to lose it completely - assuming it can be rescued. Pinging @Amorymeltzer, TheDJ, and R'n'B: who have all contributed to these script changes, one or more of which might have impacted on its functioning. (I'm not sufficiently clued up to know what does what, sorry!) Nick Moyes (talk) 18:39, 1 January 2020 (UTC)
Lupin not working after cache bypass
I performed all the installation steps, but nothing happened. Why is that? Firestar464 (talk) 03:49, 13 October 2020 (UTC)
Great!
This is such a great tool, thanks for making it! Mcguy15 (talk) 14:00, 29 April 2021 (UTC)
Is this tool still functional?
In the past few years I've noticed that I no longer get any hits on either recent changes or the live spellcheck. I've turned off any script blockers that may interfere and still nothing. Is it just me or is the tool finally down for good? Blue Edits (talk) 11:21, 28 July 2023 (UTC)
Uninstall
How do I uninstall this application? BenSmiththeGreat (talk) 18:46, 24 April 2024 (UTC)
Disabling/uninstallation
I can't find any way of uninstalling this script. I also can't find it in my commons js. Safari ScribeEdits! Talk! 21:50, 2 May 2024 (UTC)
Editing this
Lupin, do you mind if I edit this to add some more keywords/change the code a little? I can test it on my own user account first so as not to mess everyone else up, but do you mind? -Mysekurity(have you seen this?) 09:50, 11 December 2005 (UTC)
- I don't have any huge objection, although my preference would be for you to explain the changes you want to make and show me the version you want to change to. Lupin|talk|popups 16:53, 11 December 2005 (UTC)
Warn
linkmaker(wikiBase + 'User_talk:' + bundle.editor + '?action=edit' + '&autoedit=s#$#\{{subst:test1-n|' + bundle.articleTitle + '}}%20~~~~#&autosummary=Your%20recent%20edits','warn')
Lupin, What do you think about replacing the code-piece above with the one below
linkmaker(wikiBase + 'User_talk:' + bundle.editor + '?action=edit' + '&autoedit=s#$#\n==%20Regarding%20your%20edits%20on%20[[' + bundle.articleTitle + ']]\n\n{{subst:test1-n|' + bundle.articleTitle + '}}%20~~~~#&autosummary=Your%20recent%20edits%20on%20' + bundle.articleTitle,'warn')
I feel this would make a better talk entry. --kkailas 12:24, 18 May 2006 (UTC)
New vandalism templates
This code should add 3 new links to the test, vandalism and delete templates defined in WP:UTM. That would be nice if you could support these, since they are real nice :) -- lucasbfr talk 21:46, 22 January 2007 (UTC)
linkmaker(wikiBase + 'User_talk:' + bundle.editor + '?action=edit' + '&autoedit=s#$#\{{sub'+'st:uw-test1|' + bundle.articleTitle + '}}%20#&autosummary=Your%20recent%20edits', 'test') + ' | ' + linkmaker(wikiBase + 'User_talk:' + bundle.editor + '?action=edit' + '&autoedit=s#$#\{{sub'+'st:uw-vandalism1|' + bundle.articleTitle + '}}%20#&autosummary=Your%20recent%20edits', 'vand') + ' | ' + linkmaker(wikiBase + 'User_talk:' + bundle.editor + '?action=edit' + '&autoedit=s#$#\{{sub'+'st:uw-delete1|' + bundle.articleTitle + '}}%20#&autosummary=Your%20recent%20edits', 'del') + ' | ' +
Recent IP edits etc.
Shouldn't 'Recent IP edits' be implemented by adding an '&hideliu=1' to the 'feed' string, rather than by requesting all edits and then filtering out those whose editors match a RegExp? The same applies to hiding one's own edits ('&hidemyself=1'). Or doesn't the RSS feed work that way? Philip Trueman 10:35, 14 May 2007 (UTC)
Edit
{{editprotected}}
Please replace
'Reverted edits by [[Special:Contributions/' + escape(bundle.editor) + '|' + escape(bundle.editor) + ']] to last version by ' + escape(prevEditor);
with
'Reverted edits by [[Special:Contributions/' + escape(bundle.editor) + '|' + escape(bundle.editor) + ']] ([[User talk:' + escape(bundle.editor) + '|talk]]) to last version by ' + escape(prevEditor);
For consistency with the edit summary of the admin rollback tool (see e.g. [21]). Melsaran (talk) 16:22, 2 October 2007 (UTC)
I assume Lupin can do this, so admin help isn't required. — Carl (CBM · talk) 17:25, 2 October 2007 (UTC)
Small fixes
Hi!
Could someone please replace the current code by this fixed version from my common.js? Here is what I changed:
- Fixed the watchlist monitoring, which was broken since rev:84718 was merged into MediaWiki (see also User talk:Lupin/Anti-vandal tool/Archive 4#watchlist, and the related fix from 2007);
- Fixed the error handling of the two requests (broken in this edit), by replacing one occurrence of "
getWatchlist
" by "recent2.getWatchlist
", and "getSpelldict
" by "recent2.getSpelldict
" - Replaced the "
parseJavascript
" from this edit by "recent2.parseJavascript
" - Used
mw.config.get
to access the MediaWiki variables (they are not global if$wgLegacyJavaScript = false
, as in Translatewiki.net, and in the future on Wikipedia) - Removed deprecated "
ta
" code - Used jQuery instead of the old
addOnloadHook
- Added the configuration to make it possible to validate the code using the tool recommended by MediaWiki developers (jsHint)
- Fixed a few comparisons and declared a few variables suggested by the validator
Helder 17:04, 20 October 2013 (UTC)
- Can you confirm if you have been able to fully test the requested code? — Martin (MSGJ · talk) 08:22, 22 October 2013 (UTC)
- MSGJ, I tested, and now I noticed also an old bug which will be fixed by this new version of the script. Helder 18:40, 22 October 2013 (UTC)
A few simplifications
Hi!
I simplified the script a little and made a few other updates:
- Use
mw.util.wikiGetlink
to get the value of the href attributes - Use protocol relative URLs
- Escape strings with
$.escapeRE
before using them as part of a regex - Fixed another regex
- Use
<span>
instead of the deprecated<font>
element - Do not duplicate values which are already available through
wgNamespaceIds
- Remove unused global function
window.clickDetails
; - Use
$.inArray
to check if 'sysop' is in the arraywgUserGroups
- Use the standard
mw.util.addPortletLink
instead of a customrecent2.addToolboxLink
- Use the standard
mw.util.getParamValue
instead of a customrecent2.getParamValue
- Use (a shortcut for) the standard
$( document ).ready( handler )
instead of a custom recent2.runOnLoad - Compare page names with
wgPageName
instead of calling a function to build a regex which detects variations in the usage of spaces and underscores - Rename a two variables to make it clear they contain a page name (not an URL)
- Add missing semicolons;
- Add FIXME comments to highlight parts of the code which still needs improvements
- Fix trailing comments
- Use dot notation for objects (
this.that
) instead of strings (this['that']
) - Make sure all dependencies are loaded before using them
- Also load the module "mediawiki.action.history.diff" to improve the formatting of the diffs (related to bugzilla:34798 / bugzilla:34800)
- Update jsHint config to match this improved version
Could someone merge these changes? Helder 16:21, 23 October 2013 (UTC)
- Okay I'll take it for granted that everything is tested :) Done — Martin (MSGJ · talk) 19:24, 23 October 2013 (UTC)
IPv6 compatibility (and minor fixes)
Hello again!
I improved the script a little more:
- Added IPv6 compatibility
- Added missing
new
operators and curly braces around blocks - Converted some expressions to more understandable if statements
- Converted some RegExp constructors to literals
- Used $.escapeRE to escape regular expressions characters
- Removed unused global recent2.testPage
- Indicated the license of the script
- Formatted some multiline comments
- Updated jsHint configuration, to better match the config used on MediaWiki
Could someone merge the new code? Helder 16:29, 24 October 2013 (UTC)
Separation of logic and interface
I would like someone to make this update to the code:
- Move the interface messages into an object and use
mw.msg
to access them (this makes it easier to adapt the script to wikis in other languages) - Fix a bug I introduced in a previous update: the spellchecker links were not automatically fixing the text. This was because
recent2.getParamValue
considered the character "#" as part of the parameters whilemw.util.getParamValue
doesn't. I've replaced "#" by another character ("♫").
Helder 18:30, 25 October 2013 (UTC)
- Done — Mr. Stradivarius ♪ talk ♪ 03:51, 27 October 2013 (UTC)
Replace "wikiGetlink" by "getUrl"
Hello!
Please replace the 5 occurrences of "wikiGetlink" by "getUrl" (as I did on Portuguese Wikipedia), per bugzilla:55764 / gerrit:94270). Helder 21:37, 11 November 2013 (UTC)
window.AVTAutoEdit
TheDJ, are you sure the old window.AVTAutoEdit
and window.autoEdit
can be merged into a single window.AVTAutoEdit
? Helder.wiki 13:26, 2 April 2014 (UTC)
- @Helder.wiki: Good point. fixed now. I needed to get this split off, it was clashing with the globals from navpopups. my god our old gadgets are a mess. —TheDJ (talk • contribs) 14:13, 2 April 2014 (UTC)
Change to non-admin rollback edit summary
Please change the line 'avt-reverted-edits': 'Reverted edits by [[Special:Contributions/$1|$1]] to last version by $2',
to 'avt-reverted-edits': 'Reverted edits by [[Special:Contributions/$1|$1]] ([[User talk:$1|talk]]) to last version by $2',
in order to provide a link to the talk page of the user whose edits are being reverted and ensure consistency between edit summaries generated by the various rollback tools on Wikipedia. — Preceding unsigned comment added by My Chemistry romantic (talk • contribs)
jquery.mwExtension
Hi! Could you do a change like this to migrate from the deprecated module to "mediawiki.RegExp"? Helder 03:31, 18 August 2017 (UTC)
Needed mw.loader change
I propose to change line 1223 from "mw.loader.using( 'mediawiki.action.history.diff', function(){
" to "mw.loader.using( 'mediawiki.diff.styles', function(){
" -- the location of the diff CSS styles having recently changed. I'm posting this first in case anyone has an objection (if not, go ahead and do it!). --R'n'B (call me Russ) 18:08, 23 January 2018 (UTC)
- +1. See WP:Village pump (technical)#mediawiki.action.history.diff. Helder 20:13, 23 January 2018 (UTC)
Done --R'n'B (call me Russ) 20:58, 23 January 2018 (UTC)
- Ah - that would explain why my version of Lupin's spellchecker with my own tweaked .js file has stopped working. The change at line 1223 got it back functioning again. Thanks for posting this. Regards from the UK, Nick Moyes (talk) 22:36, 12 February 2018 (UTC)
A curious question
I may, perhaps, be harder to offend than the average american, but how is "all the pies" considered a "bad word"? :) - JustinWick 08:34, 31 January 2006 (UTC)
- See Who Ate All the Pies? - it's a "classic"
playgroundfootball insult. Lupin|talk|popups 16:19, 31 January 2006 (UTC)
- Wow, an informative response! Thanks, I learned something! - JustinWick 05:41, 12 February 2006 (UTC)
Suggestion
You should add more variations of the bad words. I can think of some you may have missed. Evan Robidoux 09:11, 24 February 2006 (UTC)
- Image:Human_feces.jpg
- suks
- kill, especially with exclamation points.
- Variations of the word "die," especially with exclamation marks (e.g.: "Die!")
That's all I can think of right now. Evan Robidoux 09:42, 24 February 2006 (UTC)
Another suggestion
terms youve missed are permutations of a,s,d, and f. on a qwerty keyboard if you mash the keys most people end up writing "asdasdasdf" or similar. vandal edits usually give an edit summary of mashed keys.-- Alfakim -- talk 18:02, 13 April 2006 (UTC)
- Actually, vandals usually give no edit summary, or only a section edit summary. This is probably because most of them are new users who haven't noticed the summary box.--Reverting 02:49, 6 June 2006 (UTC)
Regexp
Is it possible for this to support Regxps? It seems to me that a good number of these edits and such could be used for good (see this dif, where the word vegan was added...)? -Mysekurity [m!] 21:17, 27 April 2006 (UTC)
- Yes, I've had a go at this. Note that ( is replaced with (?: - the idea is that all paren groups are transformed into non-capturing parens so that it doesn't mess up script internals. This means that backreferences aren't possible and also that you should avoid opening parens apart from using them for grouping at the moment. Also, each regexp is treated as if it's surrounded by word boundary markers, it is made case-insensitive, and flags aren't supported. To add a regexp, surround it by forward slashes and add it to badwords. I haven't tested this much, so let me know how you fare... Lupin|talk|popups 02:13, 28 April 2006 (UTC)
More Bad Words
This is just a suggestion, I didn't add any of these.
REDIRECT--Maybe this will work against WoW, or redirect vandals.
chicks--as in "I like hot chicks.
stupid--"article is stupid--I'm surprised you don't already have this.
Also, many vandals like to type in ALL CAPS, so maybe you can do something about this.
- I disagree with REDIRECT, as it will give a huge number of false-positives for every time someone moves a page, or creates a redirect. It's broad words like this that make the tool much less useful. I'm going to remove it. -Mysekurity [m!] 01:20, 10 May 2006 (UTC)
Wang
How is Wang a bad word? It is a common Chinese family name. Andrew_pmk | Talk 02:37, 2 May 2006 (UTC)
- It is also slang for penis, along with about a million other words to refer to genitalia (there's a certain stigma attached to private parts, as I understand). This is the type of situation where I think REGXPs (see above) would work well. Unfortunately, I'm not too good with them, so if you have any suggestions based on Lupin's post above, feel free to tell me and I'll change the page. -Mysekurity [m!] 02:45, 8 May 2006 (UTC)
I couldn't think of a title for this...
What about ____ on Wheels? And they aren't all bad words. Just words vandals like to use.-Gangsta-Easter-Bunny 20:09, 5 May 2006 (UTC)
- It's already there (see "On Wheels"). -Mysekurity [m!] 01:19, 10 May 2006 (UTC)
Case sensitive?
Are the "badwords" listed here case sensitive? By that I mean will a word, say "bitch" still be detected if it is written "BITCH", for example, without a seperate entry for an all-caps version of the word having to exist?--Conrad Devonshire Talk 01:39, 9 May 2006 (UTC)
- They're all case-insensitive, so the answer to your second question is "yes". Lupin|talk|popups 02:32, 17 May 2006 (UTC)
- Here's the thing though... I've seen more than a few vandalous edits where the entire edit was done all in caps. is there any way that we can filter for an "all Caps" edit? Fbarton 00:19, 8 December 2006 (UTC)
Removed "fist"
I decided to remove "fist" from the list, but if anyone disagrees with this decision, feel free to undo it.--Conrad Devonshire Talk 21:37, 9 May 2006 (UTC)
Removed "woody"
I have decided to remove "woody" from the list of vandal terms.--Conrad Devonshire Talk 01:37, 17 May 2006 (UTC)
Moravia?
Why is "Moravia" on the list of vandal terms?--Conrad Devonshire Talk 21:54, 28 May 2006 (UTC)
- No idea :) Here's the diff. Lupin|talk|popups 01:39, 30 May 2006 (UTC)
Linkspam
I've added three links to the list. I don't think they should be banned from Wikipedia outright, but they have been added a lot recently and I'd like to keep an eye on them. If this is not the kind of thing we want on this list, feel free to remove them. Tom Harrison Talk 14:50, 3 June 2006 (UTC)
Badwords fork
Rather than ask for consensus every time I wanted to remove a false positive, I've split off my own badwords list which is slightly more optimized. Anyone who is interested is welcome to use it: http://en.wikipedia.org/wiki/User:Can%27t_sleep%2C_clown_will_eat_me/badwords -- Can't sleep, clown will eat me 02:32, 5 June 2006 (UTC)
- Forking is fine of course, but I'd rather people were bold and changed the page as they saw false positives or missing bad words crop up instead of trying to come to some sort of consensus in advance. If there's controversy there can be discussion, but I don't want anyone to think that there's a requirement to discuss before making changes. Lupin|talk|popups 06:51, 6 June 2006 (UTC)
gabenwell.com and churnedfortaste.com
I have added these two sites to the list. If you see a link to either one of them posted, DO NOT CLICK IT. It will cause a window with an offensive image to appear and will attempt to open tons of Outlook Express and and Instant Messenger windows and try to send e-mail to the GNAA. They were posted by now-blocked user Churnedfortaste. Another mirror of this site, hentai.net has also been spammed according to the Spam Blacklist but has since been blacklisted.--Conrad Devonshire Talk 03:06, 11 July 2006 (UTC)
- These to have now been added to the spam blacklist.--Conrad Devonshire Talk 21:30, 11 July 2006 (UTC)
Ho
Could someone please remove "ho" from the list? I looked for it myself, but couldn't find it.--The Count of Monte Cristo Parley 10:13, 1 August 2006 (UTC)
- Done. I couldn't find it either, so I wrote a script which I've included below for reference. Lupin|talk|popups 01:17, 2 August 2006 (UTC)
#!/usr/bin/env perl # usage: findbad.pl testword < badwords my $test=@ARGV[0]; while (<STDIN>) { next unless m!^/(.*)/$!; my $re=$1; if ($test =~ /$re/i) { print "$.: $_"; } }
Triple
I have removed "triple", as it was giving lots of false-positives, and I can't imagine any bad use of it. -Goldom ‽‽‽ ⁂ 11:50, 5 August 2006 (UTC)
- Apparently, I haven't, cause it's still showing up. Not sure what I actually did there, in that case, so I reverted in case it was something bad. If someone else could remove it properly, unless there's a reason to keep it, that'd be great. -Goldom ‽‽‽ ⁂ 11:54, 5 August 2006 (UTC)
TTT
Why is TTT flagged as a bad word? -- Selmo 04:33, 18 August 2006 (UTC)
nigger
What do you think of the idea of adding nigger(s) to the black list? I saw it twice tonight Lucasbfr 02:18, 20 August 2006 (UTC)
- I'm sorry, racial slurs are terrible things, etc, but that's a fairly amusing (hopefully unintentional) pun. Yes, I am that insensitive.- JustinWick 09:32, 7 December 2006 (UTC)
queer
I've been using your tool (which I LOVE) and a few times "queer" came up because the TV show "Queer eye for the straight guy" was mentioned. Is it possible to make that an exception to the scan for that word? Lauren 18:56, 20 August 2006 (UTC)
Regular expression idioms
Wherever a space appears in a regular expression, it could be replaced with \s* to allow one or more spaces to match. Also useful: (e?s|[e']?d|in[g']?|ers?)? to catch verb paradigms such as pick, picks, picked, picker, pick'd, picking, pickin', and so on. Peter O. (Talk) 02:53, 23 August 2006 (UTC)
Noxious SPAMmer
Since "datasheet4u.com" has done NOTHING but SPAM datasheet, could someone add this to the list to prevent sneaky insertions (It's already on the SPAM blacklist, but they just don't link it instead)? Thanx. 68.39.174.238 23:26, 5 September 2006 (UTC)
Regex
How come these two rules I made to match vandalism which often involve the use of more than 2 ?'s and !'s don't seem to work? What is wrong with them and what's athe right way of matching multiple question marks and multiple exclamation mark?
/!{2,}/
/\?{2,}/
Sir Vicious 01:34, 1 November 2006 (UTC)
- Regular expressions are awful. They never do what you expect them to do (or what documentation says they should do); they work differently on each system, and what's more, the huge amount of the afore mentioned documentation never seems to solve the problem. -Patstuart(talk)(contribs) 03:04, 1 November 2006 (UTC)
- Thanks for the comment. So, are there better ways of matching them? I've tried /!!+/ too but it did not seem to have the desired effect, it matched a single "!" too, weird. Sir Vicious 03:50, 1 November 2006 (UTC)
- Come to think of it, maybe I don't need to use regexp at all, I can just match ?? and !!, any case where more than 2 marks is used will also automatically be matched. Sir Vicious 03:59, 1 November 2006 (UTC)
- I've tried some stuff in the sandbox; it's picking up Niger (I added that as a reg ex actually to pick up nigar), but it's not picking up n00b, which is on the list either, and I could have sworn it would pick up. *Sigh*. Patstuart(talk)(contribs) 04:08, 1 November 2006 (UTC)
- Ha! As I typed this, look at this edit: [22]. and I thought picking up niger was bad! Patstuart(talk)(contribs) 04:09, 1 November 2006 (UTC)
- Hehe, yes, there is always an idiot out there who can't even vandalize right =) Sir Vicious 04:13, 1 November 2006 (UTC)
Possible or impossible
I don't know if this would be possible, but I've seen a lot of vandalism today where the user put their own username into an article. I found them through the badwords filter, but I wonder how much "Graffiti" we're missing because of this. Is there a way to check if the added text is equivalent to the editor's username? Fbarton 19:01, 8 December 2006 (UTC)
Innovative vandalism
Just came across this. Not sure how to add <nowiki> and </nowiki> to this list. —Dylan Lake 02:00, 13 December 2006 (UTC)
"Chicken" and "Cum laude"
- Why is "Chicken" a bad word? The vandal tool has been flagging a lot of harmless edits about KFC recently.
- I think that "Cum laude" should not be considered a bad word, even though "cum" is obviously one.
repetitions of hi
I've had several vandals recently doing repetitions of hi, e.g. hihihihihi. Can this be added? BlankVerse 00:33, 11 January 2007 (UTC)
Roland?
Why is "Roland" on the list... --Catz [T • C] 14:25, 13 January 2007 (UTC)
Another bad word?
MMM Commentaries - I've seen it inserted onto several pages (think petitiononline): 1 2 3 4 5 6 --science4sail talkcon 01:25, 23 January 2007 (UTC)
Sorted list
Folks, I am trying to use this list to scan for entries in the WP CD release - see Wikipedia talk:Version 0.5. To try to optimise this list, I sorted it, by the longest embedded string, and put the results at User_talk:Lupin/sorted_badwords. Could this please replace the parent page ? Can people optimise the list ? Wizzy…☎ 10:17, 7 February 2007 (UTC)
- Out of a list of 1991 articles, the following regular expressions were the most common to hit (and thus could use the most tailoring ..)
102 /(fried)?chicken/ 94 /rap(e[sd]?|ers?|ing)/ 53 /monkeys?/ 53 /dumb?(ass|arse|o|m?y)?/ 51 /fat(ty|ass)/ 49 /lesbian(s|ism)?/ 48 /sex(e[dr]?)s?/ 44 /chi(ck|x)s? ?(with ?di(ck|x)s?)?/ 40 /ma(de|ke[ds]?|king) out/ 37 /s?su(c?k|x)(a|ing|e[rd]|y)?s?/ 32 /stupid(ity|ness|er|head|ly)?s?/ 32 /loo?sers?/ 30 /s?su(c?k|x)(a|ing|e[rd]|y)?s? (my|your|his|her|its|their|our|each other|peter)?s?/ 29 /[a@]([s$][s$]+|rse?|zz)(ban(ned)?|s?e|fuc?k|h[0o][l1][e3]|head|hat|juice|lick(e[rd])?|ram(mer|ma)?|raper?|rapper|wiper?)?[sz]?/ 29 /cum(bucket|dumpster|felch(er|ing|ed)?)?s?/ 26 /rect(al|ums?)/ 26 /retard(s|ed(ly)?)?/ 24 /sodom(i[zst](e[rd]|ing)|y)s?/ 23 /butt-?(|breath|crack|fuck(e[dr]|ing)?|head|hole|lick(er|ing)|pirate|rape|sex|secks|wiper?)s?/ 22 /vagina(l|s)?/ 21 /an(us|al)(hole|tova|es)?/ 20 /r[ai]m(job|me[dr]|ming)s?/ 20 /c[o0]ck-?(|ass|bag|biter?|goggle|fucker|smok(a|e[dr]|ing|in|in')|head|face|nose|hole|suck(|a|e[dr]|ing|in|in')|thirsty?)?s?/ 19 /fetish(es|ism)?/ 18 /junk(ies?)?/ 18 /jerk(ing|ed|y|wad)?([- ]?off)?s?/ 17 /n[i1]gg?([e3]r|ar?|uh)(lover|ass)?[sz]?( stole)?/ 17 /w[au][sz] here/ 17 /d[a4]m[nm](it)?/ 15 /beaver(juice|lick|suck|fuck)?(er|ing|ed|a)?s?/ 15 /lam[eo](brain|er)?s?/ 14 /testicles?/ 14 /crackers?/ 13 /p[3ei]n[1!iu]s(bit|lick|suck|head|fuck|face|hole(e|er|ing)?)?s?/ 13 /Amerik+an?'?s?/ 12 /sex(y|ier|iest) ?(babe|cunt|beast|bitche?|whore)?s?/ 12 /(yo)+/ 12 /nuk(e([dr])?s?|ing)/ 11 /nipples?/ 10 /bu(m|ng)(hole|lick(e[rd])?|wipe[rd]?|ming|chum)?s?/ 10 /Japs?/ 10 /((is a|are|is) )?homo(phobe)?s?/ 10 /(f|ph)u(kc|c+k*|c*k+|x)(a|ass|e[rd]|ie|y|bitch|erino|head|hole|arse|arsed|face|queer|wit|in[g']?|inghell|[o0]r?|o|off|tard|wad)?s?/ 10 /finger(ing|ed|pull(a|er)s?)/
Going to remove 'the'
I don't understand why 'the' is a 'bad word'.. it just floods the tool. SgeoTC 05:18, 11 February 2007 (UTC)
Major overhaul
Spent some time working on the list (as you can tell from the edit summary). Basically, instead of a straight alphabetical list, I made an attempt to categorize and prioritize it by level of offensiveness so that the most egregious vandals are more apparent when using the 'recent changes' tool. Also added quite a few phrases and sentence fragments based on the vandal patterns that I've been seeing. Hope it works out for everyone, and please let me know if I've either helped out or jacked something up. RJASE1 Talk 20:16, 18 February 2007 (UTC)
Punk
The punk string appears to me to be generating huge numbers of false positives, and I have yet to see it generate a true positive. IMHO the expression should be modified to only match punk with "asse" and perhaps "buc" (I'm not sure what the buc bit is for), so that fewer articles that are genuinely about punk rock are picked up. I don't know how the regular expressions work so I'm not sure what would be best. --Jon186 13:23, 4 March 2007 (UTC)
- Fixed. RJASE1 Talk 17:16, 4 March 2007 (UTC)
- Thanks for that :o) --Jon186 20:19, 11 March 2007 (UTC)
What regex does this use?
The syntax for regular expressions varies depending on the implementation used. Which regex is used here? Is there any documentation? -- kenb215 talk 21:35, 13 March 2007 (UTC)
- It is the syntax used by your browser's javascript engine, which is generally something like PCRE (see the ECMAScript spec for details). There are further restrictions, however, as parens (...) are replaced internally by (?:...) which means you can't use literal parens, \1, \2 etc. Lupin|talk|popups 22:35, 13 March 2007 (UTC)
What's the best way to test a regular expression that I wish to add to the list. Is there a way to test a portion of text against the existing list to see if the vandalism is already being caught. -- callred
- In theory: Make a user subpage, uncheck "Ignore my edits," open the "filter recent changes" page, add your test to the subpage, and see if it shows up (make sure you do everything in that order... except maybe the first one) In practice: There's probably a much better way to do this... maybe with the javascript: URI or something... --Thinboy00 @145, i.e. 02:29, 14 February 2008 (UTC)
April Fool?
Should "April Fool" be added to this list? A lot of users have allready started making April Fools day edits and a lot of them contain the text "April Fool". -Mschel 21:25, 31 March 2007 (UTC)
Bot
I'm curious, would it be allowable for a bot to use this as a secondary source for badwords when the bot is doing a different job? (e.g. newpage monitoring) Thanks! TheFearow 05:37, 15 May 2007 (UTC)
"Learn english"?
To counteract any Stephen Colbert-related vandalism, does it make sense to add "Learn English" (just like "librarians are hiding something" was added to the list) -- Amazins490 (talk) 20:37, 25 May 2007 (UTC)
- I agree, you should add that to the list. Make sure learn and english are capitalized though, there are probably a lot of instances in Wikipedia where it says "learn english".--eskimospy (talk • contribs) 03:05, 26 May 2007 (UTC)
Signatures
Hi! I don't know much about scripting, but would it be possible to stop filtering ~~~~ and ~~~ from the list of repeated characters? It's showing up a lot in my filter. Thanks. Smaug123 06:25, 25 June 2007 (UTC)
Jimmy Wales
What is Jimmy Wales doing on the list? I mean, just because he is the founder of wikipedia, doesn't mean that any vandal would type it in.... Coastergeekperson04 06:56, 5 July 2007 (UTC)
- It may be that this is part of the MO of one or more vandals. I just added an e-mail address for the same reason - this specific e-mail addrss seems to have been used twice by the same vandal. The address I'm talking about is ignoreallrules@walla.com. Od Mishehu 09:27, 2 August 2007 (UTC)
Cum laude
I don't really know how this list works, but is there a way to make "exceptions", or a "whitelist"? The filter just showed a page with the words "cum laude" because it matched the word "cum". Melsaran 11:30, 17 August 2007 (UTC)
!!
!! is wikisyntax for tables, if you want to list headers one after another. I'm not sure how to edit this list, but it would kill a lot of false positives. :-) Stwalkerster talk 14:40, 17 August 2007 (UTC)
hi
Another point: it is picking up his, white, history etc. because they contain 'hi'. :-) Stwalkerster talk 15:39, 17 August 2007 (UTC)
- I'm not sure that's quite right. The diff still has to contain the identifiable word 'hi' for this to happen. If it does, then all occurrences of the string 'hi' are highlighted. The false positives come from things like '.hi.' (which occurs inside some URLs) and 'hi:', the Hindi language tag. Philip Trueman 14:27, 24 August 2007 (UTC)
New Word
I have seen "FOOKIN" used once or twice now that hasn't been picked up. DoyleyTalk 19:18, 9 October 2007 (UTC)
Recent alterations
Some recent alterations made to the word list broke AVT's filter recent changes page. I'm not sure which specific change broke it (though I suspect it was the fairly major changes by Rocket000 (t c)); but reverting to the Sept 29th version fixed the tool, and that's the important part. If you make changes to the word list, please double check that your changes didn't break the script—there are instructions at the top of the word list for forcing your browser to use the changes immediately. I'd suggest taking the time to make sure the script still works normally if you make a change, especially if you change a large number of entries all at once. --Darkwind (talk) 01:16, 21 October 2007 (UTC)
Jews did WTC
I think this should be rather anti-semitic, how is "Jews did WTC" considered a "vandal term"? --Blake3522 03:35, 3 November 2007 (UTC)
- An entry on this list is things we usually DON'T want in Wikipedia articles. It means vandals were writing "Jews did WTC" on Wikipedia pages, and because it's now on this list the Anti-Vandal Tool will catch that and help us remove it. --Darkwind (talk) 17:42, 3 November 2007 (UTC)
- And this makes reference to the redirect: 9/11 conspiracy claims regarding Jews or Israel. --Blake3522 04:00, 10 November 2007 (UTC)
- Jews did Judaism! 192.12.88.7 (talk) 02:59, 28 March 2009 (UTC)
- Here, I was pointing out a potentially acceptable use of "Jews did xxxx", and this is one problem I have with filters. Also, suppose someone's kidding around and says "User such-and-such is a moron (j/k)", and clearly indicate he or she is making a joke, wouldn't that run into the filters? 192.12.88.7 (talk) 03:01, 28 March 2009 (UTC)
- See there, that triggered a filter! 192.12.88.7 (talk) 03:02, 28 March 2009 (UTC)
- Here, I was pointing out a potentially acceptable use of "Jews did xxxx", and this is one problem I have with filters. Also, suppose someone's kidding around and says "User such-and-such is a moron (j/k)", and clearly indicate he or she is making a joke, wouldn't that run into the filters? 192.12.88.7 (talk) 03:01, 28 March 2009 (UTC)
- Jews did Judaism! 192.12.88.7 (talk) 02:59, 28 March 2009 (UTC)
"Ethiopian" string
The "ethiopian" string seems to be having big numbers of false positives. Even when the article matches this string, so it is not right. --Blake3522 (talk) 07:09, 24 November 2007 (UTC)
False positive: Rotten - Rotten Tomatoes
I don't know how to change the code, but could someone remove the false positive Rotten Tomatoes hits from the word "rotten"? Thanks! :) ~Eliz81(C)
- Rotten Tomatoes is a website, and we don't want spam, do we? —Coastergeekperson04's talk@12/09/2007 01:50
- I've seen it used as a source in movie articles. --Thinboy00 @759, i.e. 17:12, 21 January 2008 (UTC)
- It's a really popular website for reference, and I've gotten this false positive too. I would remove it, if I could find where it was. The Evil Spartan (talk) 07:25, 22 January 2008 (UTC)
- The line is
/rotten[- ]?(ass|crotch)?e?s?/
, which would evaluate as true for "rotten". It probably could be modified to evaluate as false for "rotten", but I would have to ask someone more informed about regex than me - i.e. User:Gracenotes >_> --Iamunknown 07:28, 22 January 2008 (UTC)- Thanks. I've changed it so the second phrase must be part of the filter. No reason to go chiming off every time we get the word rotten. The Evil Spartan (talk) 08:37, 22 January 2008 (UTC)
- The line is
- It's a really popular website for reference, and I've gotten this false positive too. I would remove it, if I could find where it was. The Evil Spartan (talk) 07:25, 22 January 2008 (UTC)
- I've seen it used as a source in movie articles. --Thinboy00 @759, i.e. 17:12, 21 January 2008 (UTC)
Cummings
The last name Cummings seems to be coming up a lot as a false positive. If anyone with knowledge would be able to fix this. Thanks. The Evil Spartan (talk) 02:05, 20 January 2008 (UTC)
- Is that as in e e cummings? --Thinboy00 @639, i.e. 14:19, 24 January 2008 (UTC)
repeated dashes
I see a lot of <!-- this -------------> (with trailing dashes) in front of or above infoboxes. Since the repeated dash filter kept finding them, I removed it. --Thinboy00 @757, i.e. 17:10, 21 January 2008 (UTC)
Jig
I do not know why Jig is flagged as a bad word, since it can mean a lively traditional Celtic dance commonly used in Baroque music called Gigue. Johnny Au (talk) 21:28, 27 January 2008 (UTC)
no spaces
any better way to catch [23]? Right now the only thing that catches that is the !!! filter. We need something to catch bad words without spaces. --Thinboy00 @914, i.e. 20:55, 23 February 2008 (UTC)
In the house
This is always something line 'in the house of commons' or similar, I've never seen it be used for vandalism. Keep 'in da house' though. Thought I'd better bring it up here first. George D. Watson (Dendodge).TalkHelp 18:37, 20 March 2008 (UTC)
repeated braces: }}}}}}}}}}}}}}}}}
Repeated curly braces are often used in templates, is there any way to remove them from the list without removing all repeated characters? George D. Watson (Dendodge).TalkHelp 13:54, 21 March 2008 (UTC)
One more suggestion
I suggest to add "Sieg Heil" on the list of bad words; I fear that some might use it on Israel-related or Nazism-related vandalism. Alexius08 is welcome to talk about his contributions. 01:16, 21 April 2008 (UTC)
Filter for "ard"
This filter is matching parts of ordinary words. Is this in fact a real mark of a vandal? In the meantime, I'm enclosing it in /s so it only matches at word boundaries. --Thinboy00's sockpuppet alternate account 23:33, 9 June 2008 (UTC)
swallow filter
/swal+ow(a|e[rd]|in[g']?)?[sz]?/
Why? --Thinboy00 @120, i.e. 01:53, 14 June 2008 (UTC)
Jug?
Which line is blocking "jug"? grammatical error intentional --Thinboy00 @170, i.e. 03:04, 29 June 2008 (UTC)
jkl;
Can you add "jkl;" to this list? If you mash those keys, people will end up writing "jkl;jkl;jk;ljk;l" or similar, or they give an edit summary of mashed keys. --58.178.142.64 (talk) 13:24, 8 July 2008 (UTC)
Waca
What specific code is blocking the word Waca? Me Crtl+Fing the code didn't turn anything up, so I'm asking here. I'm not doubting the why its being blocked, but rather how.—Preceding unsigned comment added by Ilikepie2221 (talk • contribs) 13:37, 30 August 2008
Unable to save
I'm unable to save: I get the error message: "The following link has triggered our spam protection filter: SPELLED OUT BELOW IN PHONETICS:
Dot Oscar November Dot November India Mike Papa Dot Oscar Romeo Golf. What do I need to do?
I want to add these delightful Hindi terms:
/be?hen ?chod/ /bhosdh?i/ /chuth?/ /chod/ /chooth?/ lund /madar ?chod/ yon(i|ee|ey)
=Nichalp «Talk»= 08:57, 7 November 2008 (UTC)
- I've removed the blacklisted nimp.org from the list, so the page should save now. Epbr123 (talk) 09:49, 8 November 2008 (UTC)
Polish bad words from pl wiki
Here [24] you have the directory of bad words that the anti-vandal bots like "bugbot" running on Polish wikipedia use. Hope they help. Mieciu K (talk) 22:54, 8 November 2008 (UTC)
"hat"
I don't have the energy to vgrep for the filter that's catching the word "hat". Could someone else do it? --Thinboy00 @002, i.e. 23:03, 7 December 2008 (UTC)
- Fixed, thanks to the beautiful perl script above. --Thinboy00 @009, i.e. 23:13, 7 December 2008 (UTC)
suggestions
I know some words I've seen, I don't know if their on the list or not but they should be: faggot;lying faggot;JEWS DID;SEE, IT'S TRUE;this is all a big lie;boner;SHE'S A;HE'S A;THERE GONNA;LATINOS(when next to another word); and everything on the title blacklist.--Ipatrol (talk) 19:41, 13 December 2008 (UTC)
hmmm
Anything that's a slur should presumably be watched out for. That being said, I consider filters to be a gross violation of WP:NOT. 192.12.88.7 (talk) 02:57, 28 March 2009 (UTC)
- Hmm, any specific part of WP:NOT that you're referring to? Tiggerjay (talk) 05:24, 5 September 2009 (UTC)
Wake up
I keep finding this filter pick up "wake up" or some variant, and I can't seen to find the filter term to remove it. Could someone tell me what's with the word wake up? Overthinkingly (talk) 14:23, 5 June 2009 (UTC)
Nazi, heil hitler
These words always appear, and always turn out to be 2nd-world-war articles. Kayau Don't be too CNN I'LL DO MY JOB uprising! uprising! 02:42, 15 February 2010 (UTC)
Word suggestions
Sorry for not writing out most the translations, but I figure the Wikipedia spamfilter would cause problems since I'm an IP. Put any of these you don't already have into the list:
- Pajero (Spanish for w nker)
- Puta (Spanish for wh re)
- Putana (Italian for wh re)
- Bîte (Frenche for d ck)
- Impedido (Spanish for disabled/retarded)
- Wichser (German for w nker)
- Wichs... (German for w nk, I would recommend putting wildcards in front of and behind "wichs")
- Behindi (German pejorative for disabled/retarded)
- Schwuchtel (German for f ggot)
- Tunte (German for f ggot)
- Spasti (German pejorative for someone suffering Tourette's syndrome)
- Fick... (German version of f ck, I would recommend putting wildcards in front of and behind "fick")
- Schwanz (German for d ck)
- Titten (German for bo bs)
- Möpse (German for bo bs)
- Möse (German for c nt)
- Fotze (German for c nt)
- Muschi (German for c nt)
- Pimmel (German for d ck)
- Bumsen (German for f ck)
- Rammeln (German for f ck)
- Runterholen (German for w nk)
- Nutte (German for wh re)
- Flittchen (German for wh re)
- Schlampe (German for wh re/sl t)
- Hure (German for wh re)
- Hurensohn (German for son of a b tch)
- Hundesohn (German for son of a dog)
- Kack... (German for sh t, I would recommend putting wildcards in front of and behind "kack")
- Scheiß... (German for sh t, I would recommend putting wildcards in front of and behind "scheiß")
- Scheiss... (German for sh t, I would recommend putting wildcards in front of and behind "scheiss")
- Diao (Chinese for f ck)
—Preceding unsigned comment added by 213.168.118.150 (talk) 22:47, 18 February 2010 (UTC)
I've got some suggestions too, from Chinese; they've got a lot of attention on HK:
- 囧 (variants: gwing, jiong, 冏)
- 不該 (variants: bugai, but goi, bu gai)
- 升呢 (variants: 平呢, 降呢)
Kayau Voting IS evil 07:27, 21 February 2010 (UTC)
Suggestion
{{editsemiprotect}}
I'm not comfortable editing code. Please add "b!tch". I've caught a couple of these only because the vandalism also included other terms. --N419BH (talk) 16:01, 21 April 2010 (UTC)
I've seen users use a "-" rather than an "=" in reference to the already existing /8=+(>?D)/ rule Cit helper (talk) 03:15, 10 June 2010 (UTC)
Not done: Edit request by an autoconfirmed user. SpigotMap 12:36, 10 June 2010 (UTC)
"Fuck off and die"
/(m[ou]th[ae]r?)?(f+|ph)\W*(u+\W*(kc|[c\(]+\W*k*|c*\W*k+|x)|cuk)(a|in[g']?|e[rd]|y|)?[sz]?(m(e|y)|(yo)?ur?|his|her|it|their|our|each other)?[- ]?(ass|all|ie|y|bitch|erino|head|hole|arse|face|queer|w?it|[o0]r?|off|tard|wad|(yo)?u|me|her|him|them)?(a|e+[rsd]|in[g']?)?(a| hell| and die|him|her|up)?[sz]?/
In the filter above, I see what I think is intended to match "fuck off and die." However, when I test this regex, it's not matched (it only matches up to "fuck o"). I'm not sure what's causing this. Would someone care to point it out for me? Gawaxay (talk • contribs • count) 20:47, 11 June 2010 (UTC)
- It does match, test it on debugex.com. All the best: Rich Farmbrough, 22:00, 19 July 2015 (UTC).
added tosser and sraka
I added sraka, a Russian term for a chocolate starfish/ass [25] (though apparently the Slovene term means "Magpie"), and Tosser, a common English variant of "wanker" (... is a tosser) Chaosdruid (talk) 11:48, 28 June 2011 (UTC)
KFC
Why is KFC a 'bad word'? Could someone care to explain this to me? Skunkman3118 (talk) 09:24, 31 May 2013 (UTC)
Punctuation false positives galore
Been using this tool for a few days now -- it's great, by the way -- but I wonder if I'm the only one who finds punctuation-based hits to be almost entirely false positives. The various combinations of apostrophes and curly braces seem to fit too many templates and wikitext terms and only turn up actual vandalism in the case of emoticons. Would these be better to include in the spellchecker (as wikimarkup correction, say)? --Rhododendrites (talk) 19:45, 4 June 2013 (UTC)
"You are a" false positives
When I'm on the tool, "You are a" generates a lot of false positives from AfC talk page messages, namely by saying "Note that because you are a logged-in user, you can create articles yourself, and don't have to post a request. However, you may continue submitting work to Articles for Creation if you prefer". Can someone add an exception or something so that this goes away? Thanks. kikichugirl inquire 21:49, 19 July 2013 (UTC)
"Rama" false positive
The tool is catching "Rama" as a badword. I do not really understand how this works. Please configure it so that it no longer gives this false positive. Thanks.OrangesRyellow (talk) 12:15, 27 December 2014 (UTC)
F*cked
I am looking to combine the entries f***
, f*cked
, and f***ed
into a single regex that also covers f**k
and any reasonable conjugations of the same. The difficulty lies in encoding the *
as a literal rather than markup. My motivation for doing this is that f**k
is not covered. –LaundryPizza03 (dc̄) 08:02, 12 June 2019 (UTC)
- @LaundryPizza03: You can always just do something like
f\*
which will match any occurance of the letter f followed by an asterisk; otherwise, if you want something that matches the whole word, you can usef(\*)+(cked|ck|k|ed)?
,f(\*|u)+(cked|ck|k|ed)?
if you also want it to match non-censored versions, although in that case you have to set it to match word boundries or else you'll get every article talking about fudge or fuschia or fungus. If you also want it to catch words where the asterisks are omitted, you can usef(\*|u|ck)+(cked|ck|k|ed)?
(also requires word boundry matching).f(\*|u|k|ck|ed)+
does similar to the previous, but might have slightly more false positives. LittlePuppers (talk) 21:02, 12 June 2019 (UTC)
Due to Lupin's absence, most of his tools are only sporadically maintained by other users. For issues related to Navigation popups please visit Wikipedia talk:Tools/Navigation popups. For issues related to Anti-vandal tool please visit User talk:Lupin/Anti-vandal tool (or ask User talk:Cacycle). |
This user may have left Wikipedia. Lupin has not edited Wikipedia since September 11, 2009. As a result, any requests made here may not receive a response. If you are seeking assistance, you may need to approach someone else. |
|
|
Archive: 1 2 3 4 5 6 7 8 9 10 11 12 13
Please add new messages to the bottom of this page. You can do this by using this link.
If you're reporting a problem with a script, please mention which browser you use. You may also like to search on this rather large page to see if your question has already been answered.
I will usually respond on this page.
Bubble tea!
-download | sign! has given you a bubble tea! Bubble teas promote WikiLove and hopefully this one has made your day better. Spread the WikiLove by giving someone else a bubble tea, whether it be someone you have had disagreements with in the past or a good friend. Happy drinking!
Spread the bubbliness of bubble teas by adding {{subst:bubble tea}} to someone's talk page with a friendly message!
Cookies
Proposal to make "Watchlist since" script into gadget
See WP:VPR#Minor watchlist innovation: 'changes since last page-load'. for a discussion on this. Thanks. Equazcion (talk) 20:01, 3 Feb 2010 (UTC)
A barnstar for you!
The Technical Barnstar | |
You, Lupin, have created the Anti-Vandal Tool. It's a good tool, even if it hasn't been maintained in a while. I use it, it's pretty useful. - Master of Hedgehogs (converse) (hate that hedgehog!) 15:38, 7 March 2024 (UTC) |
Archive: 1 2 3 4 5 6 7 8 9 10 11
Please add new messages to the bottom of this page. You can do this by using this link.
If you're reporting a problem with a script, please mention which browser you use. You may also like to search on this rather large page to see if your question has already been answered.
I will usually respond on this page.
Minor popups font color request
Can you explicitly specify the black color of the preview text in your code, so that custom skins' font colors aren't used instead? Mine is showing up as light green text on your off-white background. — BRIAN0918 • 2006-06-17 22:30
Firefox "Unresponsive script"
I upgraded my Firefox browser a few days ago to 1.5.0.4. I'm really not sure which version I had prior to that (I think it was 1.0). Since then I've had some problems with the pop-ups. When the mouse hovers over some links (but not others), I get a "spinning beachball" (i.e., Mac) mouse cursor for a few seconds, followed by an error message:
- "Warning: Unresponsive script. A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."
If I click "Stop" it clears up after about a second and I'm on my merry way (for a while). This doesn't happen with every link, just some, and I can't tell why some links set it off and others don't. Again, this is Firefox 1.5.0.4 and I use it on Mac OS X 10.3.9. I use the "classic" Wikipedia skin. Thanks! -- Gyrofrog (talk) 06:37, 18 June 2006 (UTC)
- How fast is your machine? It should be possible to use the script on an older machine, but this is still useful to know. Also, if you can send me urls for links which set off the dialog, I can try to investigate further. Lupin|talk|popups 12:33, 26 June 2006 (UTC)
- Here's such a link, this was in my watchlist and I got the error when I moused over it: Ethiopia#Demographics. Here's another: Rubik's Cube. (Both of these pop-up OK some of the time.) I am using a 266MhZ PowerPC G3, with 320MB RAM. Again, slow as this machine is, I didn't have the problem with the pop-ups until I upgraded Firefox. Thanks, -- Gyrofrog (talk) 03:36, 28 June 2006 (UTC)
- Hm. I find it strange that they sometimes pop up OK, but sometimes don't. Do you mean that they're always slow they first time you mouseover them after a page load but are OK once you've waited for them to load completely and then mouseover them again? Or does it seem more random than that?
- I have also had this problem often since installing your cool script, on Firefox 1.5.0.4 under Win98. Anytime the mouse winds up over a link or hilited text, there can be a delay (often considerable in the case of a link to a policy talk page or ANI or something with tons of text). Sometimes this winds up with the 'stopped responding' box mentioned above. Also, it's worse for me 'cause I'm in the habit of right-clicking and opening everything in a new tab -- the delay during the hover after i right clicked is often very frustrating. I have set the popupDelay param to 2.5 seconds, I think that should relieve some of it, but it looks like there may be a problem when the script is taking too long to dl data, Firefox gets upset. (May have something to do with multiple tabs open, tho, which also seems to cause some sluggishness in Firefox. I'm running on a 1.7g P4 w/ no extensions, btw.) Just FYI. Eaglizard 08:26, 19 July 2006 (UTC)
- I've also encountered this since a recent 1.5.0.4 upgrade. I'm using the Mozdev Prefbar and I thought that might have had something to do with it. It happens quite consistently with User:Kylu/rfa. I'm using a Pentium 3 computer (I think 850 mhz) with 512mb ram, not ultra-fast but still reasonable by today's standards. OS is Fedora Core 4, using the stock kernel. Phr (talk) 03:30, 22 July 2006 (UTC)
- Could you all please try the latest dev version? I've changed things so that previews are generated and data is only downloaded at the very last moment, when the popup appears. (It used to be that whenever you moused over a link, the data was downloaded at once in preparation for the popup, whether or not it would ever be displayed). Let me know if this helps... I still expect that pages with large tables (like User:Kylu/rfa) may be problematic, as may large pages in general. However, unless you wait for the popup to appear, you should no longer get that error. Lupin|talk|popups 03:51, 22 July 2006 (UTC)
Popups "menu" style display on Opera
Hi Lupin, can you disable the "menu" style display of popups options for Opera, again? I'm typing this from Opera 9 final ("about" page says it's build 8501) and "menu" style popups is once again definitely broken. It was okay from the one public build before beta 2 on, but broke again after build 8473 (3 builds before this final release). Regards, Kimchi.sg 04:05, 21 June 2006 (UTC)
Pop-up diff bug
If you open the history of the below articles and use pop-ups to view NawlinWiki's June 20th edits it looks like he removed the entire first paragraph instead of just the first template.
Distributed Reflection Denial of Service
Gymnaslærer Pedersens beretning om den store politiske vekkelsen som har hjemsøkt vårt land
Other than this minor bug, thanks for the great tool! --Pascal666 04:10, 21 June 2006 (UTC)
- Gah, that's bad. I'll investigate when I get the time. Lupin|talk|popups 12:33, 26 June 2006 (UTC)
- Appears to be fixed. Thanks! --Pascal666 09:58, 21 August 2006 (UTC)
Interwiki Resolver Tool
Hi, I decided to start a new conv thread - the one above was getting a bit out of hand.
I am in the process of building a tool to help users themselves resolve interwiki link problems. The more wikies there are, the more conflicts we get, and my talk page fills up with complains that I should know en:Sabians is a religious community and fr:Sabian a factory for cymbals, whereas its my bot that does all this... Anyway, to get to the point: I created this tool, and its in desperate need of your javascript expertise. I would like to add a menu for each link, similar to the "actions" menu in the popup. Can you help? Thanks! --Yurik 06:40, 26 June 2006 (UTC)
- Yes, probably. What exactly do you need the script to do? Lupin|talk|popups 12:33, 26 June 2006 (UTC)
- Here's an example of the tool in action: [26]. Currently you can click the two numbers in parenthesis to set checkmarks for all those pages that this page links to (see the tool tip that pops up on these links). What i would like to do is have a menu instead, next to each item, auto-poped-up, which would have the two existing options (Select all that this page links to, select same group links this page links to), plus some more (like select those pages that link to this page, etc).
- The way its done now is in each <a> tag, there is a call to Select() javascript function that takes a list of ids and sets them.
- The menu should probably be similar: Menu( Array("title1", "Select(Array('id1','id2',...))", "title2", "some other script", ...)). Any thoughts? Thanks! --Yurik 15:14, 26 June 2006 (UTC)
- I've put a mock-up here. It doesn't do the dynamic menu creation bit at all, but that shouldn't be too hard. I haven't been able to test it in IE, but it works well in FF and Opera, and tolerably in Safari. Lupin|talk|popups 22:38, 28 June 2006 (UTC)
- Thank you very much! It's great! I will just add the links just like i have now, except they will be hidden from the start. I tried it in IE - seems to work ok :). I will use your code very soon! All that is left for me now is to figure out how to make it appear professional (hard) and do ajax (very hard) :). Might even try my hand at ruby, see what's all the fuss is about. Thanks! --Yurik 23:24, 28 June 2006 (UTC)
- I've put a mock-up here. It doesn't do the dynamic menu creation bit at all, but that shouldn't be too hard. I haven't been able to test it in IE, but it works well in FF and Opera, and tolerably in Safari. Lupin|talk|popups 22:38, 28 June 2006 (UTC)
Please take a look at http://tools.wikimedia.de/~yurik/iwfixer.php . Any comments are welcome! --Yurik 06:36, 29 June 2006 (UTC)
- Looks nice :) There are some rendering problems in firefox (probably bugs in firefox) for me if you run the mouse upwards, as old menus interfere with newer ones. I've changed the mock-up to fix this by making sure that only one menu is ever visible. Lupin|talk|popups 12:31, 29 June 2006 (UTC)
- Thanks, done. --Yurik 13:14, 29 June 2006 (UTC)
Popups null edit
Hey, what happened to the "null edit" ability in Popups? That was really useful. Just wondering if it was removed intentionally (and if so, what the reason was), or if this was accidental. Oh, and thanks for all of the time you continue to spend improving the tool. More people appreciate it than you know! --Cyde↔Weys 23:09, 26 June 2006 (UTC)
- The menu was getting too long, so it's shorter by default. To get the old kitchen-sink menu, set popupStructure='menus' in your javascript file. Lupin|talk|popups 00:52, 27 June 2006 (UTC)
Pb since yesterday
Popups crash (coredump) my firefox 1.5/Linux debian since yesterday 26/06, need to deactivate JS. what changed please ? Utilisateur:HBBK
- Nothing has changed since yesterday, as far as I can see. Lupin|talk|popups 11:33, 27 June 2006 (UTC)
- It seems to be ok now. I don't know what happened, maybe a corrupted version stuck in our proxy cache ... best and thanx you for that very helpfull tool Utilisateur:HBBK
Question about popups
When you revert in popups, there is &autoclick=wpSave in the url. Well, I have loads of subpages at User:GeorgeMoney/delpage that I want to delete, so I want to make it easier for the admin(s) deleting them. So, would it be possible for an admin with popups to use &autoclick=wpConfirmB which is the submit button for delete. Can this be achieved so all the admin has to do is press the "delete" link I have provided and the page will be deleted automatically instead of having to go to a form and click the button? --GeorgeMoney (talk) (Help Me Improve!) 22:05, 27 June 2006 (UTC)
- Yes, could it could be done in popups, but there's no point. It'd be a five-line script anyway... something like this:
addOnloadHook(function(){ if (document.location.href.indexOf('action=delete&confirmdelete')>-1) { document.getElementById('deleteconfirm').wpConfirmB.click(); }});
- (untested). You could extend this to include a reason for deletion, too. Lupin|talk|popups 22:20, 27 June 2006 (UTC)
- Actually, there is no need for a reason for deleteion, because I have already included that in the url "&wpReason=User%27s+subpage+requested+to+be+deleted+by+the+owner.+%5B%5BWP%3ACSD%7CCSD%5D%5D+U1". And I tested the script at a test wiki and it doesn't work. But, Prodego is deleting all of them without a script, so there is no need for one. But, thanks for trying though :) . --GeorgeMoney (talk) (Help Me Improve!) 22:48, 27 June 2006 (UTC)
- Oh, there was no "confirmdelete" in the url. When I do http://wiki.xyrael.net/mediawiki/index.php?title=User:GeorgeMoney&action=delete it doesn't work. But, then I added the confirmdelete, and it worked. --GeorgeMoney (talk) (Help Me Improve!) 23:03, 27 June 2006 (UTC)
I also use auto edits to welcome people. I have to go to the new user log, copy all the names into MS Word, use the 'replace' function to replace all the eccess data, and then use it to put {{User:GeorgeMoney/Welcome/Template| }} around it. Then copy that to User:GeorgeMoney/Welcome/Page and press the "welcome me" button which links to the user talk page and it auto adds the welcome. Is there a way to do this directly from the log so I don't have to go through all these steps? --GeorgeMoney (talk) (Help Me Improve!) 02:46, 28 June 2006 (UTC)
- Yes, you want to add the welcome me links directly to the new users page, I imagine. Shouldn't be hard.
function addGreetLinks() { var guff='&autoclick=wpSave&autosummary=Welcome%20to%20Wikipedia!&preload=User%3AGeorgeMoney%2FWelcome&editintro=Template%3AThisisnotatemplate§ion=new&create=Welcome'; var lis=document.getElementById('content').getElementsByTagName('li'); for (var i=0; i<lis.length; ++i) { var as=lis[i].getElementsByTagName('a'); var greet=as[1].cloneNode(true); greet.firstChild.nodeValue='greet'; greet.href += '&action=edit' + guff; greet.removeAttribute('class'); as[1].parentNode.appendChild(document.createTextNode(' ')); as[1].parentNode.appendChild(greet); } } if (/title=Special(%3A|:)Log&type=newusers/.test(document.location.href)){addOnloadHook(addGreetLinks);}
- Yes, it works! Thank you! --GeorgeMoney (talk) (Help Me Improve!) 03:25, 28 June 2006 (UTC)
- I was wondering... How does it know to link to "http://en.wikipedia.org/w/index.php?title=User_talk:USERNAME"? I know the extra stuff &action=edit" is specified in the code, but how does it know to go to the talk page of the user? The reason I want to know this is because I want to link to "javascript:AIVandal("THAT USERNAME")" (the script associated with that is lightdarknes's ARV), I just want to be able to report their username to AIV from the log. Normally, I would just make a duplicate of the code and change the url from http://....?title=user_talk:VARIABLE-USER to javascript:AIVandal("VARIABLE-USER"), but no url is specified so I can't change it. Would there be some way I can add that? (If you are sick of me asking javascript from you, I can ask someone else, and not bother you) --GeorgeMoney (talk) (Help Me Improve!) 18:12, 29 June 2006 (UTC)
- The variable as[1] refers to the second anchor in the <li> being looked at in that loop iteration. This is a link to the user talk page, so I just clone this and fiddle with it. Lupin|talk|popups 21:05, 29 June 2006 (UTC)
- Yeah, so to answer your question, the user name should be as[3].title.replace('Special:Blockip/',''). (Explanation: I get the text from the titles, since these won't have html encoding issues; and I get it from the block link rather than say the username link since these aren't affected by popups, which displace titles by default). Lupin|talk|popups 21:13, 29 June 2006 (UTC)
- I was wondering... How does it know to link to "http://en.wikipedia.org/w/index.php?title=User_talk:USERNAME"? I know the extra stuff &action=edit" is specified in the code, but how does it know to go to the talk page of the user? The reason I want to know this is because I want to link to "javascript:AIVandal("THAT USERNAME")" (the script associated with that is lightdarknes's ARV), I just want to be able to report their username to AIV from the log. Normally, I would just make a duplicate of the code and change the url from http://....?title=user_talk:VARIABLE-USER to javascript:AIVandal("VARIABLE-USER"), but no url is specified so I can't change it. Would there be some way I can add that? (If you are sick of me asking javascript from you, I can ask someone else, and not bother you) --GeorgeMoney (talk) (Help Me Improve!) 18:12, 29 June 2006 (UTC)
Bug report
Hi,
This is a bug report on "popups". This is the first time it happened eventhough I have been working with the same configuration for a long time. The bug is in the edit summary of this revert. FYI, I use Mozilla Firefox 1.5.0.4 on Windows XP SP2 with all available updates installed. The bug was not reproduced in next revert. — Ambuj Saxena (talk) 16:34, 28 June 2006 (UTC)
This talk page is becoming very long. Please consider archiving.
- Hm, this is tricky to diagnose. If this happens again, please open your browser history and locate the page whose title looks like "(Editing ARTICLENAME - Wikipedia, the free encyclopedia)", with the brackets and without the quotes. Right-click, select copy link location and send me the url. Maybe this page is still in your history and you can do this now? Lupin|talk|popups 22:15, 28 June 2006 (UTC)
- I save history, but was unable to locate it. I was able to locate the edit to Taj Mahal (not ARTICLENAME). Since it was a one time bug, I feel that it might have occured because the save button was pressed before the page loaded fully. — Ambuj Saxena (talk) 07:13, 29 June 2006 (UTC)
Yorkshire rose png made in Inkscape
I noticed that Image:Yorkshire rose.png, was made in Inkscape (perhaps before MediaWiki adopted SVG support?). Do you still have the original source file? If so, being the vector fanatic that I am, I would like to request its upload. ~ Booya Bazooka 17:04, 2 July 2006 (UTC)
- Inside Image:Shields.tar.bz2 you'll find roses.svg, which has a yorkshire and lancashire rose. Lupin|talk|popups 20:46, 2 July 2006 (UTC)
- Well, Wikipedia now uses the svg versions of Yorkshire rose and Lancashire rose. I suppose I'll get around to uploading the shields at some point as well. Are there any other secret svg tarballs? I hate to see rasters used when the SVGs are so readily available. ~ Booya Bazooka 20:09, 3 July 2006 (UTC)
- Great, thanks for doing that. I don't know of any other secret tarballs, this may be a good place to look. There are quite a few other images in the tarball which could do with svg-izing... see User:Lupin/heraldry for many of the rasterized versions. Lupin|talk|popups 20:24, 3 July 2006 (UTC)
- Well, Wikipedia now uses the svg versions of Yorkshire rose and Lancashire rose. I suppose I'll get around to uploading the shields at some point as well. Are there any other secret svg tarballs? I hate to see rasters used when the SVGs are so readily available. ~ Booya Bazooka 20:09, 3 July 2006 (UTC)
Anti-vandal tool
Do you have to have a server to operate your anti-vandal tool? Or can I just copy all the codes and subpages to my userspace Wiktionary and the tool will work? Please respond on my page. Gang staEB• ice slides) 17:00, 3 July 2006 (UTC)
- There's no server needed, it should work. You'll have to change the variables at the top of the js file, though. Lupin|talk|popups 17:47, 3 July 2006 (UTC)
- I tryed at the Simple Emglish Wikipedia and it didn't work. Could you go help me? Gang
staEB• ice slides) 18:05, 3 July 2006 (UTC)
Hi Lupin. I've been using this tool, another great production by the way. I was wondering about the implications or practicalities of having some of the checkboxes either checked by default or having a cookie remember them? For instance the "Non Admin Rollback"? Just a thought. CelardoreTalk 20:36, 3 July 2006 (UTC)
- I installed it like it is supposed to be installed, but Filter Recent Changes just gives all the recent changes. And they link to Lupin/(Filter Recent Changes) I will give you full credit. Gang
staEB• ice slides) 18:24, 4 July 2006 (UTC)
Anti vandal tool
I tried to use your anti vandal tool, but It diddnt work, can you help?. Thanks False Prophet 22:36, 3 July 2006 (UTC)
- I installed it into your monobook.js file. Be sure to clear your cache and read the usage instructions here. Lupin|talk|popups 22:40, 3 July 2006 (UTC)
- Thanks, it works great. Here's a barnstar for thatL
The Original Barnstar | ||
for the most useful program on Wikipedia False Prophet 00:47, 4 July 2006 (UTC) |
Popups work on secure.wikimedia.org
Could you enlighten me how you got the popups to work on the secure.wikimedia HTTPS server. I use it and I'd like to adapt it to some of the scripts used by RC patrol and CVU members so the scripts don't hop between secure and insecure modes. Kevin_b_er 02:39, 4 July 2006 (UTC)
- In principle, it should be easy. You just change every url that the script uses. Adapting a given script may be less easy in practise, though - this would involve going through the code to see what's going on. Lupin|talk|popups 02:53, 4 July 2006 (UTC)
- In that sense, yes, but popups for example have all of its links working, no matter wether one is on the HTTPS system or using standard en wiki. Some of Voice of All RC patrol scripts (at User:VoA/monobook.js) don't adhere to this. If you could offer any help at all in that, I'd be most grateful as I'd like to see such useful scripts working in any case. Since you got the nav popups to work somehow in this manner, I was hoping you could provide some sense into more. Kevin_b_er 04:16, 4 July 2006 (UTC)
- Well when I say "change every url", what I should say is "change every url to use a variable or function". Then you can set the variable or function so that the urls change depending on which host or wiki you're working on. Hardcoded urls are the enemy here. Lupin|talk|popups 13:02, 4 July 2006 (UTC)
- In that sense, yes, but popups for example have all of its links working, no matter wether one is on the HTTPS system or using standard en wiki. Some of Voice of All RC patrol scripts (at User:VoA/monobook.js) don't adhere to this. If you could offer any help at all in that, I'd be most grateful as I'd like to see such useful scripts working in any case. Since you got the nav popups to work somehow in this manner, I was hoping you could provide some sense into more. Kevin_b_er 04:16, 4 July 2006 (UTC)
AntiVandal
Hey there, I've been using your anti-vandal tool for a couple of days and I fell in love with it's abilities. I've also put in other scripts of yours' to enhance my patrols, so I wanted to thank you for your efforts! Kedi the tramp 16:19, 10 July 2006 (UTC)
Safari Popups
Just to follow up the bug report I left here a few months ago, the latest nightly build of Safari works correctly with the 'menus' style of popups. This was noted by someone else at Navigation popups. Eventually, when this version is released, you may want to change the default behavior for Safari back to 'menus.' Thanks for a great tool! MFago 01:57, 12 July 2006 (UTC)
Hi I just installed popups in my monobook, and I use Safari (2.0.4, b419.3) on OSX 10.4.8. No obvious issues for the moment, apart some heavy CPU loads when the script is apparently grabing images. Thanks for this great stuff. -- Cedric
Blocking checkbox
I'm hoping this will be an easy, quick, "I can do that in my sleep" request for you: I'd like an addition for my monobook.js that will automatically check the "block anonymous users only" checkbox whenever I load Special:Blockip. I'd rather have it default checked and have to uncheck it rather than have to check it all the time. I promise you someone's first born child if you can do it! ;) Essjay (Talk) 16:10, 12 July 2006 (UTC)
- Here ya go (not thoroughly tested):
addOnloadHook(function(){ var x; if (x=document.getElementById('wpAnonOnly')) {x.checked=true;} });
Script with popups
I have a tool to check the edits of an IP range and also to compare edits from one IP/user with another (and evenutally to compare IP ranges against a user), but when it parses the contribs data, I noticed that popups don't appear anymore, which is too bad because there are diff links on the page. It seems like whenever I use js to change a page, even just to number edits, popups are disabled. Is there a way to reconcile that? Thanks.Voice-of-All 23:18, 12 July 2006 (UTC)
- Yes, the setupTooltips(container, remove) function is what you want (warning: this may change in future versions, although I see no reason for it to at the moment). Both arguments are optional - if they're omitted, popups are added to every link in the whole document, or in the article body if popupOnlyArticleLinks is true. If you pass a container such as a div or span containing the links, then only links inside that container are affected. If you pass the remove argument and it evaluates to true, then popups are removed instead of added to the links.
- One potential pitfall is that this may or may not work if you call the function immediately after adding new links to a page, since my understanding is that the DOM is not always instantly updated. You may therefore have to use setTimeout to delay this function for some short time after adding the links. I'm not sure if this is a real issue, or if I was just being paranoid when I first did this, though...
- Another thing you should be aware of is that this function sets the flag container.ranSetupTooltipsAlready to true, and if it finds this flag already set then it won't change anything. If you need to run the function on the same container, you can just set container.ranSetupTooltipsAlready=false. Lupin|talk|popups 00:28, 13 July 2006 (UTC)
- Thanks! Its alive! :D Voice-of-All 02:45, 13 July 2006 (UTC)
Image Bug?
Hi, weird behavior was noted here - moving over the image shows a different image in the preview. Strange :) --Yurik 18:36, 13 July 2006 (UTC)
- It's getting the commons image instead of the one on ru. Could you perhaps take a look at my feature request for detecting commons images with query.php? Lupin|talk|popups 16:52, 16 July 2006 (UTC)
- Ok, the what=categories is now synced up - you might have a use for it.
- Have you tried the proxy yet? I am planning to change the proxy handling to actually do an http request when proxying is needed. This will allow data from any sites (not just in the same cluster), but I will have to limit what information you can request (i don't want to tax the servers to re-transmit hundreds of KBs). I might either introduce a much lower limit for everything, or limit which properties are available. Any comments? --Yurik 17:07, 3 August 2006 (UTC)
- Yes, it's used in the script at the moment to show image page previews for commons images. (I haven't implemented general interwiki previews yet). I'd be leery of something that would potentially reduce functionality when I do want to access wikis in the same cluster. If a client attempts to access a resource which is too large such as the source of a long page, would it get a truncated version or just an error? If the latter, then I'd like two modes, one for intra-cluster links which does the same as now, and a proper http proxy for other links. Mode selection could presumably be done automatically by query.php. Lupin|talk|popups 23:03, 3 August 2006 (UTC)
- no no, i did not mean limiting individual page (that would be bad) - more like limiting the number of pages you can get with one request, etc. Have you looked at what=categories (plural)? --Yurik 04:51, 4 August 2006 (UTC)
- Yes, it's used in the script at the moment to show image page previews for commons images. (I haven't implemented general interwiki previews yet). I'd be leery of something that would potentially reduce functionality when I do want to access wikis in the same cluster. If a client attempts to access a resource which is too large such as the source of a long page, would it get a truncated version or just an error? If the latter, then I'd like two modes, one for intra-cluster links which does the same as now, and a proper http proxy for other links. Mode selection could presumably be done automatically by query.php. Lupin|talk|popups 23:03, 3 August 2006 (UTC)
Anti-vandal tool recognizing "the"
Hi Lupin, I really like your anti-vandal tool, I've been using it a lot. Just a minute ago, though, the "filter recent changes" page began coming up with all edits matching "the". I refreshed the page a couple of times, but the problem continues. Is this a bug? --Grace 01:37, 14 July 2006 (UTC)
- Hmm...now it seems to be crashing my browser too, though that could be a problem with my computer. --Grace 02:09, 14 July 2006 (UTC)
- Yes, it's now crashing every time I try to load Filter recent changes. I realize this is most likely a problem at my end, but I'd appreciate some hints if you have time... --Grace 22:41, 14 July 2006 (UTC)
sinceMe problem
I've found that the "sinceMe" function never works for me. (It gives a msg box saying no matching edits found in last 50.) Since the msg lists my user name as "R._S._Shaw", it suggests that the problem may be blanks within the user name being converted to underscores, and then not matching the blanks in the history entries. I know there are many others besides myself that have userids with blanks in them. It'd be great if you could fix this sometime.
(I came for the revert; stayed for the whole set of features. Thanks for providing this.) -R. S. Shaw 18:53, 14 July 2006 (UTC)
- Thanks for the bug report. This should be fixed in the dev version. Lupin|talk|popups 17:31, 16 July 2006 (UTC)
Opera capabilities for Filter Recent Changes?
Hey Lupe ;) (do u get Lupe much? :P )
just letting u no that there could be a bug in Filter Recent Changes when using Opera.
- Non-admin rollback button does not work at all a dialouge box comes up with something in Chinese i think? :S (works fine in IE7B2)
- Warn button freezes Opera.
Ta!
--Deon555|talk 03:24, 15 July 2006 (UTC)
- Which version of Opera and which operating system are you using? I've not had problems with Opera 9 on OS X. Lupin|talk|popups 17:09, 16 July 2006 (UTC)
Fixing History Popups
Hi,
I found that while I view an article's history, it shows edit time wrt local time (my personal settings). However, if I hover over "History" and let a popup come, it shows time in UTC. Can this be fixed to show time according to user's preference. — Ambuj Saxena (talk) 14:47, 15 July 2006 (UTC)
- Good idea. I can see a reasonable way to handle this, but I need to wait for a feature request I just submitted to be fulfilled first. Lupin|talk|popups 17:30, 16 July 2006 (UTC)
Special-Blockip
Thanks for the script for changing the default options for the blocking of users --Walter 20:59, 17 July 2006 (UTC)
Event that triggers popups
Hi Lupin. I've been doing a bit of reasearch on JavaScript recently and I thought I might suggest something:
Would it be possible for your to specify the event that triggers popups (currently onmouseover
) as a variable with a default value of onmouseover? That way, users could specify in their local .js what event(s) they'd like to use to trigger it. Personally, for example, I would only like to have popups at the combination of onmouseover
and a keystroke.
Is my suggestion possible? Ingoolemo talk 02:51, 18 July 2006 (UTC)
- (Sorry, I don't like this threads business). Do you mean you only want popups to be active when you hold down a key, like shift, and hover the mouse over a link? I think that this would be possible, but it would be more work than just changing onmouseover into onmouseoverwhileshiftisheld, since that event doesn't exist :-) Lupin|talk|popups 04:13, 18 July 2006 (UTC)
- Actually, my suggested triggering event was only an example. My main concern is allowing end-users to customise the events that triggers popups, by allowing end-users to specify a variable that defines triggering events. My main question was: is the use of a variable for an event technically feasible? Ingoolemo talk 23:05, 18 July 2006 (UTC)
Image:TeX lion.png listed for deletion
navpops edit reversion suggestion
How about adding a feature to revert an arbitrary edit, as opposed to rolling back the current version to that edit. Example:
- Spammer inserts a spam link into the external links section of some article
- Time goes by as various other people edit the article and the link stays there
- Now you notice the spam link and want to remove it without disturbing the later edits. You have to actually go manually edit the links section to do so.
My suggestion is to add a "revert delta" item to the popup action menu for history browsing. You'd point the mouse at a version in the revision history. Popups would then do a 3-way diff between that version, the previous version, and the current version, and then edit the current version to undo the delta. If necessary, it could rely on a diff3 program running on the server or on the tool server. I shudder at the complex browser-side javascript in navpops and want to keep my hands out of it, but I could help with the server side if you think this is worthwhile. -- Phr (talk) 01:14, 22 July 2006 (UTC)
- This would be a nice feature. Wouldn't it be best implemented as part of mediawiki? I suggest filing a feature request on bugzilla (or coding it up if you're that way inclined). Once it's there, popups should be able to access it easily. This could involve some heavy-duty processing for complex diffs and/or long pages, and javascript is really not a good place for that. Lupin|talk|popups 02:08, 22 July 2006 (UTC)
My monobook.js
I use firefox, and when I tried to copy essjay's and add it to mine, it diddn't do anything. Could you look into it when you get a chance? Thank you, Wikipedia's False Prophet holla at me Improve Me 03:21, 23 July 2006 (UTC)
- Please try following the procedure outlined at the top of WP:POPFAQ. Lupin|talk|popups 03:36, 23 July 2006 (UTC)
popups: disambiguation feature doesn't work with {{4CC}}
There seems to be a minor problem with the popups. The disambiguation feature doesn't work with pages that contain the {{4CC}} template. Could you please fix this? Thanks! --Ixfd64 08:46, 24 July 2006 (UTC)
- I believe that it was picking up this template, but not all redirects to the template. I've added the redirects to the dev version, so you could try that out. Lupin|talk|popups 22:55, 27 July 2006 (UTC)
"Fairy" entry
I removed that "fairy" entry from the recent changes filter last night because most edits with it are legitimate, but I have still been seeing it appear while RC patrolling with the filter. Could you please try to fix this?--Conrad Devonshire Talk 16:42, 25 July 2006 (UTC)
- I expect caching issues are to blame. Please go here and look for the fairy entry. It probably appears for you; if so, then shift-reload until it disappears, and try reloading the filter recent changes page. Lupin|talk|popups 16:48, 25 July 2006 (UTC)
The blacklist entry I added
Ahhhh. My apolgies. I edited the list that time under the false assumption everything was a regular expression (which its not). The phrase "***ERIC IS A FAG***" is from an parody page The Onion created of United States, and in one place an item in a list is replaced with "***ERIC IS A FAG***", and people are using it as an example to vandalise against. If you could consider putting it back, in light of what I've said (and my idiocy on that I don't need to escape * on a non-regex), I'd be quite greatful as this would help nail this new junk right in the bud. Kevin_b_er 06:24, 26 July 2006 (UTC)
- No worries. I've added an entry, /(eric )?is a fag/, to make this stand out more than just matching "fag". Matches are case-insensitive, and the asterisks aren't so relevant I think. Lupin|talk|popups 15:34, 26 July 2006 (UTC)
Popups on he: wikipedia
Hi Lupin, and thanks for developing this great tool! I am using it here and on the Hebrew wikipedia, and I would like to report two minor issues with it in he wiki.
I saw now that on the en wiki, user contributions are shown in popup when hovering over "contribs" links and IP addresses in the recent changes screen. In the hebrew wikipedia, a popup window is opened, but it only says "שגיאה", which is hebrew for "error".
Another issue is that the Hebrew magicword for redirect, הפניה, is not recognized by the tool, so only a simple link is displayed when hovering over redirected links. (The hebrew magicword was only introduced some weeks ago.)
If any further information is needed, please let me know. thanks again! Netan'el 13:38, 27 July 2006 (UTC)
- Thanks for the bug report. These issues should be fixed in the dev version. (Unfortunately I think there's not yet a dynamic translation to Hebrew). Lupin|talk|popups 22:54, 27 July 2006 (UTC)
- Thank you, and here are two more bugs I encountered: user talk (he: שיחת משתמש) namespace is not recognized, and the user menu dows not appear in the popup; log links in the recent changes screen are not recognized. Netan'el 06:49, 28 July 2006 (UTC)
- Thanks. Do you mean that links to user logs should generate popups? This isn't a localization issue (it doesn't work on en either) but maybe it'd be worth adding that feature. I don't see any user logs on the recent changes screen - which ones did you have in mind? Lupin|talk|popups 14:42, 28 July 2006 (UTC)
- On the English WP recentchanges list, the links to logs such as move log, user creation log etc. cause only a simple tooltip rather than a popup. on the Hebrew WP, a popup window appears, but it only tells the name of the log in Hebrew. It's not a major issue, but it's an inconsistency in the popup behavior between en and he. Netan'el 15:15, 28 July 2006 (UTC)
- All bugs are fixed. Thanks very much! Netan'el 06:10, 30 July 2006 (UTC)
popups menu shown twice
Hi, when following a redirect, the popup shows two menu items - one for the redirect and one for the article. Also, i looked throw your code (very briefly :)) - do you think it might be good to create a common module that would combine requests to avoid duplications? For example, when user moves over a diff, a call to the module will indicate the needed information (revisions, user's timezone, ...). The module would then see if it requested these things before (like if it got timezone previously), and return cached information if it can, plus any new data that it had to request. That data can also be added to the cache, etc. What do you think? Lastly, for some reason some popups do not get the data - moving the mouse over history shows the initial box, but not the content afterwards. I tried cache refresh. It might be due to running on the latest minefield (firefox nightly build). --Yurik 23:34, 27 July 2006 (UTC)
- I like your idea about the module very much. It's definitely something I'll try to implement when I get time.
- The double menus are semi-intentional as they allow you to access pages related to the redirect from the popup (for example, to edit the redirect to point somewhere else).
- I've also noticed that sometimes content never appears, and I've made some changes in the last week that should fix this in many cases. If you find this happening consistently on the same links (between page refreshes), then please let me know which links these are. You could also try setting popupDebugging=true and report what you see there when this happens. (If you're bitten by this bug again and are actually interested in seeing the preview without reloading the page, then you can use the popups->reset command to hopefully reset things and access the data). Finally, I'd recommend the firebug firefox extension, if it runs on minefield. This lets you see the requests made by the script in real time, which gives a somewhat better idea of what's going on. Lupin|talk|popups 00:13, 28 July 2006 (UTC)
- The double menu has two items: actions and popups. I was talking about the popups as it is the same in both.
- I have firebug, will let you know what i notice. On the 1.5 it works fine so far.
- Thanks! --Yurik 01:05, 28 July 2006 (UTC)
Your partial revert on the WP:SBOTS proposal
Hi Lupin. Was this partial revert of Philosophus intentional? If yes, please say so. Francis is revert warring it again into his pet peeve. --Ligulem 09:28, 28 July 2006 (UTC)
- No, this was an error. I've added a note to the talk page. Lupin|talk|popups 13:26, 28 July 2006 (UTC)
What tools do you use?
You apparently have a editing enviroment for Javascript that functions well enough that you can create the wonderful popups. What is it? I'm using a combination of Jesse Rudderman's bookmarklet shell with the DOM Inspector, and it's too painful to do hardly anything in. AFAIK, there's no good Emacs mode for Javascript, and I haven't been able to make Veckman be particuarly useful to me. What tool(s) am I missing?? Javascript hacking can't possibly have to be this much trouble. Any help gratefuly appreciated! JesseW, the juggling janitor 10:21, 28 July 2006 (UTC)
- It remains a little painful, but here's what I've come up with.
- For debugging, I started off using "the evaluator". This is still useful now and again, as you can change functions on the fly (type the name of the function in the top box, paste the definition from the lower box into the top box (change function foo(bar){...} into window.foo=function(bar){...}), edit, evaluate, repeat until it works.
- I also use the js shell you mention and the DOM inspector
- The web developer toolbar is handy, but I don't use much of its functionality regularly.
- I used to use log4js for logging, and still do if I need to analyze a lot of output since it'll spew stuff into a dedicated window.
- Then I discovered the firebug extension, which is wonderful, and has largely replaced log4js with its console.log function. It does have limitations though, so I keep the other tools around.
- For editing, I use emacs. For me, it comes up automatically in java-mode when I load a .js file, which is OK. (I used to use C-mode; java-mode seems to be a C-mode derivative anyway). The only problem is that some regexps confuse it; I use RegExp instead of literal /.../ notation when this happens as a workaround. It also forces you to use semicolons, which is a good thing as far as I'm concerned.
- C-c . linux RET gets indentation with tabs instead of spaces; M-x customize-variable RET c-default-style RET lets you set this permanently
- I bind F5 like this:
;; copy whole buffer with F5 (global-set-key [f5] (lambda () (interactive) (copy-region-as-kill (point-min) (point-max)) (message "%s copied" buffer-file-name)) )
- This lets me write a snippet in emacs, copy it into the evaluator and test it out without page reload.
- I wrote some tools to concatenate subfiles into a big single file, and split up such a big file into subfiles, and added a makefile to do this for me when I run M-x compile in emacs. I could put these somewhere if you're interested, although they're probably only useful for bloated scripts like mine :)
- I use CVS locally to store the script. This is sometimes useful when trying to see how I broke something.
- I host the script locally during testing. When wikipedia is being slow, I test on my local mediawiki installation (although this is sufficiently un-optimized that wikipedia is often faster to load!).
- I've also found Venkman to be somewhat unhelpful most of the time. I have used its profiling feature now and again, though.
- Lupin|talk|popups 14:04, 28 July 2006 (UTC)
- Thanks! That's very useful. The emacs bit particuarly, and the hint about hosting locally. I'd love to see your concat/split tools. JesseW, the juggling janitor 23:14, 28 July 2006 (UTC)
- I've pasted them at User:Lupin/jscat. Lupin|talk|popups 00:41, 29 July 2006 (UTC)
- Thanks! That's very useful. The emacs bit particuarly, and the hint about hosting locally. I'd love to see your concat/split tools. JesseW, the juggling janitor 23:14, 28 July 2006 (UTC)
Quicky bug...
Hi again :).
I'm having troubles testing my scripts because popups is eating up my bugs in js console ;). After about a minute this warning is produced regularly (at least one at a second):
Warning: reference to undefined property this.left File: http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 4924
Around that line:
Navpopup.prototype.limitHorizontalPosition=function() { ... log('limitHorizontalPosition: x='+x+ ', this.left=' + this.left + ', this.width=' + this.width + ', cWidth=' + cWidth); ... }
If I understand correctly this is for debugging only, so maybe you could just delete or comment out this line? Maybe it would also be possible to delete all debugging functions in released versions of popups. This probably wouldn't make it much smaller or faster, but some is still good enough :).
Regards, Nux talk | didn't answer? drop a note 08:52, 29 July 2006 (UTC).
p.s.: Just curious here - but how come popups is running in the background windows (tabs) and producing this warning even if I disabled it (with the menu thingy) on all opened pages?
Me again :).
I just wanted to let you know that on my translation of popups. I've deleted all debuging instructions (starting with the above log thingy, and finishing with debug.js) and nothing blown up my screen so I guess it was OK ;).
Also wanted to let you know that it works when you split JS file to sections. It might help you in small bugfixing. I did that by replacing
// STARTFILE: (.*)\n
with
/*\n</pre>\n$1\n<pre>\n*/\n// STARTFILE: $1\n
I used Zocky's SearchBox for that as I mostly working on Win98 and don't have any decent utf8 editors. Anyway works great - just needed to fix domdrag.js and add some workaround for livepreview.js as they both contained </pre> tag.
BTW. I belive that you should disable all events that are making popups work in the background when it is disabled.
Nux talk | didn't answer? drop a note 16:41, 7 August 2006 (UTC).
- I tried your formatting trick, but couldn't get it to work. Maybe there's some setting on en that prevents this which isn't set on pl? I tried a simple test at User:Lupin/test.js without success, too.
- The disable popups thing is really a cheap hack, and as you say it'd be better in principle if everything really was disabled. On the other hand, I'm not really sure if it matters to users. Lupin|talk|popups 18:04, 7 August 2006 (UTC)
Popups down
Its seems I just get "console" is undefined for popupsdev. At "console.log('id: '+this.id+', noPopup: '+this.noPopup);".Voice-of-All 02:18, 30 July 2006 (UTC)
diff Date problem?
Currently, when I hover over the diff link, the dates of both the old and new revision are off by exactly 1 month. In other words, an article last edited on July 29 is currently showing a date of 2006-06-29 in the popup. I went back to some edits from older months, like June and May and it seems to be reproducable. Is this a bug or an I having a "personal problem" and if so, do you have any recommendations? --Brian G 02:48, 30 July 2006 (UTC)
- This is an amusing bug. I should have spotted it, but thanks for bringing it to my attention :) Will fix soon. Lupin|talk|popups 03:01, 30 July 2006 (UTC)
- OK, you must have fixed it, sicne a good cache clear got it working again. Thanks, thats two bugs I pointed out :D~Voice-of-All 03:33, 30 July 2006 (UTC)
Experimentative
Lupin, thanks for the help. Experimentative actually is a word (look it up), but experimental is better. I wanted to keep it closer to experimentive(which is assuredly NOT a word) for the sake of the other user. Let's just go with experimental for now, I suppose.
That last comment was referring to the article on modernist poetry. --Erlaforest
Edit counter problem
The edit counter link is pointing to http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=enwiki_p&user=User:USERNAME, when it should be linking to http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=enwiki_p&user=USERNAME. — BRIAN0918 • 2006-07-30 19:52
Thanks
Really says most of it - thanks for popups. I got involved in a brief vandalism/revert session the other day and although I'm not slow I wasn't fast enough on my own! I look forward to exploring the features but it looks great so far. It isn't happy on Opera with me (freezes - latest version Opera) which is a pity bit I use Firefox more and more. If I can help with anything I'll happily try - thanks. Cheers -- Nigel 17:33, 31 July 2006 (UTC)
Spellcheck
Could you please provide a link to the list of flagged terms for the Lupin Filter live spellcheck?--The Count of Monte Cristo Parley 02:53, 3 August 2006 (UTC)
- Wikipedia:Lists_of_common_misspellings/For_machines Lupin|talk|popups 02:59, 3 August 2006 (UTC)
"Fair use"
I see you're slighly confused, "Fair use" is not why I commented out the image... the uploader is claiming public domain for it but there is no source detail on the uploaded image (please note my edit summary when I commented out that image). Please self-revert. Thanks. (→Netscott) 03:23, 4 August 2006 (UTC)
- Oh, OK. The thing which continues to confuse me is that the source of the image does appear on the talk page, as does a statement by the source releasing the image into the public domain. Is this not sufficient? Lupin|talk|popups 03:25, 4 August 2006 (UTC)
- The uploader Banzai! (talk · contribs) is specifying some friend named "Claire K." as the source for the original image (simple cropping of an original image does not constitue a new version under US copyright law). "Claire K." specified as a source = no source. (→Netscott) 03:30, 4 August 2006 (UTC)
- Oh, I see. The cropping issue does not seem to be a bone of contention here; rather it is the naming of the source (or rather the copyright holder) that is problematic. Presumably the friend wishes to remain anonymous, which has led to this muddle. Maybe one way out would be for Banzai to get his friend to assign the copyright to him, and he could then release the image into the public domain himself? Lupin|talk|popups 03:34, 4 August 2006 (UTC)
- The uploader Banzai! (talk · contribs) is specifying some friend named "Claire K." as the source for the original image (simple cropping of an original image does not constitue a new version under US copyright law). "Claire K." specified as a source = no source. (→Netscott) 03:30, 4 August 2006 (UTC)
An idea
I was thinking that it might be helpful write a script for the recent changes filter that would keep common terms such as "the" added by vandals to flood the filter from appearing similar to the script that you used to prevent "ho" from appearing.--The Count of Monte Cristo Parley 00:14, 5 August 2006 (UTC)
- I didn't write a script to prevent ho from appearing. The script I wrote simply locates the lines in the badwords file which match a given word. I used this to find the regexp which did match ho, and manually altered it so that it no longer did. Lupin|talk|popups 00:23, 5 August 2006 (UTC)
New edit counter for popups
In case you don't watchlist WT:RFA, Essjay has released a php version of Interiot's tool 2 on the toolserver. The format of the query is http://tools.wikimedia.de/~essjay/edit_count/Count.php?username=$1&submit=Count . Since both "kate" and "interiot" options for edit counter in popups are now broken, it may be good to make Essjay's the default; it is much faster than Interiot's tool 2 which can hang some browsers when counting >10,000 edits. Kimchi.sg 02:41, 5 August 2006 (UTC)
OrphanBot
OrphanBot has said your image has no source info. It contacted me because I last edited it. Does it have source info? --Thelb4 19:37, 5 August 2006 (UTC)
patch
Applied and checked in and synced. Thanks, and very sorry i did not give you credit in the check-in message (it was 3am at the wikimania). Enjoy :) --Yurik 19:22, 7 August 2006 (UTC)
Cancelling popup on click on link
It would be nice if a click on a link (for navigation or context menu) would cancel the popup to display, at least until the mouse is moved out and in again.
This is not a big deal in 90% of situations, but sometimes, perhaps when the CPU is a bit more stretched than normal, the showing of a new popup interferes a little bit with the navigating. For instance it might happen that the context menu opens, and then suddenly the popup opens and the browser doesn't react smoothly to the context menu.
This seems to me to be an easy problem to fix, but is not very urgent.
Yours faithfully, Shinobu 21:41, 7 August 2006 (UTC)
- Good idea, and it is indeed easy to fix :-) I've done so in the dev version. Lupin|talk|popups 01:52, 8 August 2006 (UTC)
spell check
Hey Lupin. firstly: aweome tool! :) good as.
Secondly: Is there anyway that instead of the "Show Changes" button being pressed, the "Save page" button can be pressed. It just seems a bit tedious to have to wait till the page loads, then wait till the diff loads, then click Save page, wait till that loads, then close it and move on.. You know what i mean? Thanks! --Deon555|talk|e|Review Me! :D 02:33, 8 August 2006 (UTC)
- Yes, this would be easy to do. However, the spelling list has proven error-prone in the past, both in terms of false positives and giving incorrect corrections in some situations. I'm therefore unwilling to change the script to do this. Of course you can still make your own copy of the script, change wpDiff to wpSave there and use that if you want, though. Lupin|talk|popups 12:26, 8 August 2006 (UTC)
Dot maps
Hi. The "dot maps" such as Image:Little Warley - Essex dot.png have not been rendering properly at anything other than full size for a while (I'm using IE6, IE7, Firefox). The image appears to move down and right with and area of transpency to the top left. Is/can anything being done to sort this out? Mrsteviec 08:18, 8 August 2006 (UTC)
- Not by me :-) Did you try purging every page in sight and/or reporting this on bugzilla? Lupin|talk|popups 12:21, 8 August 2006 (UTC)
Possible enhancement to popups
Thanks for all the work you've put into popups, it really is a great little script, and the only one that I actually keep enabled all the time. I remember you helped us out at WP:DPL before, so I wondered if you could do it again. What I'd really like is a way for popups to warn you when you go to save an article that includes links to disambiguation pages. I don't know how many people use popups, but prevention is better than cure, and I know for myself that it's very easy to include an ambiguous link accidentally. The feature could be disabled by default if people found it intrusive, but I think it could be really quite useful. I'm not sure how much work this would be, but it's an idea. Thanks! Soo 09:26, 8 August 2006 (UTC)
- As far as I can see, there's no reasonably bandwidth-efficient way to do this, sadly. Lupin|talk|popups 12:22, 8 August 2006 (UTC)
Query Documentation
Hi, we started the User Manual for query API, and can really use some samples for working from the browser (or any other info you may provide). Can you pitch in? Thanks! --Yurik 22:44, 8 August 2006 (UTC)
- Thanks! I cleaned it up a bit. Just a thought - would it be possible to make that code even shorter, otherwise i'm afraid of some people not being able to quickly grasp it. (maybe i'm just one of those people :) --Yurik 12:53, 9 August 2006 (UTC)
- Wow. :) What did you use to colorize? Also, in the comments you said 'show the pages that link to the given page', whereas you use the what=links, which returns the links from the given page. Which one did you intend? Thanks!!! --Yurik 14:15, 9 August 2006 (UTC)
- I used this, although it has bugs so I ended up tweaking it by hand. I mean whichever is returned by the script - I'll fix that :) Lupin|talk|popups 14:19, 9 August 2006 (UTC)
- Nice! What would be an easy way to try this code? Can I put it into my wiki js page and make it work simply by refreshing? Or there is another qickstart way? --Yurik 19:05, 9 August 2006 (UTC)
- I used this, although it has bugs so I ended up tweaking it by hand. I mean whichever is returned by the script - I'll fix that :) Lupin|talk|popups 14:19, 9 August 2006 (UTC)
- Wow. :) What did you use to colorize? Also, in the comments you said 'show the pages that link to the given page', whereas you use the what=links, which returns the links from the given page. Which one did you intend? Thanks!!! --Yurik 14:15, 9 August 2006 (UTC)
- Wow, nice tool, thanks! I added the info to the tutorial. --Yurik 01:13, 10 August 2006 (UTC)
Your tools
The da Vinci Barnstar | ||
For your creation of the Anti-vandal tool and Navigation popups, I am proud to bestow upon you The da Vinci Barnstar |
Thanks for creating two of the most useful tools on Wikipedia. Vandals, beware! Bakanov 12:37, 9 August 2006 (UTC)
Recent edits tools - request and thanks
I find the Recent IP edits tool really useful, many thanks! If it would be possible to have a similar tool for newbie edits that'd be wonderful, since spotting vandals early is so useful. Thanks again, Pseudomonas 12:41, 9 August 2006 (UTC)
- Good idea - I've submitted a feature request which would make this relatively easy. Until that's implemented, this will have to wait though. Lupin|talk|popups 13:15, 9 August 2006 (UTC)
- Oh, thanks, you're fast at this! :) Pseudomonas 13:56, 9 August 2006 (UTC)
GBthumb
I've just created a small Perl script (User:Wereon/gbthumb.pl) which should make it possible to automate conversion from GBmap to GBthumb templates, and we can finally do away with all the many images in Category:GBdot. If you don't mind, could you give it Lupinbot to do sometime? Thanks muchly. — Wereon 12:57, 9 August 2006 (UTC)
- Unfortunately, Lupinbot only really knows how to upload images, so I think it wouldn't be any good here. (It, or its operator, has actually forgotten how to do even that at the moment :-) Lupin|talk|popups 13:11, 9 August 2006 (UTC)
- Okay, thanks, I'll have a go myself. — Wereon 21:05, 9 August 2006 (UTC)
Images and spelling
Hello! Just noticed this edit by you. Given all the (awesome) JS scripts you have written, I'd presume that this was done by one too. However, as you can see, the spelling correction was done on an image name, which prevented the image from appearing. I thought I'd point this out, so you could debug your script accordingly. Cheers, and happy editing! -- thunderboltza.k.a.Deepu Joseph |TALK07:08, 10 August 2006 (UTC)
- Thanks - this was operator error :-) Lupin|talk|popups 11:31, 11 August 2006 (UTC)
- Partly mine too, since I am responsible for uploading the image with the misspelled filename. ;-) And while I'm here, I might as well clarify a few of my popup questions. The first is that I'm not able to get the "Fix disamb" option on my popups list even after adding
popupFixRedirs =true; popupWatchRedirredPages=true; popupFixDabs=true;
- to my monobook.js file. The second, is that when I hover over this link, I see the picture in its full size, and not a thumbnail as expected. Hope you can help me out with these issues. Thanks in advance!-- thunderboltza.k.a.Deepu Joseph |TALK06:45, 12 August 2006 (UTC)
- I've added a little note to the FAQ about options not taking hold - basically, check that caching is not getting in the way. Template previews are likely to be flakey in general, but I see what the problem is there. This will be fixed in the dev version shortly. Lupin|talk|popups 14:57, 13 August 2006 (UTC)
History windows too small
Hi, i keep getting various history windows too narrow -- the longer comments tend to be outside of the yellow box, with transparent background / dark gray background on top of the regular page to the right of the poped up window. It has been like that for a very long time. I saw this behaviour on both the latest minefield (nightly FF build) and on latest 1.5. Sometimes the text is properly wrapped, but that is rare. Thanks! --Yurik 23:17, 13 August 2006 (UTC)
- Yes, this is a CSS problem and I don't know the solution. Contributions welcome... Lupin|talk|popups 01:47, 14 August 2006 (UTC)
Navpops RFE
I wonder if when showing a diff, Navpops could also be made to show the contributor and edit summary. Phr (talk) 01:49, 14 August 2006 (UTC)
Barnstar
popups.js
Hello Lupin! Can you say me, please, why does your Template popups.js not work on my account on the German Wikipedia in the ? Does it not work, because it is the German Wikipedia? Or did I make something wrong, with the input into my monobook.js? Hovers over the diff-Link does not popup something and over pictures, too! It is all so like before, it changed nothing. Please answer on this discussion site, thank you! DocTaxon 09:29, 15 August 2006 (UTC)
- It works now! Thank you, DocTaxon 11:35, 15 August 2006 (UTC)
- ouch, the Germans seem to translate basic functionality in their WP so your script loosens more and more functions. Maybe you can check. Regards, BJ Axel —The preceding unsigned comment was added by 85.212.171.138 (talk) 10:30, 14 January 2007 (UTC).
"bad remove" watch for filter recent changes
if possible, could the filter recent changes tool be made to watch for removal of a list of tags and other content that should never, or rarely be removed? - Stephanie Daugherty (Triona) - Talk - Comment - 10:34, 15 August 2006 (UTC)
how to fix links to disambiguation pages
I am trying to use the option fix links to disambiguation page from the navigation popups on the Dutch Wikipedia, but it does not work there. I have added the line: popupFixDabs=true; to my monobook and cleared my browser's cache. I do not see an option fix, or anything. The reason for this is probably that the template indicating a page is a disambiguation page is {{dp}} in stead of {{dab}}. can this be overcome somehow? Best regards, 07:37, 16 August 2006 (UTC)
- Not currently. I have to fix this. Lupin|talk|popups 12:24, 17 August 2006 (UTC)
- Any idea, when you will have time to fix this? This would be a much used option for me. Magalhães 14:13, 17 August 2006 (UTC)
About MediaWiki formating on JS subpages...
Hi again after a break.
I don't really know how this works, but after editing .js page it gets parsed by MediaWiki and all sections are editable ([edit] links are shown) and an index is generated. Somehow it stayed that way on my version and I'm very happy about it ;). Anyway at first it didn't work and you may see that I've made kind of an editing index on the talk page [28], which you might also use.
You may see that this also works on your test page here -> edit first section.
Nux talk | didn't answer? drop a note 21:57, 16 August 2006 (UTC).
- This chunk of code from Article.php seems relevant:
if( !$outputDone ) { /** * @fixme: this hook doesn't work most of the time, as it doesn't * trigger when the parser cache is used. */ wfRunHooks( 'ArticleViewHeader', array( &$this ) ) ; $wgOut->setRevisionId( $this->getRevIdFetched() ); # wrap user css and user js in pre and don't parse # XXX: use $this->mTitle->usCssJsSubpage() when php is fixed/ a workaround is found if ( $ns == NS_USER && preg_match('/\\/[\\w]+\\.(css|js)$/', $this->mTitle->getDBkey()) ) { ...etc etc
- Looks like js pages in user space are treated specially (wrapped in pre tags). Lupin|talk|popups 12:22, 17 August 2006 (UTC)
Talk:Main Page javascript request
Would it be possible to add some javascript to Mediawiki:Monobook.js to permanently add Template:Main Page discussion footer to the bottom of Talk:Main Page, so that if someone clicks (+) to create a new section, the section will go above the footer? Thanks. — BRIAN0918 • 2006-08-17 18:14
RE: CSS advice
Sorry it took me so long to respond, but I've been away most of the summer and just now checked for messages. For me, [29] does not spill over. However, [30] does kind of spill over. By that, I mean that the gray shaded areas and some text extend past the right-hand boundary of the pop-up. Is that what you mean by spill over? If it is, I don't see why it wraps irregularly in certain cases. I'll look into it a bit more and then get back to you. Thanks for making popups! --M@thwiz2020 13:49, 22 August 2006 (UTC)
I've noticed that in the above example you may see that the browser is not able to brake a text like:
[[Special:Contributions/68.124.164.144|68.124.164.144]]
The problem is that navpopup_maindiv width is set to 350px. I've chcecked that using "width: 450px; max-width: 450px;" in it's style would be enough here and should be enough in general. Maybe you could just add some style fixing code in function editPreviewTable. Maciej "Nux" Jaros **drop a note** 03:26, 23 August 2006 (UTC)
Damilola Image
Apologies, I did obtain Image:Damilola Taylor.jpg from the public domain. If you could change the licensing I'd be much obliged. 88.105.41.232 15:31, 23 August 2006 (UTC)
dotty maps
I'm currently in the process of replacing all your dotty GB maps with versions using GBthumb etc., and so I am listing all the orphaned maps for deletion. Hope you don't mind. Incidentally, it seems like quite a few of them weren't ever used. — Wereon 21:04, 23 August 2006 (UTC)
Bug with redirect fixing while editing...
Hi.
Popups is able to display preview when highlighting text in edit area, but it is not working well then. I'm not sure why is this happening, but I guess that it is because you take first header's content (or maybe page title) as an article title. This is not correct while editing as the title is e.g. "Editing User talk:Lupin (comment)". I'm not sure how you could fix this, but maybe you could take the title from the first tab (here <li id="ca-nstab-user"><a title="" accesskey="c" href="/wiki/User:Lupin">User page</a></li>) or maybe just replace all occurences without reloading the page (which would probably be the best).
Best regards, Maciej "Nux" Jaros **drop a note** 08:24, 24 August 2006 (UTC).
PS: If you will decide to take the title from the first tab, then you could probably use something like:
var this_simple_href = document.getElementById('p-cactions').getElementsByTagName('li')[0].getElementsByTagName('a')[0].href;
Well, friends, this is it...
I'll be moving to Connecticut tomorrow along with my family. I'll be leaving Wikipedia for a while until everything gets set up at our new home. It all depends on my Internet access, but I'll be seeing you in a week or two. Bye! --Slgr@ndson (page - messages - contribs) 02:01, 25 August 2006 (UTC)
Popup Count
I was wondering if there is some way for the "count" button to work with Interiot's Tool2? The other one no longer works (it doesn't update). Thanks in advance. -Royalguard11TalkMy Desk 05:35, 26 August 2006 (UTC)
- Me again, but I was wondering about Essjay's tool too as above (on your talk page). How would I do either of those? -Royalguard11TalkMy Desk 05:42, 26 August 2006 (UTC)
- Never mind about the above. After a little experimenting, I figured it out. Although you should consider making Essjay's tool the defult one. -Royalguard11TalkMy Desk 00:38, 29 August 2006 (UTC)
Popups problem.
I have been occasionally getting a nasty error message. The symptoms are as follows:
- The page loads correctly.
- An error dialog is shown: "The website <url of article> cannot be opened. The action is aborted." [OK only]
- The page is replaced by a built-in navigation error page.
- Press the back button and you're back on the page at point 1.
I at first thought I had a coding error in one of my own script, but I have found a way to reproduce the error that shows that Popups is to blame.
- Place the mouse pointer at the location of a link or image on the target page.
- Navigate to the target page.
- While the browser is loading the page, fiddle the mouse a bit.
- Above symptoms occur as soon as the navigation completes.
I'm not sure how to go about fixing this. As you can see the problem will not occur frequently, since for it to happen the mousepointer must accidentally move over the place where a link is in the target page. Still, it's very annoying when it happens.
I'm sorry to bring up such an obscure problem, so I'll try to help by giving you my idea on what might cause this to happen. You're loading the popups here, right?
<script type="text/javascript"> if (window.runOnloadHook) runOnloadHook(); </script>
So that might mean that the page is not fully loaded when the links are getting their popups wired. If they then receive a mousemove, the computer is still busy, the timeout elapses, page still not fully loaded because the last bit of page simply hasn't been processed yet, popup appears, tries to open a connection while the connection with the current page is still open... it could be. Of course, it might be something totally different.
If I can find a way to stop this from happening, I'll let you know. Bye, Shinobu 02:20, 28 August 2006 (UTC)
I've inserted the following code just before inclusion of your script:
function TryToFixLupinsPopups() { var fns = []; var onreadystatechange = document.onreadystatechange; var oldOLH = addOnloadHook; //Not used addOnloadHook = function(fn) { fns[fns.length] = fn; }; document.onreadystatechange = function() { var i; try { onreadystatechange(); } catch(e) { } if(document.readyState == 'complete') { document.onreadystatechange = onreadystatechange; for(i in fns) fns[i](); } }; } TryToFixLupinsPopups();
It seems to help. I'll test this configuration for a while, so I can fix any problems that might occur. If it keeps working, we might discuss if and how we'll finalize the solution. For instance, I'm using another script that uses almost the same code to hook into onreadystatechange, so that could become a shared library. Or a script could be created that changes addOnloadHook like the above does - these two are not mutually exclusive of course. But first I'll go on reading on Wikipedia for a while, and try to reproduce te problem, to be as sure as possible that the problem is actually solved. Shinobu 04:49, 28 August 2006 (UTC)
Before you ask: yes, above code contains a slight bug. It was originally only intended to shield against a possible built-in Wikipedia onreadystatechange hook, so that other script using the same code interferes a bit, although not noticeable. If I turn this into a shared lib, I'll fix that. Shinobu 23:49, 28 August 2006 (UTC)
It turns out onreadystatechange is not portable, but no need to panic. In de standard Wikipedia function library sits a good alternative, so it seems. I'll do some more tests.
hookEvent("load", function() { //Do stuff here. });
Faithfully yours, Shinobu 03:01, 31 August 2006 (UTC)
Everything seems to work fine now. Code is located at User:Gerbrant/alternativeOnloadHook.js. Yours sincerely, Shinobu 05:22, 31 August 2006 (UTC)
- Great, thanks for the work you've done on this bug. Could you prepare something I can use to fix the popups.js script directly? I don't understand your module business, I'm afraid. Lupin|talk|popups 08:32, 26 September 2006 (UTC)
(section split for editing convenience)
The "module business" is just something I use for ease of debugging and loading scripts - just ignore it, it's not needed for the problem at hand. I only explicitly declared the module because that made it easy to toy with the functions on my computer locally.
Relevant code:
this.alternative = function(fn) { hookEvent("load", fn); }; addOnloadHook = this.alternative;
Since your script calls addOnloadHook, I just override it with this.alternative. It accepts a callback function, just like addOnloadHook, and passes it to hookEvent in wikibits.js.
So you could either replace calls to addOnloadHook by hookEvent, or, if you want to keep this configurable, copy-paste
function(fn) { hookEvent("load", fn); };
and use whichever function the settings for popups say should be used, like
if(useAddOnloadHook) myOnloadHook = addOnloadHook; else myOnloadHook = function(fn) { hookEvent("load", fn); };
I hope this helps. Yours sincerely, Shinobu 09:50, 3 October 2006 (UTC)
Edit summary bug?
I recently updated popups and have noticed that, when I make a reversion, the edit summary reads "(Revert to revision $1 dated $2 by $3 using popups)". When you have a moment, can you look into that? Thanks :) RadioKirk (u|t|c) 17:55, 28 August 2006 (UTC)
- I'm using a different monobook.js file now, so, never mind. :) RadioKirk (u|t|c) 12:44, 29 August 2006 (UTC)
My problem with the pop ups.
I cannot view the "actions" bar on the pop ups and I am unsure how I can. When I hover the cursor over "actions" nothing happens. I have asked User:Voice of All (from whom I receive the monobook coding) if this is a problem with the code or my computer and I was advised to ask you. If you have any information which can help me, I would truly grateful, thank you. - Erebus555 20:04, 30 August 2006 (UTC)
Badwords
Hi, I wanted to let you know I had ripped your javascript and your list of badwords to be able to use my own list (which suits more my needs, for example to see if some templates are added on a page). If you don't want me to do that, just tell me so on my talk page and I'll remove both files from my userpage. I didn't put any link to these two files anywhere, so I should be more or less the only one able to use them. Thanks a lot for this wonderful tool :) Lucasbfr 22:42, 4 September 2006 (UTC)
User contrib counter
Take a look at this :) --Yurik 04:17, 5 September 2006 (UTC)
Kudos, and request
Once again kudos for the wonderful popup script, and for implementing a feature that I had requested earlier (history preview). I have another request, and I don't even know if it is possible: on my system (Windows/firefox), when I hover over a link near the bottom of the page, the popup window will show up even further down and will only be partly visible. It would be nice if the popup window could be displayed above the link in these situations. Cheers, AxelBoldt 23:17, 7 September 2006 (UTC)
- Yes, this is a known bug. I should list these somewhere... Lupin|talk|popups 08:37, 26 September 2006 (UTC)
popup link count versus what links here
HI, Thanks for the popup feature; it's incredible. For link disambig (and in fact, for every context, as far as I can see) the count of "What Links Here" in main namespace (namespace 0) is far more useful info than the number of links on the page (as currently appears on the popup). In fact... I can't think of a context in which the latter is useful at all, except to give an idea how long the article is.. but the size in KB does that pretty well... so the link count in its current form is redundant.. but count of "what links here" in Main would be useful... Thanks --Ling.Nut 10:36, 9 September 2006 (UTC)
a new toy
I've made a new toy that you might find useful. It's at User:Zocky/jsSandBox.js. As always, comments are welcome. Zocky | picture popups 07:02, 11 September 2006 (UTC)
- Looks very nice! It appears fine, but doesn't respond properly to control-enter and control-space. The former does nothing, and the latter makes the context menu appear - I think this is a mac shortcut. Maybe another script is gobbling the control-enter keystrokes, I'll investigate if I get the chance. Lupin|talk|popups 08:45, 26 September 2006 (UTC)
Popups revert summary incorrect
see diff. (Revert to revision $1 dated $2 by $3 using popups) Shinobu 22:00, 11 September 2006 (UTC)
- The problem persists: diff Shinobu 13:13, 13 September 2006 (UTC)
- Yes. Maybe it's a Heisenbug or something. Perhaps the new API will export a more robust way of saving article text. Shinobu 09:38, 3 October 2006 (UTC)
- I purged my cache again to be really sure and reverted something; result: it happene again. We'll have to make do, I suppose. Shinobu 10:13, 3 October 2006 (UTC)
<a title=""
Bug: Why your (popups) script made all title attributes in (article) links/ anchors empty!?!? Is that necessary? greeting —Olliminatore 12:33, 12 September 2006 (UTC)
- No, it's not necessary, but the alternative is having the browser title popup over the javascript popup, which I find disatracting. There's an ancient option to turn this off - see WP:POP. There's also a way to access the titles from a script if you're interested. Lupin|talk|popups 08:49, 26 September 2006 (UTC)
- Many thanks and sorry, your mentioned parameter solved the problem! —Olliminatore 22:23, 30 September 2006 (UTC)
New error today?
Error: this.article has no properties Source File: http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 6216
Hello, I've started getting the above error (Netscape 7) today, hovering over, for example the "popups" part of your sig. TIA --Connel MacKenzie - wikt 21:38, 14 September 2006 (UTC)
- Works for me in firefox. Can you replicate in that browser? Lupin|talk|popups 08:50, 26 September 2006 (UTC)
My Spellchecker
I'd like your opinion on my preliminary spell checker. On the English Wiktionary, if you visit wikt:WT:PREFS you can enable the spell-check button. Edit a random page, then try the the green check-mark "Check spelling" button. Feedback is appreciated. --Connel MacKenzie - wikt 08:00, 16 September 2006 (UTC) (edit) 17:04, 20 September 2006 (UTC)
Three more feature requests
If you find them useful and have the time, maybe you can implement these:
- Hovering over the "history" link of an article should pop up that article's history, just like it does on watchlist pages (gives a quick overview of the last changes to an article).
- Hovering over the "What links here" link of an article should popup the first entries of the What links here list.
- Hovering over the "User contributions" link on a user page should popup that user's contributions (gives a quick way to find out if a user is still active).
Thanks again for your tool. Cheers, AxelBoldt 17:57, 16 September 2006 (UTC)
- If you set popupOnlyArticleLinks=false, then you get the first and third for free. I haven't investigated the second, but should! Lupin|talk|popups 08:51, 26 September 2006 (UTC)
Navigational popup transparent
Is this a bug in Firefox 1.5.0.7 or actually in the navigational popup JavaScript? Thanks - Samsara (talk • contribs) 22:03, 18 September 2006 (UTC)
- It's very likely to be a caching issue. See WP:POPFAQ for instructions on resolving it. Lupin|talk|popups 08:52, 26 September 2006 (UTC)
Article summary
Is there an option for Wiktionaries, to customize what is shown on a summary? Wiktionary does not use the Wikipedia-style prelude for its entries. It would be nice if there were an option to instead show all lines starting with "#" (i.e. definitions) when running on Wiktionary. Is there a way to do this, with the current version? --Connel MacKenzie - wikt 17:06, 20 September 2006 (UTC)
- Not conveniently, no. If you want to try your hand at this, take a look at the Previewmaker stuff in popups.js. Lupin|talk|popups 08:53, 26 September 2006 (UTC)
- On Wiktionary, I'm having people use wikt:WT:PREFS to set various cookies (so that even anons can use popups.) I add wikt:User:Connel_MacKenzie/mess-with-popups.js to that, to preview Wiktionary entries as I said above. But my code is quite sloppy in comarison to yours.
- When using that on Wiktionary, it works. But Wikipedia links do not preview Wikipedia articles (and, if I recall, Wikipedia popups do not preview Wiktionary entries.) Do you have any plans to expand the list of 'preview-able' links to cover all the WMF projects? It would be nice to not have to hop over to Wikipedia just to get a quick preview. Note: if you do preview Wiktionary links, please, preview only 'properly formatted' entries as I did in 'mess-with-popups.js'. Thanks in advance. --Connel MacKenzie - wikt 17:56, 20 November 2006 (UTC)
Just a question
Is there anyway to view the headings related to the topic in popups. This would be helpful to get a bit more of an overview of an article (whether it's a stub and needs to be tagged, any other minor MoS changes) and also provides a context to the diffs that one sees. I sometimes avoid reverting using popups on diffs because I think that I may not know the exact context of the diff. This would be extremely helpful. Thanks. Nobleeagle (Talk) 07:08, 21 September 2006 (UTC)
- Sorry, I don't understand this request. Please could you clarify exactly which headings you would like to see, and when? Thanks, Lupin|talk|popups 08:55, 26 September 2006 (UTC)
- Basically, is it possible to see the Table of Contents in a popup? Nobleeagle (Talk) 09:56, 26 September 2006 (UTC)
Altering existing interface links
Please could you help me as I am having trouble using the JavaScript shown at [31], I have tried many methods: for example wrapping it in an onload hook thing and a function. I recived no reply from the village pump and the JS WikiProject seems dead. I am trying to use this code in this manner:
document.getElementById("n-Featured-articles").childNodes[0].href="/wiki/Wikipedia:Fetaured_content" q=document.getElementById("n-Featured-articles").firstChild; q.removeChild(q.firstChild); q.appendChild(document.createTextNode("Featured content"))
Thank you in advanced. Lcarsdata (Talk) 17:53, 21 September 2006 (UTC)
Using popups on other wikis
I was wondering if it was possible / how to get popups to work on other MediaWiki wikis. I first just put it in like on here, but the popups (though working) just showed everything as empty pages. I tried looking in the code and changing each en.wikipedia.org to the address of the site, but that didn't do it. Is there a simple way to get it to work (certain things to find/replace), for someone who doesn't actually know what the code is doing? -Goldom ‽‽‽ ⁂ 07:54, 22 September 2006 (UTC)
- If you follow the instructions at WP:POPFAQ, it should just work. Lupin|talk|popups 08:56, 26 September 2006 (UTC)
Edit summary text before submitting
I'd like to be able to modify the Edit summary before submission when doing a revert. Probably the easiest way would be to make it so that it doesn't automatically submit the page. Could this be made some sort of user selectable feature perhaps?
- This is a currently available option. Try setting popupRevertSummaryPrompt=true. Lupin|talk|popups 08:57, 26 September 2006 (UTC)
VoABot
I'd like to give 1-2 other trusted, knowledgable users the source code and info to run my two bots. Would you be interested? Thanks. Voice-of-All 21:35, 30 September 2006 (UTC)
List Red Links
I have a bug, and an extra feature for the list redlinks script.
Bug: The href of the link in the list goes to to "#redlink123", but the problem is that the links in the list also have the name #redlink123, so it just goes there. A simple fix:
l.name = "";
Extra feature: The redlinks in the list just show the redlink title and not where it actually goes. Simple fix:
var lp = unescape(lk.href.replace('http://en.wikipedia.org/w/index.php?title=', '').replace('&action=edit','').replace(/_/g, ' ')); if(l.innerHTML != lp) l.innerHTML += ' ('+lp+')';
GeorgeMoney (talk) 21:46, 30 September 2006 (UTC)
- Thanks - I've fixed the bug. I can't help thinking that the extra feature could be confusing in some situations, but of course feel free to use it. Lupin|talk|popups 09:39, 1 October 2006 (UTC)
Scripting and logging
Hi there! I was told you are an adept javascriptor; could you please look at User talk:Interiot regarding a suggested log page that could benefit from scripting? Your input would be appreciated. >Radiant< 10:37, 1 October 2006 (UTC)
Re: copvyio nuker
Check out commons:MediaWiki:Quick-delete.js. You can pass almost anything in the URL with {en|de}codeURIComponent. [ælfəks] 05:08, 2 October 2006 (UTC)
Error on CSD page
Hello. I have been having a problem with a specific page, WP:CSD. I posted the details at Wikipedia talk:Criteria for speedy deletion#Technical error with this page? because I thought that it was something in the page itself. Someone there is suggesting that it may be related to popups. Could you please take a look. I've not copied all the text here, but I can if you would like. Thanks --After Midnight 0001 11:45, 2 October 2006 (UTC)
Cross-wiki popup preview bug
A link to my Wikimedia Commons contributions on a Wikipedia page (such as this) previews as my Wikipedia contributions. --Pascal666 07:14, 3 October 2006 (UTC)
Live preview and images
Hi.
I just wanted to notify you that I've made a bugfix in pl.version of popups that fixed problems with images when they where refered with default "Image" instead of Polish "Grafika". See [32].
Cheers, Nux (talk) 20:13, 3 October 2006 (UTC)
Problem with scripts
Hello!
I've been using your scripts (popups and recentchanges) for a while, and they are no longer working; I miss them terribly, and am exceedingly annoyed when I try to preview an article and can't. I actually get annoyed when I can't preview links on sites other than Wikipedia!
Anyway, my scripts are no longer working, and I've tried replacing them and reverting my monobook.js page and refreshing everything, but they still aren't fixed. The popups worked for approximately two and a half minutes after I re-added the information the second-to-last time, but the recentchanges still isn't working. I was hoping to get some vandal-fighting done tonight but I guess I'll have to wait... it is a good chance to get some tedious stuff done. But still.
I'd appreciate if you could let me know if there's something I should try or something I'm doing wrong. I can't think of anything, but you're obviously smarter than I and I may be missing something entirely obvious!
Thanks again for your tools. I am now realising that I can't live without them, and don't know what I did before I found them! — Editor at Large(speak) 08:15, 7 October 2006 (UTC)
- Wait, never mind. They're working again. I don't know if someone did something or if it was something on my end, but thank goodness! I'm going to go dance around for a minute after I'm done admiring the lovely yellow popups that have returned... — Editor at Large(speak) 08:28, 7 October 2006 (UTC)
Hey
Don't mean to sound rude or anything but I just thought I'd remind you of my earlier query as it remained unanswered. Nobleeagle [TALK] [C] 06:42, 8 October 2006 (UTC)
Your Edit Counter thing
Hi. I just tried to use your edit counter thing at User:Lupin/editcount.js, copied it onto my User:Ed/monobook.js and it simply didn't work. Can you tell me if I did anything wrong?--EdI'm lonely, talk to me contribs 17:13, 9 October 2006 (UTC)
Popup code does not see user link
I noticed that when I view Recent changes and someone made multiple changes in one day to the same page, the popup code does not see the user link as a link. I only get the standard tooltip. Will (Talk - contribs) 01:26, 13 October 2006 (UTC)
Problems with wikis at Wikia.com
I added the code for popups to http://starwars.wikia.com/wiki/User:Will_Pittenger/Monobook.js and found it worked fine. So then I added it to http://www.wikia.com/wiki/User:Will_Pittenger/Monobook.js and http://christianmusic.wikia.com/wiki/User:Will_Pittenger/Monobook.js, both on the same site as the Star Wars wiki. In those wikis, it does not work at all.
Is there a solution? Will (Talk - contribs) 19:02, 13 October 2006 (UTC)
- After further evaluation, the starwars popups aren't working either. The popup appears, but then never expands. The links in the drop menus for the talk page (and similar links) work. That leaves me wondering if the code that expands the popup is assuming the website is Wikipedia rather than "starwars.wikia.com". Will (Talk - contribs) 17:59, 19 October 2006 (UTC)
Any chance of a solution soon? No one has responded to to these posts. It would be nice to at least know someone knows of the problem. Do you even care about Wikia.com wikis? Will (Talk - contribs) 05:40, 24 October 2006 (UTC)
- The script should work on wikia. It works with firefox for me using [33]. Lupin|talk|popups 08:09, 26 October 2006 (UTC)
I just tested with some Star Wars links. It worked on most namespace pages. However, I never got any expansion for the diff or history popups.
Futhermore, I get nothing on wikia:ChristianMusic or WikiCities:. It is installed in both wikis. See wikia:christianmusic:User:Will Pittenger/Monobook.js, WikiCities:User:Will Pittenger/Monobook.js, wikia:StarWars:User:Will Pittenger/Monobook.js,
Like you, I use Firefox (1.5.0.7). Will (Talk - contribs) 02:33, 31 October 2006 (UTC)
- It looks like wikia wikis don't use the query extension. This will affect some popup functionality. Try setting popupUseQueryInterface=false to hopefully avoid seeing broken behaviour (but with reduced functionality - for example, history previews just won't work without query). You could also request that query.php be installed on wikia. I think you have to use monobook.js and not Monobook.js on the other wikis you mention. Lupin|talk|popups 20:53, 31 October 2006 (UTC)
I doubt the Wikia staff would install it. They refused to install Winter for the Christian Music wiki that I admin. As for the name, since the name is the same for all three wikis, I question that is the problem. I made no changes to that for them moment. I did notice the problem JS pages are formated differently from the Star Wars version. Could that be a symptom of the problem? Will (Talk - contribs) 05:12, 1 November 2006 (UTC)
New API
Hi, i've been working on the http://en.wikipedia.org/w/api.php for a while, and got some of the features up and running. I remember you were asking me about revision enumeration. Please take a look (also see the m:API) if that is what you wanted. Watchlist will by synced up soon. Edit submits are planned :) --Yurik 20:06, 13 October 2006 (UTC)
Using popups in my watchlist
So I did everything listed for installation at WP:POP, and it works fine everywhere…except my watchlist and the Main Page. — $PЯINGεrαgђ 23:10, 16 October 2006 (UTC)
unsolicited advertisements
Dear Lupin,
As you are the creator of the "popups" software, and as the source code appears to be located on one or more of your user pages, I send you the following requests :
Please remove from User:Lupin/strings-draft all advertisements in the form of the phrase : 'using popups'.
Please do what is necessary so that they are also removed from foreign languages translations.
This is Spam. This is annoying. I do not want to find those in my watchlist any longer.
The purpose of edit summaries is not to advertise oneself.
This being said, I have no doubt your tool is a wonderful device helping a lot of people to perform their tasks on Wikipedia.
Best regards.
Teofilo talk 08:26, 23 October 2006 (UTC)
- So how are people going to find out where to go to get the same tool that the previous editor was using? Your argument is short-sighted. - Samsara (talk • contribs) 22:44, 23 October 2006 (UTC)
- Agree with Samsara. It's actually helpful knowing a tool like pop-ups was used. Why? If you know that a tool was used and it malfunctioned you can talk to it's creator (here ;-)) and ask him/her to fix possible bugs. If you don't know, but want to know more about something that might come in handy , the link is useful as well. As long as it's confined to summaries, not in articles itself it's fine by me. NielsF 02:51, 24 October 2006 (UTC)
- This has been discussed before. You'll probably find the old discussion at User:Lupin/alltalk. Lupin|talk|popups 08:10, 26 October 2006 (UTC)
rollback feature
Your rollback feature is very useful. However, it automatically marks all reverts as minor. I don't like that, since I don't consider vandalism reverts as minor. How can I change that? --Exir KamalabadiJoin Esperanza! 10:46, 24 October 2006 (UTC)
- There's no clean way to do that at the moment. I'll add it to the todo list. Lupin|talk|popups 21:00, 31 October 2006 (UTC)
Quick reporting of vandals
Yesterday, several pages like Hungarian Revolution of 1956 and Nebraska got hit by a swarm of IP vandals. I made a total of 8 submissions to the Wikipedia:Administrator intervention against vandalism page, along with numerous reverts (I wish I had had popups then :( ) but practically every single time I did, I had to make my edit first, and then copy it, refresh the edit window, and make it again to submit it. This is despite copying previous edits of mine to speed up how quickly I could submit the vandals (and I should note that I only got 8 of them because I had to leave). It seems there were a lot of other people trying to stop the flood as well. I noticed you had one-click reversion among the features, and I'm curious if you could make something like that for vandal submission. In this case, something a one-click revert and warn next to the regular revert. If the user has received the full range of warnings already, or is a repeat vandal, then it should send a submission to Wikipedia:Administrator intervention against vandalism. This would make my life a lot easier if this happens again. -NorsemanII 15:36, 24 October 2006 (UTC)
- I think there may be tools like this already in circulation. Lupin|talk|popups 20:59, 31 October 2006 (UTC)
Possible extension of anti-vandal tool
Lupin, I just came across your anti-vandal tool recently, and was blown away! Thanks for your efforts to provide tools to make things easier for us less-godlike users!
I had an idea for an extension that could be useful for WikiProject Disambiguation -- a "new links to disambiguation pages detector." Basically, it would filter the Recent Changes feed just like your AVT, but instead of looking for vandalism it would look for links to disambig pages. Not all of them, of course, but a list of the ones that are most frequently linked to, like American, English, and so forth. We could easily develop such a list using the data generated on WP:DPM. When it detects a newly-added link, instead of (or in addition to) a warning or a rollback, it would allow the operator to click a link to post a polite message on the user's talk page informing them that their recent edit to Pagename included a link to Foogle, which is a disambiguation page, and it would be extremely helpful if they would be so kind as to edit this link to point to the most appropriate article (of those listed on the disambig page) corresponding to their topic.
Is this something you would be interested in? Is it feasible? The only downside I can see is that it might generate a lot of talk page messages. --Russ (talk) 20:40, 18 October 2006 (UTC)
- This is moderately feasible, I think. Certainly flagging pages containing links to a given page is doable, although the filter doesn't actually restrict attention to stuff added by the editor and it sometimes flags things which appeared in previous edits. This isn't generally a problem for vandalism indicators, but it may be for your application. The talk page editing business would be possible, but I don't know how annoying it would be for the editors concerned! Unfortunately I don't really have time to spend writing new code right now, though. Lupin|talk|popups 20:58, 31 October 2006 (UTC)
Lupin Rollback
I have got Lupins tool. So how do I do non-admin rollback? Because when I click on it, it does nothing. Please archieve your talk page. Thanks Culverin? Talk 04:38, 2 November 2006 (UTC)
Same here. I have non-admin rollback, and it won't work for me either. Nothing happens, and nothing is logged in my contribs. Cheers, MichaelHenley (Page-Talk-Contribs) 02:19, 8 November 2006 (UTC)
- Which tool are you referring to? Reverting from popups still works for me, as does reverting from the Filter recent changes page. Lupin|talk|popups 21:17, 10 November 2006 (UTC)
Draggable divs
Is there an easy way to make an arbitrary div (eg. inserted by a Greasemonkey script) draggable in the same (or similar) way that popups are? Also, are there any better "draggable" libaries available other than the one you're using? [ælfəks] 03:11, 8 November 2006 (UTC)
- I don't know the answer to either of your questions. Sorry! Lupin|talk|popups 21:18, 10 November 2006 (UTC)
- Never mind, we've sorted it out; I managed to find a version of domdrag optimised for use with Greasemonkey. [ælfəks] 02:00, 23 November 2006 (UTC)
Popups not showing
It could be a problem specific to the public computer I'm using right now, but suddenly popups aren't showing anymore and I used them to put something on my watchlist a few hours ago. Did anything change in the meantime? What could cause this? - Mgm|(talk) 11:54, 8 November 2006 (UTC)
- Dunno, sorry. Is it still a problem? Shift-reloading often seems to fix this sort of thing. Lupin|talk|popups 21:13, 10 November 2006 (UTC)
Citation on Paro
Alright this response is quite late, however I was wondering how should I cite references to the stuff I added on "Paro". What I added was based on my visit to Paro, also could I upload images of Paro?
wikEd
Hi Lupin, I thought you might be interested in this. I am theauthor of the Cacycle editor extension. Thisprogram is no longer actively maintained in favor of its much morepowerful successor wikEd.
wikEd has all the functionality of the old editorplus: • syntax highlighting • nifty imagebuttons • more fixing buttons • paste formatted textfrom Word or web pages • convert the formatted text intowikicode • adjust the font size • and much, muchmore.
Switching to wikEd is easy, check the detailed installation description on its project homepage.
Cacycle 22:33, 8 November 2006 (UTC)
User:Lupin/recent2.js edited
Hello Lupin,
I'm very sorry I think I edited your User:Lupin/recent2.js' page by accident. Have I damaged anything? Feel free to reverse my "vandalism"! (Nobody seems to complain so it is possibly minor)
Nmacpherson 23:16, 8 November 2006 (UTC)
What is supposed to happen when you click Revert for the newest edit?
In history, if you hover over the newest edit, and click revert, what should happen? In my experience, you point to the version you want to revert to -- not from. If you attempt to revert to the newest version, WP goes through the motions of reverting, so you might think the change was reverted. But it's still there.
I think you need to display some sort of error message when that happens. Will (Talk - contribs) 04:48, 9 November 2006 (UTC)
- You're correct - I'll add this to the TODO list. Thanks for letting me know. Lupin|talk|popups 21:19, 10 November 2006 (UTC)
You fixed this, but forgot to tell me. The new code requires that you specify the version to revert from. Will (Talk - contribs) 04:40, 27 November 2006 (UTC)
popups and history timestamps
When the popups tool is used to view page histories, it shows the time of each edit to the exact second. However, the normal history page only shows the time to the minute. Where does the popup script get this additional data? Thanks. --Ixfd64 02:44, 11 November 2006 (UTC)
Watchlist diffing monobook.js
Lupin -- you seem to be Wikipedia's expert on custom javascript, so I'll run this by you.. I've created a script that adds the "history" tab's diffing interface to your watchlist. Two radio buttons next to each revision of an article. Click one on the left, click one on the right, and voila, instant diff. To your knowledge, has this been done before? I'm not sure what the standard avenue is for publicizing user scripts on Wikipedia, but I'd love to share this one. It's at User:Dantheox/watchlistdiff.js --Dantheox 23:48, 11 November 2006 (UTC)
Possible bug when previewing links to templates
Go to Wikipedia:Template messages/User talk namespace. Hover over "{{Template:test4}}". For me the preview window shows what is below.
- as you did to :{{{1}}},}} you will be blocked from editing Wikipedia. <noinclud
- {{TestTemplatesNotice}}
Turns out that it is doing the same thing with the link to the template here. Also, the entire text, except for the template, is a link to Image:Stop hand.svg. Will (Talk - contribs) 06:05, 12 November 2006 (UTC)
After editing my monobook
After editing my monobook now, the popups pop up, and then they disappear less than a second later. ? — $PЯINGrαgђ Always loyal! 21:52, 12 November 2006 (UTC)
BUG REPORT: Popups "editors" action not working
I'm getting a Python runtime error page when I use the "editors" menu item in popups. It seems to happen for every page. Here is the traceback for the page Primitive wrapper class:
Traceback (most recent call last): File "contribution-counter", line 177, in ? print """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> File "/home/tim/public_html/cgi-bin/replag.py", line 40, in getlag raise RuntimeError ('Failed to retrieve replication lag: %s' % (value)) RuntimeError: Failed to retrieve replication lag: unsubscriptable object
—Doug Bell talk•contrib 08:04, 13 November 2006 (UTC)
- It seems to be fixed now because the "editors" menu item is gone. I assume this is a dead feature, or is it just temporarily broken? —Doug Bell talk•contrib 21:37, 16 November 2006 (UTC)
Hi. When using your edit counter what do the colour differences mean on the stats page? I.e. what is the difference between blue and green in the graphs? Also, what does the orange box at the top of the stats signify? Thank you, DanielBC 01:20, 16 November 2006 (UTC)
- The the green parts of the bar represent minor edits, and the blue parts the other edits. The orange bar at the top represents the total period the editor has been active. You should be able to drag the ends of the orange bar around to change the period for which stats are displayed. Lupin|talk|popups 20:26, 16 November 2006 (UTC)
Popups don't always work
Do you have any idea how popups could be working in some pages but not in my watchlist? Outside that and Recent Changes, it appears to work fine. I have the enhanced watchlist and recent changes active if that might be relevant. -Will Pittenger 06:12, 16 November 2006 (UTC)
- I fixed it. Found that some scripts I copied in were copied in incorrectly. They needed to be imported as modules. Will (Talk - contribs) 05:02, 18 November 2006 (UTC)
Missing "]" in element list
Just a heads-up, on line 4708, you closed your elements with a [ instead of a ]. Probably because of a right-to-left text direction. (I noticed this though Firefox's error console–handy thing.)
Oh, and I haven't been able to see popups on this computer in Firefox (2.0) for a while... could this be why (i.e. just drops the whole things from one error)? — SheeEttin {T/C} 02:36, 17 November 2006 (UTC)
Chicken
Too fast for me. :o) Can't sleep, clown will eat me 21:44, 17 November 2006 (UTC)
Do you have tool user boxes?
Do you have user boxes for your tools? Providing them might increase the number of users that find out about your tools. Will (Talk - contribs) 06:30, 18 November 2006 (UTC)
- Someone has written one; it's at Wikipedia:Tools/Navigation popups/Userbox. Lupin|talk|popups 10:24, 18 November 2006 (UTC)
You certainly have the neatest toy box in all the WP. I'm proud to wear your userbox on my page. ;) --DAVID SPALDING Talk/Contribs 00:55, 22 November 2006 (UTC)
AV tool for Hebrew WP
Hi Lupin,
I was wondering if the AV js would work also in the He WP. Can you tell me which modifications, if any, will be needed? I presume the blacklist needs to be rewritten for that language, but I'm wondering if there are any other caveats. BTW I'm not a techie, just a vandal fighter, so I hope it's idiot proof :) tnx, Odedee 06:15, 21 November 2006 (UTC)
Thank you
Hi, I hit 10,000 edits the other day and to commemorate this momentous (?) occasion, I wanted to thank the person most responsible for me reaching this number. Popups is an amazing tool and I appreciate the work you have put into it. =) -- Gogo Dodo 05:54, 22 November 2006 (UTC)
Interwiki Popups Problems
Heya, Lupin. Popups seems to be having problems on http://en.wikiversity.org and I'm not sure why. It keeps attempting to link me to "/wiki/index.php?..." instead of "/w/index.php?" and is unable to load any page previews. I was wondering if you might be able to take a look at it. Thanks. AmiDaniel (talk) 01:18, 23 November 2006 (UTC)
My popup wishlist
- Please work with Pilaf to allow links to be previewed in his Live Preview window. Currently, even with popups, I can't verify that I have the right link unless I save or use the normal preview.
- Please work with the creators of the various tab additions (notably Wikipedia:WikiProject User scripts/Scripts/Talk page section tabs and Wikipedia:WikiProject User scripts/Scripts/test-enhanced) so I can tell what the tab is. One of the scripts I added adds a bunch of warning tabs to the user talk pages -- and I can't tell what most of them add!
Will (Talk - contribs) 05:14, 24 November 2006 (UTC)
Popups: editcount at interlingual projects
Hello Lupin. I've installed you popups at my account in meta (m:User:Slade/monobook.js), but the editcount doesn't work. The correct is metawiki_p, no metawikimedia_p. Can you fix this? The same from commons, wikispecies and other interlingual projects. Thanks, Slade (TheJoker) 17:12, 25 November 2006 (UTC)
Popups in Internet explorer 7
Hi, Have there been any reports of popups not functioning in ie7. I have only just installed them for the first time but they dont seem to work. I have followed all the relevant steps inc cache clearing but they still don't work. I don't know if this is relevant but when I use gmail (very java intensive) I get a message telling me that my cache is full even after it is emptied. Thanks. --Oli 17:50, 26 November 2006 (UTC)
- Hello,
- using Win XP MCE after changing from Firefox to IE 7, which I use both in combination with en:User:Lupin/popups.js in my monobook.js, I observe an umlaut problem while using IE 7. To illustrate it, have a look at and point to the word "Online-" in the first phrase. Using IE 7 the popup replaces the ä-Umlaut with %C3%83%C2%A4 and shows "Empty Page", whereas following the link by clicking within the browser leads us to the URL http://de.wikipedia.org/wiki/Enzyklop%C3%A4die. The behaviour of popop.js is to place the two code letters %83%C2 in between the WikiMedia Code letters %C3%A4. I observe this problem with all those WP-links where the name contains an umlaut or other special character. When it comes to "ö", popup.js shows "Dornr%C3%83%C2%B6schen" instead of "Dornr%C3%B6schen" etc. Always those codes %83%C2 are inserted.
- On another machine, where I run Win XP Home with IE 6, I have no problems. How can I resolve this? Does my version of Sun Java matter or is it just IE7-Brower's Javascript that is used for this script? --KaPe 17:54, 6 December 2006 (UTC)
- Sounds like the javascript engine has changed a bit in IE7. Could you try adding the line
window.opera=true;
- after adding the recommended command line, it works ok, like in the other environments. Thank you, Lupin. --KaPe 09:53, 7 December 2006 (UTC)
Sooooo many warnings
I use Popups every day in Mozilla Firefox 1.5.0.6, and I have noticed something about the way the script runs. On many pages, the script keeps generating references to "undefined properties", and each reference generates a line in the Error Console, slowing down Firefox. Just thought you'd like to know. References to undefined property "this.left" on line 5210 in popups.js chain out every half-second or so on any article page. -- Tuvok^Talk|Desk|Contribs 02:36, 27 November 2006 (UTC)
- I haven't noticed this. Could you please try the dev version and see if it helps? Lupin|talk|popups 21:15, 6 December 2006 (UTC)
Do you have a page on Wikia.com?
Do you have a page on Wikia.com? If not, you might want to create one so you have an offical homepage there. It would also give you a place to test your code. As it turns out, the user name Lupin is available. -Will Pittenger 04:43, 27 November 2006 (UTC)
- If you aren't interested, I can host your stuff at Wikicities:User:Will Pittenger. I would not be a lot of help with debugging as I can't host a debugging environment, but if you want, I will put up two versions. The second can be loaded with debuging code. Having a copy there means you could have a Wikia.com only version. Will (Talk - contribs) 03:57, 1 December 2006 (UTC)
Joyce images
Hey, Lupin--I have a favor to ask, if you don't mind. A few of us are working to save James Joyce's FA status--see Wikipedia:Featured article review/James Joyce. I'm working on the images, and was hoping you could comment on the copyright status of this image, and also the images from here that I mention at the FARC--those cover pages are fine, yes? what about the unknown photographer portraits? I'd be grateful--thanks. Chick Bowen 06:07, 27 November 2006 (UTC)
- So sorry! I had a godawful attack of idiocy and was looking for User:Lupo (I'm sure it's happened before). If you'd like to comment at the FAR you're welcome to of course, but feel free to ignore me. . . sorry again. Chick Bowen 03:57, 28 November 2006 (UTC)
Popups and bypassing browser cache
Hello Lupin, I was thinking that you might utilize the Purge}} template to facilitate browser cache flushing (just include it on User:Lupin/popups.js). Have you considered that already? (→Netscott) 08:00, 27 November 2006 (UTC)
{{- I don't think that'll work, as it's doing something different to a shift-reload. Lupin|talk|popups 21:17, 6 December 2006 (UTC)
Image:JamieOliver-SchoolDinners.jpg
Thanks for uploading Image:JamieOliver-SchoolDinners.jpg. I notice the 'image' page specifies that the image is being used under fair use, but its use in Wikipedia articles fails our first fair use criterion in that it illustrates a subject for which a freely licensed image could reasonably be found or created that provides substantially the same information. If you believe this image is not replaceable, please:
- Go to the image description page and edit it to add {{Replaceable fair use disputed}}, without deleting the original Replaceable fair use template.
- On the image discussion page, write the reason why this image is not replaceable at all.
Alternatively, you can also choose to replace the fair use image by finding a freely licensed image of its subject, requesting that the copyright holder release this (or a similar) image under a free license, or by taking a picture of it yourself.
If you have uploaded other fair use media, consider checking that you have specified how these images fully satisfy our fair use criteria. You can find a list of 'image' pages you have edited by clicking on this link. Note that any fair use images which are replaceable by free-licensed alternatives will be deleted one week after they have been uploaded, as described on criteria for speedy deletion. If you have any questions please ask them at the Media copyright questions page. Thank you. Oden 07:42, 29 November 2006 (UTC)
You. Are. Awesome.
These popups are the greatest thing ever. You rule. --Explodicle 00:52, 1 December 2006 (UTC)
- I concur. --DachannienTalkContrib 20:52, 2 December 2006 (UTC)
- Put me down on the list of people who love your work. Josh Parris#: 06:10, 12 December 2006 (UTC)
- Oh, and me. Popups has been the single most important force behind my hitting 500 edits. Thanks, Lupin! -- Tuvok^Talk|Desk|Contribs 19:35, 12 December 2006 (UTC)
- I would like to add to that list of people who bow to your quality coding. Markco1 21:36, 12 December 2006 (UTC)
popupsdev.js navLinksHTMLwarning problem
Probably caused by the last change to User:Lupin/popupsdev.js, when I use the popupsdev.js in Firefox 2.0 (Win XP SP2) I get a warning that pops up in Firefox "The page at http://en.wikipedia.org says: navLinksHTML". If I close the warning it pops up again, making Firefox unusable. I'm on the non-dev popups now and eveything is fine.--Commander Keane 01:29, 1 December 2006 (UTC)
english
Please add new messages to the bottom of this page. You can do this by using this link.
If you're reporting a problem with a script, please mention which browser you use. You may also like to search on this rather large page to see if your question has already been answered.
I will usually respond on this page.
Oleg's edit summary counter
Hi! Would it be useful to have Oleg's edit summary counter (cgi: [34]) in the popups? I'm not sure if it takes arguments via URLs, but you can at least specify username and project once you're there. --Eddi (Talk) 23:51, 13 April 2006 (UTC)
- Unless it's possible to specify the user from a link in the popup, I don't see the point to be honest - a browser bookmark seems more appropriate to me. Lupin|talk|popups 21:35, 14 April 2006 (UTC)
- Sorry, I didn't check properly. It takes the language and user name as URL arguments: http://www.math.ucla.edu/~aoleg/wp/rfa/edit_summary.cgi?lang=fr&user=Lupin (your name twin?) --Eddi (Talk) 03:21, 15 April 2006 (UTC)
Feature request for popups: history preview
Hi, I love your popups, thanks a bunch! I have one feature request: when checking my watchlist, I find myself constantly clicking on history links, because the watchlist only shows the last change and I need to know if any earlier changes occurred that I might have missed. It would really help if hovering over the (hist) link would bring up a popup with the article's history. The same should obviously happen for all links that contain "&action=history". Thanks again and cheers, AxelBoldt 16:14, 15 April 2006 (UTC)
- This feature is now in the dev version. Let me know if you can see ways to improve it! Lupin|talk|popups 04:09, 27 April 2006 (UTC)
- Heh, glad you like it :) Actually User:Yurik deserves most of the credit for writing his wonderful query.php extension which made this pretty easy to write, and accounts for its snappiness. Lupin|talk|popups 02:26, 28 April 2006 (UTC)
- Thanks a bunch, this is great! Cheers, AxelBoldt 19:48, 5 May 2006 (UTC)
My best to Yurik as well!
I experienced a most bizarre bug while testing the new feature in my watchlist. Part of the watchlist is shown in Image:Histbug1.jpg. At the time, the entry for the Periodic table ("PT") was just above Wikipedia talk:Requests for adminship ("WT:RFA"), and when I hovered over the PT history link [35] I got a popup with the PT title and the WT:RFA history [36]. This is shown in Image:Histbug2.jpg. To say the least I was amazed! Guess you're working on it already... (popupsdev.js, suse 10.0, firefox 1.0.8) --Eddi (Talk) 04:14, 28 April 2006 (UTC)
- Thanks, there is certainly something here that is insufficiently robust. Could be awkward to track down, but I'll take a look when I'm feeling motivated. Lupin|talk|popups 01:16, 7 May 2006 (UTC)
- Added some more features to the query.php - not everything, but working on it. Let me know what you might find useful (on my talk page). --Yurik 19:05, 8 May 2006 (UTC)
- Re revids in query: need more info, see my query talk page. --Yurik 05:12, 12 May 2006 (UTC)
- Bug fixed, a few features added (you might like the 'content'). Will go on vacation tomorrow, so no changes for a while. --Yurik 23:51, 20 May 2006 (UTC)
- Imagelink was a feature, not a bug. See answer at my page :) --Yurik 17:56, 1 June 2006 (UTC)
- One more thing: I will soon submit an update that will allow getting older revisions. The drawback is that i am changing the <rv> element - now the user's comments (that you get with rvcomments parameter) will not be the text of the <rv> element, but an attribute called comment. The new format will look like this:
- <rv revid=".." oldid=".." timestamp=".." user=".." comment="..">revision text<rv>. Ideally you can updated your code to check if the "comment" attribute is present, and use that instead of the rv element content. Let me know when you are ready. --Yurik 21:40, 1 June 2006 (UTC)
- Category support checked in, will be available shortly. --Yurik 20:48, 6 June 2006 (UTC)
- Hi. What's the algorithm you use to determine the first paragraph of the text? I think i can do it on the server to reduce bandwidth. --Yurik 05:56, 9 June 2006 (UTC)
- This would be pretty nice. The algorithm is a work in progress however, and is only tailored to the conventions of en.wikipedia. You can see it in the previewmaker subfile of User:Lupin/popupsdev.js. Here's what it does:
- Hi. What's the algorithm you use to determine the first paragraph of the text? I think i can do it on the server to reduce bandwidth. --Yurik 05:56, 9 June 2006 (UTC)
- locate the target heading (for a link like User:Lupin#Other things) and delete everything before it
- remove HTML comments
- remove HTML divs
- remove galleries
- remove box templates like infobox, elementbox, frame*, floats, *box_start and so on
- remove all templates, or just templates which span several lines, depending on user preferences
- remove tables, wikitext and HTML
- remove all images
- remove chunks of italic text, as are used to alert the reader to dab pages or other tangential remarks. This is not an exact science!
- mopup: remove horizontal rules, all indented lines, __TOC__ and friends
- The remaining text is what we work with. Figure out how much to preview based on user prefs (only return whole sentences - again, English language dependency here). Note that some users prefer longer previews than others, sometimes spanning several paragraphs.
- remove unsightly whitespace from what remains (this shouldn't really be needed - it's an artifact of sloppy whitespace removal in previous steps)
- convert to HTML, passing any templates straight through
- remove any remaining templates which are still "too long".
- Lupin|talk|popups 12:28, 9 June 2006 (UTC)
- I copied the above to query discussion page. Thanks!! --Yurik 23:51, 9 June 2006 (UTC)
- Lupin|talk|popups 12:28, 9 June 2006 (UTC)
- User contribution lists are checked in, plus a check to see if pages can be modified/moved by the user. --Yurik 05:46, 10 June 2006 (UTC)
- Another present (two?) for you -- revids=1|2|3 now works (when synced), and there is an option rvuniqusr which shows ONLY the last edits done by each unique user. --Yurik 03:43, 11 June 2006 (UTC)
- Added imageinfo. I'm sure you can get some info out of it :)--Yurik 02:48, 14 June 2006 (UTC)
- I made some changes to the var types (converted strings to integers) - keep an eye just in case. Thanks. --Yurik 09:08, 20 June 2006 (UTC)
Elsewhere
Is it possible to convert this for use on mediawiki projects not on wikimedia's servers? I quite despise them; and have more than a few wikis out there not to mention a rather large project that could much benefit from your javascript. Care to share? ℑilver§ℑide 19:37, 15 April 2006 (UTC)
- Please see above: #The use of NP on another wiki. Lupin|talk|popups 23:37, 15 April 2006 (UTC)
Popups problem
Firefox javascript console keeps showing that pg and log are undefined in popups.js. I see that both are defined but via window (window.pg = ...). If you call them instead as window.pg in the script instead of just pg, will that work? --M@thwiz2020 20:50, 15 April 2006 (UTC)
- The two forms (with and without window) should be largely equivalent. I don't know what causes this sort of error, it's very irritating. Please try clearing your cache and reloading to see if the problem disappears. Lupin|talk|popups 23:39, 15 April 2006 (UTC)
Arabic Wikipedia
Hi. Does the pop-up navigation tool work in the Arabic Wikipedia? Because I tried it more than once and it doesn't work. Can you please check if it's possible for me to use it . Thanks. ~MK~ (talk) 01:22, 16 April 2006 (UTC)
- It works for me on that wikipedia. What's your browser? Did you clear your cache and reload? Lupin|talk|popups 04:12, 16 April 2006 (UTC)
Browser crash with Opera 8.51
Hey, Lupin. I started using the Navigation pop-ups and liked it so much that I translated it to Icelandic, from Eddi's Norwegian Bokmål version. But the problem is that I use Opera 8.51 and it keeps crashing after I started using the pop-ups. I saw farther up that a user changed from 8.52 to 8.51 and solved his crashing-problem. I run Windows ME. Do you have any clue what my problem could be? --Jóna Þórunn 19:27, 17 April 2006 (UTC)
- Sorry, I don't know specifically what causes crashes. Since javascript shouldn't be capable of crashing a browser, you're clearly seeing a bug in Opera. I suggest you upgrade to a more recent version. (Incidentally, Opera 9 should cope with the menus, so if you're feeling brave you could try a beta and set popupStructure='menus'). Lupin|talk|popups 23:21, 17 April 2006 (UTC)
- Oh, I forgot to say - thanks for the translations, it's much appreciated! Lupin|talk|popups 23:22, 17 April 2006 (UTC)
- Well, thanks anyway. I'll wait and see. :) --157.157.161.144 21:34, 19 April 2006 (UTC)
Few more tweaks to tool
Could you put ---- between edits for easier visual flow, and perhaps header info on the bottom of the edit. Latter is not a priority as its only pertinent to big vandalism, which should be reverted via IRC and CDVF anyway. - RoyBoy 800 05:47, 18 April 2006 (UTC)
- The vandalism at Limestone was rv by Tawkerbot2 but showed up on the Lupin tool with four updates enabled.
Also I was wondering if the already reverted behavior could be tweaked to no pop-up. Perhaps if its already reverted, could it simply redirect the pop-up to a Current version like this. That way you could distinguish still between what you reverted and what was taken care of already.Nevermind, pressing enter is easier than closing a bunch of windows. - RoyBoy 800 17:14, 18 April 2006 (UTC)
- Oh yeah, and when you click Warn on a user; can the article title be copied to the clipboard, so that when I paste into my warning prompts I don't have to go back to the Lupin window/tab to copy the article title. - RoyBoy 800 17:17, 18 April 2006 (UTC)
- Please exclude Wikipedia Intro page, Sandbox page and other pages anons are encouraged to edit. - RoyBoy 800 03:12, 20 April 2006 (UTC)
Thank You
It took me some time to get its working but I finally managed it. Popups is really a great tool and makes tedious things quite easy. Good Work! bandan 09:36, 19 April 2006 (UTC)
watchlistDumper.js
How does it work? Betacommand 02:33, 20 April 2006 (UTC)
- Instructions for usage are at the top of User:Lupin/watchlistDumper.js. Lupin|talk|popups 18:32, 22 April 2006 (UTC)
- I tryed that it didn't work can you give me a examle URL or advice? thanks Betacommand 23:22, 22 April 2006 (UTC)
- thanks I got it to work but not in FireFox I had to use Internet Explorer StopIE.com :) Betacommand 04:41, 23 April 2006 (UTC)
Orphaned & unused dotty maps north of the border
Hello, I thought I would give you a quick run down of the situation for your maps in Scotland. As a result of discussion on infobox map standardisation here a wee while ago your maps are generally not being used now. Rather than just going ahead and putting a lot of maps up for deletion I thought I would let you know first. I don't know if you want them kept for continuity (given the very large number of maps already in the category). There has been some comment on this issue here over the last few months. If you don't have any problems with the IFD then I will just work through the category putting orphaned Scottish maps up for deletion. SFC9394 21:40, 21 April 2006 (UTC)
- Could these maps be profitably transwikied to the commons? I've not got any major objections to their deletion if they're orphaned, though. Lupin|talk|popups 18:28, 22 April 2006 (UTC)
Popup Tool
Does the popup tool work for Wikia, or is it only for Wikipedia?—G.He(Talk!) 23:20, 22 April 2006 (UTC)
- It worked with wikicites, so I think it should once I update the name! Lupin|talk|popups 15:01, 23 April 2006 (UTC)
Popups bug when mousing over link at bottom of browser window
I have not searched through all the talk archives; please feel free to point me there if my question has been answered already. I would, however, recommend that we made a central list of bugs---those discovered/reported, those in the process of being fixed, and those which have been fixed---so as to reduce the amount of questions like this one (or is there such a list already: if so, tell me!). Anyway; thanks for a great tool, which saves me a lot of time checking minor edits on my watchlist!
Yup, I get strange behaviour (with IE) when I let the mouse pointer hover over a link positioned close to the bottom of the browser window: the popup "post-it window" is cut short at the browser window border. This doesn't seem to be a problem with links placed to the extreme right, say---there, one gets the expected behaviour, i.e. the popup is placed into the browser window so that the entire popup window displays OK. Any comments? --Wernher 01:43, 23 April 2006 (UTC)
- Known bug that I still haven't fixed... as a workaround, you can shift-drag the popup into the window or possibly scroll down with your mousewheel (works in firefox). Lupin|talk|popups 15:04, 23 April 2006 (UTC)
Pop-ups
Would it be possible in your pop-ups extension to have an automated way to insert {{welcome}} onto a users talk page, just by hovering over their user page link? It would make it easier to welcome users---say you see a contributing user through the revision history. You could then just hover over the link, and select welcome, without ever leaving the page. Is this possible, and would you be willing to add it, if it is?
--Primate#101 01:40, 24 April 2006 (UTC)
- Mathwiz2020 has something like this here. It'd need adapting slightly, but I'm sure he'd be happy to help you to do so. Lupin|talk|popups 04:26, 24 April 2006 (UTC)
- The pop-ups tool is causeing problems for me. Basicly, it would restart the page while I'm looking at it, or when I click on a link it would come up with "this page cannot be displayed". I have remove it for the time being. The Republican 16:49, 6 May 2006 (UTC)
whois link
Hi Lupin, the popups now contain an "ARIN lookup" function; whould it be possible to use for example http://whois.domaintools.com/ to facilitate lookup of non-ARIN registry IP-adresses? Cheers, NielsFTalk to me.. 17:48, 24 April 2006 (UTC)
- Yes, I expect so. Should this replace arin, or be an additional function? Lupin|talk|popups 01:06, 7 May 2006 (UTC)
Problem with popupFixDabs
Hi. I made the translations for the pop-up navigation tool for the Arabic Wikipedia. It's great even though it has some bugs. Anyway, can you tell me how I can use option that fixes the links to disambiguation pages there? It works for the , but not for the . That's what I discovered after using the {{disambig}} instead of it. ~MK~ (talk) 15:10, 25 April 2006 (UTC)
Bug in popups
Hi, I've only now seen your request for bug reports to be filed here, sorry. Could you kindly have a look at this, nevertheless? --DerHerrMigo 09:03, 26 April 2006 (UTC)
proofread request for MediaWiki Javascript instruction
I stumbled onto this rather incomplete passage in my further travels shortly after activating your wonderful navpop.
http://meta.wikimedia.org/wiki/Help:User_style#Javascript
First I pointed out to the originating source that the "hook" for this technique is not presented (it was lost during a content split). You can see my comment here:
http://en.wikipedia.org/wiki/User_talk:Timwi#catsattop.28.29
Then as I learning things while making user JS work on my personal wiki, I added the "system requirements" passage. It's probably full of caca. You're obviously light years ahead of me in your Javascript expertise, perhaps you could proof/fix/gut my contribution or draw attention to someone else who can. MaxEnt 05:14, 27 April 2006 (UTC)
- A quick skim through it reveals nothing obviously caca.... Lupin|talk|popups 01:14, 7 May 2006 (UTC)
Horray for history popups
Nice work! Seems to be working fine :).Voice-of-AllT|@|ESP 06:34, 27 April 2006 (UTC)
Auto Edit
I was wondering how you coded the "auto-edit" thing. I have pop-ups installed, and I wanted to be able to create a script to change my status template (eg. I click on "in" and it automatically replaces my current status with "in"). It would make my life a whole lot easier.
Thanks. --Primate#101 00:46, 28 April 2006 (UTC)
- I did this for Celestianpower - see User:Lupin/alltalk#2_questions and related discussion on that page. Lupin|talk|popups 01:59, 28 April 2006 (UTC)
- Thanks, Lupin. I figured out that by piping the first regexp: http://en.wikipedia.org/wiki/User:Primate/Status?action=edit&autoedit=s_\bin%7Csleeping%7Clater%7Cwikibreak\b_out_&autosummary=Changed%20Status&autoclick=wpSave&autominor=true
I'm able to convert the first occurrence of any of those words to the word I want. That way, even though I have multiple status words, it still works.
Again, thanks!
--Primate#101 03:36, 2 May 2006 (UTC)
P.S. I put the links on my Mozilla Firefox Bookmark Toolbar. On click, and my status is changed!
Improvements for Popups ?
Hi again Lupin, I think I found two bugs or improvements that could be done...
- Previewing Anchors with <div id=""> or <span> doesn't work, though it works for the <ref> notes (that generate <a href="">), they only preview the top of the page : example with unworking anchors, example with working notes. Note that in the first example, I can't use the <ref> tag.
- When I use the header's anchors, (exemple, see first links), the ''text'' in italics isn't displayed, knowing the words in '''bold''' work. In fact, it seems also not to work half of the time on normal pages.
Do you think there could be any solution concerning these problems ?
And as I stand still, isn't it possible to envisage any solution concerning the diff problem and the second level of links I spoke about ? Thanks. --Henrique Diaz 18:23, 28 April 2006 (UTC)
- The previews are designed to extract meaningful information from the top of a wikipedia article. As part of this process, html tags are stripped out and so are leading italic chunks (which are usually not part of the wikipedia article). If you want to change this behaviour, you can comment out the relevant lines in Previewmaker.prototype.makePreview. I think you probably want to lose killHTML() and killChunks().
- I'm afraid I've rather lost track of what works and what doesn't for you. Please could you give me a nice short summary of the remaining problems you have? Lupin|talk|popups 01:12, 7 May 2006 (UTC)
The Holy
Here are some awards for editing The Holy.
General Eisenhower 17:52, 29 April 2006 (UTC)
I wrote a new tool for edit pages. Testers and comments welcome :) Zocky | picture popups 21:57, 1 May 2006 (UTC)
Firefox blocking - for recent edits
After about a dozen updates or so Firefox will start blocking new windows. I have en.wikipedia.org allowed, and have even disabled pop-up blocking entirely and then restarted Firefox. Still does it. This began occurring recently; as before I could use it for hours on end without being blocked. Might have to do with the Firefox 1.5.0.2 update on April 13th? - RoyBoy 800 18:55, 2 May 2006 (UTC)
- Does this happen with other websites that open lots of popup windows? Maybe it is connected to the firefox upgrade. Lupin|talk|popups 23:01, 2 May 2006 (UTC)
- Tried the tool with four updates disabled, and it went through 200 updates or so then asked me to continue. No issues thusfar. (caveat, didn't start rolling back till ~40th update as a result of watching BBC news... also didn't enable auto expand until ~40th update) Usually I enable everything before the first update completes. - RoyBoy 800 23:30, 6 May 2006 (UTC)
Warn
On your RC filter, what does the warn button do? Great job with it by the way. --pevarnj (t/c/k ) 19:43, 3 May 2006 (UTC)
- Please see User:Lupin/alltalk#Warn (Filter Recent Changes) and elsewhere on that page for an explanation. Lupin|talk|popups 03:38, 4 May 2006 (UTC)
Talkpage-archival
As you have a very high-traffic user-talk page, you probably have problems with archival. I've just written and had approved an extension for Werdnabot that will manage and archive any sections older than a preset value to a specified page. For more information as to how to mark your user talk page for archival, please contact me on my user-talk page. Werdna648T/C\@ 01:41, 4 May 2006 (UTC)
- Thanks, but I'd prefer to manage this manually. Hm, looks like this page is well overdue for archival... Lupin|talk|popups 03:39, 4 May 2006 (UTC)
re: action=raw to read old versions
Thanks, I didn't know about that. Right now I'm reading the edit screen and pulling out the textarea contents with some regexps, which works ok, but is ugly. I may switch over to using action=raw which seems much nicer. Really though, I think I'm better off putting my script onto the toolserver and have it read the database directly rather than through http. This will have other advantages too. Phr (talk) 04:03, 4 May 2006 (UTC)
Autoedit
Thank you for making my life so much easier. Jude (talk,contribs,email) 06:31, 4 May 2006 (UTC)
Hi, sorry to bother you but I know you are good with scripts so thought you could help. I am using Mozilla Firefox 1.5.0.1 and have just put a load of new scripts into my monobook but non of them work at all, I have tried bypassing my cache and have purged Wikipedia's cache but it still doesn't work. I did it last night at about 19:00 UTC so I have waited about half a day which has been long enough for every other time. If you need to give me the changes just put it in my sandbox. Thanks Lcarsdata Talk | @ | Contribs 07:09, 5 May 2006 (UTC)
- Well I don't see anything obviously wrong. Does your javascript console give you a juicy error message? I'd expect it to if nothing in your monobook.js has any effect - there's probably a syntax error in there somewhere. Lupin|talk|popups 01:26, 7 May 2006 (UTC)
Errors in popups
Hi.
Please diregard previous edit - must have been something on a specifyc page...
If you want to look into that the errors where:
(1) Error: pg is not defined http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 2985
(2) Error: log is not defined http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 4356
JS code:
(1) function checkPopupPosition () { // stop the popup running off the right of the screen pg.current.link.navpopup.limitHorizontalPosition(); (2) var stableShow = function() { log('stableShow called');
If I'll find them again I'll let you know.
Nux talk | faster(pl) talk 14:19, 6 May 2006 (UTC)
Some other errors:
The functions: getDiffSinceMyEdit(), getLastContrib() - doesn't work or I don't know what do they do? It's under the lastContrib and sinceMe. I've checked this with the english version and with Internet Exploder. Normaly I use Firefox and polish version on monobook. Pages with scripts:
- http://pl.wikipedia.org/wiki/Wikipedysta:Nux/monobook.js
- http://pl.wikipedia.org/w/index.php?title=Szablon:Navpop/pl
Nux talk | faster(pl) talk 14:19, 6 May 2006 (UTC)
PS: BTW I love the idea of popups, thanks! :)
- Please clear your cache and reload. I expect these errors will disappear soon. I don't know what causes them, though. Lupin|talk|popups 01:01, 7 May 2006 (UTC)
- Nope, still is there. I installed on en.wiki without any problems and even used the polish version here. Still on pl.wiki this functions (with or without the translation) still don't work. Also sometimes I get the errors mentioned earlier (on random pages - don't see anything in common). You might want to open a test account to see for yourself. I've already asked some othere users on pl.wiki and they all had similar results.
- To fix some problems you might consider installing Firefox and the webdeveloper along with it. You'll see that there are many warnings (with strict rules) in the script shown by the JS console. They could point to some bugs... If I'll have more time I'll look into that myself. Nux talk | faster(pl) talk 19:58, 7 May 2006 (UTC)
Gainsborough is in Lincolnshire
Please move Image:Gainsborough_-_Nottinghamshire_dot.png to Image:Gainsborough_-_Lincolnshire_dot.png. Gainborough is in Lincolnshire, bordering Nottinghamshire by the River Trent, but still in Lincolnshire. Regards, --Asterion talk to me 15:49, 6 May 2006 (UTC)
- Is anything preventing you doing it yourself? Lupin|talk|popups 01:20, 7 May 2006 (UTC)
- The only way I could do it would be saving it to my computer and re-uploading it under a different name. How do I credit it to you? And how do we get rid of the old one then? --Asterion talk to me 21:57, 7 May 2006 (UTC)
Safari problems w/popups still?
Not for me, anyway. It doesn't crash, but only the main popup shows up. No actions show up, but they can still be performed by looking at the status bar at the bottom and guessing which URL points to revert, view whatever, etc. Kind of silly.
Also, this may be due to other stuff as well, but my Safari LAGS while using WP. Any ideas?
--M1ss1ontomars2k4 23:56, 6 May 2006 (UTC)
- Current versions of safari have CSS bugs that make the menus go wonky. Please try either using a nightly webkit build or set popupStructure='original' to turn off the menus.
- I don't know why you may be experiencing performance issues with wikipedia - it may well be the popups script. My impression is that safari has a rather slow javascript engine. Lupin|talk|popups 00:58, 7 May 2006 (UTC)
- Haha! you're right. I was looking up SVG when I disc'd that there are nightlies for Safari. Should that be mentioned on the popups page? --M1ss1ontomars2k4 05:00, 7 May 2006 (UTC)
Extended revert summary broken?
I used to have extended revert summaries working just fine when reverting edits through the history page, though lately reverts seem to automatically go down to the basic 'Reverting to revision, (number)' summary. I was wondering if there was some option that could have the extended revert summary on by default. I have attempted changing the automated message by adding a more %s tags as done in your .js page, but it did not work. Thanks for your help. Cowman109Talk 00:16, 7 May 2006 (UTC)
- What did you try, and what results did you obtain? Have you cleared your cache religiously each time you've changed something? It might help to try again anyway since the script was recently updated. Lupin|talk|popups 01:23, 7 May 2006 (UTC)
- I believe the different results actually occurred after the recent changes. I clear my cache each time I alter my monobook.js file as well. Whenever I attempt to revert edits through the history page of an article as I usually do (I hover my mouse over the time of the edit, move to actions, then to revert), the page reverts just fine but the edit summary seems to be default to "(Revert to revision 50945360 using popups)", for example. I used to have extended edit summaries such as "(Revert to revision dated 17:50, April 21, 2006 by Cowman109, oldid 49512438 using popups)". Here's a random short edit history in one of my user subpages to show the differences. [37]. Cowman109Talk 01:27, 7 May 2006 (UTC)
- Oh, extended summaries. You have to set something or other to make this work now... ah, yes. You should set popupTimeOffset to your timezone, in hours offset from wikipedia time (GMT, I think). This should activate the extended summaries when you revert from a history page. Lupin|talk|popups 01:35, 7 May 2006 (UTC)
- I believe the different results actually occurred after the recent changes. I clear my cache each time I alter my monobook.js file as well. Whenever I attempt to revert edits through the history page of an article as I usually do (I hover my mouse over the time of the edit, move to actions, then to revert), the page reverts just fine but the edit summary seems to be default to "(Revert to revision 50945360 using popups)", for example. I used to have extended edit summaries such as "(Revert to revision dated 17:50, April 21, 2006 by Cowman109, oldid 49512438 using popups)". Here's a random short edit history in one of my user subpages to show the differences. [37]. Cowman109Talk 01:27, 7 May 2006 (UTC)
- Ahah, that fixed it. I must have messed it up myself when I was playing around with my timezone settings. Thanks a lot! Oh, and I hope you don't mind but I stole your format for storing barnstars in a subpage and displaying them. Thanks for that too! :D Cowman109Talk 01:49, 7 May 2006 (UTC)
Popups "sinceMe" not working with user names with a space
The "sinceMe" command in popups seems to have been broken for a week or so for me. The message displays as "Couldn't find an edit by Doug_Bell..." so I'm thinking the issue is the underscore in my user name. —Doug Bell talk•contrib 15:38, 8 May 2006 (UTC)
- Could be. Please could you try setting popupUserName="Doug_Bell" or "Doug Bell" and see which one works, if either one does? Do let me know the results so I can try to fix the script properly.... Lupin|talk|popups 00:25, 16 May 2006 (UTC)
problem with decodeEscapes() for «#...» part of wikilink: not solved yet?
The problem mentioned there is still far from being fixed in the stable version of Navigation popups.
I'd like to suggest the following patched version of decodeEscapes:
Title.prototype.decodeEscapes=function(txt) { var split=txt.parenSplit(/([%][0-9A-Fa-f]{2})/); var len=split.length; for (var i=1; i<len; i=i+2) { split[i]=unescape(split[i]); } var hashText = split.join(''); split=hashText.parenSplit(/([.][0-9A-F]{2})/); len=split.length; for (var j=1; j<len; j+=2) { split[j]=unescape('%' + split[j].slice(1)); //e.g. '.A0'.slice(1) == 'A0' } return split.join(''); };
Good luck. —62.183.50.164 08:21, 9 May 2006 (UTC)
- Excellent, thanks for the code. I'll added something similar to the dev version in a moment. Lupin|talk|popups 23:34, 15 May 2006 (UTC)
- Are there any means to see when those dev versions become landed as stable ones? —217.27.43.145 04:58, 24 May 2006 (UTC)
- You can watch User:Lupin/popups.js. There's no schedule for this - when I think it's had long enough to reveal nasty bugs, I upgrade that page to the dev version. Lupin|talk|popups 22:17, 24 May 2006 (UTC)
Problem dabbing links to a page with "&" in the name
Hello. I am having trouble fixing the links to the page at Law and Order. A lot of links intend the show, which at Law & Order, but the page names with the '&' seem to be a problem: no change gets made and the edit summary shows up as "Disambiguate [[Law and Order]] to [[Law ". Thanks for a great tool -- it just keeps getting better and better! Ewlyahoocom 15:01, 11 May 2006 (UTC)
Monobook.css and changing PopUp appearance bug.
First of all, thanks for the great tool you've provided, it certainly helps me.
The problem I am having is that reading your instructions to change the appearance of the PopUp's, I wanted them to appear blue and in a larger text (so it is easier to read and navigate for me). I am using Mozilla Firefox 1.5.0.3. I edited and saved my monobook.css with the following instructions:
.navpopup { background-color: #d7eeff !important; border-color: #1e90ff !important; font-size: small !important; }
Nothing happened. I cleared the cache on Firefox and the problem still persists. So I'm at a bit of a loss of what happened and I hope you can help me. tghe-retford 10:19, 14 May 2006 (UTC)
- Ah, I seem to have got it working, my computer can be like that sometimes! tghe-retford 13:22, 14 May 2006 (UTC)
Add links to toolbox
sorry to bother you but on a wiki I use we would like to add two links to the toolbox but can't work out how. I have tried to decipher your code but it still won't work. If you have time please could you tell me, but I will understand if you don't. Lcarsdata Talk | @ | Contribs 07:21, 15 May 2006 (UTC)
- You should find instructions for doing that at WP:JS, WP:US or thereabouts. Lupin|talk|popups 00:28, 16 May 2006 (UTC)
Navigation popups error: op or cl is null! something is wrong
I am using IE 6.0.28 and I keep getting a Windows pop-up dialog box that says "Navigation popups error: op or cl is null! something is wrong". If I click "OK", then the box goes away and I can click on the link. The Lupin popup still shows but the pop-up dialog is totally annoying.
At this point, I'd be find getting rid of Lupin popups completely but I can't figure out how to do that. I tried removing everything from my monobook.js but that didn't seem to help.
Don't get me wrong. I love Lupin popups and the prospect of not being able to use them is not a happy one. However, this "navigation popups error" is driving me nuts and I'd rather get rid of Lupin popups than have to live with it any longer.
HELP!
--Richard 19:38, 18 May 2006 (UTC)
- Hm, that is annoying. I can't easily test the script on IE, but I'll try... for now, you should stop using the dev version (change all occurrences of popupsdev to popups in your monobook.js file and clear your cache). Lupin|talk|popups 21:35, 18 May 2006 (UTC)
- I've done some very limited testing, and I think that this bug was fixed shortly after it appeared. Please try thoroughly cleaning your cache and let me know if it is actually still a problem for you. Lupin|talk|popups 04:19, 19 May 2006 (UTC)
- Well, foo. I think I've narrowed down the problem. I removed everything from my monobook.js except for your popups and after doing a ctrl-F5 in IE, I am getting the popups to work without a problem. It appears the problem occurs due to some funny interaction between your code and some other stuff that I had put my monobook.js.
- In case you care, here's the code that was breaking things
// [[User:Lupin/popups.js]] // document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Admin-like RC Patrol tools // document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:VoA/monobook.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Edit replace // document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/replacetxt.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
- Thanks for taking a look anyway. Sorry to have troubled you.
- --Richard 05:21, 19 May 2006 (UTC)
I'm getting the same problem, even after ^F5ing. Want me to have a look at the problem? Yours sincerely, Shinobu 20:28, 19 May 2006 (UTC)
- Sure, please do. One way to rule out cache issues should be to enter the url of the script, http://en.wikipedia.org/w/index.php?title=User:Lupin/popupsdev.js&action=raw&ctype=text/javascript&dontcountme=s into your browser and check that the date at the top is the same as the date at the top of User:Lupin/popupsdev.js. Lupin|talk|popups 00:14, 20 May 2006 (UTC)
The dates are the same. That could mean that there really is something wrong. I'll look into it. Shinobu 02:58, 20 May 2006 (UTC)
Heh. So by now you know what is causing the problem, right? I'll tell you anyway.
In IE a regexp is an object, not a function.
- Previewmaker.prototype.makeRegexp
- change line:
- case 'function':
- case 'function': case 'object':
By the way, to be able to debug the script locally, I had to change the following function too:
- function setTitleBase
- insert at the start of the function:
- var location___protocol = "http:";
- pg.wiki.hostname = "en.wikipedia.org";
- pg.wiki.wikimedia = true;
- change location.protocol to location___protocol:
- pg.wiki.titlebase = location___protocol + ...
- pg.wiki.wikibase = location___protocol + ...
Can you make it so that the script detects this? E.g. execute the first three lines only if protocol is file: or something. It'll make debugging easier. Yours sincerely, Shinobu 05:44, 20 May 2006 (UTC)
Barnstar thing
Hello!
Your anti-vandal tool is fanstastic. Anonymous_anonymous_Have a Nice Day_Crusher of Hopes and Dreams 20:57, 19 May 2006 (UTC)
Popups revert problem.
I turned of popupOnlyArticleLinks, which is very cool. But there are some problems with reverting by moving over the history tab.
- The text for rev is in it's english version.
- Important! When clicking revert in action over the date I get rev to revision previous version (compred to the one I hovered). This is wrong because in all other cases I get rev to revision which I hovered.
As you might notice the second bug my cause reverting to unintended version which might be very bad (I've already seen such cases). Please fix this as soon as possible. Thanks.
Nux talk | faster(pl) talk 11:10, 20 May 2006 (UTC)
- Sounds nasty. To fix this, I need to know
- which version of the script you're running. Typing javascript:alert(popupVersion) into your browser url bar and hitting enter should give you a timestamp. (I tried to fix a similar bug in a previous version of the script, but may not have succeeded).
- which browser and OS you're using
- the exact english text you're seeing that should be translated
- the exact urls of the links which, when hovered over, give you badly behaving revert links.
- Thanks! Lupin|talk|popups 14:00, 20 May 2006 (UTC)
- Version: Thu Apr 27 00:40:52 EDT 2006
- The text is:
Revert to the revision prior to revision 3382793 using [[:en:Wikipedia:Tools/Navigation_popups|popups]]
- browser/OS: FF/Windows (don't thinks it's dependent, though)
- Any page, but you can use this: [38] (I'm giving you en.wiki link as it is the same here)
- At that page you can test by:
- reverting directly form history
- reverting through history generated by popups when you hover history tab (this is available with: popupOnlyArticleLinks=false).
- I think I got it now in the history generated by popups links are with diff=prev [39], the same revision in history generated by wiki is:
- At that page you can test by:
[40].
- I also have popupRevertSummaryPrompt=true, which you might also want to enable for tests.
- No problem :).
Nux talk | faster(pl) talk 18:42, 20 May 2006 (UTC)
PS: Have no idea where did that english version come from. Maybe some old/new string that weren't translated? You might check pl-file here if you wish.
- Without detailed investigation, I expect that the untranslated string has simply not been added to the polish translation. It has the entirely unbeautiful name 'defaultpopupRevertToPreviousSummary'.
- As for the main issue, I think the script is behaving as designed, but I can now see that it is very confusing (especially since the popup hint over the revert link is incorrect - the english edit summary is correct however). This behaviour comes about because:
- When hovering over a diff link, the script will try to revert to the older of the two versions being compared.
- In the history preview, the dates are diff links showing changes between that version and the previous one, so that you can see what's changed in a subpopup.
- This means of course that clicking revert from such a subpopup over a date in a history preview makes you revert to the revision prior to that revision as of that date. If you see the diff preview in the subpopup then this makes sense: you're undoing that edit (and subsequent edits). If you think of the subpopup as just referring to that revision (quite natural) then this doesn't make sense at all.
- Probably the simplest thing for me to do would be to separate out the (last) links and the date links in history previews, like the history page itself. The reason I didn't do this before was to save space in the popup. Does this sound like a good idea, or do you have another idea? Lupin|talk|popups 19:03, 20 May 2006 (UTC)
The solution seems reasonable, thanks :).
About 'defaultpopupRevertToPreviousSummary' - it's missing in the User:Lupin/strings-draft. I've compared those in the main file and in the draft and there are some not included in the main file and some in other places... Maybe you could just copy over it to save the trouble of comparing?
Anyway as I'm here anyway. Maybe you might want to look at small corrections I've done to the CSS . This makes actions menu a little bigger so you want accidently go of it. And this reminds me one more thing...
Could you add a setting for the time when the popups disappears? Giving at least half a second would help me sometimes.
Again very grateful for your work, Nux talk | faster(pl) talk 21:14, 20 May 2006 (UTC).
- User:Lupin/strings-draft isn't the canonical source for strings - that's the script itself :-) They're quite easy to find, at the bottom of the file.
- I like your CSS! I'm not sure I understand the feature request. I think you mean that you want a time period after the popup appears during which it will not disappear even if the mouse exits the popup, which seems quite sensible. Is this correct? Lupin|talk|popups 22:25, 20 May 2006 (UTC)
- Or maybe you mean that in order to banish the popup, the mouse has to remain outside it for a fixed length of time? Lupin|talk|popups 22:31, 20 May 2006 (UTC)
I had some problems figuring out what's the difference ;)... But yes, I meant the latter. That is - no matter how much time passed since the popup appeared, if the mouse just goes of it for some time it will still remain visible for that (short) time and I can go back to it to prevent it from disappearing at all. This is to make the popup more stable despite accidental mouse movements. Nux talk | didn't answer? drop a note 13:57, 21 May 2006 (UTC)
- I've added something like this to the dev version. It may need tweaking, so let me know what you think. You can control the hide delay with the variable popupHideDelay (in seconds). Lupin|talk|popups 00:03, 26 May 2006 (UTC)
Cool. It works perfectly :). I guess your pretty border of all this thankyous ;), but thanks - all th things I reported now work. I have some other idea but I'll start new topic... Nux talk | didn't answer? drop a note 01:34, 1 June 2006 (UTC)
Smile :)
—G.He has smiled at you! Smiles promote WikiLove and hopefully this one has made your day better. Spread the WikiLove by smiling to someone else, whether it be someone you have had disagreements with in the past or a good friend. Smile to others by adding {{subst:smile}}, {{subst:smile2}} or {{subst:smile3}} to their talk pages. Happy editing!
—G.He 23:10, 20 May 2006 (UTC)
Feature request: dabbing links non-disambiguation pages
Hello! I would like to request a feature to be added for disambiguating links actual articles. A few times, not often, I've been tempted to temporarily replace an article with a dab page while I use your tool to dab the links. I suspect it would be a pain to parse an articles dablinks/hatnotes but maybe it would be possible to add alink to a disambiguation page at e.g. Current article title (disambiguation). Maybe a link could be added to the actions menu when popupFixDabs is true, or maybe just a little green link which could be followed when popupSubpopups is set? And so as to not slow down the tool, the page might not even need to be checked for beforehand. Thanks! Ewlyahoocom 23:37, 23 May 2006 (UTC)
- Here's a quick hack:
function dabomatic(data,download) { var art=Title.fromURL(download.url).toString(); if (art.indexOf('(disambiguation)')>-1) { return ''; } art = art + ' (disambiguation)'; return changeLinkTargetLink({ newTarget: art, text: 'Dab to '+art, hint:'Change all these links to '+art, clickButton:'wpPreview', minor:false }); }; extraPopupFilters=[window.dabomatic];
- You can try adding this to your user javascript file (the same place you installed the popups script). Lupin|talk|popups 00:59, 24 May 2006 (UTC)
Popups
Would you mind adding a purge link? http://en.wikipedia.org/w/index.php?title=PAGENAME&action=purge Thanks, Ingoolemo talk 17:14, 25 May 2006 (UTC)
- Good idea - this is now in the dev version (if you use the menus, that is). Lupin|talk|popups 21:25, 25 May 2006 (UTC)
Popups
While I like the popups feature, they seem to be getting cluttered with things that one would almost never use/or need to. Can you remove view|simple and null edit|purge please. Perhaps you can have options to turn these off.Voice-of-AllTalk 14:57, 26 May 2006 (UTC)
- Yes, this has been worrying me too. I've added a new structure, so if you say popupStructure='shortmenus' then things should be improved. I wonder if this should be the default setting... Lupin|talk|popups 14:33, 27 May 2006 (UTC)
Help me! Help me please!
Wondering if somewhere in your vast javascript knowledge you might have a solution to the automatic edit view produced by redlinks. I find that I'm constantly slowed down, considerably, when doing things like checkuser because my js tabs don't work on edit views, only the regular page view. Any ideas on a way to either stop redlinks from automatically going to an edit view, or to reload nonexistent pages so they are no longer edit views? Any help would be greatly appreciated, as it would cut the time spent checking dramaticallly. Essjay (Talk • Connect) 00:34, 27 May 2006 (UTC)
- Yeah, that would be great. --GeorgeMoney T·C 00:48, 27 May 2006 (UTC)
- This should work, I think.
function stopRedlinksEditing(){ var len=document.links.length; for(var i=0; i<len; ++i) { var l=document.links[i]; if (l.className=='new') { l.href=l.href.replace('&action=edit', ''); } } } addOnloadHook(stopRedlinksEditing);
- It works perfectly! --GeorgeMoney T·C 02:27, 27 May 2006 (UTC)
- Deeeeeelightful! You are now my official javascripter! <wanders off to think of other tasks, besides the one he has listed at Wikiproject User scripts> Essjay (Talk • Connect) 03:08, 27 May 2006 (UTC)
"MISSING formal paramater"
Popups are dead, that is, the error it gives when it crashes at this line:
pg.structures.menus.popupTopLinks = function (x, short)
I don't know what the issue is.Voice-of-AllTalk 21:36, 27 May 2006 (UTC)
- Which browser are you using? I haven't seen this problem myself. Lupin|talk|popups 22:52, 27 May 2006 (UTC)
- FF/Netscape. I swiched the 90 RC patrollers to regular popups until popupsdev is fixed. Popups no longer work at all due to this.Voice-of-AllTalk 22:57, 27 May 2006 (UTC)
- Thanks, it should be fixed now. It's strange that I didn't notice this in firefox, though... Lupin|talk|popups 23:03, 27 May 2006 (UTC)
- Heh..I was just about to tell you that is was up again. Good work, now how about that filter recent changes stuff :)?Voice-of-AllTalk 23:04, 27 May 2006 (UTC)
- Thanks, it should be fixed now. It's strange that I didn't notice this in firefox, though... Lupin|talk|popups 23:03, 27 May 2006 (UTC)
Non-admins
90+ users use script that involves User:VoA/monobook.js. If you look at function AddRevertButtonsnorm(), you will notice that it adds revert links on. Could you make Filter Recent changes add these, and perhaps add something like User:Voice_of_All/Revert/monobook.js to the recent changes tool so that it know when to revert. It would have to have to check if you are using monobook or not. If that is not feasible, I'll try to see if I can somehow edit the filter recent changes page (kind of hard with no real DOM, I don't know...). Thanks.Voice-of-AllTalk 21:54, 27 May 2006 (UTC)
- Is the idea here to add revert links for non-admins? I don't see a really easy way to use the godmode revert here, but I could probably do something else instead to get that. Lupin|talk|popups 01:09, 28 May 2006 (UTC)
- I've added non-admin revert functionality to the script. You have to click a checkbox to use it; hopefully it's self-explanatory. Lupin|talk|popups 02:40, 28 May 2006 (UTC)
- Thanks...my idea was to make it so non-admins can still revert instead of having to click "last" and the revert, meanwhile the list piles up.Voice-of-AllTalk 02:48, 28 May 2006 (UTC)
- They can do exactly that: when the final checkbox is checked, the rollback link at the end of each line works for non-admins. Lupin|talk|popups 02:51, 28 May 2006 (UTC)
- Sweet, the tryrollback() is very similar to my revert script for IE, though my revert script switches to GML for FF/Netscape (after I tried everything to get the parser to work, I just gave up). Either way is fine, though GML has "&token=" for security, as the IE one has "&byuser=". "&byuser" in User:Voice_of_All/Revert/monobook.js makes it hard to make annoying revert links b/c they would only work on a single user. One thing I wonder, how do you get it to rollback for IE? Don't you have to acces the history page and get the first different user? Whenever I do that on IE, it would fail since IE can't parse any XML here, my IE version actually has to briefly go to the history page, since it can't HTTP request, like FF/NetS.Voice-of-AllTalk 02:59, 28 May 2006 (UTC)
- I haven't tested with IE at all, as I don't have Windows. I expect it to work, though. I'm not parsing xml; instead, I'm grabbing the history data with the query interface by Yurik. It's great for this sort of thing - it's very fast and its output, JSON, is easy to handle. It's also fairly new, which I imagine is why GML doesn't use it.
- Sweet, the tryrollback() is very similar to my revert script for IE, though my revert script switches to GML for FF/Netscape (after I tried everything to get the parser to work, I just gave up). Either way is fine, though GML has "&token=" for security, as the IE one has "&byuser=". "&byuser" in User:Voice_of_All/Revert/monobook.js makes it hard to make annoying revert links b/c they would only work on a single user. One thing I wonder, how do you get it to rollback for IE? Don't you have to acces the history page and get the first different user? Whenever I do that on IE, it would fail since IE can't parse any XML here, my IE version actually has to briefly go to the history page, since it can't HTTP request, like FF/NetS.Voice-of-AllTalk 02:59, 28 May 2006 (UTC)
- They can do exactly that: when the final checkbox is checked, the rollback link at the end of each line works for non-admins. Lupin|talk|popups 02:51, 28 May 2006 (UTC)
- Thanks...my idea was to make it so non-admins can still revert instead of having to click "last" and the revert, meanwhile the list piles up.Voice-of-AllTalk 02:48, 28 May 2006 (UTC)
- I've added non-admin revert functionality to the script. You have to click a checkbox to use it; hopefully it's self-explanatory. Lupin|talk|popups 02:40, 28 May 2006 (UTC)
- There are no edit tokens or anything like that. If the worry is that someone could persuade someone into clicking a malicious link, then I'm afraid that every user of popups is already vulnerable to such an attack. On the other hand, the fix is just another click away, so I'm not terribly concerned about this. Lupin|talk|popups 03:09, 28 May 2006 (UTC)
- I'll have to look into the query feauture. On an unrelated topic, I have been planning on making a spell checker for articles in edit mode for some time, and your Live Spellcheck seems quite interesting. Do you have any suggestions for how I should go about this? Will it be a huge list of regex checks that prompt if they are met. Where can I get a good list of commonly misspelled words and there correct spelling?Voice-of-AllTalk 03:13, 28 May 2006 (UTC)
- I'm not sure of the best way to do that. Note that Bon Echo already includes a native spellchecker, though, and I believe that there are firefox extensions around to do it in current versions. My "Live spelling" thing does indeed use an enormous regexp, using the data at Wikipedia:Lists_of_common_misspellings/For_machines. It is limited to that wordlist, though, and this approach probably wouldn't scale to a more complete dictionary. Lupin|talk|popups 03:18, 28 May 2006 (UTC)
- I'll have to look into the query feauture. On an unrelated topic, I have been planning on making a spell checker for articles in edit mode for some time, and your Live Spellcheck seems quite interesting. Do you have any suggestions for how I should go about this? Will it be a huge list of regex checks that prompt if they are met. Where can I get a good list of commonly misspelled words and there correct spelling?Voice-of-AllTalk 03:13, 28 May 2006 (UTC)
- There are no edit tokens or anything like that. If the worry is that someone could persuade someone into clicking a malicious link, then I'm afraid that every user of popups is already vulnerable to such an attack. On the other hand, the fix is just another click away, so I'm not terribly concerned about this. Lupin|talk|popups 03:09, 28 May 2006 (UTC)
Asking help
Hello. I'm not a programmer, all I can do is to understand some code, and copy and paste pieces to make things (that's how I could learn some html, copying tables). I was wondering if you know how to make an ... a box to type text like the edit summary's box (to recive an input) and the result beain a link containing that input (i.e. the input is and IP, 22.22.222.222 and the result is being linked to the WHOIS page, or any other identifier)? —Argentino (talk/cont.) 21:11, 28 May 2006 (UTC)
- Something like this?
function linkBox(){ var d=document.createElement('div'); var t=document.createElement('input'); var s=document.createElement('span'); t.type='text'; t.onkeypress=function(){ s.innerHTML='<a href="http://whatever/' + t.value + '">linky linky</a>'; }; d.appendChild(t); d.appendChild(s); var loc=document.getElementsByTagName('h1')[0]; loc.parentNode.insertBefore(d,loc); } addOnloadHook(linkBox);
Yes, thankyou a million times! I don't know how to make it work outside preview window but it is much better for me now. —Argentino (talk/cont.) 21:03, 30 May 2006 (UTC)
A Note on Global BL and a Tool Request
I'm not sure whether or not this will effect what you're doing; however, there are a few problems with my current global lists that I will need to correct in the next release. The main problem is that anyone can remove a user from the global list but not from each individual's local list; thus, if Jimbo gets blacklisted, and everyone goes and retrieves the global BL, we can remove Jimbo from the list, but we can't do anything about the next time User:Example uploads his list, with Jimbo on it, back to the global list. My solution is pretty simple: imbed another list inside the current one for removed users that will not allow certain users to be reloaded to the list. I'll likely keep the same basic encryption scheme and stick the list simply within a separate set of brackets, so as long as you merely read the list enclosed by begin/end dump, this shouldn't effect what you're doing--just wanted to give you a heads up.
At the same time, I also have an idea completely unrelated to VandalProof or your anti-vandalism tool that I was going to suggest to you but kept forgetting. You seem to be the definite go-to guy for Wikipedia JS coding, whereas I'm quite a novice in the language, so I thought I'd see if you thought this was do-able. One thing that I would really like would be to have the oldids of each version appended at the end of the date in history views. I wrote a routine to do this in VandalProof, but the only way I knew to do it was to scrape the HTML of the page and write it back, which subsequently disables JavaScript on the page (including popups and the handy-dandy radio buttons). Basically what I want is to see is "08:30, 29 May 2006 (UTC) (99999)" on each item in the history without disabling the JavaScript on the page. Anyway, it's certainly not a high priority, so please don't let it get in the way of the other, much more important work you're doing. But if you could even just generally point me in the direction of some routines or JS commands to do this (or just tell me that it can't be done with Java), it would be much appreciated. Thanks. AmiDaniel (talk) 08:30, 29 May 2006 (UTC)
- Thanks for the heads-up on the blacklist. Here's a JS function that should do the job:
function addOldids(){ var re=/index[.]php[?]title=[^&]*&oldid=(\d+)$/; var len=document.links.length; for (var i=0; i<len; ++i) { var a=document.links[i]; if (re.test(a.href)) { var m=a.href.match(re); a.innerHTML += ' (' + m[1] + ')'; } } } // for testing from monobook.js: addOnloadHook(addOldids);
- Possibly unwanted side effects: this will affect all links to oldids with urls like those on the history page, and it'll happily run on any page. (This could be fixed if needed). Lupin|talk|popups 13:27, 29 May 2006 (UTC)
Question about antivandal tool
I have been using your tool for quite a while now and recently, I found new options at the top of the "filter recent changes" page. I was wondering what that new "use non-admin rollback" option does. --Evan Robidoux 19:47, 29 May 2006 (UTC)
- It makes the rollback links work for users who are not admins, provided they have suitable javascript support. If they don't, then clicking any rollback link should tell them how to get it. (Admins can use this too if they want, but there's probably not much point). Lupin|talk|popups 01:21, 30 May 2006 (UTC)
- Could you clarify what is meant by javascript support? Do users who use popups have the capability to make use of that rollback feature, for example? Cowman109Talk 01:35, 30 May 2006 (UTC)
- Yes, they do. People who don't want popups can still get this support by adding {{subst:js|User:Lupin/autoedit.js}} to their user javascript file, but popups users don't have to do anything. (I haven't tested this standalone autoedit.js in a while, though). Lupin|talk|popups 01:37, 30 May 2006 (UTC)
- Could you clarify what is meant by javascript support? Do users who use popups have the capability to make use of that rollback feature, for example? Cowman109Talk 01:35, 30 May 2006 (UTC)
Aniki
I tried your tool on http://www.aniki.info/, but it doesn't work for me in either Firefox 1.5.0.3 or IExplorer 6. Cache was cleared.
It works on the german wikipedia and here. -- Ninjamask 18:40, 30 May 2006 (UTC)
- By the way, you should check that user javascript and css are enabled on that wiki. Ask your site admins if unsure. Lupin|talk|popups 21:07, 31 May 2006 (UTC)
Problem with recent changes filter
For some reason the word "penis" is no longer being considered a "badword" by the filter even though it appears to be listed. I made a dummy edit to Penis and though the word "penis" is in the article, it was not caught. You may want to look into this.--Conrad Devonshire Talk 01:59, 31 May 2006 (UTC)
- Thanks. There was a missing slash at the end of the line in the badwords list. (Regexp lines must start and end with a slash or they won't work). Note however that the tool is not guaranteed to examine every edit, as it only takes periodic samples from the RSS feed, which itself is not guaranteed to record every edit. Lupin|talk|popups 02:30, 31 May 2006 (UTC)
good work
I must say, good job24.13.187.217 04:24, 31 May 2006 (UTC)
Popups feature request: deletion log
Hi, and thanks for your excellent WP:POP tool. I wonder if you could add the deletion log to the actions menu for an article. I may be wrong, but there appears to be no one-click way of otherwise accessing it from the standard interface. Thanks for giving it consideration! Best, Sandstein 04:25, 31 May 2006 (UTC)
Lupin.
Hello, Lupin. It's easy to remember your ID. Lupin is character that appears in Harry Potter story, Movie. I'm Harry Potter fan too. I think that you are also big Harry Potter fan. Anyways, when I checked your sandbox. There are many weired worlds in your sandbox as I observed your sandbox. But, you already reverted it back to past one. Anyways, I would like to ask you about something. How could I create my own sandbox? Please, Reply on my talk-page. I understand you don't like to reply on someone's discussion page. Anyways, I hope you could send me message. Cheers~!! Daniel5127, 06:09, 31 May 2006 (UTC)
- replied on his talk. --GeorgeMoney T·C 06:27, 31 May 2006 (UTC)
You are invited to discuss your claims on yadav page.Holywarrior 14:00, 31 May 2006 (UTC)
WarWiki
We have a budding wiki. Can you bring your tool to it?-GangstaEB (at war)-15:05, 31 May 2006 (UTC)
- You mean the popups tool? It should work on wikia wikis (let me know if not). If you want to install it for all users you could try adding it to the global monobook.js on that wiki. The query.php extension doesn't seem to be installed on that wiki, so you should set popupUseQueryInterface=false (which will disable some functionality) or get it installed. Lupin|talk|popups 19:49, 31 May 2006 (UTC)
- No. I mean the Wikipedia-famous anti-vandal tool(No sarcasm intented). We have one admin who ain't around 90% of the time. We're afraid Willy will be browsing wikis and see ours. We need something to stop him quick because WE HAVE (BASICALLY) NO ADMIN TO BLOCK HIM!!!-User:Gangsta-Easter-Bunny/Sig--13:02, 1 June 2006 (UTC)
Sorry I could trace it(in response to MY edit on yadav)
I am really sorry for not having done enough exercise to find out the real person behind mischief.I am 4 months old user on wikipedia and really ashamed of having done the damage unknowingly.I think you will forgive me for the mistake.Infact I have build up most part of the article and ppl who edit it without discussing makes me lose temper and it has happened twice in succession.I admit I should have done more exercise before pointing fingures at you or anybody.Holywarrior 15:08, 31 May 2006 (UTC)
Popups
Hey Lupin, is it possible to turn off the edit links popups add to diffs? It breaks some of the other things in my monobook. (My monobook has this other bug too, if you have time to look at it....) Prodego talk 19:09, 31 May 2006 (UTC)
- If you want to disable diff previews, set popupPreviewDiffs=false. Is that what you mean by edit links? Lupin|talk|popups 19:51, 31 May 2006 (UTC)
- No, when I open up I diff, I see an edit link next to the revision date (a very new feature?), I think I narrowed it down to being in popups. Is this not a popups issue? Prodego talk 19:54, 31 May 2006 (UTC)
- Well I still get it with only popups in my monobook, and I even get it with nothing in my monobook. No relevent changes to the global pages though. Do you see this as well? Prodego talk 20:04, 31 May 2006 (UTC)
I cleared my cashe and cleared the monobook files. I still get the links.
Prodego talk 20:10, 31 May 2006 (UTC)
- You're right - so do I! It probably is a new mediawiki feature. Lupin|talk|popups 20:13, 31 May 2006 (UTC)
- Oh, I am glad itisn't just me. So could you possibly figure out why this breaks my monobook.js? It is "the warn tab", which appears on diff pages. It now links to User:Edit rather then the person who made the edit. There is also a much more complex bug that no one seems to be able to figure out how to fix. Prodego talk 20:20, 31 May 2006 (UTC)
- OK, I think I have the solution. Try changing
var vandalname = rcol.getElementsByTagName('a')[1].innerHTML;
- to
var vandalname = rcol.getElementsByTagName('a')[2].innerHTML;
- That's it, thanks very much! Now if you want challenge here is the big bug. It is either in the monobook.css or .js and the bug is: Essjay's User functions tab limits the number of tabs I can add to a page to 6. This causes a problem on deletion pages, where I want about a dozen tabs. Feel free to not look at this one, but if you do know the problem help would be appreciated. (I think it is the css file, do you know how to program that?) Prodego talk 21:41, 31 May 2006 (UTC)
Popups in de:
In the german wikipedia I'got never ending errors like this:
error: log is not defined line: 4407 error: pg is not defined line: 1209 error: Drag is not defined line: 4640
and the most
error: pg is not defined line: 2960
But my needed funktions seems to work (I can't see an malfunktion). ps. I use FF and I don't think that's crashed with my other scripts. Best regards --Olliminatore 20:44, 31 May 2006 (UTC)
- Never ending, eh? I get these occasionally. I don't know what causes them, though. Please let me know if you can figure it out! Lupin|talk|popups 21:03, 31 May 2006 (UTC)
I've been thinking about that and I belive this is because popups is quite huge ;). The size of the file might be causing browsers to parse it as the last one that is updated. I don't have any proves of such behavior, but it usually happens when wiki is getting slow or very slow. So maybe there just isn't any solution to this? Or you could add some additional if-s around lines that gives errors? --Nux talk | didn't answer? drop a note 02:10, 1 June 2006 (UTC)
Here's an idea for you
Your vandal tools are stunning. I especially like "filter recent changes". However what I desperately want is this: a page that looks exactly like Recent Changes, but simply updates.
So a carbon copy of RC that scrolls as changes are made. THAT would be awesome. (Esp. for RC patrolling!) Simplest way to do this is just to somehow load RC onto a special User:Lupin/RC realtime page and then force it to keep re-checking the information (refreshing if need be). -- Alfakim -- talk 21:43, 31 May 2006 (UTC)
- Like User:Lupin/All recent changes? Lupin|talk|popups 22:13, 31 May 2006 (UTC)
- Yes like that - but rather than in the current "scroll down" form, new updates appear at the TOP - like it's a live feed. t'would also be nice to have the normal RC format. The problem with the current thing you have there is that, left alone, it quickly clogs up and becomes useless (too much data). Perhaps a checkbox - "New content replaces old". The idea i'm thinking of is like an RC page but where the content is ALWAYS the actual recent changes. this would be great as RC is faster (your pages, although more functional, are slower to work - especially on certain browsers). -- Alfakim -- talk 22:29, 31 May 2006 (UTC)
- Continuous updates would be possible, but may lead to an unacceptable strain on the servers, I'm not sure. I don't really see how this would be more usable than the All recent changes page, since the edits would come thick and fast (more than 1 per second). You can get that in scroll down form by typing javascript:void(recent2.outputPosition='top') in the address bar while viewing that page and hitting enter, but the problem is that the new content move old stuff down, which is not so practical. Lupin|talk|popups 03:19, 4 June 2006 (UTC)
- Yes like that - but rather than in the current "scroll down" form, new updates appear at the TOP - like it's a live feed. t'would also be nice to have the normal RC format. The problem with the current thing you have there is that, left alone, it quickly clogs up and becomes useless (too much data). Perhaps a checkbox - "New content replaces old". The idea i'm thinking of is like an RC page but where the content is ALWAYS the actual recent changes. this would be great as RC is faster (your pages, although more functional, are slower to work - especially on certain browsers). -- Alfakim -- talk 22:29, 31 May 2006 (UTC)
Inkscape
Hi Lupin, I replied here. --Flominator 23:00, 31 May 2006 (UTC)
Popups-light
Have you ever thought of popups-light? It would be nice if some of the code would be incorporated with wiki also for guests (IPs). For example one could go over some inner-link and get quick info about some article whout actualy going in this article. The problem is usually with all sorts of abbreviations and such and this could even be good to wikiservers (user wouldn't click to the article). In addition I belive that wiki php-programers could work on a way to determin header infromation of some article and that way popups wouldn't load whole article (it does that now, correct?). --Nux talk | didn't answer? drop a note 01:57, 1 June 2006 (UTC)
- This is a nice idea. As a start, I've made a version of the script which does previews and nothing else in 111K (77K with comments and whitespace stripped). This could certainly be reduced if the script was written from the bottom up with a view to small code size, but I've set things up so that I can produce a lite version from the full version which means less code to maintain.
- Hm... I was hoping it could be smaller. I guess the size is because of there's a lot of parsing the wikicode there?
- You're right about the script fetching full versions of articles each time. However, I don't know if the devs would be happy to add ways to get the start of an article to mediawiki since this involves heuristic guesswork which depends on the conventions of the wiki (do you count the bit which says "go here for the disambig page"? do you count taxoboxes? etc etc). Still it'd be nice to get them to do this stuff serverside... Lupin|talk|popups 12:51, 1 June 2006 (UTC)
- I think a version like "everything until first header" would be nice to start with. It should work in most (all?) cases. This usually contain some boxes, but I think they could be left alone so you can choose to parse/include them or not. Nux talk | didn't answer? drop a note 22:41, 2 June 2006 (UTC)
Turning off popups
Is there a way to temporarly disable some functions of popups? Like somewhere to click to temporarly (just for currently viewed page) to disable loading of preview of an article. --Nux talk | didn't answer? drop a note 01:57, 1 June 2006 (UTC)
- No, not currently. The main issue is figuring out a nice ui for this... any ideas? The script is currently skin-agnostic and I like it that way, so I'd prefer not to have to add a toolbox link or tab; keeping everything inside a popup would be good. Lupin|talk|popups 12:53, 1 June 2006 (UTC)
- Hm... Maybe some dropdown menu in the "p-personal"? You could even have some kind of checkboxes in it I think... Nux talk | didn't answer? drop a note 22:41, 2 June 2006 (UTC)
Popups-easy
I remebered one more... I was thinking of working on some javascript add-on that would generate JS code from an easy to fill HTML form. Some first version would simply be an easy way to configure popups in that manner. What do you think about it? --Nux talk | didn't answer? drop a note 01:57, 1 June 2006 (UTC)
This would be quite easy if done outside of Wikipedia, but I'm not sure if this can be done inside...
To make it inside I'm thinking of creating some simple table with listed options and possible values. In that table there would be some span elements with title that would be the code to add. Those spans would have to have onclick event added (spans would have some specific class). Then when a user would click some submit-like link the text would somehow appear in the edit textarea... Not sure if the last is doable at all... Another problem would be - what if a user would have some previously set options? The text would already be in his .js... Or maybe this shouldn't be done so simple and user would simple have to copy paste some generated text. Nux talk | didn't answer? drop a note 22:41, 2 June 2006 (UTC)
- If you can create a nice UI for me, that'd be a big first step. We don't even need the copy paste - the user could click a button and the tool could alter his js file in the background. Probably it'd be simplest to detect existing customization and abort if we find any. We'd also have to be able to recognize prior customization blocks added by the tool and parse them, but again this is quite doable. Lupin|talk|popups 23:42, 2 June 2006 (UTC)
- Perhaps it would be an idea to make popups recognize some kind of "special" page in your user space (or somewhere else) that prompts popups to insert an HTML form in the content area, loading it with the settings found in the user's js, and when ready, save the settings back. Can that be done with the XMLHttpRequest thingy you're using? Shinobu 02:31, 13 June 2006 (UTC)
Popups - warnings
Sorry to spam you with all sorts of things at one time, but this might be important.
I've mentioned some problems with warnings in JavaScript console and then you said you don't have any. I also saw none and thought this was fixed, but I've simply forgot that I enabled strict mode of JS...
Any way the warnings are still there. If you have webdeveloper then just go to:
- Web Developer Options -> Miscellaneous -> Enable strict warning
And now reload and watch the yellow triangle appear and get used to it as almost all pages on the net have it ;). Most of warnings are probably not dangerous, but some might be or may point you to solving some unsolved problem (might even get popups to fully work under Opera and IE). Most of the warnings are:
- does not always return a value (probably not important, but it could)
- assignment to undeclared variable (usually just some "var" keyword is missing)
- reference to undefined property (if this didn't generate an error then is usually OK).
Just recently I've made some JS algorithm test page that worked on FF, but not on both Opera and IE. Finally I've run Opera JavaConsole and found that there were some errors not shown in FF console. This in particular were:
const OUTPUT_ELEMENT_ID = 'output'; // not working (string can't be const?)
and
var OUTPUT_ELEMENT_ID = 'output';
But I also had some issues with innerHTML (had to use createElement func.).
Hope this will be of any help, Nux talk | didn't answer? drop a note 02:47, 1 June 2006 (UTC).
- Thanks, I found one "assignment to unassignment variable" which wasn't a red herring :) Lupin|talk|popups 13:09, 1 June 2006 (UTC)
Bots.
Hello, Lupin. Again, Someone already responded my message yesterday. I'm so curious about wikipedian bots right now. Lupin, When I checked article for vandalism, there are some wikipedian bots who put another version language. Such bots User:YurikBot. In my opinion, Bots are usually fix the spelling, grammar mistakes in article, and put another language version from the source of article. To Arabic, Hebrew, Korean, Japanese, Chinese, French, Spanish, Italian, Russian, Armenian, German, Chinese etc. I personally think that some bots usually fight with vandalism. Lupin, I just visited Chinese Wikipedia, (P.S I'm Chinese Wikipedian), I saw that YurikBot added language form in Chinese Wikipedia. Does Wikipedian Bot know every language version because I really want to know about Bots. Does Wikipedian make an extra ID for Bots? Is making Bot ID for only admin? What do they use their own Bots ID for? Just explain to me in my discussion's page. I understand you don't like to respond in my talk-page. But please, Reply on my talk-page. Thanks. Daniel5127, 06:21, June 02 2006(UTC)
Replace tab
I was playing around with regexps on Wikisource a few days and eventually got the point where I was running a monotonous search/replace using the Replace tab from here. I decided to use the AddLiMenu function to create a dropdown of regexps, so that you could just click and have them done, instead of clicking and pasting the regexp into the "Search", then hitting enter and typing the replace into "Replace".
I got it working with a simple regexp: (\n), replace with $1$1, which doubles the whitespace (used it extensively when converting the Bible texts from HTML to templates). One of our latest projects is converting a rather ugly HTML header (found here) into a simple template. The main issue is that, despite escaping the backslashes in the regexp, jumping through several hoops, dancing naked in the moonlight, etc, I can't get it to work. The regexp <div[\\s\\S\\n\\R ]*\\[\\[EBD1897:([^|]*)\\|[^\\]]*\\]\\][\\s\\S\\n\\R ]*\\[\\[EBD1897:([^|]*)\\|[^\\]]*\\]\\][\\s\\S\\n\\R ]*\\[\\[w:([^|]*)\\|[^\\]]*\\]\\][\\s\\S\\n\\R ]*</div>
seems to work fine when simply applying it to the page, but as an actual function, like this, it doesn't work. Any idea on how I might get it to work? Jude (talk) 07:24, 2 June 2006 (UTC)
- I'm not sure - quoting issues are often hairy. I'd suggest sidestepping them with something like this:
<nowiki> // global scope function replWS(){ replace2(/whatever/, '$1$1'); } function moonlitReplace(){ replace2(/nasty regexp/, 'nasty replacement'); } function setupReplacements() { var tabs= ...; addlimenu(...); var replf=...; addlilink(replf, 'javascript:replWS()', 'foo', 'bar'); addlilink(replf, 'javascript:moonlitReplace()', 'baz', 'quux'); } addOnloadHook(setupReplacements);
</nowiki>
- Lupin|talk|popups 12:18, 2 June 2006 (UTC)
- Thanks for the suggestion! The /regexp/ didn't work (broke everything, actually), and quoting it with both " and 's doesn't work either... It dies with a "Error: unmatched ) in regular expression" (from the Firefox JavaScript console). I tweaked it so that instead of replacing that regexp, it prompted for it, and pasted it in, and it worked on that occasion... But eh. Perhaps I'll just keep it on the clipboard :) Thanks for your suggestions. :) Jude (talk) 13:59, 2 June 2006 (UTC)
- Did you try changing all the double backslashes to single backslashes? Lupin|talk|popups 14:51, 2 June 2006 (UTC)
- I managed to work out what it was--apparently it was an issue with the length of the regexp. I ended up concantenating it across multiple lines, and haven't had a single issue since then. Thanks for your suggestion! :) Now, to try and work out how to automagically submit a move page form... Jude (talk) 10:24, 5 June 2006 (UTC)
- Did you try changing all the double backslashes to single backslashes? Lupin|talk|popups 14:51, 2 June 2006 (UTC)
- Thanks for the suggestion! The /regexp/ didn't work (broke everything, actually), and quoting it with both " and 's doesn't work either... It dies with a "Error: unmatched ) in regular expression" (from the Firefox JavaScript console). I tweaked it so that instead of replacing that regexp, it prompted for it, and pasted it in, and it worked on that occasion... But eh. Perhaps I'll just keep it on the clipboard :) Thanks for your suggestions. :) Jude (talk) 13:59, 2 June 2006 (UTC)
thanks for popups
congrats for your script - this is sooo cool ! — MFH:Talk 14:19, 2 June 2006 (UTC)
(PS: sorry for this unproductive edit, but I felt the urge...)
- Yes, thanks from me too - and the latest changes to make the actions/user menus nicer is much appreciated. -Joshuapaquin 02:52, 4 June 2006 (UTC)
Suggestion for making the Popups window easier to read
Hi Lupin, Thanks very much for your Popups work, it is truly a wonderful feature.
I have a minor issue:
- When I hover my mouse over a link and the popup window is displayed, I find it distracting in the initial moment when the popup content is loaded, because the text in the box shifts around. So I start reading the popup, and then after a few seconds some new content loads and I lose my place and have to start over reading. This seems to happen usually at the moment the image thumbnail is loaded into the popup.
With that in mind, I have a minor suggestion:
- Would it be possible to pin the content down so that once it is displayed in the popup, it never changes location or shifts around? I think that would be a nice improvement. It would be fine if new content loaded after a few seconds that made the popup larger, as long as the stuff already displayed in the popup doesn't shift around.
My browser is Mozilla Firefox 1.5.0.4 on Windows XP.
Just a thought. Thanks again! --Fjarlq 13:50, 4 June 2006 (UTC)
- Yes, this is something I remain unhappy with. I have improved things a little in the dev version: it still shifts, but hopefully is more responsive to content changes than before. Maybe one day this will be fixed completely... patches or assistance welcome! Lupin|talk|popups 22:38, 6 June 2006 (UTC)
Fair Use image
Why are fair use images coming up in that box in the corner of your userpage? Maybe you should remove it before you get into some deep trouble. The Gerg 19:57, 7 June 2006 (UTC)
- It's just a recently uploaded image produced by {{Special:Newimages/1}}. Lupin|talk|popups 21:35, 7 June 2006 (UTC)
Freeze
I just noticed that your great tool freezes my browser (Firefox & IE) when hovering over a link to (Careful! You probably will have to kill your browser) Comparison_of_Intel_Central_Processing_Units. Cheers, --Amalthea 01:10, 8 June 2006 (UTC)
- Eh, or maybe it's just pretty slow due to the markup of that page?! --Amalthea 01:21, 8 June 2006 (UTC)
- This is a bug. Working on it... Lupin|talk|popups 01:28, 8 June 2006 (UTC)
- This is semi-fixed in the dev version. It makes firefox give the unresponsive script dialog for me, which is an improvement over freezing the browser. If you hit continue enough times (once suffices for me) then it should function correctly. This is caused by the huge table on that page; I don't know a better way around this. Lupin|talk|popups 01:35, 8 June 2006 (UTC)
- This is a bug. Working on it... Lupin|talk|popups 01:28, 8 June 2006 (UTC)
Searching text area in Firefox
Splarka responded to a query I posted at the Village pump technical about getting Firefox to Find text in the Edit window, by pointing me to Wikipedia:Tools/Browser_integration#Search_within_Textarea_Extension_with_regex.
I have downloaded the code at [41], but don't know what to do with it. I'm afraid I have zero experience with this stuff. Could you point me in the right direction? TIA-- Mwanner | Talk 12:38, 8 June 2006 (UTC)
- The right direction. Lupin|talk|popups 14:09, 8 June 2006 (UTC)
Pop-ups for audio links
We have a template {{audio}} meant for inline links to audio files:
'''Bordeaux''' ({{Audio|Fr-Bordeaux.ogg|pronunciation}}) is a [[Seaport|port]] city in...
gives this:
- Bordeaux (port city in... ) is a
A big complaint is that the help and info links are cluttering up articles. I thought perhaps we could put those links inside a javascript pop-up. People who don't have javascript will just see them the way they are now. I made a mock-up script, but it would need a lot of work before going live. You are an expert on pop-ups, so I'd like your opinion on whether this is a feasible idea. See Template_talk:Audio#Formatting — Omegatron 14:25, 8 June 2006 (UTC)
- I think it should be feasible techically. You could even have a pure CSS solution, I believe, operating like the dropdown menus in the popups. CSS should probably be involved somewhere in any event so that you can hide stuff without having to show it first, which a "hide with JS on page load" approach would seem to have to involve. Lupin|talk|popups 22:41, 8 June 2006 (UTC)
- Would a pure CSS version be supported in all major browsers, though?
- I used CSS to style the box in my example. The javascript just writes the style sheet to your page so I didn't have to modify Mediawiki:Common.css for my example. — Omegatron 23:14, 8 June 2006 (UTC)
- I was thinking along the lines of taking my example script and making it more robust, prettier, and able to work on all major browsers. Then we could include it in MediaWiki:Monobook.js and on browsers that didn't support it, they would degrade gracefully and see the current template with no popup. — Omegatron 14:06, 9 June 2006 (UTC)
This works, more or less. It remains quite ugly, though :) By the way, people with CSS enabled but javascript disabled will not see these links, as things stand. To fix this, maybe the script should assign a new CSS class on page load to the relevant objects. This has the side-effect of them appearing while the page loads and then disappearing, though. Lupin|talk|popups 01:11, 10 June 2006 (UTC)
document.write( '<st' + 'yle type="text/css"> ' + ' div.audiolinkbox { ' + ' border:2px solid rgb(170,170,170); ' + ' background-color:rgb(250,250,250); ' + ' position:absolute; ' + ' margin:-1.2em; ' + ' display:none; ' + ' } ' + '<' + '/style>' ); addOnloadHook(function () { function lightup () { this.audioPop.style.display="inline"; } function lightout () { var savedThis=this; clearInterval(this.lightTimer); this.lightTimer=setInterval(function(){hideAudioPop(savedThis);}, 2000); } function hideAudioPop (caller) { clearInterval(caller.lightTimer); caller.audioPop.style.display="none"; caller.audioPop.onmouseout = null; } function mouseoverAudioPop () { var hotspot = this.hotspot; if (!hotspot) { return; } clearInterval(hotspot.lightTimer); this.onmouseout = function () { hotspot.lightTimer=setInterval(function(){hideAudioPop(hotspot);},2000); }; } /* Get all the span tags */ spans = document.getElementsByTagName('span'); /* go through them all */ for (i=0;i<spans.length;i++) { /* If the span is class audiolinkinfo */ if (spans[i].className.indexOf("audiolinkinfo") != -1) { /* Put it in a box */ box = document.createElement('div'); box.className="audiolinkbox"; spans[i].parentNode.insertBefore(box,spans[i]); box.appendChild(spans[i]); /* Remove the parentheses */ insidebox = spans[i].firstChild for (j=0;j<insidebox.childNodes.length;j++) { if (insidebox.childNodes[j].textContent == "(" || insidebox.childNodes[j].textContent == ")") { insidebox.removeChild(insidebox.childNodes[j]) } } /* Add the hover thing to the audiolink span */ var hotspot = spans[i-1]; hotspot.onmouseout=lightout; hotspot.onmouseover=lightup; hotspot.audioPop=box; box.hotspot = hotspot; box.onmouseover = mouseoverAudioPop; } } });
Popups
I've tried using pops but they don't work for some reason. Can you please help? Thank you! Drahcir my talk 23:11, 8 June 2006 (UTC)
- By the way, please respond on my talk page.
- I use IE5 on a Windows 2K. I had no idea what you meant by "clearing your browser's cache".
- See How and Why to Clear Your Cache. Lupin|talk|popups 23:33, 8 June 2006 (UTC)
- It works now. Thanks!
- See How and Why to Clear Your Cache. Lupin|talk|popups 23:33, 8 June 2006 (UTC)
- I use IE5 on a Windows 2K. I had no idea what you meant by "clearing your browser's cache".
Popups: omg, again?
First I have to say THANK YOU, they're really useful.
I have translated the strings to Slovenian: they are here. However, the messages are still displayed in English, even after I cleared my cache completely. Do you have any idea what could possibly be wrong? Here's my monobook.js. --Eleassar my talk 00:20, 10 June 2006 (UTC)
- You have a syntax error caused by an extra backslash on line 186: change
'userLogHint': 'Prikaže dnevniške zapise za %s\',
to
'userLogHint': 'Prikaže dnevniške zapise za %s',
Another thing: could you please rearrange the code so that it allows for 'old n weeks' instead of 'n weeks old'. That's for the translation. Thanks. --Eleassar my talk 09:48, 10 June 2006 (UTC)
- This is now in the dev version (I won't upgrade the strings-draft file yet, as the stable version doesn't have this string). You should provide a translation for '%s old' (eg '%s old': 'old %s'). Lupin|talk|popups 16:21, 10 June 2006 (UTC)
Another bug: by each page the popups always say it is 208 weeks old. --Eleassar my talk 21:49, 12 June 2006 (UTC)
- They don't for me. I see stuff like this:
- Prvi kontingent SV v Afganistanu ⋅ukazi
- Škrbina, 1.9kB, 63 wikipovezav, 0 slik, 0 kategorij, 2 dni 11 ur staro
- Don't you get that sort of thing? There could be subtle caching/server-side issues at work here, but your browser, browser version and OS may be relevant. Let me know that stuff and we can dig deeper. Lupin|talk|popups 22:15, 12 June 2006 (UTC)
Now I'm working on another computer. The only thing I can think about that is not the same is that previously I were using the AutoWikiBrowser. I'm sorry I haven't checked if there's any difference between running and not running it. I'll probably do that tomorrow.
- Now this bug appeared again on this second computer and I haven't changed anything (except having opened a few more tabs in Firefox). --Eleassar my talk 00:51, 13 June 2006 (UTC)
- Hm. When that happens, could you try inspecting the HTTP headers returned form a page like http://en.wikipedia.org/w/index.php?action=raw&title=Foo You should see a Last-Modified header, which should have a date in the not-too-distant past. Try this for a few different article titles for variety. What kind of dates do you see?
- I think you can use the firefox livehttpheaders extension for this, or if you have a unix-like machine you can use curl or wget to dump the headers. Lupin|talk|popups 01:26, 13 June 2006 (UTC)
Thanks
Lupin, thanks for helping us with our format for "David Lucas Burge." AEMP 03:32, 10 June 2006 (UTC)
Can't use the popups in some cases
Check out this bit of vandalism. [42]
When I hover over the action link, the menu popup where I can revert has a space between it and the position of my mouse cursor. Since the popup disappears the moment I'm not hovering on action or the menu itself, it disappears when I go to it due the spacing inbetween the menu and the actin link. It even does this when hovering over that external link. Kevin_b_er 08:35, 4 June 2006 (UTC)
- I can't reproduce this. Could you post a screenshot of the gap? Also, please tell me your browser, browser version and operating system. Thanks! Lupin|talk|popups 15:02, 4 June 2006 (UTC)
- Running Mozilla Suite 1.7.12 on Windows XP. Here's the screenshot: Image:Kevin_B_Screenshot_1.png My cursor does not appear, but it was directly over 'actions' at the time. Attempts at going to the menu on popups like this are impossible due to the the gap immediately hiding the menu when the mouse goes through it. It doesn't appear in firefox, but I'm too suck on good 'ole mozilla for the time being. Kevin_b_er 07:47, 10 June 2006 (UTC)
- Is that the latest version? I'm not sure with all the rebranding, but perhaps you could try this and see if you have better results. If you're stuck with that version, maybe you'd be satisfied with setting popupStructure='original'. Lupin|talk|popups 16:25, 10 June 2006 (UTC)
- Yeah, that was the last final release of the mozilla suite, there was a beta version of 1.8 put out, but it had a lot of nasty bugs and I'm still waiting on seamonkey to finish ironing out some issues. Otherwise, however, that branding is original mozilla-suite styling with the classic (netscape) theme (which is included). I'll try switching to popupStructure original and see if that fixes it up. Kevin_b_er 22:58, 11 June 2006 (UTC)
- Is that the latest version? I'm not sure with all the rebranding, but perhaps you could try this and see if you have better results. If you're stuck with that version, maybe you'd be satisfied with setting popupStructure='original'. Lupin|talk|popups 16:25, 10 June 2006 (UTC)
- Can you please disable popups in edit mode, they actually seem to get very jumpy and annoying when editing.Voice-of-All 23:36, 11 June 2006 (UTC)
- Running Mozilla Suite 1.7.12 on Windows XP. Here's the screenshot: Image:Kevin_B_Screenshot_1.png My cursor does not appear, but it was directly over 'actions' at the time. Attempts at going to the menu on popups like this are impossible due to the the gap immediately hiding the menu when the mouse goes through it. It doesn't appear in firefox, but I'm too suck on good 'ole mozilla for the time being. Kevin_b_er 07:47, 10 June 2006 (UTC)
OMG spellcheck! missing idea
Brilliant work as usual. But the toolbox really needs a "spellcheck this page" function. You click it, and then your tool analyses the page you were just on, thus allowing you to spellcheck your work any time. -- Alfakim -- talk 15:12, 12 June 2006 (UTC)
- Tricky to do efficiently in javascript. You could download Bon Echo - it spellchecks textareas automatically. Lupin|talk|popups 22:25, 12 June 2006 (UTC)
- Hm, on second thoughts, this would be doable (with the caveat that, like the live spellcheck tool, it would only catch common misspellings). Maybe I'll get around to this, it is a nice idea. Lupin|talk|popups 22:29, 12 June 2006 (UTC)
- Well it really starts to lag on long pages, but it is fairly quick otherwise. I am too scared to make a 1000+ word regex with $1 replace stuff, so I do each word seperatly, but maybe it wouldn't crash with a single regex, I don't know.Voice-of-All 08:54, 13 June 2006 (UTC)
The Script
I know I ought to answer on another page, but, there was a clash of your navigational popup and the script that creates online-busy-online in between my contributions and log out. My browser is Mozilla Firefox
How can I rectify this?
Thanks, Jean-Paul 19:57, 12 June 2006 (UTC) Talk to me
- I think the problem is that your monobook.js had the line
[[User:Lupin/popups.js]]
- instead of
// [[User:Lupin/popups.js]]
- (note the // at the beginning). It might work if you put the slashes in. Lupin|talk|popups 22:18, 12 June 2006 (UTC)
Thanks, Jean-Paul 05:14, 13 June 2006 (UTC)
Popups on secure.wikimedia
For some reason popups doesn't want to work on the secure server - I tried changing the path, nothing. Any ideas why? -- 9cds(talk) 22:39, 12 June 2006 (UTC)
- Yes, I only added support for this recently, and it's probably only in the dev version. Give that a whirl and it should work (fingers crossed). Lupin|talk|popups 22:43, 12 June 2006 (UTC)
- I tried installing it, but the subst: command doesn't want to work? -- 9cds(talk) 08:54, 13 June 2006 (UTC)
Popups crashing Firefox
After uninstalling and re-installing my monobook features one by one, it seems that your popups tool is suddenly crashing Mozilla Firefox. Do you have any idea why? (The only other tools I have installed are the busy/online/offline status changer and the Interiot editcount tool.) Thanks for your help. -→Buchanan-Hermit™/?! 01:41, 14 June 2006 (UTC)
- How is it crashing - does it freeze or just crash? Which version of firefox, and which operating system are you using? If you're not using it, can you upgrade to the latest version and try that? Lupin|talk|popups 02:10, 14 June 2006 (UTC)
- It was crashing via the "Send error report? Send/Don't Send" way, on Windows XP. And I'm using Firefox 1.5.0.4, which is the latest version. (And on an unrelated note, the .php diffs on Wikipedia has stopped working for me... Yes, I've tried virus-scanning. This is getting messy.) -→Buchanan-Hermit™/?! 02:35, 14 June 2006 (UTC)
- Do you have any extensions installed? Please try uninstalling or disabling them. Lupin|talk|popups 02:38, 14 June 2006 (UTC)
- No, I don't think I do. There's nothing "extra" installed on my browser. -→Buchanan-Hermit™/?! 03:07, 14 June 2006 (UTC)
- Hmmm, the problem seems to have resolved itself after leaving the computer alone for a few hours and then re-installing the script. Thanks for your help. -→Buchanan-Hermit™/?! 04:18, 14 June 2006 (UTC)
- No, I don't think I do. There's nothing "extra" installed on my browser. -→Buchanan-Hermit™/?! 03:07, 14 June 2006 (UTC)
- Do you have any extensions installed? Please try uninstalling or disabling them. Lupin|talk|popups 02:38, 14 June 2006 (UTC)
Popups - block log in original structure
Hi Lupin. Using the 'original' structure I would like to have a link to a user's block log.
In my config. options I have popupAdminLinks=true and popupStructure='original'. Hovering over a user this gives a link to their log (their page moves etc) and the block page, but it does not give a link to the block log (to see if they have been blocked). I would like a link to the block log.
I know the link exists under different popupStructures, but is it possible to have it added to the 'original' structure? (I find that 'original' is the fastest and best structure for me). Thanks --Commander Keane 02:39, 14 June 2006 (UTC)
Popups problem (minor)
Hi,
I've noticed that when you hover a wikilink in a <div> tag in Opera 8.5x/Windows XP, the background to the popup becomes transparent. I know there have been some problems in Opera 8.5x, but thought I'd notify you of this bug just in case.
EvocativeIntrigue TALK | EMAIL 19:53, 14 June 2006 (UTC)
popups again
Hi, i have made a translation of your popup for frwiki. I try to change the popup max width to make it contain the translation but it doesn't work. I try with this 2 lines : popupInitialWidth=400; popupMaxWidth=400; If I made a mistake please tell me. Thanks Leag 11:20, 15 June 2006 (UTC)
- Looks good to me. I remember having trouble with that stuff, so it may not work terribly well. Which browser are you using? Lupin|talk|popups 12:33, 26 June 2006 (UTC)
anti-vandal tool suggestions
I'm enjoying the Monitor my watchlist feature, and have two suggestions. (1) Have you considered making new entries appear on the top of the page instead of the bottom of the page? (2) Would it be possible to implement an option so that updates where there is no content would not appear? So it would ignore the following:
- (7) updating...done up to 10:27:02 remove earlier output
- (8) updating...done up to 10:27:27 remove earlier output
- (9) updating...done up to 10:28:01 remove earlier output
Either way, thanks for using your programming skills to enhance the Wikipedia. -- Reinyday, 17:38, 16 June 2006 (UTC)
- Yes, this has been discussed elsewhere. I forget where, but it'll be somewhere on User:Lupin/alltalk this behemoth I expect. Lupin|talk|popups 12:33, 26 June 2006 (UTC)
- Which suggestion has been discussed elsewhere? Do you plan to implement either? Thanks. -- Reinyday, 20:43, 5 July 2006 (UTC)
Another Thankyou
Thankyou, Lupin. Your popup script has greatly improved my Wikipedia experience. For instance, if there's a term I am unsure of I just mouseover it and it gives me a little popup with a description. Even images are included.
Thanks so very much, this script should be a standard feature of Wikipedia in my opinion! Best possible regards,
Celardore 00:13, 17 June 2006 (UTC)
- Amen to that!--Chodorkovskiy (talk) 05:24, 17 June 2006 (UTC)
A big thank you for me too - great script. Warm regards --Charlesknight 22:05, 26 June 2006 (UTC)
Minor popups font color request
Can you explicitly specify the black color of the preview text in your code, so that custom skins' font colors aren't used instead? Mine is showing up as light green text on your off-white background. — BRIAN0918 • 2006-06-17 22:30
Firefox "Unresponsive script"
I upgraded my Firefox browser a few days ago to 1.5.0.4. I'm really not sure which version I had prior to that (I think it was 1.0). Since then I've had some problems with the pop-ups. When the mouse hovers over some links (but not others), I get a "spinning beachball" (i.e., Mac) mouse cursor for a few seconds, followed by an error message:
- "Warning: Unresponsive script. A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."
If I click "Stop" it clears up after about a second and I'm on my merry way (for a while). This doesn't happen with every link, just some, and I can't tell why some links set it off and others don't. Again, this is Firefox 1.5.0.4 and I use it on Mac OS X 10.3.9. I use the "classic" Wikipedia skin. Thanks! -- Gyrofrog (talk) 06:37, 18 June 2006 (UTC)
- How fast is your machine? It should be possible to use the script on an older machine, but this is still useful to know. Also, if you can send me urls for links which set off the dialog, I can try to investigate further. Lupin|talk|popups 12:33, 26 June 2006 (UTC)
- Here's such a link, this was in my watchlist and I got the error when I moused over it: Ethiopia#Demographics. Here's another: Rubik's Cube. (Both of these pop-up OK some of the time.) I am using a 266MhZ PowerPC G3, with 320MB RAM. Again, slow as this machine is, I didn't have the problem with the pop-ups until I upgraded Firefox. Thanks, -- Gyrofrog (talk) 03:36, 28 June 2006 (UTC)
- Hm. I find it strange that they sometimes pop up OK, but sometimes don't. Do you mean that they're always slow they first time you mouseover them after a page load but are OK once you've waited for them to load completely and then mouseover them again? Or does it seem more random than that?
Popups "menu" style display on Opera
Hi Lupin, can you disable the "menu" style display of popups options for Opera, again? I'm typing this from Opera 9 final ("about" page says it's build 8501) and "menu" style popups is once again definitely broken. It was okay from the one public build before beta 2 on, but broke again after build 8473 (3 builds before this final release). Regards, Kimchi.sg 04:05, 21 June 2006 (UTC)
Pop-up diff bug
If you open the history of the below articles and use pop-ups to view NawlinWiki's June 20th edits it looks like he removed the entire first paragraph instead of just the first template.
Distributed Reflection Denial of Service
Gymnaslærer Pedersens beretning om den store politiske vekkelsen som har hjemsøkt vårt land
Other than this minor bug, thanks for the great tool! --Pascal666 04:10, 21 June 2006 (UTC)
Interwiki Resolver Tool
Hi, I decided to start a new conv thread - the one above was getting a bit out of hand.
I am in the process of building a tool to help users themselves resolve interwiki link problems. The more wikies there are, the more conflicts we get, and my talk page fills up with complains that I should know en:Sabians is a religious community and fr:Sabian a factory for cymbals, whereas its my bot that does all this... Anyway, to get to the point: I created this tool, and its in desperate need of your javascript expertise. I would like to add a menu for each link, similar to the "actions" menu in the popup. Can you help? Thanks! --Yurik 06:40, 26 June 2006 (UTC)
- Yes, probably. What exactly do you need the script to do? Lupin|talk|popups 12:33, 26 June 2006 (UTC)
- Here's an example of the tool in action: [43]. Currently you can click the two numbers in parenthesis to set checkmarks for all those pages that this page links to (see the tool tip that pops up on these links). What i would like to do is have a menu instead, next to each item, auto-poped-up, which would have the two existing options (Select all that this page links to, select same group links this page links to), plus some more (like select those pages that link to this page, etc).
- The way its done now is in each <a> tag, there is a call to Select() javascript function that takes a list of ids and sets them.
- The menu should probably be similar: Menu( Array("title1", "Select(Array('id1','id2',...))", "title2", "some other script", ...)). Any thoughts? Thanks! --Yurik 15:14, 26 June 2006 (UTC)
Popups null edit
Hey, what happened to the "null edit" ability in Popups? That was really useful. Just wondering if it was removed intentionally (and if so, what the reason was), or if this was accidental. Oh, and thanks for all of the time you continue to spend improving the tool. More people appreciate it than you know! --Cyde↔Weys 23:09, 26 June 2006 (UTC)
- The menu was getting too long, so it's shorter by default. To get the old kitchen-sink menu, set popupStructure='menus' in your javascript file. Lupin|talk|popups 00:52, 27 June 2006 (UTC)
Pb since yesterday
Popups crash (coredump) my firefox 1.5/Linux debian since yesterday 26/06, need to deactivate JS. what changed please ? Utilisateur:HBBK
- Nothing has changed since yesterday, as far as I can see. Lupin|talk|popups 11:33, 27 June 2006 (UTC)
- It seems to be ok now. I don't know what happened, maybe a corrupted version stuck in our proxy cache ... best and thanx you for that very helpfull tool Utilisateur:HBBK
Question about popups
When you revert in popups, there is &autoclick=wpSave in the url. Well, I have loads of subpages at User:GeorgeMoney/delpage that I want to delete, so I want to make it easier for the admin(s) deleting them. So, would it be possible for an admin with popups to use &autoclick=wpConfirmB which is the submit button for delete. Can this be achieved so all the admin has to do is press the "delete" link I have provided and the page will be deleted automatically instead of having to go to a form and click the button? --GeorgeMoney (talk) (Help Me Improve!) 22:05, 27 June 2006 (UTC)
- Yes, could it could be done in popups, but there's no point. It'd be a five-line script anyway... something like this:
addOnloadHook(function(){ if (document.location.href.indexOf('action=delete&confirmdelete')>-1) { document.getElementById('deleteconfirm').wpConfirmB.click(); }});
- (untested). You could extend this to include a reason for deletion, too. Lupin|talk|popups 22:20, 27 June 2006 (UTC)
- Actually, there is no need for a reason for deleteion, because I have already included that in the url "&wpReason=User%27s+subpage+requested+to+be+deleted+by+the+owner.+%5B%5BWP%3ACSD%7CCSD%5D%5D+U1". And I tested the script at a test wiki and it doesn't work. But, Prodego is deleting all of them without a script, so there is no need for one. But, thanks for trying though :) . --GeorgeMoney (talk) (Help Me Improve!) 22:48, 27 June 2006 (UTC)
- Oh, there was no "confirmdelete" in the url. When I do http://wiki.xyrael.net/mediawiki/index.php?title=User:GeorgeMoney&action=delete it doesn't work. But, then I added the confirmdelete, and it worked. --GeorgeMoney (talk) (Help Me Improve!) 23:03, 27 June 2006 (UTC)
I also use auto edits to welcome people. I have to go to the new user log, copy all the names into MS Word, use the 'replace' function to replace all the eccess data, and then use it to put {{User:GeorgeMoney/Welcome/Template| }} around it. Then copy that to User:GeorgeMoney/Welcome/Page and press the "welcome me" button which links to the user talk page and it auto adds the welcome. Is there a way to do this directly from the log so I don't have to go through all these steps? --GeorgeMoney (talk) (Help Me Improve!) 02:46, 28 June 2006 (UTC)
- Yes, you want to add the welcome me links directly to the new users page, I imagine. Shouldn't be hard.
function addGreetLinks() { var guff='&autoclick=wpSave&autosummary=Welcome%20to%20Wikipedia!&preload=User%3AGeorgeMoney%2FWelcome&editintro=Template%3AThisisnotatemplate§ion=new&create=Welcome'; var lis=document.getElementById('content').getElementsByTagName('li'); for (var i=0; i<lis.length; ++i) { var as=lis[i].getElementsByTagName('a'); var greet=as[1].cloneNode(true); greet.firstChild.nodeValue='greet'; greet.href += '&action=edit' + guff; greet.removeAttribute('class'); as[1].parentNode.appendChild(document.createTextNode(' ')); as[1].parentNode.appendChild(greet); } } if (/title=Special(%3A|:)Log&type=newusers/.test(document.location.href)){addOnloadHook(addGreetLinks);}
- Yes, it works! Thank you! --GeorgeMoney (talk) (Help Me Improve!) 03:25, 28 June 2006 (UTC)
Bug report
Hi,
This is a bug report on "popups". This is the first time it happened eventhough I have been working with the same configuration for a long time. The bug is in the edit summary of this revert. FYI, I use Mozilla Firefox 1.5.0.4 on Windows XP SP2 with all available updates installed. The bug was not reproduced in next revert. — Ambuj Saxena (talk) 16:34, 28 June 2006 (UTC)
This talk page is becoming very long. Please consider archiving.
- Hm, this is tricky to diagnose. If this happens again, please open your browser history and locate the page whose title looks like "(Editing ARTICLENAME - Wikipedia, the free encyclopedia)", with the brackets and without the quotes. Right-click, select copy link location and send me the url. Maybe this page is still in your history and you can do this now? Lupin|talk|popups 22:15, 28 June 2006 (UTC)
Please add new messages to the bottom of this page. You can do this by using this link.
If you're reporting a problem with a script, please mention which browser you use. You may also like to search on this rather large page to see if your question has already been answered.
I will usually respond on this page.
User script
Thank you for the script I requested. I just found one problem with it though - I can't type j or k in the reason for deletion when I try to delete a page. Angela. 03:33, 26 January 2006 (UTC)
- It should work now - I've disabled it for a bunch of pages. It'll still interfere with typing things into the search box on normal pages at the moment, although Special:Search should be OK. (This is fixable but I won't do so now). Lupin|talk|popups 03:56, 26 January 2006 (UTC)
Dotty Map
Hi,
I've used the UK map with a yellow dot which you uploaded for Keynsham on the Chew Valley Lake page as it's only a few miles up the road - is this OK or is a new map with a (very) slightly different location dot needed? If so, I don't think I have the knowledge/technology to do this & wuld appreciate any help Rod 21:42, 26 January 2006 (UTC)
lastContrib and sinceMe requests
Very cool tool.
I think more useful than "lastEdit" would be "lastContrib", especially when checking for vandalism. Often a user makes a series of edits in a short time span and simply looking at the diff for the last edit won't reveal all of the changes, only the last one. This is particularly true because if a significant edit was made and then the user noticed a typo or formatting issue that they immediately corrected, only the typo correction would be displayed. To determine if the last edit reflects all of the changes made by the last person to edit the file, you need to look at the history. So my request is for a "lastContrib" menu item that shows a diff between the last user (contributor) to edit the file and the first edit in the history made by a different user. (BTW, I realize doing this is probably not completely straight forward as lastEdit and all of the other current menu items use URLs that don't require any inspection of dynamic content such as the history, but given how responsive it is fetching the page stats, I'm guessing that the delay until the lastContrib menu item was displayed would be acceptable.)
- I can see how this would be useful - I'll consider trying to do this. It would be a lot slower than the page stat grabbing though, as that's done by getting the wikitext "raw", which is fast. To do what you ask I'd have to get the history, and there's no raw version of that, so it'd have to be HTML. That'll be slow.
Another possibly useful addition would be to have a "sinceMe" command that would be displayed for pages the user has editted. This would bring up a diff of all changes to the page since the last change from the current user. This would be EXTREMELY nice when going over links on your watchlist. – Doug Bell talk•contrib 12:26, 27 January 2006 (UTC)
- Again, performance issues would be my concern. Still, I'll think about it. Lupin|talk|popups 21:58, 27 January 2006 (UTC)
- OK, I've had a go at this in the dev version. Lupin|talk|popups 03:07, 28 January 2006 (UTC)
- Whoops! I've updated the script, so please clear your cache and try again. Performance is quite snappy actually - my main concern is that the UI is getting cluttered (again) so if anyone has ideas about that I'd like to hear them. Lupin|talk|popups 13:48, 28 January 2006 (UTC)
- Nice feature, thanks Lupin, and performance is good too :-) Just one question, is there any reason these open as new popup windows, but all the other links are draggable to new tabs, which is how I prefer to work? I almost reported the "latest edits" and "diff my edit" links as not working because I was dragging to new tabs and nothing was happening. As for the UI, it's still pretty clean with the menus option turned on, not sure if you need to do anything for that option right now. Cheers. --Cactus.man ✍ 15:54, 28 January 2006 (UTC)
- Yes, I've been doing a lot of control-clicking to get new tabs myself, but that doesn't work with these links either. The problem is that these javascript:function() urls (which download the history page and figure out the correct url to go to) won't work in a new page or tab and I don't know a workaround. One way would be to parse the history pages automatically before the menu is generated, but this would be bandwidth-greedy and error-prone I think. I've set these links to use new windows by default (and actually in my setup this opens new tabs, there's a firefox pref for this buried somewhere). The only alternative I know of is to have them open in the same window, which is usually not wanted I think. You can change this behaviour by setting popupLinksNewWindow={'lastContrib': false, 'sinceMe': false};. Lupin|talk|popups 16:38, 28 January 2006 (UTC)
- Thanks for the quick reply. In Firefox 1.5.0.1 Tools->Tabs->Force links that open new windows to open in .. select "a new tab" radio button and bingo, both links open in a new tab, original page is preserved and no new windows :-) Thanks a bunch. --Cactus.man ✍ 17:26, 28 January 2006 (UTC)
- Yes, I've been doing a lot of control-clicking to get new tabs myself, but that doesn't work with these links either. The problem is that these javascript:function() urls (which download the history page and figure out the correct url to go to) won't work in a new page or tab and I don't know a workaround. One way would be to parse the history pages automatically before the menu is generated, but this would be bandwidth-greedy and error-prone I think. I've set these links to use new windows by default (and actually in my setup this opens new tabs, there's a firefox pref for this buried somewhere). The only alternative I know of is to have them open in the same window, which is usually not wanted I think. You can change this behaviour by setting popupLinksNewWindow={'lastContrib': false, 'sinceMe': false};. Lupin|talk|popups 16:38, 28 January 2006 (UTC)
- Nice feature, thanks Lupin, and performance is good too :-) Just one question, is there any reason these open as new popup windows, but all the other links are draggable to new tabs, which is how I prefer to work? I almost reported the "latest edits" and "diff my edit" links as not working because I was dragging to new tabs and nothing was happening. As for the UI, it's still pretty clean with the menus option turned on, not sure if you need to do anything for that option right now. Cheers. --Cactus.man ✍ 15:54, 28 January 2006 (UTC)
- Whoops! I've updated the script, so please clear your cache and try again. Performance is quite snappy actually - my main concern is that the UI is getting cluttered (again) so if anyone has ideas about that I'd like to hear them. Lupin|talk|popups 13:48, 28 January 2006 (UTC)
Bug reports
- OK, the menu items show up fine for me now and lastContrib seems to work fine. However, sinceMe brings up a window about no edits found for user Doug+Bell, even though I have made edits. Also, after a delay of 20-30 seconds I got a message about a stack overflow at line 629. I'm guessing it's not finding my last edit because there is a space in my user name. I don't know if this would be related to the stack overflow. – Doug Bell talk•contrib 02:26, 29 January 2006 (UTC)
- sinceMe still not working for me, but I don't seem to get the stack overruns anymore. Just a message box that says "Couldn't find an edit made by Doug Bell" (tried it on a link to this page in my watchlist). – Doug Bell talk•contrib 07:23, 30 January 2006 (UTC)
- lastContrib brought up diff that included changes by two users. When used on this version of this page, I got this diff URL http://en.wikipedia.org/w/index.php?title=User_talk:Lupin&diff=cur&oldid=37287122 that includes these diffs:
22:41, 29 January 2006 Maluka (→The Nardcore band Agression is purposely spelled with one G) 20:06, 29 January 2006 Lupin m (signing) 19:53, 29 January 2006 Maluka (→The Nardcore band Agression is purposely spelled with one G)
- Thanks for the bug report. Please could you edit this section and paste this into the location bar and then save the page?
javascript:void(document.editform.wpTextbox1.value+='\n::*'+readCookie('enwikiUserName')+' ~~~~');
- Doug+Bell Lupin|talk|popups 12:41, 30 January 2006 (UTC)
Bug report (Feb. 17th)
The lastContrib is showing too much history. Not everytime, but is not uncommon. Examples:
- lastContrib Talk:Reference (computer science) gives [44]
- lastContrib Rich Internet Application gives [45]
- lastContrib Java applet [46]
– Doug Bell talk•contrib 16:30, 17 February 2006 (UTC)
- Thanks. I think that this bug is triggered by the last editor not having a user page (so that it appears as a red link in the history), and it should be fixed in the dev version (although this is going through an unstable phase at the moment, so I wouldn't recommend using it). Lupin|talk|popups 22:32, 17 February 2006 (UTC)
Bug report (Feb. 25th & Mar. 2nd)
The lastContrib and sinceMe don't seem to work with pages that have a single quote (') in the article name. (Examples: Texas hold 'em and Poker probability (Texas hold 'em).) I don't know if there are other characters that cause problems. – Doug Bell talk•contrib 11:01, 26 February 2006 (UTC)
- I tried lastContrib on Poker probability (Texas hold 'em) about 15 minutes ago, and it crashed Linux Opera 8.50. I use popupsdev.js with popupLinksNewWindow for lastContrib. When I tried it again just now, it worked fine. --Eddi (Talk) 23:31, 26 February 2006 (UTC)
- I've had a couple more crashes of Opera after the previous report, so it may not be popup-related after all. In one case I was editing two pages in separate tabs, closed one of them while editing, later reopened it from the trash bin, and Opera crashed. Probably not popup-related. In another case I was hovering over an article link in my watchlist, by coincidence I pressed the link just as the popup was about to appear, and Opera crashed. Uncertain. --Eddi (Talk) 02:41, 27 February 2006 (UTC)
Mar. 2nd update: There also seems to be a problem with pages that have a plus sign (+) in the name. Example: Comparison of Java to C++. – Doug Bell talk•contrib 15:35, 2 March 2006 (UTC)
Using code
Hi, I'd like to use a part of your code (popups.js), namely oldidFromAnchor, articleFromURL and the variables (REGEX) needed for these functions, for a Greasemonkey userscript. Is that ok with you? 16:05, 27 January 2006 (UTC)
AV badwords
Is the list case-sensitive when filtering recent changes? haz (user talk) 16:54, 27 January 2006 (UTC)
Popups in editbox?
Could you make popups work in the editbox, so that when you point to [[foo]] in the source while editing a page, either the intro of Foo or "Foo doesn't exist" pops up? Zocky | picture popups 21:09, 28 January 2006 (UTC)
- I don't think it's possible to do exactly as you say. Maybe if the text was highlighted first.... Lupin|talk|popups 22:10, 28 January 2006 (UTC)
- How about if you don't press any keys for a while, and your text cursor is inside a link? I don't know if it's easy to find out where to pop it usefully. Zocky | picture popups 18:19, 29 January 2006 (UTC)
- I've got something in the dev version: if you highlight text with the mouse and the selection contains one wikilink, a popup should appear. Lupin|talk|popups 18:57, 29 January 2006 (UTC)
- I wouldn't mind being able to pop em up wihout the mouse, but not bad at all :) Zocky | picture popups 19:18, 29 January 2006 (UTC)
- I've got something in the dev version: if you highlight text with the mouse and the selection contains one wikilink, a popup should appear. Lupin|talk|popups 18:57, 29 January 2006 (UTC)
I was actually thinking about this: detect when you are in preview mode and make the fix redirect and fix dab links for links in the preview alter the current edit box instead of the raw text from the server. The main problem I see is that you can no longer provide useful edit summaries automatically. Mike Dillon 18:50, 29 January 2006 (UTC)
I found that in Safari I already have this feature when I don't want it. Oddly enough, in two out of nine attempted edits when I had the popups on, it decided to popup about a link cited in the text I was editing (not on mouseover or anything), which deselected the editing box. Couldn't really type anything with the repeated deselection [47], so I had to turn it off. — Laura Scudder ☎ 23:16, 28 April 2006 (UTC)
The Nardcore band Agression is purposely spelled with one G
Please leave it alone. I don't understand why people who don't know anything about a subject or name, think they have the right to change it. it's stated on history several times it's wpelled with one G. If you don't believe me, look it up! ~~maluka
- Ah, apologies. I did realise this after I'd made the change, but I only corrected one instance. Lupin|talk|popups 16:50, 29 January 2006 (UTC)
- That's cool, it's a real sore spot with me, having been a close friend of the band. Btw, I wonder why the date doesn't show after my name. ~~ maluka
- Color me red. It's been some time. Maluka 06:41, 30 January 2006 (UTC)
Flag to Interiot's tool
Hi Lupin, I heard that there is a flag in the popups which allow to link directly to Interiots tool, rather than kate's - but i cant seem to find it! Could you point me in the right direction? Cheers! The Minister of War (Peace) 16:46, 29 January 2006 (UTC)
- Yes, that's right. Go to WP:POP and search for interiot and you'll find it. Lupin|talk|popups 16:51, 29 January 2006 (UTC)
- Duh. Thanks, cant see how i missed it. Sadly though, it doesnt seem to work on my comp (winXP/IE6) :-/ The Minister of War (Peace) 19:15, 29 January 2006 (UTC)
- Hmmm. I was doing odd things because it didnt seem to work the first time. Is fine now, so thanks! The Minister of War (Peace) 21:28, 29 January 2006 (UTC)
nav popups question
Hey there,
Is there a way to cause popups-assisted reversion edit summaries to reflect the name of the user that authored the version being reverted to, rather than the numeric rv id? Numeric ID's generate some confusion for other editors when reviewing edit summaries.
Thanks for helping out, and improving my Wikipedia experience :)
Adrian Lamo · (talk) · (mail) · 18:54, 29 January 2006 (UTC)
- This is possible, but it would require extra network overhead. I'm not sure if it's worth it, but I'm willing to listen to the counterarguments. Lupin|talk|popups 19:02, 29 January 2006 (UTC)
- Thanks for replying. Relatively few people have a problem with the current state of revision summaries, but I've seen at least one user be admonished for using popups to revert vandalism, due to the unclear reversion data. If it's a choice 'tween a bit of confusion for some vs. extra overhead across the board, it's probably not worth changing. Adrian Lamo · (talk) · (mail) · 22:12, 29 January 2006 (UTC)
- I don't know about the network overhead, but the comment "Revert to revision nnn" is rather confusing to me. I'd sacrifice some network traffic to get this more understandable. --62.78.195.223 19:58, 3 March 2006 (UTC)
Popups - link redirections always previewed?
I've tried setting this option in Popups:
newOption('popupRedirAutoClick', 'wpSave');
But no matter what I do whenever I try to fix a redirect it always clicks the Show Preview button rather than the Save page button. And yes, I did use Shift-Refresh. Any ideas? Thanks! --Cyde Weys 22:42, 29 January 2006 (UTC)
- You shouldn't be using newOption - that's an function which the script uses itself. Instead, just type
popupRedirAutoClick='wpSave';
Still doesn't seem to be working. Check it out: User:Cyde/monobook.js. Dunno what's going on. --Cyde Weys 00:36, 30 January 2006 (UTC)
Just caught your edit, looks like you fixed it. D'oh. Stupid problem on my end. --Cyde Weys 00:52, 30 January 2006 (UTC)
Something I just noticed that may be important: when the template is added at the top of the article, it forces the text down (appears to be an implicit break somewhere). I would suggest using it only at the bottom. —Kirill Lokshin 03:34, 31 January 2006 (UTC)
- Hm, that's a pain. I like putting it at the top, since it has its effect at the top of the article so it feels right to put it there. This should be fixed in the template, but I don't see how. Lupin|talk|popups 03:38, 31 January 2006 (UTC)
- It only seems to affect articles with a floated template at the top (infoboxes and such), so it may be an issue with overlapping div tags. —Kirill Lokshin 03:39, 31 January 2006 (UTC)
If you're going to label this as a featured article, you might want to protect it from the Great Unwashed. Wahkeenah 03:36, 31 January 2006 (UTC)
- Here and there. Check January 26th, for example. Wahkeenah 04:28, 31 January 2006 (UTC)
Thanks!
Thanks for taking the time to add the featured template to all those articles! Hopefully the minor technical issue will be sorted out soon. Andrew Levine 03:58, 31 January 2006 (UTC)
JavaScript question
Hi. Have you ever tried changing a Wikipedia page by using a JavaScript XMLHttpRequest to do an HTTP POST? Should be possible, I guess, but I'd prefer not finding out the details myself if somebody else has already done so. -- Jitse Niesen (talk) 18:06, 31 January 2006 (UTC)
- Yes, there's some code in User:Lupin/editblind.js. Lupin|talk|popups 00:24, 1 February 2006 (UTC)
Excellent. Thanks a lot. -- Jitse Niesen (talk) 12:25, 1 February 2006 (UTC)
Speedy deletion warning | Image:RAF Roundel.png has been listed at Category:Candidates for speedy deletion, because the image is redundant with Image:RAF-Roundel.svg. |
Live changes to popups.js
Hi there. I noticed the User:Brian0918 just altered the live version of popups.js from using Kate's tool to using Interiot's tool. I think there are a lot of people who assume that all changes are made by you, Lupin, and that they go through popupsdev.js first. Maybe the development policy should be made explicit at WP:POP. This doesn't really affect me, since I use a copy of popups.js in my own namespace, but I thought I'd bring it up since I noticed the change and didn't see any discussion beforehand. Mike Dillon 04:18, 1 February 2006 (UTC)
- I'm not too bothered by this sort of thing provided it doesn't get out of hand. Lupin|talk|popups 02:15, 2 February 2006 (UTC)
Popups-assisted reversion.
Hi. Any chance of being able to input an edit summary for a popups-assisted reversion? Werdna648T/C\@ 00:54, 2 February 2006 (UTC)
- Yes, this is now possible in the dev version if you set popupRevertSummaryPrompt=true. Lupin|talk|popups 02:16, 2 February 2006 (UTC)
Stars
Hi Lupin! Thanks for the stars in the Featured Articles. I think it is a great idea. The last one you uploaded however, although consistent with other FA symbols, does not look so nice in small format, all the small lines blending to make it look more like a "dirty star". I personnaly prefer the previous "French" one, bright and glittering. What do you think? Best regards. PHG 13:23, 2 February 2006 (UTC)
- There was a little discussion about this on Wikipedia talk:Featured articles#Neat_idea_from_Spanish_Wikipedia. I think most people preferred a brown star of some sort, since it's consistent with the existing featured article stars that we use. A hand crafted pixel perfect custom brown star could probably be produced that would be an improvement over the software-scaled version we currently have, however. Lupin|talk|popups 13:56, 2 February 2006 (UTC)
User subpage menu
I see that you've become quite a wizard with this thing, so I thought I'd bug you with an old feature request of mine again. It would be very nice if the user link on the top of the page poped up a menu with links to subpages in their userspace, i.e. stuff you find at Special:Prefixindex/User:Zocky. Zocky | picture popups 14:48, 2 February 2006 (UTC)
- You mean a bit like the preview for this page? You could add a link to a page like that somewhere in the toolbar and you'd be set, assuming you set popupOnlyArticleLinks=false as well. Admittedly I have to maintain this list by hand, but I expect that fulfilling prefixindex queries is an expensive operation which I don't really want to execute on every mouseover. Lupin|talk|popups 15:06, 2 February 2006 (UTC)
Popups feature request: Google search
In the article "actions" menu, it would be nice to have a Google search option, perhaps "search|global|web" would fit without growing the menu. I would prefer that the resulting search query string be preceded by a single %22 quotation mark because (1) it's easier to remove than add, and (2) most of the searches are going to need to be exact phrase searches for verifiability. Thank you for your fantastic tool. --James S. 17:09, 2 February 2006 (UTC)
- Bah, I'll wait for the C&D :-) wiktionary:google#Transitive verb Lupin|talk|popups 00:14, 8 February 2006 (UTC)
Barnstar
I award you this Working Man's Barnstar for providing Wikipedia with the excellent Popup tool, which is a great help in our wiki working day, and for continuously improving the tool despite (or due to?) all the Wikipedians running down your door. Keep up the good work! (BTW, you've got an impressive star collection in your archive – how about a gallery at the user page?) --Eddi (Talk) 22:14, 2 February 2006 (UTC)
- Thanks! Maybe I'll rearrange my stars when the feature requests stop coming :-) Lupin|talk|popups 23:54, 2 February 2006 (UTC)
There you go! It doesn't look optimal, so perhaps you would like to revert your user page, or reduce the number of awards in User:Lupin/barnstars even more. --Eddi (Talk) 05:30, 20 February 2006 (UTC)
GREAT
WOW, It is great. I wonder can I use your popup in fa.wikipedia.org. Is it possible? --Yoosef 12:56, 5 February 2006 (UTC)
- It works in the the Hebrew wikipedia, so it should work. Let me know if you have trouble and/or if you want to translate the interface. Lupin|talk|popups 13:40, 5 February 2006 (UTC)
- Yes, thanks. It works in persian too. BTW, what should I do if I want to translate the Interface, I mean all of the popup's text?
and somthing else, is it possible for you to change FA line with this one:
case "fa": popNamespaces=["مدیا", "ویژه", "بحث", "کاربر", "بحث کاربر", "ویکیپدیا", "بحث ویکیپدیا", "تصویر", "بحث تصویر", "مدیاویکی", "بحث مدیاویکی", "الگو", "بحث الگو", "راهنما", "بحث راهنما", "رده", "بحث رده"]; break;
- the current one is not complete. thanx --Yoosef 14:34, 5 February 2006 (UTC)
- I meant that you should change the current one with the above line. BTW what about the translation of popup text? --Yoosef 14:57, 5 February 2006 (UTC)
- Yes, I understand that. But I don't speak the language and I have no idea what it should say. Presumably you do know, though... please tell me!
- To translate it, you have to translate the lines that look like
popupStrings['english']='english text';
- into
popupStrings['english']='farsi text';
- You'll have to make a local copy of the script, and change the references to it in your user javascript file accordingly.
- I copied and translated most of it and it is working greatly. thanks again. --Yoosef 17:42, 5 February 2006 (UTC)
That's a lot of code to change for such a small thing! :-) Thanks. (I wish I knew PHP.) — Omegatron 15:31, 5 February 2006 (UTC)
Translating WP:POP to German
Hi Lupin, sure I'm interested in translating WP:POP to German (ref: de:Wikipedia:Helferlein/Navigation-Popups)! Please give me advice how to proceed. --The emm 09:28, 6 February 2006 (UTC)
- Stupid me, translation of WP:POP is done. I meant translating the plugin itself :) --The emm 10:32, 6 February 2006 (UTC)
Praise for popupFixDabs & A couple of feature requests.
A really nice tool, and popupFixDabs is great feature. Without it I probably wouldn't be bothering to disambiguate links. Thanks! Please keep up the great work! -- A couple of features I'd like to request (if they haven't already been requested):
- An option to check/uncheck "Watch this page". I've got mine defaulted to "on", but I don't really care to watch some page just cause I disambig'd a link on it.
- Sometimes I'd like to disambig a link to wiktionary, but Popups doesn'tseem to work with Template:wiktionarypar. Does it work with Template:wiktionary or the other wiktionary templates?
- I don't understand exactly how you want this to work. Please could you give me a link to a page whose popup you want to change, and describe how it should change?
- Sometimes I'll run across a link that needs disambiguating and decide it best if it just references the dictionary definition. Sometimes this happens because the author was overlinking (linking too many words), or possibly because the linked article was a dictionary definition that got moved to wiktionary. Sometimes the disambiguation page includes one or more links to wiktionary using Template:wiktionarypar, Template:wiktionarypar2, Template:wiktionary, etc. (see e.g. Bay (disambiguation)) but Popups doesn't include these. (Or doesn't seem to include them, but maybe I wasn't looking closely enough. Am I confused here?) Ewlyahoocom
- I don't understand exactly how you want this to work. Please could you give me a link to a page whose popup you want to change, and describe how it should change?
- More intelligence in the replacement including using some of the piped link features (e.g. "[[Bay (aquatic)|]]", rendering as "Bay"; or "[[Atom]]ic" rendering as "Atomic").
- Sorry, I'm probably being dense but I don't really understand this request. In which context is the replacement lacking?
- Right now the tool simply pipes the link keeping the original text intact which is of course the safest thing to do. Say I wanted to disambiguate "... [[Atomic]] ..." to Atom (measure theory). Right now the tool would make the change "... [[Atom (measure theory)|Atomic]] ...". However, if I was hand-editing it I might make the change "... [[Atom (measure theory)|]]ic ...". Both render as Atomic and Atomic. (Atomic was previously a disambiguation page but isn't anymore so this is probably no longer a good example.) This is more common with plurals e.g. [[bay|bays]] vs [[bay]]s. Ewlyahoocom
- Sorry, I'm probably being dense but I don't really understand this request. In which context is the replacement lacking?
- Perhaps even being able to select some of the text around the link with the mouse, and then re-linking the whole thing e.g. I ran across some pages that had "...[[atomic]] bomb..." and the preferable edit to make would be "...[[Nuclear weapon|atomic bomb]]..."
- Tricky. Lupin|talk|popups 13:20, 7 February 2006 (UTC)
- As long as the script isn't supplied with an AI module, I would suggest the [edit] button. Or maybe I, too, haven't understood the request. --Eddi (Talk) 00:04, 8 February 2006 (UTC)
- Yeah, this sounded a little too ambitious when I was writing it. I'm not talking about AI, but "simply" incorporating a user-selected portion of text around a link into the link when it's being rewritten. (I put "simply" in quotes cause I know it's not easy but it is simpler than AI.) Ewlyahoocom
- As long as the script isn't supplied with an AI module, I would suggest the [edit] button. Or maybe I, too, haven't understood the request. --Eddi (Talk) 00:04, 8 February 2006 (UTC)
- Tricky. Lupin|talk|popups 13:20, 7 February 2006 (UTC)
- Adding a feature to automate cleaningup double redirects Ewlyahoocom 20:41, 6 February 2006 (UTC)
Firefox memory leak
I've been testing Firefox for memory leaks with the Leak-Gauge tool, and I noticed the only memory leaks I experienced over several hours of browsing were from Wikipedia popups. I really should report this on bugzilla instead of here, but I have no idea of what exactly causes the leak. I noticed that it happens when I rapidly switch focus between two different Wiki links. Has anyone else used Leak-Gauge and found this? 郵便箱 05:39, 7 February 2006 (UTC)
- Is that's what's been causing it? I just installed popups a week or so ago. Inoticed the after a few hours firefox would suck up all my memory, slow down to a crawl, and then crash, but I had also recently upgraded Firefox, and some other stuff (I'm using Linux/Fedora). Ewlyahoocom 09:29, 7 February 2006 (UTC)
- I did the test with the Linux version of the most recent nightly build, which has several memory leaks fixed. Apparently, this particular leak you get with popups wasn't one of them. Hopefully all of them will get fixed soon though. 郵便箱 09:36, 7 February 2006 (UTC)
- Interesting stuff. If you have the time, you could try using earlier versions of the popups script with this leak tool to try to isolate the javascript that's causing it. Lupin|talk|popups 13:09, 7 February 2006 (UTC)
- I've found the leak first appears in [48]. Since that's where you first started using XMLHttpRequest I'm assuming that's what the problem is since there's a known leak being worked on caused by not using an XMLHttpRequest object. Thanks for creating these popup tools, by the way. They're very useful. 郵便箱 02:56, 8 February 2006 (UTC)
Lupin-
Thanks for your help with the Frederic Tuten article. Feline Nursery 13:48, 7 February 2006 (UTC)
Doubt
hi i had a doubt about the popup script, i wanted to know if you prefetch the wikilinks when a page is opened? great work!--vineeth 16:51, 7 February 2006 (UTC)
- No, the normal wikipedia pages are not prefetched. The raw wikitext source is, but that won't usually make your browsing experience any faster. Lupin|talk|popups 17:04, 7 February 2006 (UTC)
Popups / cacycle editor interference
Hi Lupin, your popup script interferes with the changes preview of my cacycle editor script. I guess it is a css problem (even if I could not localize that in your code). Is there a way for a peaceful coexistence of both tools? :-) BTW, I have added a cool cookie based history function for the edit summary and the find / replace fields. Cacycle 20:33, 7 February 2006 (UTC)
- I expect we use the same names for incompatible diff functions. Namespacing is the answer (I would have done this originally if I had known what I was doing when I first wrote the script). For example
popups={}; popups.diff={}; popups.diff.diff=function(o,n) { ... }
- and so on. Maybe I'll get around to this one day... or you could namespace your script. Lupin|talk|popups 00:11, 8 February 2006 (UTC)
- I have changed my function names from 'diff' to 'textDiff' and 'diffString' to 'stringDiff'. That seems to fix the problems. Cacycle 11:42, 8 February 2006 (UTC)
Translation in separate module
I have translated the script into two variants of Norwegian (nn:, no:). To keep it updated I must edit two copies of 200+ kB code that is identical except from the popupStrings definitions. Because of all the work (albeit far less than yours) and the constant risk of unintended unicode errors, I only translate the stable version, and run the dev version at en: only. Would it be possible to have a separate module of translated strings that could be called from monobook.js, and link directly to your original script – dev or stable – instead of some local copy? If the module was missing, the strings should default to the untranslated core. --Eddi (Talk) 02:07, 8 February 2006 (UTC)
- Yes, I was thinking about this the other day. I should do this. Lupin|talk|popups 02:21, 8 February 2006 (UTC)
- I put the strings into nn:User:Eddideigel/strings-nn.js and modified monobooks.js like this, and it worked all right. :-) Well done! I think the instructions could be a little bit more detailed, but at least the code works fine. --Eddi (Talk) 06:03, 11 February 2006 (UTC)
Returning to an earlier suggestion about thematic string sorting, I have made a User:Lupin/strings-draft that could also be used as basis for local translations. Please check if the themes and the sorting look reasonable. If you think it should be protected, the file can be renamed to e.g. User:Lupin/strings.js --Eddi (Talk) 08:17, 11 February 2006 (UTC)
Popup bug
There is a bug in popup.js that quickly fills up the JavaScript console with thousands of error messages:
Error: [JavaScript Error: "undef is not defined" {file: "http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s" line: 3678}] Source File: http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s Line: 3678
It must be null or 'undefined'. Cacycle 11:42, 8 February 2006 (UTC)
- This has been a long-standing intermittent error which a control-refresh usually fixes. I've abolished this abbreviation in the dev version, so it should be gone soon. Lupin|talk|popups 12:12, 8 February 2006 (UTC)
popup request
You popup tool has improved a lot recently, I am using it all the time. A suggestion: On Dutch wikipedia we systematically use the "mark as patrolled" option to check contributions of anonymous users. Could this be an option of the popup tool when you hold your cursur on "diff" in the Recent changes? Thanks, Pieter1
- Yes, I expect this won't be hard. Please could you paste the url of a "mark as patrolled" link here to save me the trouble of hunting for it? Also, would you like the link to appear with the other links (in a menu in firefox) or directly above/below the diff itself? Would you like the patrol link on every diff, or just the ones on recent changes? Since I don't edit a wiki with this feature enabled, I'm not sure of the best approach. Lupin|talk|popups 23:06, 8 February 2006 (UTC)
- Nice! You can see these link when you login to the Dutch wikipedia. Then you will see in the recent changes the red exclamation marks. If you than click on "wijz" (=diff) you see on the top right hand side a link [Markeer als gecontroleerd], which means mark as patrolled.
- Regarding the interface, I would like the option to appear in the "action" menu, just underneath "revert", that would be logical. And it would be very nice if a new tab would open in Firefox, because in that case one can mark a lot of pages in the recent changes quickly the one after the other. Pieter1 20:03, 9 February 2006 (UTC)
- By the way, Pieter1, I always open a new tab by clicking my scrollwheel instead of left-clicking. NielsFTalk to me..
- I agree with Pieter1's suggestions above, it would be extremely useful in combatting vandalism. If you could include this function I'd be grateful! NielsFTalk to me.. 20:48, 9 February 2006 (UTC)
- Right, I found the link. It has a mysterious parameter in it, rcid=nnnnnnn where nnnnn is some number. Do you have any idea where that comes from? I think I'd need to find it from somewhere to be able to put the link in the popups. (One option is to screen-scrape the diff page, but that's annoying). Lupin|talk|popups 00:07, 10 February 2006 (UTC)
- Hmm, don't know myself, though there seems to be a chronological aspect to it. rcid=273502 follows rcid=273501 for example. Sometimes, though, some numbers are skipped, for no apparent reason. But I'll ask around on Dutch Wikipedia... Greets, NielsFTalk to me.. 00:40, 10 February 2006 (UTC)
- Question was raised in nl "Village Pump". rcid is an id in the recent changes table. The number has nothing to do with the normal article-id's. There is only one way to retrieve the rcid, i.e. via de rc list in the Mediawiki sw. Only if the rcid is present in the url, you get the mark as patrolled tag in the compare screen. So there is no way to handle this via a js script (if the compare screen is originating from any other means than the rc list). - rgds RonaldB-nl 02:21, 10 February 2006 (UTC)
- The rcid (recent changes id) is passed in the url from either the irc stream, wich gets fed into Vandal Fighter, or from the recent changes page. If the rcid is present in the url a 'mark as patrolled' link is shown automatically on diffs pages. It's not possible to get the rcid number for a change otherwise, apart from consulting the recent changes table in the database, wich is kidna difficult from js :) 87.244.150.248 09:54, 13 February 2006 (UTC)
Popup question
Hi, I have started to use the popup "revert" function; seems to work well, except for this edit, where the last version of the article was not reverted, but kept, modulo one blank line. Any idea what happenend ? Thanks for a wonderful tool ! Schutz 22:50, 8 February 2006 (UTC)
- Looks to me as if you tried to revert to the then-current version, revision number 3882630. I'm surprised that the article changed at all, though - I don't know what caused the removal of the blank line. Maybe it's a mediawiki feature to remove leading whitespace from an article? Could also be a bug in my script, though I can't think how it'd work. Lupin|talk|popups 22:55, 8 February 2006 (UTC)
- I had a problem earlier with another edit, but this was because of an edit conflict; in this case, noone else has been editing the article in a reasonable time window around the revert. Anyway, I fixed it manually, will tell you if it happens again. Thanks, Schutz 23:05, 8 February 2006 (UTC)
Greetings! You have edited the Katie Holmes page in the past. I've completely reworked the article and have posted it on WP:PR in the hopes of advancing it to WP:FAC. I would be grateful for your comments at Wikipedia:Peer review/Katie Holmes/archive1. PedanticallySpeaking 18:43, 9 February 2006 (UTC)
Clicking 'warn' doesn't work if user doesn't have a talk page
You must already be aware of this, but anyway. If the talk page has never been written to, clicking this link doesn't work. Stevage 07:36, 10 February 2006 (UTC)
- You mean from the filter recent changes page? I hadn't noticed this - I'm pretty sure it works for me in firefox. Which browser are you using? Lupin|talk|popups 12:37, 10 February 2006 (UTC)
- Yes, from that page, using Firefox 1.0.7 (I can't upgrade). It just takes me to the user's blank talk page with no text filled in. Stevage 18:55, 10 February 2006 (UTC)
- That's odd - I can't think what the problem might be. If you open the javascript console from the tools menu and clear it before clicking such a warn link, do you see new javascript errors appearing when you click it? If so, what are they? Lupin|talk|popups 03:08, 11 February 2006 (UTC)
- No errors (or warnings or messages for that matter). Here is a sample URL:
- That's odd - I can't think what the problem might be. If you open the javascript console from the tools menu and clear it before clicking such a warn link, do you see new javascript errors appearing when you click it? If so, what are they? Lupin|talk|popups 03:08, 11 February 2006 (UTC)
- Yes, from that page, using Firefox 1.0.7 (I can't upgrade). It just takes me to the user's blank talk page with no text filled in. Stevage 18:55, 10 February 2006 (UTC)
http://en.wikipedia.org/wiki/User_talk:70.69.38.76?action=edit&autoedit=s#$#\n{{subst:bv-n|The%20Richardson%20Gang}}%20~~~~#&autosummary=Your%20recent%20edits
- That url works as expected for me. Do any warn links work correctly for you? If not, try adding {{subst:js|User:Lupin/autoedit.js}} to your monobook.js. Also, looking at your monobook.js, I think you should replace the last few lines (from "// now set everything up" onwards) with addOnloadHook(LivePreviewInstall);, or that may possibly mess things up. Lupin|talk|popups 00:16, 17 February 2006 (UTC)
popups.js doesn't work with special characters in titles
The script doesn't work with articles containing an ampersand, eg. the popup for Dungeons & Dragons displays Dungeons.
Also, in IE 6.0, the lastContrib link often causes a "Problem!" alertbox to be displayed. Perhaps when you click on it too soon? ··gracefool |☺ 08:33, 10 February 2006 (UTC)
- A similar problem: If section titles contain special characters, then section preview doesn't work. Compare e.g. Municipalities of Norway#Akershus and Municipalities of Norway#Østfold. This is of course a minor problem compared to complete failure of article preview, but can probably be solved in similar ways. --Eddi (Talk) 15:04, 11 February 2006 (UTC)
- I believe that another related problem occurs when there is a comma in the link target for a redirect or dab link. For instance, If I try to bypass the redirect on any of the links to Burbank, California, nothing happens. I played around with fixing it in my local copy of popups.js, but the fix caused other problems. Basically, the substitute code was seeing a URL encoded byte for comma instead of the comma. My fix was to run an extra URI decode on the from and to arguments to substitute, but that caused weird edit summaries in some cases. I have a feeling that the whole handling of URLs needs to be tightened up for the auto edit stuff. One thing I've noticed that seems strange is that in the autoedit URLs, the character "+" is encoded as "+" (the URI encoding of character #32, space), instead of as "%2B" as it should be. I suspect there are some other subtle problems, but I haven't taken the time to trace through the data flow yet. By the way, I've had the comma problem in both Galeon and Firefox (on Linux). Mike Dillon 15:14, 11 February 2006 (UTC)
Feature request: summary data options
It would be really cool if there were options to pick which summary data variables are displayed, eg popupSummarySize, popupSummaryWikilinks, popupSummaryImages... ··gracefool |☺ 09:03, 10 February 2006 (UTC)
- Now in dev - the popupFilters option (not so easy to use unless you know a little javascript though). Lupin|talk|popups 05:22, 21 February 2006 (UTC)
Redirect in other languages
In some Wikipedias the code for #redirect
may be written in the local language, in which case the popups don't recognise the redirect. Could the local redirect codes be included along with the local namespaces, so that they are recignised? My first request would be for nn: where the code is #omdiriger
. --Eddi (Talk) 15:11, 11 February 2006 (UTC)
- Thanks, I've had a go at this for several languages in the dev version (untested). Lupin|talk|popups 03:49, 16 February 2006 (UTC)
- For some examples of
#OMDIRIGER
,#omdiriger
, and the odd#Omdiriger
, including various types of inter- and intra-space links, try the following: nn:Talet 0 [49], nn:Sjølvljod [50], nn:Folgefonni [51], nn:Abel (etternamn) [52], nn:Siderisk periode [53], nn:Diskusjon:Brasilia [54], nn:Current events [55], nn:Hovudside/Arkiv [56], nn:WP:B [57], nn:Wikipedia:Wikiprosjektretningsliner [58], nn:Wikipedia-diskusjon:Administratorar/utnemningar [59], nn:Hjelp:Overvaking [60], nn:Wikipedia:Snøggsletting [61], nn:Kategori:Kuba [62], nn:Kategori:Norske lovar [63], nn:Mal:Delete [64], nn:Mal:Kommune [65], nn:Brukar:129.241.151.234 [66], nn:Brukar:Anders/sandkasse/Wikipedia:Diskusjonssider [67], nn:Fil:Nikolai Astrup-Bilete hengande på Valen sjukehus-inspirerte Olav H Hauge.jpg [68]. The script doesn't recognise the redirects in Linux Opera, Windows Opera, or Windows IE. Some of the links don't give previews on the first attempt, but always on the second. --Eddi (Talk) 21:48, 17 February 2006 (UTC)
- For some examples of
- Thanks - I think it's a silly bug which I've fixed in my local version by reordering some code. This version isn't usable enough to upload as dev yet though - I'm tidying up the internals of the script and some stuff is broken. Lupin|talk|popups 22:39, 17 February 2006 (UTC)
Conflict with Sam Hocevar's godmode-light.js?
Has anyone else mentioned problems when using either your popups or vandalism tool in conjunction with Sam Hocevar's godmode-light.js? Your tools work fine with Sam's script installed (yes, latest version of all), but I cannot revert using Sam's tool when I have either your popups or your anti-vandal script installed; I get various error messages, depending on what I'm trying to accomplish and which of your scripts is installed. I'd like to be able to use all of these tools, but with yours installed Sam's doesn't work, though the opposite doesn't seem to be true. I don't know where the conflict lies and I'm nowhere near experienced enough to troubleshoot beyond disabling one or the other. Just wondering at this point if anyone else has mentioned this.
FWIW, I'm using Firefox 1.5.0.1 on Mac OS X 10.4.4. ⇒ BRossow T/C 16:49, 11 February 2006 (UTC)
- Yes, I think the people at WP:US have produced a popups-compatible version of the godmode script. Take a look on the Scripts subpage of that project. Lupin|talk|popups 18:37, 11 February 2006 (UTC)
Page name for temperature articles
To avoid flip-flopping between 'degree Fahrenheit' and 'Fahrenheit' or 'degree Celsius' and 'Celsius', I propose that we have a discussion on which we want. I see you have contributed on units of measurement, please express your opinion at Talk:Units of measurement. Thanks. bobblewik 22:07, 12 February 2006 (UTC)
bug with diff links
Sometimes the popup for a diff link will display just "dHook();" instead of the normal fetched contents. ··gracefool |☺ 03:48, 13 February 2006 (UTC)
- That's strange. Can you reproduce this consistently? Which browser, and which diff urls? Lupin|talk|popups 03:52, 13 February 2006 (UTC)
- IE 6.0 with SP2. I haven't noticed any pattern in the urls. ··gracefool |☺ 00:16, 16 February 2006 (UTC)
Popups in Firefox vs Opera
Hi, I finally got around to adding the simplepopups option to my js after you suggested it earlier this month. My popups definitely have simplified in Firefox; however, the same does not seem to go for Opera. Were popups optimized for Firefox? (I prefer to RC patrol in Opera simply because it is less laggy than Firefox.) Thanks. Yuyudevil 13:46, 14 February 2006 (UTC)
- Opera seems to cache more aggressively than it should. Make sure you've cleared your cache in Opera. If that doesn't work, try going to this exact url and see if the simplePopups option is displayed. If not then Opera is caching the old version... see if you can persuade it to give you the latest version somehow! Lupin|talk|popups 14:53, 14 February 2006 (UTC)
- simplePopups doesn't show at that URL even in Firefox, but problem solved anyway :) Keep up the good work! Yuyudevil 15:32, 14 February 2006 (UTC)
No Test
It wasn't a test, that is a true. I'm putting it back in. 69.218.181.192 18:45, 14 February 2006 (UTC)
Early life of Joseph Smith
The article Early life of Joseph Smith, Jr./Stable is currently being proposed to be made a Stable version, this nomination is a test of the process detailed on that page. As you have edited that page recently, please review the stable version of the article and join the discussion at Talk:Early_life_of_Joseph_Smith,_Jr./Stable. dml 00:13, 15 February 2006 (UTC)
Fixdabs summary
Hey, when I fix a disambig link, I'm getting the words defaultpopupFixDabsSummary, which tells the world what I'm doing, but is just a tad annoying. I'm using the test version as of 21Jan, which could be a reason, but I'm just alerting you, just in case. -- Jjjsixsix (talk)/(contribs) @ 06:03, 15 February 2006 (UTC)
- Thanks, I hadn't noticed this - it should now be fixed. I'm trying to tidy up the code (it's pretty hideous at the moment) so more bugs will probably be appearing in the dev version soon... keep the reports coming! Lupin|talk|popups 03:19, 16 February 2006 (UTC)
Refactoring of Pop-Ups msgs?
Will it be welcome if i collect all the existing msgs on the Pop-up tools, as sub-sections, under one section, keeping hdgs rather than rewording them -- and perhaps categorize them in additional detail? I think you are doing plenty without adding that task to your burden, but i was about to leave a msg w/o being at all thoro in checking to see if my possible bug has already been discussed. I'd be pleased to contribute in that way to the fine Pop-up work yr doing.
--Jerzy•t 17:12, 15 February 2006 (UTC)
- Since Lupin enabled a separate translation module, I have made User:Eddideigel/strings-en.js and used it in User:Eddideigel/monobook.js. The string file is sorted by action types. For an editable copy of the strings, see User:Lupin/strings-draft. See also #Translation in separate module above for more details. --Eddi (Talk) 22:21, 15 February 2006 (UTC)
REDIRECT to ...
There are a number of redirects of the form:
#REDIRECT to [[...]]
And popups fails to display the redirect automatically. I'm not sure of the purpose of these redirects, so I've not called it a bug... (I've asked about them at Wikipedia_talk:Redirect.) Mark Hurd 01:20, 20 February 2006 (UTC)
Pop-up with anti-vandal
Was the pop-up navigation script replaced with the anti-vandal script? Popups are gone and I'm suddenly seeing all this anti-vandal stuffs. Just wondering. -- WB 02:00, 20 February 2006 (UTC)
- Nevermind, someone (other than me) editted my js script. -- WB 02:01, 20 February 2006 (UTC)
Transparent background
I just started noticing transparent backgrounds in my popups instead of the normal manilaish colored background. Needless to say that makes the popup text rather hard to read. I switched from the dev back to regular version just in case that was it, but it wasn't... I looked for an option that might affect it but no joy there. Anyone else see this? Win XP, Firefox 1.0.7 (IBM customised/supported version, I work for IBM) monobook skin. Thanks! ++Lar: t/c 06:24, 20 February 2006 (UTC)
- And now they're not transparent again... OK fine, what a loser I am! ++Lar: t/c 06:25, 20 February 2006 (UTC)
- Eeek, disaster! It's now happening to me too after a browser restart. Win XP SP2, Firefox 1.5.0.1, popupsdev.js. --Cactus.man ✍ 09:24, 20 February 2006 (UTC)
- Update: It's a dev version issue. I reverted to regular popups.js - problem solved. Reverted back to the dev version - transparency returned. Now back on the regular version without problems. HTH. (Forgot to say earlier that the drop down menus are NOT transparent) --Cactus.man ✍ 10:56, 20 February 2006 (UTC)
- Oops, what a mess :) I got the CSS stuff all wrong... hopefully this'll now work if you clear your cache. There have been large changes to the dev version recently, so I'd like to know about new errors and also if the script works in safari yet. Also let me draw your attention to the new feature: popups over links in the popup previews, as requested here some time ago. Lupin|talk|popups 13:15, 20 February 2006 (UTC)
- Sorted beautifully, thanks again Lupin. The cascading popups feature doesn't appear to work for me though. Nonetheless, I am just happy to have the light orange popups back :-) --Cactus.man ✍ 14:20, 20 February 2006 (UTC)
- Yes, it is a great pity. I can imagine how much fun it must be as I was one of the people asking for it a while back. Probably more than a tad useful as well ... I am running Firefox 1.5.0.1 on Win XP SP2. I can only assume that there is a conflict with some other script as I have quite a few loading in my monobook.js. Time for some experimentation I feel. Thanks anyway for all your work on this. Cheers. --Cactus.man ✍ 10:51, 21 February 2006 (UTC)
- Update: I just commented out everything in my monobook.js, leaving only popupsdev.js. Still no sign of the new feature, so it looks like it may be a browser issue. BUGGER :-( --Cactus.man ✍ 12:22, 21 February 2006 (UTC)
- Thanks for your help! I think it's not a browser issue, just an egregious bug introduced by me :-) Hopefully it should work now. Lupin|talk|popups 13:49, 21 February 2006 (UTC)
- And it does too, fantastic, BRILLIANT !!, it's Christmas time again .... :-) This is incredibly useful, keep up the good work. Thanks again. --Cactus.man ✍ 15:41, 21 February 2006 (UTC)
Again transparent backgrounds in Linux Opera 8.50, dev version. I think it appeared 4th March sometime between 15:00 and 23:00 (UTC). --Eddi (Talk) 02:42, 5 March 2006 (UTC)
- Gah, that's annoying. Again. It's all because I've been using my local copy of the CSS file for testing purposes, but forgetting to change it back before uploading. I'll try to think of a better way to prevent this. Anyway, should be fixed now. Lupin|talk|popups 05:29, 5 March 2006 (UTC)
GML script
Lupin, I have a "revert as vandalism" rollback that I use...but it does not work when I add your pop-up tool. It always things the vandal is "undefined" and so it can't revert. I had to remove the pop-up scripts. Do you know what line of code is interfering and causing this? Thanks.Voice-of-AllT|@|ESP 00:36, 21 February 2006 (UTC)
- Sorry, I don't know. You could give the dev version a try - lots of things have changed recently, so you may be lucky with it. See WP:POP for instructions. Lupin|talk|popups 01:27, 21 February 2006 (UTC)
Redirects vs. disambigs
I noticed that if you fix a single disambig with the popups, all such disambigs in the page are fixed at the same time. But this doesn't seem to hold for redirects, for which it would make even more sense to auto-fix all the redirects. Why doesn't the popups tool do that? Is it simply you came up with the feature when you were putting in the disambig feature? If so, I'd appreciate it if you could enable it for redirects as well. --maru (talk) contribs 03:14, 22 February 2006 (UTC)
- The technical reason is that it would require downloading the source of every page linked to from that page to discover if it's a redirect or not, and this could mean hundreds of downloads on many pages. The other reason is that some people don't like redirects to be fixed at all; fixing them en masse would certainly annoy them. Lupin|talk|popups 03:59, 22 February 2006 (UTC)
Diff preview
When you hover over a link such as http://en.wikipedia.org/w/index.php?title=User_talk:Lupin&diff=40665394&oldid=40660338, popups shows the diffs in the preview area. However, links with a "prev" instead of an id, such as http://en.wikipedia.org/w/index.php?title=User_talk:Lupin&diff=prev&oldid=40665394 (which, by the way, links to the exact same diff page) are shown regularly in the preview window - the diffs are not shown in the latter link. Do you know why this happens? Thanks. --M@thwiz2020 21:48, 22 February 2006 (UTC)
- Of course, nothing is displayed unless the user sets the following option: popupOnlyArticleLinks=false; --M@thwiz2020 21:49, 22 February 2006 (UTC)
- Yes, there's a note about this in small letters at WP:POP. I've submitted a patch to Mediawiki on bugzilla which would let me fix this, but the developers haven't applied it. The problem is that the script needs to convert prev or cur into a revision ID, and there's not currently a clean way to do it. Lupin|talk|popups 22:33, 22 February 2006 (UTC)
Jewbag
hello i was editing my article and this is what i had right when you deleted it (i was trying to go into more detail so that it wouldn't be considered trash):
A jewbag is a common phrase, considered somewhat vulgar, and used by young people nowadays. It's a word you hear your friends say and everyone laughs. This isn't an actual word, just a common phrase. However, it is truly said a lot.
The word itself means nothing (just a word that is said a lot), but it is found offensive towards jewish people. A similar insult would be douchebag; a word with no direct meaning but still insulting.
- This seems to be a dictionary definition; I believe Wiktionary would be a better place for this. Lupin|talk|popups 01:56, 23 February 2006 (UTC)
Thanks..
Bug 2001
Thanks for giving it another look Lupin. Much appreciated. Discordance 18:24, 23 February 2006 (UTC)
Ms.
Thanks for the 'heads-up' on the new article. It was the product of a banned editor who is apparently obsessed with one of our admins. Encyclopedia writing is more dangerous than it looks. Cheers, -Will Beback 19:20, 23 February 2006 (UTC)
Image:Countdown chimes.ogg listed for deletion
Popup code
I am attempting to customize my popups to include a button to insert predetermined text to a page (such as warning templates on a talk page) when I hover over a link. Do you have any advice on how to do this? Please reply on my talk page. Thanks,
Krashlandon (e) 21:32, 23 February 2006 (UTC)
- Thanks for that, but where do I put it? On the .css or the .js? Krashlandon (e) 22:40, 24 February 2006 (UTC)
Well, I put it in, and the link is on my popups, but it looks like this: (e)]] 22:02, 24 February 2006 (UTC)/&autosummary=Your%20edits&autoclick=wpPreview">warn and it doesn't put the template in the page automatically and never even shows up for blank talk pages (which most vandals have). Here it is. Could you take a look at it? Sorry for all the trouble. Krashlandon (e) 02:54, 25 February 2006 (UTC)
- You have unescaped slashes in your substitution, which are causing the problem. The best thing to do is to put your warning on a subpage of your user page (like User:Krashlandon/Warningtext) and use a subst: like Lupin did in his example for you, e.g. autoedit=s/$/\\n\\n{{subst:User:Krashlandon/Warningtext}}%20~~~~/. That way you don't need to worry about what should be escaped since the content is transcluded. Mike Dillon 03:05, 25 February 2006 (UTC)
- Thanks. I'll try that. That method would also be more convenient for changing the warning depending on what kind of vandal I am after. Krashlandon (e) 03:12, 25 February 2006 (UTC)
- I see the problem. Your signature is being expanded on save and messing up the link. I guess you'll have to do something like
%7E%7E%7E%7E
instead of the literal ~~~~. Mike Dillon 03:27, 25 February 2006 (UTC)
- I see the problem. Your signature is being expanded on save and messing up the link. I guess you'll have to do something like
- Thanks. I'll try that. That method would also be more convenient for changing the warning depending on what kind of vandal I am after. Krashlandon (e) 03:12, 25 February 2006 (UTC)
- Ah, you've slightly mangled the code (don't move the </script> tag out of the popups installation lines), but even if it was installed properly there'd still be the problem of it not appearing for empty pages. Hm. Maybe this'll work.
window.warnTemplate=function(data, download) { var talkPage=new Title(Title.fromURL(download.url).userName(true)).talkPage(); if(!talkPage || talkPage.toString()=='Talk:') return ''; var lk=titledWikiLink({article: talkPage, action: 'edit', text: 'test'}); var autoParams='autoedit=s#$#\\n\\n{{subst:test}}%20~~~~#&autosummary=Your%20edits&autoclick=wpPreview'; return appendParamsToLink(lk, autoParams) + '<br>'; } function installWarnTemplate() { window.old_getPageInfo=window.getPageInfo; window.getPageInfo=function(data,download) { return window.warnTemplate(data,download) + window.old_getPageInfo(data,download); } } addOnloadHook(installWarnTemplate);
Both the subst:
and the signature expansion are happening during the save to monobook.js. Anything that literally says {{subst:...}} or ~~~~ messes up the Javascript when it is saved. You have to either use URL encoding to work around it like %7E%7E%7E%7E
for the signature, or use Javascript like '{' + '{subst:...}}'
to fool MediaWiki. Mike Dillon 03:40, 25 February 2006 (UTC)
- Hmm... *pokes code* It's still having some problems. You could fiddle with it directly here if you want, Lupin, as you are a sysop and have permission to those pages, don't you? Krashlandon (e) 03:42, 25 February 2006 (UTC)
I believe this will work:
// [[User:Lupin/popups.js]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); window.warnTemplate=function(data, download) { var talkPage=new Title(Title.fromURL(download.url).userName(true)).talkPage(); if(!talkPage || talkPage.toString()=='Talk:') return ''; var lk=titledWikiLink({article: talkPage, action: 'edit', text: 'test'}); var autoParams='autoedit=s#$#\\n\\n{'+'{subst:User:Krashlandon/Warningtext}}%20%7E%7E%7E%7E#&autosummary=Your%20edits&autoclick=wpPreview'; return appendParamsToLink(lk, autoParams) + '<br>'; } function installWarnTemplate() { window.old_getPageInfo=window.getPageInfo; window.getPageInfo=function(data,download) { return window.warnTemplate(data,download) + window.old_getPageInfo(data,download); } } addOnloadHook(installWarnTemplate);
--Mike Dillon 03:45, 25 February 2006 (UTC)
- Now the link is gone. Krashlandon (e) 03:48, 25 February 2006 (UTC)
The problem is that "#" is the document fragment separator... Try this.
// [[User:Lupin/popups.js]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); window.warnTemplate=function(data, download) { var talkPage=new Title(Title.fromURL(download.url).userName(true)).talkPage(); if(!talkPage || talkPage.toString()=='Talk:') return ''; var lk=titledWikiLink({article: talkPage, action: 'edit', text: 'test'}); var autoParams='autoedit=s^$^\\n\\n{'+'{subst:User:Krashlandon/Warningtext}}%20%7E%7E%7E%7E^&autosummary=Your%20edits&autoclick=wpPreview'; return appendParamsToLink(lk, autoParams) + '<br>'; } function installWarnTemplate() { window.old_getPageInfo=window.getPageInfo; window.getPageInfo=function(data,download) { return window.warnTemplate(data,download) + window.old_getPageInfo(data,download); } } addOnloadHook(installWarnTemplate);
--Mike Dillon 03:50, 25 February 2006 (UTC)
- The link broke again. Lupin, if this won't work, you can play with it in the developmental version until you get it right. Krashlandon (e) 15:03, 25 February 2006 (UTC)
- Did you try clearing your cache? I made a change earlier today which should have fixed things. If not, what's your browser? Can you provided a screenshot showing exactly what's going wrong for you? Lupin|talk|popups 16:15, 25 February 2006 (UTC)
- It's IE 6. I'll try to get a screenshot. Krashlandon (e) 01:57, 26 February 2006 (UTC)
- Did you try clearing your cache? I made a change earlier today which should have fixed things. If not, what's your browser? Can you provided a screenshot showing exactly what's going wrong for you? Lupin|talk|popups 16:15, 25 February 2006 (UTC)
Image:PU Screen01.JPG and Image:PU Screen02.JPG are some screenshots that may help. I will update them every once in a while or when you ask me to, just don't forget to purge your cache of the old ones. Krashlandon (e) 02:13, 26 February 2006 (UTC)
php-parameter
Where I can find a explanation to this &dontcountme &smaxage &ts, can some one tell me somewhat what this means!? thx --Olliminatore 01:23, 21 April 2006 (UTC)
- I don't recognize &ts, but I copied &dontcountme from the livepreview.js installation instructions (and I still am uncertain exactly what it does). &smaxage I found in the mediawiki source - it should reduce stale previews from appearing. Lupin|talk|popups 16:49, 22 April 2006 (UTC)
Opera 8.52
I noticed the change yesterday, and the popups have been crashing Opera 8.52. Since Opera does not host old versions of the 8.5x installers, I cannot say it's an Opera problem. I just keeps crashing. --Perfecto 17:38, 24 February 2006 (UTC)
- Well I can say it: it's an Opera problem :-) Javascript should never crash a browser, no matter how badly behaved. Sometimes it can freeze it, but that's another matter...
- Which OS do you use? Opera 8.52 on Linux runs the script
flawlesslywithout crashing. Lupin|talk|popups 18:03, 24 February 2006 (UTC)
It's Windows. Just for FYI, Opera 8.51 runs okay. I found an 8.51 installation somewhere and I overwrote mine with it. Where did you post the Opera bug request? Thank you. --Perfecto 17:31, 26 February 2006 (UTC)
Popups on Safari
Hello, just started using popups on Safari. It hasn't crashed for me (as it appears to have done for others) but the popups do have a nasty habit of not disappearing when the pointer moves away from the link. In fact the only way to make a popup disappear is to hover over a different link, making another popup. I opened up Firefox and Camino and neither had any trouble with popups. It's not a big thing obviously, and I wouldn't want to add to more work than you want, but it is pretty frustrating. Any idea if/when this problem will be fixed?
cheers - Thenugga 17:51, 24 February 2006 (UTC)
- Excellent, I'm glad to hear that it hasn't been crashing Safari for you. I don't have easy access to a machine which will run Safari, so I can't do any serious debugging with that browser. Can you follow the instructions here and tell me if you find any Javascript exceptions or errors? If we're lucky, it'll be something easy to fix. If not, the bug will only be fixed when someone sends me a patch—or a Mac :P Lupin|talk|popups 18:12, 24 February 2006 (UTC)
- Well, I opened up the console, but despite the continuing problem, it showed no errors or exceptions. Never mind, hopefully a patch will be along soon - and at least Safari doesn't crash for me.
- Not sure whether this makes any difference, but when I installed popups, I did so on Camino before using Safari. Could the problem with Safari be that it doesn't like installing the script, but will run it ok? (I'm theorising here, I don't know jack about Java.) Thenugga 18:56, 24 February 2006 (UTC)
- Thanks for looking for errors for me. I don't think the browser you use to install the script could make a difference.
Just found your great popup tool (and Wikipedia for that matter). I've been having some trouble with popups Safari (works great in Firefox). PithHelmet (an ad blocker) may be responsible for some of the crashing: before I added a site-specific preference I would get random crashes after doing a "reload unfiltered." After whitelisting Wikipedia, this no longer seems to happen, but I am getting really bad drawing errors (sometimes only yielding a very small empty square). I have some screenshots if they would help. Would something like this ever make it to the "my preferences" page?
Thanks again, MFago 05:52, 27 February 2006 (UTC)
- Screenshots may be helpful, yes, although it's unlikely I'll be able to fix bugs in Safari which make the browser crash.
- It's possible that, if it gets community support, this tool may one day appear in the my preferences page. However, it's not ready yet by a long stretch. Lupin|talk|popups 00:40, 28 February 2006 (UTC)
- Safari does not crash anymore for me (once I disabled PithHelmet). I've filed a bug, both with Apple (Bug ID#4467372), as well as bug 7617 with the Webcore opensource project that is responsible for Safari. Afraid I'm not enough of a Javascript expert to be able to diagnose it myself (without a few helpful tips), but hopefully OpenDarwin will find time to help. I've also posted a screenshot just so you can see what I'm talking about (most times the menus are completely invisible). MFago 01:00, 6 March 2006 (UTC)
- Thanks for taking the time to do this, it's much appreciated. As a workaround for the menu problem, you can set popupStructure='original' in your user javascript file (this is what IE and opera users get by default as the menus don't work well for them either). Maybe I should make this the default for Safari users, although interestingly Konqueror nearly gets the menus right, so I expect that Safari will catch up before too long. Lupin|talk|popups 03:06, 6 March 2006 (UTC)
Guelph?
Are you perhaps from Guelph or the surrounding area? I noticed you have it on your watch-page, and I'm searching for a regular user that the Guelph Mercury can interview. Feel free to email me, or tell me on my talk page. ASAP is prefered. -- user:zanimum
WTF?
That wasn't an experiment! WOTC are suing a fan! Hell I even gave links to the info! Why have you deleted it?
- The tone of your contribution suggested strongly to me that it was an experiment. If you would like to reinstate it then I won't revert it, but I would recommend that you try to write it in a similar style to other articles. Lupin|talk|popups 16:04, 25 February 2006 (UTC)
popups.dev
Hi Lupin, just to let you know that the dev version appears to be broken (for me at least) at the moment. No popups are appearing whatsoever. The strange thing is that having looked at your contribs, I am sure it was working when I first edited today (after your last edit to the script), then it just mysteriously stopped. Any ideas? Thanks. --Cactus.man ✍ 13:27, 26 February 2006 (UTC)
- Works fine for me in 4 browsers. I'm guessing that you were simply using a cached old version until it stopped working. Maybe you have some content filtering like adblock set up that is being triggered by either the script itself or the output containing some variant of popup, _popup, popup_ etc. You should probably whitelist wikipedia.org if that's the case. Lupin|talk|popups 13:58, 26 February 2006 (UTC)
- Thanks for the reply. I do run numerous greasemonkey scripts and FF extensions, including adblock. I will look at the whitelisting options as you suggest, thanks. --Cactus.man ✍ 14:09, 26 February 2006 (UTC)
- Thanks :) - will test it out now. --Cactus.man ✍ 14:58, 26 February 2006 (UTC)
- Yep, fixed perfectly with the usual 1st class service. Many thanks. --Cactus.man ✍ 15:10, 26 February 2006 (UTC)
In case you missed it
I added another #Bug report (Feb. 25th). – Doug Bell talk•contrib 02:49, 27 February 2006 (UTC)
When popups are set to display templates as parameters, and the paramater includes "<nowiki>~~~</nowiki>" then the tildes are shown as undefined ([[Undefined:undefined|undefined]]). With 4 tildes the date follows the undefined, with 5 tildes only the date is shown. Examples:
- Test case: User:Thryduulf/sandpit2
- Real world: Wikipedia:Sign your posts on talk pages
Thryduulf 01:47, 28 February 2006 (UTC)
Image Tagging Image:Countdown chimes.ogg
This media may be deleted.
|
Thanks for uploading Image:Countdown chimes.ogg. I notice the 'image' page currently doesn't specify who created the content, so the copyright status is therefore unclear. If you have not created this media yourself then you need to argue that we have the right to use the media on Wikipedia (see copyright tagging below). If you have not created the media yourself then you should also specify where you found it, i.e., in most cases link to the website where you got it, and the terms of use for content from that page.
If the media also doesn't have a copyright tag then you must also add one. If you created/took the picture, audio, or video then you can use {{GFDL-self}} to release it under the GFDL. If you believe the media qualifies as fair use, please read fair use, and then use a tag such as {{Non-free fair use in|article name}} or one of the other tags listed at Wikipedia:Image copyright tags#Fair_use. See Wikipedia:Image copyright tags for the full list of copyright tags that you can use.
If you have uploaded other media, please check that you have specified their source and copyright tagged them, too. You can find a list of 'image' pages you have edited by clicking on the "my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "Image" from the dropdown box. Note that any unsourced and untagged images will be deleted one week after they have been uploaded, as described on criteria for speedy deletion. Thank you. The previous unsigned comment was left by 82.15.28.195 19:01, 28 February 2006 (UTC)
Missing strings
As suggested in the script, here's a note on missing strings. The first one doesn't even seem to be invoked as popupStrings
, because translating it to my Norwegian string files ([1], [2]) hasn't helped. --Eddi (Talk) 16:11, 1 March 2006 (UTC)
'Revision %s of %s': 'Revision %s of %s', 'lastContrib': 'lastContrib', 'sinceMe': 'sinceMe',
By the way, is it possible to structure the pg.string
function of the script in a similar way as User:Lupin/strings-draft, with strings grouped thematically instead of alphabetically? Then it would be easier to update the translated versions as strings are added or revised. I think most of the strings-draft file can be copied directly into the script. --Eddi (Talk) 16:11, 1 March 2006 (UTC)
- I've tried to make the changes you suggested in the dev version. Thanks once again! Lupin|talk|popups 00:42, 2 March 2006 (UTC)
I'm lost without...
...ARIN lookup! I've noticed that within the past couple days, the ARIN lookup button has been taken out of your oh so handy popup tool. I can't live without my ARIN lookup. Any suggestions? (I typically use IE, but sometimes also Firefox, -- it's even more broken in Firefox!) · Katefan0(scribble)/poll 23:19, 1 March 2006 (UTC)
- It works with the dev version in Firefox 1.0.7 and Opera 8.50 under Linux. Try changing "popups" to "popupsdev" in your monobook.js, and report if the popups behave differently or not (may be useful for debugging). --Eddi (Talk) 00:00, 2 March 2006 (UTC)
- Aha! Well, it's just as broken as ever in Firefox, but the ARIN lookup has now reappeared in IE. Thanks · Katefan0(scribble)/poll 21:33, 2 March 2006 (UTC)
New bug report
Added another bug report #Bug report (Feb. 25th & Mar. 2nd). – Doug Bell talk•contrib 15:37, 2 March 2006 (UTC)
photo credit
Not sure if I've got the right person but... your nice photo on the Limestone Pavement page says it was taken by 'me'. Should you add your name instead?Ian mckenzie 03:24, 3 March 2006 (UTC)
Popups in Safari
Hey, just to let you know, I tried popups with Safari. It didn't ever crash on me, but the menu lists were often unreadable. Not a big deal for me, I'm using Firefox, but just thought I'd let you know. Thanks for the great work on the script, by the way! MikeDockery 10:17, 3 March 2006 (UTC)
- Thanks. Maybe it's just older version of Safari which crash. You can use popupStructure='original' to get readable menus in Safari, by the way. Lupin|talk|popups 02:03, 7 March 2006 (UTC)
Bug on popups
Hi, I cannot fix double redirect using popups in pt:Wikipedia. The popup try to edit Redirecionamentos duplos instead of the entry page. --555pt | msg | msg on w:pt 06:54, 5 March 2006 (UTC)
- Fixing double redirects is not something that can currently be done with popups. This isn't a bug, I think, so much as a missing feature. Lupin|talk|popups 02:00, 7 March 2006 (UTC)
Image Copyright
Back in 2004, you uploaded the image "W3m-w3m dot org.png" using a general public domain tag. I would think that, because the image is from the w3m website, the correct tag to use would be Template:Web-screenshot --kenb215 19:40, 5 March 2006 (UTC)
- Sure, sounds reasonable to me. Do feel free to change it. Lupin|talk|popups 20:11, 5 March 2006 (UTC)
The copyright notice is changed.--kenb215 00:38, 6 March 2006 (UTC)
Cyrillic characters bug
Reading Wikipedia:Doppelganger accounts I've spotted what looks to be a bug in popups with Cyrillic characters. The second bullet in the "Methods of impersonation" section links to User:Jimbo Wаles (Jimbo_W%D0%B0les), but the popup preview links to User:Jimbo Wଥs (Jimbo_W%E0%AC%A5s). Thryduulf 14:01, 6 March 2006 (UTC)
- Hm, this seems to work correctly for me in Firefox and in IE. Which browser's giving you problems? Maybe you could try the dev version if you're not already. Lupin|talk|popups 01:56, 7 March 2006 (UTC)
- It is working fine in Firefox 1.0 on Linux. I was using Firefox 1.5 on Windows XP when I made the bug report, both times using the non-development version. I can't check with XP at the moment, but I'll try and get chance later at work. Thryduulf 08:50, 7 March 2006 (UTC)
- I've not had access to the same machine again, but I've tested it on two different XP machines with Firefox 1.5, both of which seem to work. The only difference I can see is that neither of them, nor this linux computer, have a font that can display the ଥ (Unicode U+0B25 "Oriya Letter Tha") character, whereas the PC that had the problem could display this charcter. Thryduulf 21:47, 8 March 2006 (UTC)
- It is working fine in Firefox 1.0 on Linux. I was using Firefox 1.5 on Windows XP when I made the bug report, both times using the non-development version. I can't check with XP at the moment, but I'll try and get chance later at work. Thryduulf 08:50, 7 March 2006 (UTC)
Reverting with popups
Hi, I've noticed that when people revert using popups, the edit summary reads : "Revert to revision 123...". Now, the revision number is pretty much useless. Can't it be configured to display instead, "Revert edits by abc to last version by def'...", or "Revert to revision of time:date..." or the like? -- Meni Rosenfeld (talk) 19:04, 6 March 2006 (UTC)
- Please see the previous discussion on the matter at Wikipedia_talk:Tools/Navigation popups. Lupin|talk|popups 01:57, 7 March 2006 (UTC)
- It's partly configured already; see discussion at Wikipedia talk:Tools/Navigation popups#Revert needs to show 'username' not 'revision#'. For some examples of reverts see [72], [73], [74]. As you can see, parts of the summaries are entered manually (e.g. "nonsense") – which is up to the individual popup navigators – but the references to user names are automatic. So far this works from history pages with the dev version of the script. --Eddi (Talk) 02:43, 7 March 2006 (UTC)
Feature Request
I have been using popus for link disambiguation, and they are a life saver! Is there any we can get a link in there to automatically link to the wiktionary entry for the term we are disambiguating? This would be extremely helpful! Thanks. --Hetar 22:09, 6 March 2006 (UTC)
- I don't really understand precisely what you mean. Please could you explain - where and when do you want a link to appear, and what should happen when it's selected? Thanks. Lupin|talk|popups 01:59, 7 March 2006 (UTC)
Sorry for the confusion Lupin. When I hover over a link that needs to be disambiguated (via the popupFixDabs option) I would like an option to appear that inserts a wiktionary link for the term being disambiguated. So for example, if I was disambiguating the the link [[gothic]] it would be changed to [[wiktionary:gothic|gothic]]. I hope that makes more sense! --Hetar 03:14, 8 March 2006 (UTC)
- I've had a go at this feature in the dev version. It has to guess somewhat at the wiktionary target unfortunately, so I expect it'll often get it wrong. Still, let me know if it's what you were thinking of. The new link should be the penultimate one in a dab popup. Lupin|talk|popups 01:16, 19 March 2006 (UTC)
- That's perfect! I realize that it won't be right 100% of the time, but before I start on the disambiguation for a particular term I usually check stuff like that, so it shouldn't be a problem. Many thanks! --Hetar 00:35, 24 March 2006 (UTC)
Popup bug
Whe trying to look at the lastContrib for AT&T, it showed me the lastContrib for AT. Something to do with the URL parsing, no doubt. — 0918BRIAN • 2006-03-7 03:13
Anti-Vandal tool (adaptations to use it also on other wikipedias)
Hi Lupin, I have made some adaptations on your tool for make it usable also on other wikipedias. In my case, to use it on the german wikipedia. I've prepared a diff for you to make it easiert to see my changes. It isn't already tested with other values, but what do you thing about? --Kako from de (talk) 08:37, 8 March 2006 (UTC)
- I had a quick look - it looks great to me. Thanks for doing this. Lupin|talk|popups 02:18, 9 March 2006 (UTC)
- I'not finished yet... The changes were made in hurry, but after making some tests I'll came back to give you a report. Maybe this will take some days because of some stress at work. See you then...--Kako from de (talk) 14:00, 9 March 2006 (UTC)
Whitchurch dotty map request
Lupin, when you get are minute are you able to create File:Whitchurch - Hampshire dot.png so as to complete the infobox on the Whitchurch, Hampshire article please? It's at grid reference SU4654948049. Thanks in advance! └ UkPaolo/talk┐ 20:16, 8 March 2006 (UTC)
- Last time I checked, my map scripts didn't work as well as they used to, so this may be tricky. I'll try to remember to tinker with them when I get the chance. Lupin|talk|popups 02:16, 9 March 2006 (UTC)
LivePreview JS-Script
I am interested in previewing WikiText offline. To that end I would like to know if there is a way to convert WikiText to HTML offline. I heard from Phil Boswell that you have made a version of Pilaf's LivePreview JS-script. Can you please provide me details?
Cheers,
Julius Lucks
--Juliuslucks 19:46, 10 March 2006 (UTC)
- The version I'm using is embedded into my popups script. Look for the STARTFILE: livepreview.js and ENDFILE: livepreview.js comments. This script has its problems though. The canonical way to do this is to install mediawiki locally. I suspect that it may not be so hard to rip out the mediawiki parser and use it without apache or mysql, if you know some php. Lupin|talk|popups 00:25, 13 March 2006 (UTC)
Different redirect behaviour
Why is the popup behaviour different for various redirect links? For example, the popup follows the redirect for morphosyntactical but does not follow the redirect for morphosyntax. I'd like it to have the behaviour on the first link all the time.. Thanx for a great tool! --Bob 20:54, 12 March 2006 (UTC)
- This is certainly a bug. I'll think about fixing this when I get the time. Lupin|talk|popups 00:22, 13 March 2006 (UTC)
FYI
The {{Titled-click}} template you created was nominated for deletion last week. --CBDunkerson 03:03, 15 March 2006 (UTC)
Quite simply amazing
Lupin, what can I say? I'm simply awed by your anti-vandal tools. Fantastic! - Ta bu shi da yu 11:59, 17 March 2006 (UTC)
How are popup images chosen?
I noticed when I mouseover a link to my userpage, popups consistently chooses one particular image in that page to use in the preview popup, but that image is near the middle of the page and its name is near the middle of the alphabet so I can't tell why it's choosing that one. I like its choice, actually, I'm just curious. --Tifego 02:36, 18 March 2006 (UTC)
- Roughly speaking, it gets the first image appearing in the wikitext of the page (not in a template) which either has no explicit width specified, or whose width is explicitly set to more than 50px. The idea is that little sig icons should be excluded. You can change this by fiddling with the popupMinImageWidth option. Lupin|talk|popups 03:10, 18 March 2006 (UTC)
Image Tagging Image:Pembroke College, Cambridge3.jpg
This media may be deleted.
|
Thanks for uploading Image:Pembroke College, Cambridge3.jpg. I notice the 'image' page currently doesn't specify who created the content, so the copyright status is unclear. If you have not created this media yourself then there needs to be an argument why we have the right to use the media on Wikipedia (see copyright tagging below). If you have not created the media yourself then it needs to be specified where it was found, i.e., in most cases link to the website where it was taken from, and the terms of use for content from that page.
If the media also doesn't have a copyright tag then one should be added. If you created/took the picture, audio, or video then the {{GFDL-self}} tag can be used to release it under the GFDL. If you believe the media qualifies as fair use, consider reading fair use, and then use a tag such as {{Non-free fair use in|article name}} or one of the other tags listed at Wikipedia:Image copyright tags#Fair_use. See Wikipedia:Image copyright tags for the full list of copyright tags that you can use.
If you have uploaded other media, consider checking that you have specified their source and copyright tagged them, too. You can find a list of 'image' pages you have edited by clicking on the "my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "Image" from the dropdown box. Note that any unsourced and untagged images will be deleted one week after they have been uploaded, as described on criteria for speedy deletion. Thank you. Stan 14:19, 19 March 2006 (UTC)
Monobook
Nathan has a problem with his monobook; I gave him your vandal fighting code which is working fine, only duplicating itself, in his monobook. He can't find a problem, and I have no clue; so I hoped you could help. Everything can be found here. Thanks! And by the way, you are my hero for creating this. It makes swatting vandals fun! M o P 04:00, 20 March 2006 (UTC)
- Sorry, I don't see anything obviously wrong with the monobook.js file. Lupin|talk|popups 00:16, 22 March 2006 (UTC)
Popups reversion from "My contributions"
Please ignore me if I'm being dumb: I only installed your awesome popups tool recently. I can't seem to get the "revert" tool to work from Special:Contributions when my edit is the most recent edit. It looks like it just reloads and saves the current version instead of going one version back. Is this a feature? A bug? Impossible and I'm just using it wrong? It would also seem from the edit history of the page I'm using as a test that there are multiple behaviors for how it writes the edit comment, I guess depending on where I was when I hit revert [75]. Thanks -- stillnotelf has a talk page 05:10, 21 March 2006 (UTC)
- This is probably a bug. I'll investigate when I get time. Lupin|talk|popups 00:12, 22 March 2006 (UTC)
- Please could you give me an example of a link which has this behaviour? I'm interested in url for the link which you mouseover to get the popup, ie the link on the contribs page, not any links in the popup itself. Lupin|talk|popups 02:45, 22 March 2006 (UTC)
- It's the "diff" link on the user contributions page. I've done some more testing and it looks like the problem is that the "revert" link from the popup on the contribs page causes a reversion TO the selected edit, instead of a reversion OF the selected edit (replacing subsequent edits). When this is the most recent edit, nothing happens, it's just a null edit. In studying the problem I noted that the "diff" links from the contributions page are formatted very differently from the "diff" links on the watchlist page:
- contribs link: http://en.wikipedia.org/w/index.php?title=User:Stillnotelf/sandbox&diff=prev&oldid=44895355
- watchlist link: http://en.wikipedia.org/w/index.php?title=User:Stillnotelf/sandbox&curid=2842494&diff=44895355&oldid=44895220
- Despite the fact that the "oldids" are different, those are somehow the same page when you click on them. Is this the right information? -- stillnotelf has a talk page 03:19, 22 March 2006 (UTC)
popups.js language?
It seems automatic language selection doesn't work, at least on french wiki with firefox...
I think location.hostname refers to the script location, maybe using ownerDocument.location.hostname will work better...
Another solution would be to add a manual language option...
Regards,
Gonioul 21:26, 21 March 2006 (UTC)
- How do you know that the language selection isn't working? (Note that even when working correctly, the interface isn't automatically translated). What do you see if you type
javascript:alert(pg.wiki.lang)
- It show "fr", but the menus are in english.
- Sorry, I thought the interface was supposed to be translated automagically, my mistake, I just saw language selection is only for text detection...
- Are you planning to translate the interface as well?
- Gonioul 00:48, 22 March 2006 (UTC)
- I won't be doing so myself, but various interface translations have been made and I think it's relatively painless. If you want to make one, look for instructions at the bottom of User:Lupin/popups.js (or User:Lupin/popupsdev.js), just under the line containing "STARTFILE: strings.js". It'd probably be a good idea for me to start listing these translations somewhere, so please tell me if you do this. Lupin|talk|popups 02:30, 22 March 2006 (UTC)
- Ok, I'll try to, but I'm clearly not a translator :(
- Maybe you should move all language selection (detection+interface) to an autoload include (unless overrided)
- Gonioul 22:25, 22 March 2006 (UTC)
- Wikipedia:Tools/Navigation popups/Translation gives instructions for translation plus a list of existing translations. Please have a look at the draft and modify it as you see fit. The users who have indicated that they performed some translation, can be asked to list their versions there. When the page is acceptable, it can be advertised at WP:POP. --Eddi (Talk) 18:43, 26 March 2006 (UTC)
Null Edit
I've been using you Popup tool for a few days now and have been wondering what a "null edit" is.--Lewk_of_Serthic contrib talk 22:03, 21 March 2006 (UTC)
- It does the same thing as clicking "edit this page" then immediately hitting "Save page", so it submits an edit with no changes. This is sometimes useful for working around various mediawiki deficiencies. Lupin|talk|popups 00:00, 22 March 2006 (UTC)
Recent Changes Filter
Hi there, any chance of having the RC filter use the popups rollback tool, instead of the admin tool? Werdna648T/C\@ 00:49, 22 March 2006 (UTC)
- There is a chance - I'll think about it when I get more time. Alternatively, if you or anyone else wants to write the code for this, I'd gladly incorporate it. Lupin|talk|popups 02:33, 22 March 2006 (UTC)
Anti-vandal tool
I intalled your anti-vandal tool, and it works well. Howeve, there are two categories of false alarms that I have seen multiple times:
- Vandalism that had already been corrected by another user
- Non-vandalism (I once saw one saying that "Adolph Hitler matches 'Hitler'"--well duh!)
Alethiophile 02:30, 23 March 2006 (UTC)
- Thanks for your comments. I'm not sure of a good fix for these problems, though. Lupin|talk|popups 13:45, 25 March 2006 (UTC)
THANKS
for the revert. And I tried so hard to be CIVIL!Dlohcierekim 02:56, 23 March 2006 (UTC)
menu style popups?
I am using the your popups-which are great by the way-and I was wondering if the "menu" style pop-up dosen't work in IE(6.0.2900.2180.xpsp_sp2_gdr.050301-1519), because under IE I get "standard" style as default, and I can't change it to menu, even if I specify it as "popupStructure=menus;" it dosen't work. Is the menu style incompatible with IE? Prodego talk 03:57, 23 March 2006 (UTC)
- That's right. IE doesn't have the necessary CSS features to display the menus, at least the way I've implemented them. Lupin|talk|popups 04:03, 23 March 2006 (UTC)
A tiny little bug
The image in the popup is set to a constant width, which is ok as long as the image is not very thin and tall, like the one on Signpost pages; try links on {{signpost-subscription}} to see what I mean. Maybe you can change "width" to "max-width" in the css? OTOH, if that doesn't work in IE, I should probably do it on my own .css pages. Zocky | picture popups 04:13, 23 March 2006 (UTC)
Popups
Looks like they are down...what went wrong?Voice-of-AllT|@|ESP 04:39, 23 March 2006 (UTC)
- "q<pre>" - "Unterminated regular expression literal". Voice-of-AllT|@|ESP 05:10, 23 March 2006 (UTC)
- Ah, never mind. Should be fixed now - looks like I missed the tab key and hit q instead :) Thanks for letting me know about this. Lupin|talk|popups 05:23, 23 March 2006 (UTC)
- Well, it was java console in firefox. I did remove it earlier and purged your page and cleared by cache but it didn't work then. I then reverted it. I guess I didn't wait long enough. Works now.Voice-of-AllT|@|ESP 06:56, 23 March 2006 (UTC)
- Ah, never mind. Should be fixed now - looks like I missed the tab key and hit q instead :) Thanks for letting me know about this. Lupin|talk|popups 05:23, 23 March 2006 (UTC)
Peer review
I've submitted the pages on Care Bears and their first movie to peer review, so I'm asking you to look at both articles and tell me what can be done further to improve them. I am intent on making both of them featured articles very soon. Leave comments on their peer pages. Wish me luck! --Slgrandson 04:45, 23 March 2006 (UTC)
Possible Bug
When using the dev version of popups, and with popupRevertSummaryPrompt set to true, the summary ends being different than what is actually typed in the popup box. If that doesn't make sense, or isn't enough info, let me know. --Hetar 04:39, 24 March 2006 (UTC)
- More details would be good... browser, OS, exactly how to reproduce, the summary you typed and the summary you actually got. Thanks! Lupin|talk|popups 13:44, 25 March 2006 (UTC)
Ok, Browser: Latest version of Mozilla OS: Windows XP sp1. On closer examination, the problem seems to be that I'm getting the old format, ie "Revert to revision 45443692 using popups" when I should be getting "Revert to revision dated 20:20, 15 March 2006 by TheKoG, oldid 45443692 using popups)." Again, I didn't start experiencing this until I recent switched to the dev version. --Hetar 18:48, 25 March 2006 (UTC)
- Please see the discussion on Wikipedia_talk:Tools/Navigation_popups. You now need to set a variable to get the extended summaries. This feature is currently in flux, so it may be a good idea for you to switch back to the non-dev version until it stabilizes. Lupin|talk|popups 19:31, 25 March 2006 (UTC)
- Thanks! --Hetar 05:03, 26 March 2006 (UTC)
Fix redirects
What happened to the fr function? Assuming people were complaining about it, maybe it would be a good idea to use the function to instead compile a batch file, and have a bot process those redirect fixes? -Ste|vertigo 21:06, 24 March 2006 (UTC)
- It just got turned off by default. You have to set some option or other to turn it on - see WP:POP. Lupin|talk|popups 13:42, 25 March 2006 (UTC)
AntiVandal Tool Help
I don't understand the instructions on how to install the anti-vandal tool. Can you help me out? Thanks.
Evan Robidoux 17:55, 25 March 2006 (UTC)
Thanks. Evan Robidoux 23:14, 25 March 2006 (UTC)
Nav popups.js / recent2.js - thanks and comments
Thank you very much for this tool - I can _almost_ keep up with things at certain slow times during the day. :)
Some comments:
- Using IE6SP2 on WinXP, with the anti-vandal tools added and running, there is a memory leak. After some minutes of running and my editing, the memory usage can be 200-300MB. Everything slows down and I have to kill IE, then restart. This is not necessarily a bad thing, as it does give me a chance to stop and run away screaming.
- Many times after using the 'rv' revert function, I've wanted to "check to be sure" that I've done the right thing. I end up manually using 'History' and 'Compare' to make sure I've done the revert intended. At least twice I've caught my revert removing someone else's beneficial interim changes. I wonder if progressing to that "review point" could also be automated?
- In the display from "Filter recent changes", is there a way to omit the "Rollback" link. Sometimes as I click on different things the page will resize, moving the rollback link where the "hide details" link was. It is unnerving that I click something so powerful, even if disabled for me.
- Many times the "Filter recent changes" filters will flag occurrences of 'hi'. Most of these are embedded within URLs to bbc.co.uk linked from the various articles. Here's an example: http://news.bbc.co.uk/1/hi/sci/tech/271319.stm . Would it be possible to fix the filter to not detect '/hi/'?
Thanks again. Shenme 23:27, 25 March 2006 (UTC)
- I've tried to fix the bbc problem, which annoyed me too. The tool should no longer flag words which start or end with a forward slash. The others I'll have to think about some more. Lupin|talk|popups 05:05, 26 March 2006 (UTC)
- For the memory leak, please could you try using the tool with popups disabled (comment or delete the lines in your monobook.js file) so that I can try to narrow down the source of the problem? Let me know what happens. Lupin|talk|popups 05:07, 26 March 2006 (UTC)
- Thanks for the /hi/ fix. I'll lookup the options to disable popups. I'd noticed the memory size increasing on each new popup, but only the _initial_ time for each individual link. That is, rotating the hover around a set of 15 or so links I tried on the main page didn't increase memory size any more after the 'first' time they popped up. Thanks again. Shenme 03:11, 27 March 2006 (UTC)
My monoscript.js
You seem like a good person to go to to solve my problem. See this page to see the problem! Thanks a bunch! → J@red talk+ ubx 03:05, 26 March 2006 (UTC)
Pop-ups crash browser
Hi, I use Internet Explorer and once installed pop-ups into my book... jboo.. whatever, my chubaka page. After refreshing the browser, the new feature worked, but moving through a couple of pages (with or without the pop-ups' assistance) caused my browser to crash. No other negative effects have been observed and once I managed to uninstall the feature (by logging out and then logging back in on the appropriate page to remove the installation text), everything went back to normal. The entire affair happened between 16:16 and 17:15 on March 9 2006, as seen in the page history. Just thought you should know. --Chodorkovskiy 15:27, 27 March 2006 (UTC)
- Hm, that's bad news. Please could you let me know your OS, any service packs and the exact version of your browser? It may be useful to start collecting the details of incompatible browsers. Thanks. Lupin|talk|popups 00:37, 28 March 2006 (UTC)
- Windows XP, no service pack, 6.0.2900.2180.xpsp_sp2_rtm.040803-2158.--Chodorkovskiy 06:21, 28 March 2006 (UTC)
- I've been having a similar problem with popups as well. It seems to be entirely random, but occasionally on certain pages I get an error message to the effect of "Operation aborted" and then my browser goes to the 404 screen. I'm pretty sure it's because of popups, but I am also using Lupin's tool and Kate's tool (and my own tools on the side) so there might be some connection that with Chordovskiy. In any case I absolutely love popups--it's one of the greates tools out there--and it really is worth the occasional browser crash. Btw, I'm running XP SP1, IE 6.0, and Java2 v1.4. AmiDaniel (Talk) 21:48, 30 March 2006 (UTC)
- Windows XP, no service pack, 6.0.2900.2180.xpsp_sp2_rtm.040803-2158.--Chodorkovskiy 06:21, 28 March 2006 (UTC)
popups.js should contain another decodeEscapes() for «#...» part of wikilink
If non-English parts of Wikipedia, popups.js tends to display «Page title#.D0.9B.D0.B5.D0.BD.D1.82.D0.B0.D0.B4.D1.80.D1.83.D0.B7.D0.B5.D0.B9.28.D1.84.D1.80.D0.B5.D0.BD.D0.B4.D» et cetera.
You'd use another instance of Title.prototype.decodeEscapes, starting with var split=txt.parenSplit(/(\.[0-9A-Fa-f]{2})/)
, to fix this. —62.183.50.164 23:55, 27 March 2006 (UTC)
popupFixDabs in other wikipedia's
Hi Lupin, this may be a stupid question, but does FixDabs function in other language versions of Wikipedia? I tried it last night on the Dutch version, but didn't seem to work there. A fellow Dutch wikipedian also told me he couldn't get it to work either. Any ideas where the problem might be? NielsFTalk to me.. 02:46, 28 March 2006 (UTC)
- Hm, it's meant to. How does it fail - do you ever see the links to disambiguate? If so, do they work? Maybe it's just a case of the code detecting the dab pages being specific to en. Lupin|talk|popups 02:51, 28 March 2006 (UTC)
- I never see any links to disambiguate.. When are you supposed to see them? If it's while hovering over a wikilink to a dab-page in an article, then I've never seen them. So I guess it's a code thing then.. NielsFTalk to me.. 16:07, 28 March 2006 (UTC)
- I haven't seen any disambiguation links in Norwegian either. I imagine that the script recognises certain specified disambiguation templates, which may or may not exist in other wikis. The identification of such templates and configuration of the script should perhaps be made locally since one person can't keep track of them all. If this could be put in an optional .js file like the strings, and if local popup facilitators could take care of it, each user wouldn't have to do it.
Question to Niels: Would you care to list the Dutch version at Wikipedia:Tools/Navigation popups/Translation? --Eddi (Talk) 16:48, 28 March 2006 (UTC)- @Eddi: AFAIK there's no Dutch popup-version, I meant the Dutch version of Wikipedia.. I just use the standard English version (with a Dutch revert summary though). NielsFTalk to me.. 17:01, 29 March 2006 (UTC)
- I haven't seen any disambiguation links in Norwegian either. I imagine that the script recognises certain specified disambiguation templates, which may or may not exist in other wikis. The identification of such templates and configuration of the script should perhaps be made locally since one person can't keep track of them all. If this could be put in an optional .js file like the strings, and if local popup facilitators could take care of it, each user wouldn't have to do it.
Another blooming dotty map
Hi Lupin, I bet you get fed up with map requests with dots on. Can you show me where to go to make one please - thanks Moleskin 07:00, 28 March 2006 (UTC)
- I wrote some scripts to generate them. If you have a linux machine, I could post the latest versions somewhere. There are currently some annoying issues with updates to the software used since I generated the maps which mean that I won't be generating more until I've figured out a workaround. Lupin|talk|popups 02:40, 29 March 2006 (UTC)
Navigation
I was wondering if there is a generic script similar to navigation popups or whether it would be easy to create one for firefox. Thanks --Just my 2 cents -- Hemanshu 12:52, 29 March 2006 (UTC)
- Do you mean a greasemonkey script or an extension to generate previews for all links on the web? Not that I know of, although it could be a neat project. Lupin|talk|popups 23:50, 29 March 2006 (UTC)
Summer time bug
Hi Lupin, I've just noticed that (presumably with the change to summer time), your popup script is getting the times of edits wrong.
Looking at the history of the Great Depression article [76] I noticed:
- 17:34, 30 March 2006 James.kendall (Revert to revision dated 17:55, 30 March 2006 by Krich, oldid 46184920 using popups)
- 17:27, 30 March 2006 208.31.123.95
- 17:24, 30 March 2006 Dumb-worth (→Responses)
- 17:22, 30 March 2006 Dumb-worth (→Depression Statistics)
- 16:55, 30 March 2006 Krich m (Reverted edits by 216.56.22.34 to last version by Zzuuzz)
i.e. The edit reverted to was made at 16:55 not 17:55 as reported by the popup's edit summary. Thryduulf 18:51, 30 March 2006 (UTC)
Revert on popups
First, I have to say I really love your popups script. I have one suggestion though. When you revert a change to a page, the edit summary is by default
- Revert to revision dated (date) by (user who wrote the version before the one you're reverting), oldid (oldid #) using popups
I would recommend changing that to wikipedia's standard of
- Revert edits by (user who vandalized) to last version by (user who wrote the version before the one you're reverting)
and add "using popups" to the end of that one. --Mets501talk 22:27, 30 March 2006 (UTC)
- I don't agree that this should be the default, because we don't always revert to the last version by the specified editor, and sometimes we're not dealing with vandalism but revert for other reasons and there may have been more than one editor in between. And the edit summary can be configured by the users of the popups in their setup. --Eddi (Talk) 22:50, 30 March 2006 (UTC)
- I like the idea, but maybe it can be solved in another way. Currently you can edit the field popupRevertSummary with a custom string and the first %s will get the revision ID information. Wouldn't it be possible to provide more information (so multiple %s can be made possible).
- This way users who would like to change the sentence can create there own version with additional options....
Oil (disambiguation) → Oil
Hello. In the interest of building a consensus, I would appreciate any input you (as a contributor to one of these Oil pages) would have regarding the request to move Oil (disambiguation) back to Oil. Thank you, --Kralizec! (talk) 23:33, 30 March 2006 (UTC)
Ampersands don't preview in the edit window
When using preview popups in the edit window, articles with an ampersand (&) in the title don't preview - the ampersand and anything after it are ignored. For example in the edit window (but not otherwise) Somerset & Dorset Joint Railway gives a preview of the Somerset article. Thryduulf 00:22, 31 March 2006 (UTC)
Reverts without specific comment
Making it easier for admins to make reverts is a good thing, but not if its at the expense of making a specific comment. I know thats a flaw in the rollback function, so its not in your court. But extremely easy navpop access to that fucntion may make it easier for some to grow abusive with it. Would there be a way to require a comment entry when admins use the rollback? -Ste|vertigo 03:56, 31 March 2006 (UTC)
- I expect that there would be a way, but I am disinclined to add features that impose unnecessary restrictions on editors. Lupin|talk|popups 00:13, 17 April 2006 (UTC)
Good Articles
Hi Lupin, I can't praise you enough for popups, I've been using it for quite some time, and have advertised it on my user page too, I reckon it's almost a default standard these days! First the praise then the favour... :-) I'm actually looking for some help/advice if you're not too busy. I helped out with the interface for Wikipedia:Good articles, but there are a few things I'd like it to be able to do. I'm on what seems a slow learning curve with templates and mediawiki being a pointy-clicky windows developer. I noticed this [77] and thought I could do something. My hack isn't good enough really. Having looked at the Monobook.js script I would have thought that it wouldn't take too much to create a show all - hide all button for the GA page. Have you any advice? Even if it's never going to go into Monobook a script could still go into individual monobooks for GA editors. Many thanks, and "viva la popups!"
var max=0; var navregex=/^\s*javascript:toggleNavigationBar[(](\d+)[)]\;?\s*$/; for (var i=0; i<document.links.length;++i) { if (navregex.test(document.links[i].href)) { var n=parseInt(document.links[i].href.match(navregex)[1],10); if(n>max) { max=n; } } } for (i=1; i<max; ++i) { toggleNavigationBar(i); }
(this user despises userboxes :P)
Well, it being the day it is and all, that's why I gave them to you! I only "vandalised" the pages of a few editors... all ones I like or respect quite a bit. Happy April Fools Day! ++Lar: t/c 20:02, 1 April 2006 (UTC)
- Yeah, I figured this out after my reflex reaction to delete them... so you fooled me, at least. :-) Lupin|talk|popups 03:35, 7 April 2006 (UTC)
recent ip edits
i really like this tool a lot, it has helped my anti-vandalizing work immensely since most of it seems to come from anonymous users. i've noticed though that when i click on the article name to get the diff page, i get a new window on my home comupter, but not on my work computer. the link sources are hidden in js, so i can't see how the target is working. i was hoping you could shed some light on how the link targets are written. thanks. -- stubblyhead | T/c 20:43, 2 April 2006 (UTC)
- This is probably a browser setting. The javascript just uses window.open to open a new window, although in firefox you can get this to open in a new tab instead (it's buried in the prefs somewhere). Lupin|talk|popups 03:34, 7 April 2006 (UTC)
- Hmm, interesting. I'll have to check what kind of settings and extensions I have at work, because there it opens in the same tab of the same window. I prefer it that way, actually. The first time I used the tools at home, I wasn't paying attention and ended up with about a dozen browser windows open. Thanks for the reply. -- stubblyhead | T/c 06:17, 8 April 2006 (UTC)
disambiguations
From a discussion elsewhere:
- Also, I wonder if I can convince you to use lower case, thus:
- [[limit (mathematics)|limit]]
- The problem is that the capital letter seems to cause some editors to think it is necessary to use a capital, and then they start doing it in visible links, starting a common noun with a capital letter in the middle of a sentence. [[User:Michael Hardy|Michael Hardy] 02:05, 2 April 2006 (UTC)
- I'm disambiguating the links using the navigation popups software. It automatically uses capital letters when disambiguating. Maybe you could talk to Lupin, the creator to change it? --Mets501talk 04:27, 2 April 2006 (UTC)
- I'm not sure I want to do this. The canonical title of every article starts with a capital letter. Making every article link start with a lower-case letter feels more wrong than making them all start upper-case. Clearly editors should not blindly copy my script's behaviour! If you feel this is a widespread problem then I'll happily reconsider this. Lupin|talk|popups 03:31, 7 April 2006 (UTC)
Hello! Could you give me your permission to upload this photography of this pebbles on wikimedia commons? :) -- Pixeltoo 12:25, 3 April 2006 (UTC)
The use of NP on another wiki
Hello dear Lupin, I think I've read everything you said about the use of Navigation Popups on another MediaWiki, unrelated to WikiMedia's projects, especially there or there. You use to say it should be possible to import, I've tried many things and it still doesn't work. I'm sure you don't have much time, but I'd really like to be able to use your wonderfull (I've not found a better word) tool and so, being explained how to. And I think it could be usefull in general for the pleasure to learn things, thanks to MediaWiki. If you want, you can make tests on this test site, I can give you admin and ftp rights. --Henrique Diaz 07:33, 7 April 2006 (UTC)
- I should write this up, as I'm not sure of the steps myself! Here's what I think you should do to allow users to turn popups on and off (not a site-wide installation):
- make sure that $wgAllowUserJs and $wgAllowUserCss are set to true in LocalSettings.php
- install the script by pasting the usual lines into a user's monobook.js
- I've certainly forgotten something here...
- Troubleshooting
- if no popups appear, try running the following javascript commands:
- alert(popupVersion) - if nothing appears, the script isn't being loaded at all
- alert(pg.wiki.titlebase+'\n'+pg.wiki.wikibase) - these should look like the start of urls on your wiki. If they don't, then make a copy of the script and correct it in the setTitleBase function (and let me know, please)
- [more stuff to come when I think of it] Lupin|talk|popups 01:10, 8 April 2006 (UTC)
- Hello Lupin, I didn't understand what you meant saying : "these should look like the start of urls on your wiki. If they don't, then make a copy of the script and correct it in the setTitleBase function (and let me know, please)", I suppose it means I have to change something concerning the form of my urls, but I don't see how. The base of my urls is something like : http://spinozaetnous.org/wiki/index.php/Accueil (my mediawiki is on a directory named "wiki".
- On another hand, I've found how to make it work :
- Put your mediawiki in a directory named w/ (Wikis like www.mediawiki.org having a directory named wiki/ don't work correctly with NP.)
- Use MediaWiki 1.6 at least
- $wgAllowUserJs and $wgAllowUserCss are set to true in LocalSettings.php
- Use the rewrite rules of Wikipedia (second part).
- Anyway it could be a good thing to know how to make NP work with other kinds of urls. --Henrique Diaz 14:34, 10 April 2006 (UTC)
- The script is designed to work with /wiki/ urls as well as /w/ urls, but it uses rather clumsy guesswork to try to figure out which one to use. If it guesses wrongly, you have to make a copy of the script and fix the setTitleBase function to set the pg.wiki.titlebase and pg.wiki.wikibase variables correctly. Lupin|talk|popups 01:43, 11 April 2006 (UTC)
- Well I'm affraid I still don't understand how to manage with "the pg.wiki.titlebase and pg.wiki.wikibase variables". On the wikipedialike site I spoke, the the diff, hist and also the red links don't work. On the other hand on another MediaWiki site I admin, (wich urls work like this : http://www.tj-encyclopedie.org/Name_of_an_article ) only these links work, the others display a "null" link with an empty page. On this site, I've tried to change the code of popups.js like this :
- The script is designed to work with /wiki/ urls as well as /w/ urls, but it uses rather clumsy guesswork to try to figure out which one to use. If it guesses wrongly, you have to make a copy of the script and fix the setTitleBase function to set the pg.wiki.titlebase and pg.wiki.wikibase variables correctly. Lupin|talk|popups 01:43, 11 April 2006 (UTC)
function setTitleBase() { pg.wiki.articlePath='/'; pg.wiki.botInterfacePath = ''; if (pg.wiki.wikimedia) { pg.wiki.botInterfacePath = '' } else if (pg.wiki.wikicities) { pg.wiki.botInterfacePath = ''; } titletail = pg.wiki.botInterfacePath + '/index.php?title='; // other sites may need to add code here to set titletail depending on how their urls work pg.wiki.titlebase = location.protocol + '//' + pg.wiki.hostname + titletail; pg.wiki.wikibase = location.protocol + '//' + pg.wiki.hostname + pg.wiki.botInterfacePath; } ////////////////////////////////////////////////// // Global regexps function setMainRegex() { var reStart='[^:]*://'; var preTitles='index\\.php\\?title='; if (!pg.wiki.wikimedia) { preTitles = 'index\\.php\\?title=|index\\.php/|' + preTitles + '|index\\.php\\?title=' ; }
- instead of this :
function setTitleBase() { pg.wiki.articlePath='/wiki/'; pg.wiki.botInterfacePath = '/wiki'; if (pg.wiki.wikimedia) { pg.wiki.botInterfacePath = '/w' } else if (pg.wiki.wikicities) { pg.wiki.botInterfacePath = ''; } titletail = pg.wiki.botInterfacePath + '/index.php?title='; // other sites may need to add code here to set titletail depending on how their urls work pg.wiki.titlebase = location.protocol + '//' + pg.wiki.hostname + titletail; pg.wiki.wikibase = location.protocol + '//' + pg.wiki.hostname + pg.wiki.botInterfacePath; } ////////////////////////////////////////////////// // Global regexps function setMainRegex() { var reStart='[^:]*://'; var preTitles='wiki/|w/index\\.php\\?title='; if (!pg.wiki.wikimedia) { preTitles = 'wiki/index\\.php\\?title=|wiki/index\\.php/|' + preTitles + '|index\\.php\\?title=' ; }
- But it still don't work. I've tried also many combinations without success.
- If only you could explain how to fix the setTitleBase and pg.wiki.wikibase variables or customize the code on a site without /wiki or /w, it would be very nice... --Henrique Diaz 11:39, 22 April 2006 (UTC)
- Thanks for your message - there are certainly some bugs in my code above that mean you'd have a hard time getting this to work. I've changed these functions in User:Lupin/popupsdev.js, so perhaps you could try there. I think you should only have to change one line: change
var articlePath='wiki';
tovar articlePath='';
. If you have an unusual bot interface path (the ones with title= in) then you'll have to change that variable too. Lupin|talk|popups 16:54, 22 April 2006 (UTC)
- Thanks for your message - there are certainly some bugs in my code above that mean you'd have a hard time getting this to work. I've changed these functions in User:Lupin/popupsdev.js, so perhaps you could try there. I think you should only have to change one line: change
- Thanks too for your answer, but it still doesn't work... I've also suppressed, in a second time, the "w" in botInterfacePath, because the installation of this site is in its root (not in a /w directory...), but it doesn't work too. And on my other site, with /wiki/ and /w, the main links work but still not the red and the diff and hist ones. It seems other parts of your code ask it, so it doesn't work for sites with different datas. The "strange thing" is that on my /wiki/ with site, the links with "index.php?title=" (like red ones) don't work but the others do, and on the /wiki/ less site, only the links with "index.php?title=" work (like red, diff. etc.). You can test it if you want on http://www.tj-encyclopedie.org/Special:Recentchanges because I've installed NP on MediaWiki:Monobook.js...
- It looks like you've gone back to the old, buggy code on that site you mentioned. Could you use the newer code so that I can figure out what's wrong? Lupin|talk|popups 14:38, 23 April 2006 (UTC)
- All right, now I've put the dev version back without 'wiki' and 'w' on tj-encyclopedie. And I'm going to put it also on the spinozaetnous.org/w site : I still can give you admin rights on one of these sites if you need. --Henrique Diaz 15:16, 23 April 2006 (UTC)
- Thanks. I've made another fix in popupsdev.js, so please try that again. Lupin|talk|popups 16:23, 23 April 2006 (UTC)
- Wonderful, it works at least on the site without 'wiki' ! But, there is always a but, when you hover on a link in a popup, there are bugs :-( And on the spinoza's site with 'wiki', the diff and hist links still don't work... But thanks a lot anyway for your work of general interest ! --Henrique Diaz 17:51, 23 April 2006 (UTC)
- Thanks. I've made another fix in popupsdev.js, so please try that again. Lupin|talk|popups 16:23, 23 April 2006 (UTC)
- All right, now I've put the dev version back without 'wiki' and 'w' on tj-encyclopedie. And I'm going to put it also on the spinozaetnous.org/w site : I still can give you admin rights on one of these sites if you need. --Henrique Diaz 15:16, 23 April 2006 (UTC)
- It looks like you've gone back to the old, buggy code on that site you mentioned. Could you use the newer code so that I can figure out what's wrong? Lupin|talk|popups 14:38, 23 April 2006 (UTC)
- Thanks too for your answer, but it still doesn't work... I've also suppressed, in a second time, the "w" in botInterfacePath, because the installation of this site is in its root (not in a /w directory...), but it doesn't work too. And on my other site, with /wiki/ and /w, the main links work but still not the red and the diff and hist ones. It seems other parts of your code ask it, so it doesn't work for sites with different datas. The "strange thing" is that on my /wiki/ with site, the links with "index.php?title=" (like red ones) don't work but the others do, and on the /wiki/ less site, only the links with "index.php?title=" work (like red, diff. etc.). You can test it if you want on http://www.tj-encyclopedie.org/Special:Recentchanges because I've installed NP on MediaWiki:Monobook.js...
- Concerning another point, I did'nt access the user menu when hovering on a user link, because my site is in french so I've translated the function setNamespaceList, and now it works. Here is this translation for now : http://spinozaetnous.org/wiki/Utilisateur:Henrique/popups.js (it might be usefull to put it on fr: because I have'nt managed to use the Gounioul's string, for a french translation...). Henrique Diaz 10:20, 23 April 2006 (UTC)
- I... can't make this work. I don't have access to a JS console - do you have an IM service, lupin, so I can talk to you in real time about this? ℑilver§ℑide 06:51, 17 April 2006 (UTC)
LupinBot
How does LupinBot's maps work? Computerjoe's talk 15:26, 7 April 2006 (UTC)
- There's no magic there - I generate a map and then I upload it. Lupin|talk|popups 03:31, 10 April 2006 (UTC)
Trouble with your script from bugzilla:2115
Hello there, mate. This isn't a big deal, so if you're busy, don't bother about it, all right? It's about your script here, used to allow for shift-selecting. It works great, but that's not the trouble. The thing is that when I added it to my .js file (User:Blackcap/standard.js, I use the Classic skin), it removed my link to Kate's Tool. I'm no java wizard, so I'm afraid I don't know what to do about it, but I reckoned I'd just let you know about the bother. Take care, and thatnks for all your scripting work, Blackcap (talk) 17:38, 7 April 2006 (UTC)
- Note: I just tried the same script in monobook, and the same thing happened (see [78]). Blackcap (talk) 17:42, 7 April 2006 (UTC)
- This script is installed site-wide, so it should just work without you having to do anything. On the other hand, you've pasted in a patch (instead of javascript code) into your monobook.js which will cause javascript errors and probably stop all javascript things working for you. You should revert your changes and try again. Lupin|talk|popups 04:38, 8 April 2006 (UTC)
Popups "search" request
The sinceMe and lastContrib links in PopUps work great—these are definitely the links I use the most. So now I have another suggestion...
I would like a "search" link in PopUps to be displayed for red links (empty pages). It should go directly to the search page in a new window. Ideally, if the search page supports passing these as parameters, it should automatically check the box for the namespace used by the link so that namespace is included in the search. This probably isn't needed for User and User talk namespace red links, although I suppose there isn't any reason to specifically make it not work for these.
The rationale for this is that I frequently will open the page for a red link just to get at the search link on the create page. Often, I'm looking to see if there is an article so that I can either fix the red link or create a redirect. This would probably become my third most used link. :-) —Doug Bell talk•contrib 19:38, 7 April 2006 (UTC)
- If you use menus (not available in internet explorer) then there's already a search link in the actions menu. Would you like that link in the version without menus? Lupin|talk|popups 04:42, 8 April 2006 (UTC)
User greeter
Can you help me debug this nifty script you wrote? The problem seems to be in line two - the userName() function no longer works for some reason. Thanks! --M@thwiz2020 00:28, 29 March 2006 (UTC)
- I've made some (untested) changes to your greeter script script. userName() was defined in the popups script, and doesn't exist any more as I'm try to go a bit more OO. Lupin|talk|popups 02:43, 29 March 2006 (UTC)
- Sorry about the long delay before my response - I forgot I asked you! Now I'm getting an error saying that talkPage is undefined. --M@thwiz2020 17:43, 2 April 2006 (UTC)
- Oh, and sorry to bug you, but MediaWiki added a new preference, "Add pages I create to my watchlist." For convience, I want this on, yet having it on makes user greeting a hassle. Hence, can you please add an "autowatch" feature to autoedit.js? I drafted such a change in this edit and then reverted it. All you have to do to implement the change is revert autoedit.js to this version, which has the change. Thanks! --M@thwiz2020 20:25, 2 April 2006 (UTC)
- I think I've fixed the talk page problem by making it "article: user.toTalkPage()" but I'm not sure, so can you please check? Now, I'm getting another error, this time in your code (popups.js line 5445). In function titledWikiLink(l), l.article.urlString() "is not a function" according to Firefox. --M@thwiz2020 20:35, 2 April 2006 (UTC)
- I've had another go at this. Lupin|talk|popups 04:01, 10 April 2006 (UTC)
- Thanks a lot! I just had to change one thing (so that it would say, for example, "Welcome Lupin" instead of "Welcome User:Lupin") but it works really well now! Just one more thing - every time I greet a user (as described above in this section), it adds it to my watchlist. Could you please implement the one change I proposed above (paragraph four of this section)? I think you would also have to change popups.js since that file includes autoedit.js. Thanks again! --M@thwiz2020 14:56, 10 April 2006 (UTC)
- Hm, odd. You already have "autowatch" enabled in popups.js (but not because of my request - it was already there), yet it is disabled in autoedit.js... Well, I don't use autoedit.js, only popups.js, so I don't mind, but you might want to look into why they are different. Thanks for all your help! --M@thwiz2020 23:49, 11 April 2006 (UTC)
- Thanks a lot! I just had to change one thing (so that it would say, for example, "Welcome Lupin" instead of "Welcome User:Lupin") but it works really well now! Just one more thing - every time I greet a user (as described above in this section), it adds it to my watchlist. Could you please implement the one change I proposed above (paragraph four of this section)? I think you would also have to change popups.js since that file includes autoedit.js. Thanks again! --M@thwiz2020 14:56, 10 April 2006 (UTC)
- I've had another go at this. Lupin|talk|popups 04:01, 10 April 2006 (UTC)
- I think I've fixed the talk page problem by making it "article: user.toTalkPage()" but I'm not sure, so can you please check? Now, I'm getting another error, this time in your code (popups.js line 5445). In function titledWikiLink(l), l.article.urlString() "is not a function" according to Firefox. --M@thwiz2020 20:35, 2 April 2006 (UTC)
- Oh, and sorry to bug you, but MediaWiki added a new preference, "Add pages I create to my watchlist." For convience, I want this on, yet having it on makes user greeting a hassle. Hence, can you please add an "autowatch" feature to autoedit.js? I drafted such a change in this edit and then reverted it. All you have to do to implement the change is revert autoedit.js to this version, which has the change. Thanks! --M@thwiz2020 20:25, 2 April 2006 (UTC)
- Sorry about the long delay before my response - I forgot I asked you! Now I'm getting an error saying that talkPage is undefined. --M@thwiz2020 17:43, 2 April 2006 (UTC)
Interwiki links popups
Hi Lupin,
How hard would it be to make popups preview interwiki links? This way i can hover the mouse over interwiki language links and preview foreign language pages without clicking on them. What would be even greater is that i will be able to generate pages of interwiki conflicts and the user will easily be able to browse pages by moving their mouse. Thanks!
P.S. I left a similar message for Pilaf - wasn't sure who is maintaining the popup code.
--Yurik 19:37, 8 April 2006 (UTC)
- It'd be pretty hard, I think. Javascript code can only (easily) access data from the exact same hostname as the webpage on which it runs, so popups running on en.wikipedia.org can only access stuff on en.wikipedia.org. (The usual way around this is to have a proxy script that forwards data from other hosts, but I'd be surprised if the devs were amenable to this idea). Lupin|talk|popups 21:01, 8 April 2006 (UTC)
- The aliases are different, but the hosts and IPs – or at least the clusters – are the same. For example,
eddi@igel:~> host en.wikipedia.org en.wikipedia.org is an alias for rr.wikimedia.org. rr.wikimedia.org is an alias for rr.knams.wikimedia.org. rr.knams.wikimedia.org has address 145.97.39.155 ... eddi@igel:~> host fr.wikipedia.org fr.wikipedia.org is an alias for rr.wikimedia.org. ... eddi@igel:~> host ur.wikipedia.org ur.wikipedia.org is an alias for rr.wikimedia.org. ... eddi@igel:~> host zh.wikipedia.org zh.wikipedia.org is an alias for rr.wikimedia.org. ...
- Also, if everything else fails, can the GreaseMonkey be of any help? Most people who would be using it are tech-savvy enough to install firefox+grease monkey+whatever java script it needs. --Yurik 02:04, 10 April 2006 (UTC)
- Hi, I researched greasemonkey a bit, and it seems that I can very easily make an xmlhttprequest wraper object for you, or provide a different one for you to use. In other words, you can continue using XMLHttpRequest to get data, except that now it will allow the popup script to get data from other domains. All the security checks will have to be implemented by the greasemonkey script. See this blog entry for details on security bypass. Can you change the popup script to allow all languages of the current family (or maybe even all the links to ANY similar sites -- wikipedia, wikibooks, dictionary, etc.) - and just handle the security error gracefully (in case the greasemonkey script is not installed)?
- Thanks much! --Yurik 00:11, 17 April 2006 (UTC)
- This can be accomplished in two parts - the script can be configured to be executed only while browsing *.wikipedia.org/, and it can be altered to check the queries' destination and limit that. Also, would you be interested in using the new wiki interface at http://en.wikipedia.org/w/query.php ? It might give you some useful data for the dropdowns. Message me if you would need it changed. --Yurik 12:37, 26 April 2006 (UTC)
Editors link in popups
The "editors" link makes a list of editors who have contributed to an article – that is, an article at en.wikipedia.org, because the editor listing script doesn't seem to take dbname as an argument. I suppose you can't fix this directly in the popup script, but if or when the editor listing accepts the extra argument you'll probably want to have it in the popup script, too. --Eddi (Talk) 23:17, 10 April 2006 (UTC)
- Good call. I should probably remove this from popups when they're not running on en. Lupin|talk|popups 01:46, 11 April 2006 (UTC)
Bug in User:Lup/recent.js
I'm using IE 6.
I'm getting a script error. Unfortunately, I copied and pasted it from script debugger, but it got lost in the buffer. If I find it again, I'll let you know.
Ta bu shi da yu 08:13, 11 April 2006 (UTC)
edit count on commons
When clickling the "count" link to access a user's edit count from a popup on en, you are taken directly to the page that displays the edit count for that user on en. When you do the same on Commons it just takes you to the edit counter page where you have to enter the username and wiki manually. Could the Commons behaviour be adjusted to match the en behaviour? Thryduulf 08:21, 11 April 2006 (UTC)
Popupkeys bug
Lupin: I'm using your section navigation javascript dohickey (the one which moves via j and k), and I've noticed that under cologneblue (at least; I have yet to test any of the other skins), the j and k keys are grabbed even when one is typing in the search box. If there is a searchbox under the tabs, then that one can be typed into alright, but the one on the upper left, in the sidebar, is useless for anything spelled with a j or k. --maru (talk) contribs 18:26, 11 April 2006 (UTC)
- Oh yes: I'm using Firefox 1.5.0.1 under Windows XP. --maru (talk) contribs 18:28, 11 April 2006 (UTC)
- The bug seems to be fixed now. And I should be thanking you! (You know, for a while there I thought your fix was ineffectual, until I remembered that it was one of those copy-and-paste installations, and that it wouldn't automatically update like the popups does.)
- That said, either a new bug has introduced itself or I didn't notice an old bug- but I can't seem to type js or ks into the edit summary box. Oy vey! --maru (talk) contribs
Delay results
Is there any way to build in a delay of about 2 minutes for your anti-vandalism tool? So that IP edits that are reverted within the first minute won't be displayed. This way your tools can be better utilized for what it excels at; picking up more subtle vandalism that could be missed by bots and CDVF users. I understand it may involve asking developers for system resources; but until we begin establishing stable articles I think this is really important. Other smaller suggestions I'd have is to default Hide talk pages on, and add another option "Auto toggle results". - RoyBoy 800 18:56, 12 April 2006 (UTC)
- By auto toggle, do you mean that you want the option to have all the output expanded as it is loaded, instead of being hidden initially? Lupin|talk|popups 21:35, 14 April 2006 (UTC)
- I've implemented the delay - this is a great idea! Thanks for the suggestion. Lupin|talk|popups 01:30, 18 April 2006 (UTC)
Redirects from See Also intro.
I really like the ability to correct links to disambiguous pages with a single click, it's making editing a lot faster. I was just wondering if it was possible to add the feature to allow me to automatically change the links that point to non disambiguous pages that have a "This article is about the whatsit foo, for the thingamabob, see foo (bar)." It would be useful to be able to disambiguate the link to foo (bar) right away. (For example, Revolutions per minute has an intro link to Revolutions Per Minute (album) so when I found a link to the album as Revolutions Per Minute, it would be useful to be able to automatically fix it, instead of having to go in and manually do it.) I notice that the script cuts out any lines like that at the start of the article, so it looks like the program could check for any links in that section an give them as disambiguous options, that's just an option I see, without knowing all the programming details.
On a more ambitous note, it might be useful, if it points to foo (disambiguous), to pull up all the links on foo (disambiguous) as well, but that might be a bit much.
Thanks for a very useful tool. --Nekura 21:40, 13 April 2006 (UTC)
Oleg's edit summary counter
Hi! Would it be useful to have Oleg's edit summary counter (cgi: [79]) in the popups? I'm not sure if it takes arguments via URLs, but you can at least specify username and project once you're there. --Eddi (Talk) 23:51, 13 April 2006 (UTC)
- Unless it's possible to specify the user from a link in the popup, I don't see the point to be honest - a browser bookmark seems more appropriate to me. Lupin|talk|popups 21:35, 14 April 2006 (UTC)
- Sorry, I didn't check properly. It takes the language and user name as URL arguments: http://www.math.ucla.edu/~aoleg/wp/rfa/edit_summary.cgi?lang=fr&user=Lupin (your name twin?) --Eddi (Talk) 03:21, 15 April 2006 (UTC)
Feature request for popups: history preview
Hi, I love your popups, thanks a bunch! I have one feature request: when checking my watchlist, I find myself constantly clicking on history links, because the watchlist only shows the last change and I need to know if any earlier changes occurred that I might have missed. It would really help if hovering over the (hist) link would bring up a popup with the article's history. The same should obviously happen for all links that contain "&action=history". Thanks again and cheers, AxelBoldt 16:14, 15 April 2006 (UTC)
- This feature is now in the dev version. Let me know if you can see ways to improve it! Lupin|talk|popups 04:09, 27 April 2006 (UTC)
- Heh, glad you like it :) Actually User:Yurik deserves most of the credit for writing his wonderful query.php extension which made this pretty easy to write, and accounts for its snappiness. Lupin|talk|popups 02:26, 28 April 2006 (UTC)
My best to Yurik as well!
I experienced a most bizarre bug while testing the new feature in my watchlist. Part of the watchlist is shown in Image:Histbug1.jpg. At the time, the entry for the Periodic table ("PT") was just above Wikipedia talk:Requests for adminship ("WT:RFA"), and when I hovered over the PT history link [80] I got a popup with the PT title and the WT:RFA history [81]. This is shown in Image:Histbug2.jpg. To say the least I was amazed! Guess you're working on it already... (popupsdev.js, suse 10.0, firefox 1.0.8) --Eddi (Talk) 04:14, 28 April 2006 (UTC)
Elsewhere
Is it possible to convert this for use on mediawiki projects not on wikimedia's servers? I quite despise them; and have more than a few wikis out there not to mention a rather large project that could much benefit from your javascript. Care to share? ℑilver§ℑide 19:37, 15 April 2006 (UTC)
- Please see above: #The use of NP on another wiki. Lupin|talk|popups 23:37, 15 April 2006 (UTC)
Popups problem
Firefox javascript console keeps showing that pg and log are undefined in popups.js. I see that both are defined but via window (window.pg = ...). If you call them instead as window.pg in the script instead of just pg, will that work? --M@thwiz2020 20:50, 15 April 2006 (UTC)
- The two forms (with and without window) should be largely equivalent. I don't know what causes this sort of error, it's very irritating. Please try clearing your cache and reloading to see if the problem disappears. Lupin|talk|popups 23:39, 15 April 2006 (UTC)
Arabic Wikipedia
Hi. Does the pop-up navigation tool work in the Arabic Wikipedia? Because I tried it more than once and it doesn't work. Can you please check if it's possible for me to use it . Thanks. ~MK~ (talk) 01:22, 16 April 2006 (UTC)
- It works for me on that wikipedia. What's your browser? Did you clear your cache and reload? Lupin|talk|popups 04:12, 16 April 2006 (UTC)
Browser crash with Opera 8.51
Hey, Lupin. I started using the Navigation pop-ups and liked it so much that I translated it to Icelandic, from Eddi's Norwegian Bokmål version. But the problem is that I use Opera 8.51 and it keeps crashing after I started using the pop-ups. I saw farther up that a user changed from 8.52 to 8.51 and solved his crashing-problem. I run Windows ME. Do you have any clue what my problem could be? --Jóna Þórunn 19:27, 17 April 2006 (UTC)
- Sorry, I don't know specifically what causes crashes. Since javascript shouldn't be capable of crashing a browser, you're clearly seeing a bug in Opera. I suggest you upgrade to a more recent version. (Incidentally, Opera 9 should cope with the menus, so if you're feeling brave you could try a beta and set popupStructure='menus'). Lupin|talk|popups 23:21, 17 April 2006 (UTC)
- Oh, I forgot to say - thanks for the translations, it's much appreciated! Lupin|talk|popups 23:22, 17 April 2006 (UTC)
- Well, thanks anyway. I'll wait and see. :) --157.157.161.144 21:34, 19 April 2006 (UTC)
Few more tweaks to tool
Could you put ---- between edits for easier visual flow, and perhaps header info on the bottom of the edit. Latter is not a priority as its only pertinent to big vandalism, which should be reverted via IRC and CDVF anyway. - RoyBoy 800 05:47, 18 April 2006 (UTC)
- The vandalism at Limestone was rv by Tawkerbot2 but showed up on the Lupin tool with four updates enabled.
Also I was wondering if the already reverted behavior could be tweaked to no pop-up. Perhaps if its already reverted, could it simply redirect the pop-up to a Current version like this. That way you could distinguish still between what you reverted and what was taken care of already.Nevermind, pressing enter is easier than closing a bunch of windows. - RoyBoy 800 17:14, 18 April 2006 (UTC)
- Oh yeah, and when you click Warn on a user; can the article title be copied to the clipboard, so that when I paste into my warning prompts I don't have to go back to the Lupin window/tab to copy the article title. - RoyBoy 800 17:17, 18 April 2006 (UTC)
- Please exclude Wikipedia Intro page, Sandbox page and other pages anons are encouraged to edit. - RoyBoy 800 03:12, 20 April 2006 (UTC)
Thank You
It took me some time to get its working but I finally managed it. Popups is really a great tool and makes tedious things quite easy. Good Work! bandan 09:36, 19 April 2006 (UTC)
watchlistDumper.js
How does it work? Betacommand 02:33, 20 April 2006 (UTC)
- Instructions for usage are at the top of User:Lupin/watchlistDumper.js. Lupin|talk|popups 18:32, 22 April 2006 (UTC)
- I tryed that it didnt work can you give me a examle URL or advice? thanks Betacommand 23:22, 22 April 2006 (UTC)
- thanks I got it to work but not in FireFox I had to use Internet Explorer StopIE.com :) Betacommand 04:41, 23 April 2006 (UTC)
Orphaned & unused dotty maps north of the border
Hello, I thought I would give you a quick run down of the situation for your maps in Scotland. As a result of discussion on infobox map standardisation here a wee while ago your maps are generally not being used now. Rather than just going ahead and putting a lot of maps up for deletion I thought I would let you know first. I don't know if you want them kept for continuity (given the very large number of maps already in the category). There has been some comment on this issue here over the last few months. If you don't have any problems with the IFD then I will just work through the category putting orphaned Scottish maps up for deletion. SFC9394 21:40, 21 April 2006 (UTC)
- Could these maps be profitably transwikied to the commons? I've not got any major objections to their deletion if they're orphaned, though. Lupin|talk|popups 18:28, 22 April 2006 (UTC)
Popup Tool
Does the popup tool work for Wikia, or is it only for Wikipedia?—G.He(Talk!) 23:20, 22 April 2006 (UTC)
- It worked with wikicites, so I think it should once I update the name! Lupin|talk|popups 15:01, 23 April 2006 (UTC)
Popups bug when mousing over link at bottom of browser window
I have not searched through all the talk archives; please feel free to point me there if my question has been answered already. I would, however, recommend that we made a central list of bugs---those discovered/reported, those in the process of being fixed, and those which have been fixed---so as to reduce the amount of questions like this one (or is there such a list already: if so, tell me!). Anyway; thanks for a great tool, which saves me a lot of time checking minor edits on my watchlist!
Yup, I get strange behaviour (with IE) when I let the mouse pointer hover over a link positioned close to the bottom of the browser window: the popup "post-it window" is cut short at the browser window border. This doesn't seem to be a problem with links placed to the extreme right, say---there, one gets the expected behaviour, i.e. the popup is placed into the browser window so that the entire popup window displays OK. Any comments? --Wernher 01:43, 23 April 2006 (UTC)
- Known bug that I still haven't fixed... as a workaround, you can shift-drag the popup into the window or possibly scroll down with your mousewheel (works in firefox). Lupin|talk|popups 15:04, 23 April 2006 (UTC)
Pop-ups
Would it be possible in your pop-ups extension to have an automated way to insert {{welcome}} onto a users talk page, just by hovering over their user page link? It would make it easier to welcome users---say you see a contributing user through the revision history. You could then just hover over the link, and select welcome, without ever leaving the page. Is this possible, and would you be willing to add it, if it is?
--Primate#101 01:40, 24 April 2006 (UTC)
- Mathwiz2020 has something like this here. It'd need adapting slightly, but I'm sure he'd be happy to help you to do so. Lupin|talk|popups 04:26, 24 April 2006 (UTC)
whois link
Hi Lupin, the popups now contain an "ARIN lookup" function; whould it be possible to use for example http://whois.domaintools.com/ to facilitate lookup of non-ARIN registry IP-adresses? Cheers, NielsFTalk to me.. 17:48, 24 April 2006 (UTC)
Problem with popupFixDabs
Hi. I made the translations for the pop-up navigation tool for the Arabic Wikipedia. It's great even though it has some bugs. Anyway, can you tell me how I can use option that fixes the links to disambiguation pages there? It works for the , but not for the . That's what I discovered after using the {{disambig}} instead of it. ~MK~ (talk) 15:10, 25 April 2006 (UTC)
Bug in popups
Hi, I've only now seen your request for bug reports to be filed here, sorry. Could you kindly have a look at this, nevertheless? --DerHerrMigo 09:03, 26 April 2006 (UTC)
proofread request for MediaWiki Javascript instruction
I stumbled onto this rather incomplete passage in my further travels shortly after activating your wonderful navpop.
http://meta.wikimedia.org/wiki/Help:User_style#Javascript
First I pointed out to the originating source that the "hook" for this technique is not presented (it was lost during a content split). You can see my comment here:
http://en.wikipedia.org/wiki/User_talk:Timwi#catsattop.28.29
Then as I learning things while making user JS work on my personal wiki, I added the "system requirements" passage. It's probably full of caca. You're obviously light years ahead of me in your Javascript expertise, perhaps you could proof/fix/gut my contribution or draw attention to someone else who can. MaxEnt 05:14, 27 April 2006 (UTC)
Horray for history popups
Nice work! Seems to be working fine :).Voice-of-AllT|@|ESP 06:34, 27 April 2006 (UTC)
Auto Edit
I was wondering how you coded the "auto-edit" thing. I have pop-ups installed, and I wanted to be able to create a script to change my status template (eg. I click on "in" and it automatically replaces my current status with "in"). It would make my life a whole lot easier.
Thanks. --Primate#101 00:46, 28 April 2006 (UTC)
- I did this for Celestianpower - see User:Lupin/alltalk#2_questions and related discussion on that page. Lupin|talk|popups 01:59, 28 April 2006 (UTC)
- Thanks, Lupin. I figured out that by piping the first regexp: http://en.wikipedia.org/wiki/User:Primate/Status?action=edit&autoedit=s_\bin%7Csleeping%7Clater%7Cwikibreak\b_out_&autosummary=Changed%20Status&autoclick=wpSave&autominor=true
I'm able to convert the first occurence of any of those words to the word I want. That way, even though I have multiple status words, it still works.
Again, thanks!
--Primate#101 03:36, 2 May 2006 (UTC)
P.S. I put the links on my Mozilla Firefox Bookmark Toolbar. On click, and my status is changed!
Improvements for Popups ?
Hi again Lupin, I think I found two bugs or improvements that could be done...
- Previewing Anchors with <div id=""> or <span> doesn't work, though it works for the <ref> notes (that generate <a href="">), they only preview the top of the page : exemple with unworking anchors, exemple with working notes. Note that in the first example, I can't use the <ref> tag.
- When I use the header's anchors, (exemple, see first links), the ''text'' in italics isn't displayed, knowing the words in '''bold''' work. In fact, it seems also not to work half of the time on normal pages.
Do you think there could be any solution concerning these problems ?
And as I stand still, isn't it possible to envisage any solution concerning the diff problem and the second level of links I spoke about ? Thanks. --Henrique Diaz 18:23, 28 April 2006 (UTC)
The Holy
Here are some awards for editing The Holy.
General Eisenhower 17:52, 29 April 2006 (UTC)
I wrote a new tool for edit pages. Testers and comments welcome :) Zocky | picture popups 21:57, 1 May 2006 (UTC)
Firefox blocking - for recent edits
After about a dozen updates or so Firefox will start blocking new windows. I have en.wikipedia.org allowed, and have even disabled pop-up blocking entirely and then restarted Firefox. Still does it. This began occurring recently; as before I could use it for hours on end without being blocked. Might have to do with the Firefox 1.5.0.2 update on April 13th? - RoyBoy 800 18:55, 2 May 2006 (UTC)
- Does this happen with other websites that open lots of popup windows? Maybe it is connected to the firefox upgrade. Lupin|talk|popups 23:01, 2 May 2006 (UTC)
Warn
On your RC filter, what does the warn button do? Great job with it by the way. --pevarnj (t/c/k ) 19:43, 3 May 2006 (UTC)
- Please see User:Lupin/alltalk#Warn (Filter Recent Changes) and elsewhere on that page for an explanation. Lupin|talk|popups 03:38, 4 May 2006 (UTC)
Talkpage-archival
As you have a very high-traffic user-talk page, you probably have problems with archival. I've just written and had approved an extension for Werdnabot that will manage and archive any sections older than a preset value to a specified page. For more information as to how to mark your user talk page for archival, please contact me on my user-talk page. Werdna648T/C\@ 01:41, 4 May 2006 (UTC)
Please add new messages to the bottom of this page. You can do this by using this link.
I will usually respond on this page.
More requests
- It would be nice to include a small time delay, say 100ms, to avoid excess page requests when one is merely passing over a link.
- It would also be nice if hovering an image didn't cause the image itself to load again in thumbnail form...
- When viewing diffs on the history, popups on the revision links are bad. :) This might be mitigated by the first item above, but it's not hard to just not pop up on them.
I can implement these if you don't have time. :)
-- Taral 23:09, 1 December 2005 (UTC)
- I agree with the time delay. This
should be easy to do, so I'll do that.is not quite as easy as I'd thought, so I'll leave that to you :-) - I think that, useless though it seems, it'd be nice to keep the current behaviour of including the image in the popup as a visual cue. However, the script should use a scaled version of the image already loaded on the page rather than fetching a smaller version, I agree. There should also be an option to disable images when hovering over visible images. If you'd like to implement this, I'd appreciate it.
- I like the popups on revision links, since it lets you do stuff like reversion, editing old revisions and so on. The preview is also useful for locating page blanking vandalism. If it really annoys you, you could implement an option to turn them off.
- I agree with the time delay. This
- Thanks for the offer of code! Lupin|talk|popups 23:31, 1 December 2005 (UTC)
Okay, I created http://www.taral.net/popups.js as a schematic for the delay code. Does that help? The existing popups code is crufty enough that I don't want to edit it directly for fear of breaking it. -- Taral 21:41, 9 December 2005 (UTC)
- Thanks. I tried to implement your suggestion - here is my diff. It nearly works, but the problem seems to be that mouseout events are not always generated on my (fairly slow) computer when you move the mouse rapidly across links. This means popups are generated when they shouldn't be with this approach as the timer is not cancelled. Lupin|talk|popups 22:36, 9 December 2005 (UTC)
That patch seems right. Hm, missing mouseout events would be browser bug, so you'll need a workaround. It looks like overLIB provides a means for you to check that the mouse is still over the link at the time the timer fires. That would avoid excess popups. (Also, the "window.xyz = function" changes shouldn't be required, as far as I can tell.) -- Taral 01:08, 23 December 2005 (UTC)
Oh, another note... ideally you would want to capture the popup's mouseout event for dismissal, instead of polling every 500ms. Reduces browser CPU, increases interactivity, etc. Not sure if that's possible, though. -- Taral 01:11, 23 December 2005 (UTC)
2 questions
Sorry to bother you, but I have 2 questions.
- How easy would it for me personally to have the one with the "actions" and "user" drop down menus rather than the sprawling links?
- What would be the code to edit a page, then auto-submit it via a tab? Just a shell of a code would be fine, I'm sure I can modify it to my needs :)
Thanks so much in advance and I love the p[opups tool so much: and use it all the time :) --Celestianpower hablamé 16:17, 2 December 2005 (UTC)
- If you use a mozilla-based browser, pretty easy: remove the line popupStructure='original' from your monobook.js (or change it to popupStructure='menus' to force the change in all browsers, although it's almost certainly going to fail in IE). The menus also work in opera (with glitches) and perhaps in konqueror, but I know of no other browsers in which they work.
- When you're using the popups, going to a page like this:
http://en.wikipedia.org/wiki/Wikipedia:Sandbox?action=edit&autoedit=s_teh_the_gi&autosummary=spelling%20correction&autominor=true&autoclick=wpSave
- Yeah - that is what I meant but I don't understnad fully. I've been thinking about using it for adding {{test}} templates to talk pages and also for changing my status page. More explanation would be appreciated so much. :) --Celestianpower hablamé 22:37, 3 December 2005 (UTC)
- OK, here's the skinny on autoedit urls. Your url should be a normal edit url, such as
http://en.wikipedia.org/wiki/Pagename?action=edit
- followed by one or more of these, separated by ampersands (&):
- autoedit=autoeditstring (see later)
- autosummary=summary, gives the edit summary summary (a string not containing an ampersand)
- autominor=true or autominor=false - marks the edit as minor, or not
- autoclick=button - automatically clicks button. Common choices are wpSave, wpDiff (show changes), wpPreview
- The autoeditstring is what does the work. This looks something like a list of sed commands. The general format is
s/foo1/bar1/flags1;s/foo2/bar2/flags2; ...
where the foos are regexps to be replaced, and the bars are the replacements. The flags are lists of characters which affect how the match is made, for example 'g' for global (replace all matches, not just the first), 'i' for case-insensitivity and so on. Also, the forward slashes can be replaced with any other character. Use \n for a newline. For example, using
autoedit=s#$#\n{{subst:test1}} ~~~~#
- as in
http://en.wikipedia.org/wiki/User_talk:Waterspyder?action=edit&autoedit=s#$#\n{{subst:test1-n|Richard Chase}} ~~~~#&autosummary=Your recent edits
- should get you the test1 warning appended to the end of a page. I'm not sure what your background is, so please holler if you need more examples or explanation. If you haven't seen them before, you should read a little about regexps. The regexp dialect is that of javascript. Lupin|talk|popups 22:58, 3 December 2005 (UTC)
- Right, okay. How do I actually navigate to that link from a tab then? By the way, that menus thing that you said wroks, thanks! --Celestianpower hablamé 23:19, 3 December 2005 (UTC)
- You want to add a new tab? I'd suggest adapting existing code to do that, as found at Wikipedia:WikiProject_User_scripts/Scripts (for example Wikipedia:WikiProject_User_scripts/Scripts/Add_purge_to_tabs). Do you know any javascript? If not, let me know exactly what you want and I'll see if I can put something together. Lupin|talk|popups 00:19, 4 December 2005 (UTC)
- No, I've added the tab, I just want it to make the browser go to "http://en.wikipedia.org/wiki/User:Celestianpower&action=edit&autoedit=out/in&autosummary=I am in!&autoclick=wpSave" or "http://en.wikipedia.org/wiki/User:Celestianpower&action=edit&autoedit=in/out&autosummary=I am out!&autoclick=wpSave" when that tab is clicked.Sorry if I'm being very cryptic. I don't know any javascript but have picked it up fast and can modify code quite well. --Celestianpower hablamé 14:05, 4 December 2005 (UTC)
- Perhaps you missed it? ^^^ Heh... --Celestianpower hablamé 18:51, 5 December 2005 (UTC)
- Yes, I missed all this stuff/forgot about it :-) Sorry! You want to use something like
http://en.wikipedia.org/wiki/User:Celestianpower?action=edit&autoedit=s_\bin\b_out_&autosummary=I%20am%20out!&autoclick=wpSave
- This should replace the first instance of "in" (as a whole word - the \b denote word boundaries) with "out". For the reverse direction, you want
http://en.wikipedia.org/wiki/User:Celestianpower?action=edit&autoedit=s_\bout\b_in_&autosummary=I%20am%20in!&autoclick=wpSave
- These are case-sensitive as things stand. You may want to append &autominor=true to these, it's up to you. Lupin|talk|popups 03:13, 7 December 2005 (UTC)
- Could you take a peek at my monobook and tell me what I'm doing wrong? It doesn't seem to actually edit the page... --Celestianpower hablamé 17:14, 9 December 2005 (UTC)
popup suggestions
A couple of suggestions for the popups, the one I suspect is easier first.
- Could you add a link to the logs on the classic flat layout when viewing a user: e.g. hovering over the link to Thryduulf would take you to [82]. (I don't get on with the menu system, sorry!). A link to each type of log is only one click from that page, which is fine to avoid the necessity of lots of links.
- For image pages could you indicate what the license is. The way that is probably easiest to do this is just to display the list of templates on the page, as there are few cases where the license isn't included on a template. I don't know if this is possible if the image comes from commons? This will help with finding untagged images. Thryduulf 17:05, 2 December 2005 (UTC)
- This is easy, I'll put this in the dev version in a minute.
- This is not so easy, due to my brain-dead script design :-) It's a good idea, though, and certainly something I'll think about. Lupin|talk|popups 19:15, 2 December 2005 (UTC)
- Sorry to butt in. I've done this for my Picture Popups. The only sane way to do it was to change license templates so that they include the appropriate metadata. See {{image-license}} and its talk. Templates for the most common licenses have been standardized, but there's still some way to go. Zocky 20:06, 2 December 2005 (UTC)
Peer review
Amid an ongoing peer review of the article on The Care Bears Movie II: A New Generation, I would please like you to read my comments for its improvement, then examine the article as a whole and see whether you agree with me.
I'm asking you, because you started the article on the Care Bears a year before I joined Wikipedia (March 18, 2004). This is to ensure all hopes of its featured status in the near future.
Please leave your response on its peer review page by clicking the above link. --Slgrandson 17:24, 2 December 2005 (UTC)
"Touch" link
Hi Lupin. What do you think about adding a "touch" link? This link would perform a "touch" or "null edit" via autoedit. I looked into adding it myself, but the link generation stuff was a little complicated to make a simple change. The touch functionality is useful for working around certain MediaWiki bugs associated with the "What links here" functionality. You probably know, but it is done manually by making an "edit" with no changes and clicking "Save Page" without an edit summary. It seems like it would be a lot like the "Bypass redirect" functionality, except with no change or edit summary. Let me know what you think. Mike Dillon 19:37, 3 December 2005 (UTC)
- Coincidentally I added this a little while ago to the dev version, and I think it's now in the stable version too. It's at actions → null edit when you use the menus. Lupin|talk|popups 21:46, 3 December 2005 (UTC)
- Do you think it could be done in the background using XMLHTTP? I don't think it makes sense for the page to reload if you null edit something from a link. Mike Dillon 02:25, 4 December 2005 (UTC)
- Yes, this is a good idea, and it should be possible in principle. It's not so trivial to implement, since we probably have to take care of edit tokens and related things. Care to have a go? Personally, I'm happy to control-click to null-edit in a background tab, but I'll take a patch :-) This is as far as I got before I decided it seemed too much like hard work:
var poster=function(url) { downloader.apply(this, [url]); } poster.prototype=downloader.prototype; // inherit from downloader poster.prototype.setTarget = function () { if(!this.http) return null; this.http.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); this.http.open("POST", this.url, true); } function nullEdit(page) { var url=titlebase + page + '&action=raw'; var posterCallback=function(d) { var postUrl=d.url.split('&action=raw').join('&action=edit'); var p=new poster(postUrl, function () {alert('done');}); poster.setTarget(); poster.send(d.data); } startDownload(url, null, posterCallback); }
- Update/note to self: see User:Lupin/editblind.js for working code to edit pages in the background. Lupin|talk|popups 11:08, 4 January 2006 (UTC)
Rollback feature
Hey there,
I was wondering how your rollback feature adds a talk link after the IP address. My rollback button seems to only include the IP, but no talk link.
--Master Jay 01:13, 4 December 2005 (UTC)
- Hi, I don't think I did anything special. I think the software's changed so that all rollback links give summaries including the talk page. Lupin|talk|popups 01:25, 4 December 2005 (UTC)
- This message is set at MediaWiki:revertpage. The message was changed a few days ago to inlcude a link to the talk page. Thryduulf 02:46, 4 December 2005 (UTC)
Popups bug report - breaks extended EXIF data
Please can you have a look at bugzilla:4151. It appears that running the popups (I use the classic layout if that makes a difference) prevents the link "Show extended details" on the compact metadata table on image description pages from working. Thryduulf 02:46, 4 December 2005 (UTC)
- Thanks for the bug report. This should now be fixed in the latest version. Lupin|talk|popups 04:20, 4 December 2005 (UTC)
- Yes it is now fixed, thank you. Thryduulf 10:44, 4 December 2005 (UTC)
need admin help
I got a link for you. Please block Logoboy95 (talk · contribs) for vandalism. He has been adequately warned about removal of {{afd}} notices. — FREAK OF NURxTURE (TALK) 15:25, 4 December 2005 (UTC)
- Done. Lupin|talk|popups 15:29, 4 December 2005 (UTC)
- Thank you. I think I reverted nine offenses. — FREAK OF NURxTURE (TALK) 15:33, 4 December 2005 (UTC)
Siege of Edo / Wikipedia policy question
I generated the Edo stub by looking at other Wikipedia articles (namely "Hojo Ujitsuna" and "Uesugi Tomooki" (the two commanders at that battle)). That brings me to an important question. What is Wikipedia's policy on internal citation (i.e. citing other wikipedia articles)?
- Hm, I don't know. Maybe you could raise this question on the village pump? Lupin|talk|popups 20:54, 4 December 2005 (UTC)
Sources for Space warfare
Hello, good work on Space warfare, and thanks for the contribution. However, you forgot to add any references to the article. Keeping Wikipedia accurate and verifiable is very important, and there is currently a push to encourage editors to cite the sources they used when adding content. From what websites, books, or other places did you learn the information that you added to Space warfare? Would it be possible for you to mention them in the article? You can simply add links, or there are several different citation methods list at WP:CITET. Thanks! Lupin|talk|popups 20:06, 4 December 2005 (UTC)
- Thanks! I've added an external links section with a link to an article on Almaz that I refered to when writing the article. Best regards, CHAIRBOY (☎) 20:17, 4 December 2005 (UTC)
Joelle Leandre
Thanks for the message. You gotta have patience; it takes edits to get these things up and typically when I get these kinds of messages they come about 25-30 seconds after the initial page goes up. Good luck with your own work and articles. Badagnani 20:45, 4 December 2005 (UTC)
Comprehensive Smoking Education Act...However, you forgot to add any references to the article.
- no, I didn't actually. because the article is listed as a stub, that means that it is not a complete and referenced article for wikipedia. the article is waiting for other members of a distributed user swarm to participate. Please be bold in editing and contributing! TitaniumDreads 21:17, 4 December 2005 (UTC)
- it's a lot easier for the original contributor to list the references (s)he actually used to write the article. Adding references after the event seems the wrong way around to me -lupin
- One of the strengths of wikipedia is that millions of people can contribute in a way works best for them. Just because extensive references for an new article stub consisting of 1-2 sentences haven't been added after 2 minutes of its creation doesn't mean that it is destined as a candidate for deletion. The information is out there and it wants to be free, but these processes can take time. Thanks for your interest in tobacco litigation and regulation, if you would like to contribute start by googling the phrase "Comprehensive Smoking Education Act" and adding information and links as you see fit :) TitaniumDreads 21:32, 4 December 2005 (UTC)
- it's a lot easier for the original contributor to list the references (s)he actually used to write the article. Adding references after the event seems the wrong way around to me -lupin
Hello
Hi! Thanks for your message. However, i am a bit puzzeled, since i do not see how any of the things i have writen could be given referanced... The article is a basic stub so far, hardly having any claims at all. Care to give a example of something i could give a reference to?
Peace! --Striver 21:22, 4 December 2005 (UTC)
- Ah, now i get it. That was a mass-mail. Peace! --Striver 21:23, 4 December 2005 (UTC)
- Ok, thx, ill try :) --Striver 21:34, 4 December 2005 (UTC)
Sources
I'll add some sources regarding Jesuit Asia missions soon. Which articles in particular were you looking at? Thanks for your interest in this topic! --Dpr 21:55, 4 December 2005 (UTC)
I wrote the article on Papa Westray a long while ago. I remember I used the Rough Guide to Scotland as a source for most of the articles I wrote on Scotland. Other sources were a wide assortment of websites, but I wouldn't remember what most of them were. Warofdreams talk 22:32, 4 December 2005 (UTC)
Hello you left a message on my IP-based talk page. I got the information from Working Lunch, a BBC program who had a feature on the economy of the Island.
Striver's articles on Islamic Christianity studies
Lupin, I've been engaged in head-on conflict with Striver for months. I'm an uptight academic; he is ... well, the kindest term might be "free spirit". There is not, so far as I know, any recognized field called Islamic Christianity studies within the traditional Islamic curriculum. There is, however, a doctrine called al-tahrif al-lafzi, the corruption of the text, which says that differences between the accounts of Biblical history in the Qur'an, and such accounts as found in the Torah and the New Testament, are due to Jews and Christians having corrupted divinely revealed texts. Tahrif al-lafzi is discussed in the Quran article and also in Similarities between the Bible and the Qur'an. It would probably be considered a subset of the traditional Islamic sciences of tafsir and ulum.
As he often does, Striver seems to prefer not to work on already established articles (where he usually ends up in revert wars with the other editors), he just establishes his own articles on the same topic -- without consulting anyone. Instead of editing the Similarities article (which seems to have been extant for a long time and to have involved numerous editors, Striver has set up Islamic Christianity studies, Muslim comparative religionists, List of Muslim comparative religionists, Islamic view of the Bible, Islamic comparative religion, and so on. He sets up misspelled stubs which are either deleted or completely ignored.
What can be done? Myself, I'm in favor of setting a hard-coded limit on the number of new articles a user can create per month. Zora 23:07, 4 December 2005 (UTC)
- I think that you just have to accept that people who have very different positions to yourself will edit wikipedia, and that there's nothing you can or should be able to do to prevent that. On the other hand, unsubstantiated assertions and invented terminology should not be allowed to survive the wiki process. Thus I'd simply suggest that you nominate articles that you feel strongly don't belong in wikipedia for deletion once you've requested that the authors provide reputable sources, and seek mediation where necessary. Personally I would oppose setting limits on article creation - it's sometimes quite legitimate for an editor to create lots of articles at the same time. I have no knowledge of the topics you discuss; I merely stumbled across that article and noticed that it had no sources. Please take what I say with a large pinch of salt, though, as I'm not usually found embroiled in controversial topics. Lupin|talk|popups 23:18, 4 December 2005 (UTC)
Unref-talk
How does this new thing in your monobook.js work? I can seem to find any new links anywhere. — BRIAN0918 • 2005-12-4 23:34
RE: Pileni language
I'll see what I can find. It's been a while since I wrote that article. :-p Tomertalk 03:39, 5 December 2005 (UTC)
- Hey Lupin...I added the Ethnologue link to the article, and some additional links and info to the TALK page. Tomertalk 04:33, 5 December 2005 (UTC)
re: Cruiserweight
Yes, I should have added references then and I am trying to add them now whenever I start an article or add them to old ones of mine. But I'm unable to remember where I sourced that information for Cruiserweight except that it was from a boxing related website. So if you can find any references for it please go ahead. Rest assured, I'm adding sources to almost all my edits nowadays. Idleguy 04:21, 5 December 2005 (UTC)
Small request for popupsdev.js
popupsdev.js is a really useful script for our WikiProject, but I wondered if I could make a small request. As we get further into the project, a lot of the remaining links should not be linked to anything, so could you add an option to remove a link completely. This would be really useful and much appreciated! Soo 01:15, 6 December 2005 (UTC)
- Thanks for the request! I've had a go at this - the final link in the list of disambig targets should remove the link(s) on the page now. Do let me know about the inevitable bugs and if it can be improved. Lupin|talk|popups 01:48, 6 December 2005 (UTC)
- Frighteningly efficient! Thank you! Soo 11:34, 6 December 2005 (UTC)
Barry Geraghty
An anon. ip editor had added this info to this page, I simply moved it to its own article. Therefore can't help with the sources, sorry! Grunners 13:24, 6 December 2005 (UTC)
Rollback feature for RC feed
Hi, The rollback button in your little RC feed feature gives me a message "no rollback link found." Perhaps you've already addressed this issue, but nontheless, how (if possible) do I correct this, or, can you correct this? Thanks for your time. --Master Jay 02:26, 7 December 2005 (UTC)
- Hi, I'm afraid that rollback only works for admins. Are you an admin? Lupin|talk|popups 02:41, 7 December 2005 (UTC)
Impostor
User:Lupin2. — BRIAN0918 • 2005-12-7 04:15
another bug with the popups - redirect bypass script
I've noticed that if you access a page through a redirect, and you try to bypass a redirect on the target page, the script will try to edit the original redirect page instead of the proper one.
If what I said is confusing, here's an example: The page Planck redirects to Max Planck. If I accessed the page through Planck instead of the proper Max Planck, then the script will try to "fix" Planck instead of correcting the link on Max Planck. --Ixfd64 04:20, 7 December 2005 (UTC)
- Thanks! I believe I've fixed this in the dev version, although I'd welcome testing. Lupin|talk|popups 04:33, 7 December 2005 (UTC)
- The dev version seemed to stop working altogether a few days ago, so I switched back to the regular version. Did you fix that problem as well? Just curious. --Ixfd64 06:26, 7 December 2005 (UTC)
Sources for Splendid Isolation
Thanks for your note, you're going back a while though as its been a long time since I edited that article. The changes I made were based on common general knowledge obtained over a long time from a vaiety of sources. I don't have any specific references to note. There is a fair bit of work to do on that article though as it is still a bit simplistic. I don't really have much time to work on it, though if I have spare time I'll try, so if you have the time & inclination to please research the topic, edit the page & note your own references. AllanHainey 15:35, 7 December 2005 (UTC)
References for space warfare
Certainly! I've got a book on space warfare at home that, despite it's cold war bias towards describing American systems, seems pretty factual. Once I get home I'll look up the ISBN and add a reference.
--KharBevNor 16:29, 7 December 2005 (UTC)
Time trial bicycle is not really mine.
I did not write the original Time trial bicycle, I just added a stub cat to it. I have now also added a "unsourced" tag to it. 69.181.82.102 19:20, 7 December 2005 (UTC)
Citations? That's all just basic stuff that anybody who's dealt in recording knows. Thanks for the kudos though. I should make a graph too illustrate the wave curve. -St|eve 20:07, 7 December 2005 (UTC)
- "..part of the point of citing sources is to make it possible to check sneaky vandals inserting false information..." That's fine, please do check the work of "sneaky vandals." -St|eve 08:52, 8 December 2005 (UTC)
An obvious idea
Hey, I just had an obvious idea. Popups need an "about" link, so that it's easy to go to the help page. Maybe at the bottom of the menu(s)? Zocky 06:48, 8 December 2005 (UTC)
- Another thing... I know it was my idea to show source for templates, but since noinclude, includeonly and default parameter values were introduced, most templates became useful to look at in the parsed form, so maybe that's no longer a good idea. Zocky 10:22, 8 December 2005 (UTC)
Sources for Babette:
You wrote to me about the solitaire game Babette's sources. I read about the game on a book called Card Games for One by Peter Arnold (a British book about Patience games). The solitaire software package SolSuite also has Babette. You can check out the rules.
translate Navigation popups to hebrew
how can I translate it to hebrew? Avichai 18:29, 8 December 2005 (UTC)
- You'd have to go through the source and translate all the visible strings - it's not really set up for convenient translation, I'm afraid. The main interface bits are in strings have bits that look like one of
<<functionName|shortcut=letter|friendlyName>> <<functionName|shortcut=letter>> <<functionName|friendlyName>>
- You'd have to translate the friendlyName bits, and in the second case, you should add a translated friendlyName so that it looks like the first case.
- There are also the hints, which are smeared across navlinkTag.prototype.getPrintFunction and wikiLink, and other miscellaneous strings that could be translated, too (search for the strings hint: and title:, there may be others). If you decide to take this on, don't hesitate to ask if you need more help! It would also help future translators if you could make all these strings variables. Lupin|talk|popups 22:31, 8 December 2005 (UTC)
- It was hard but I've created an hebrew version in my username space. thanks for the help. Why cann't I use it in wikiquote and the other sisters? Avichai 23:48, 10 December 2005 (UTC)
- Hi! Thanks to prompting from you and the other guy below, I've made the script more easily translatable. Check it out! Lupin|talk|popups 00:56, 11 December 2005 (UTC)
- It's too late for me but thanks. I still have one problem - it doesn't show me the images! Can you check this out and tell me what should I change to HE? Avichai 09:43, 11 December 2005 (UTC)
- Hm, tracking down such bugs can be hard. Please could you try translating User:Lupin/popupStrings.js, and pasting it into the relevant section of a copy of User:Lupin/popupsdev.js? I'm sorry this came a bit late for you, but if you translate everything in a standard way like this it'll be a lot easier to avoid bugs. Lupin|talk|popups 13:14, 11 December 2005 (UTC)
- I'll try that and let you know what's going on. Avichai 14:03, 11 December 2005 (UTC)
- I've created a new version according to what you've said but it still doesn't show the images in the HE.wikipedia. Help? Avichai 14:24, 11 December 2005 (UTC)
- I've changed the script (both User:Lupin/popupsdev.js and User:Avichai/popupsnew.js) - it seems to show preview images now. Something funny happens with redirects, but I'm not sure what yet, though, as it's hard for me to decipher the hebrew! I also found some strings that I missed: [83] Lupin|talk|popups 16:28, 11 December 2005 (UTC)
- I've created a new version according to what you've said but it still doesn't show the images in the HE.wikipedia. Help? Avichai 14:24, 11 December 2005 (UTC)
- I'll try that and let you know what's going on. Avichai 14:03, 11 December 2005 (UTC)
- It isn't working. and what about the 'Kb' string?? Avichai 17:47, 11 December 2005 (UTC)
- Oh, that's odd. It works for me using firefox. Which browser are you testing with? Please compare your monobook.js to mine on he and check that you've cleared your cache. I'll add 'Kb' to the strings list. Lupin|talk|popups 17:52, 11 December 2005 (UTC)
- My mistake - It DOES work! thanks! about the redirects - I saw it too... do you have any idea? Avichai 18:05, 11 December 2005 (UTC)
- Oh, that's odd. It works for me using firefox. Which browser are you testing with? Please compare your monobook.js to mine on he and check that you've cleared your cache. I'll add 'Kb' to the strings list. Lupin|talk|popups 17:52, 11 December 2005 (UTC)
- Hm, tracking down such bugs can be hard. Please could you try translating User:Lupin/popupStrings.js, and pasting it into the relevant section of a copy of User:Lupin/popupsdev.js? I'm sorry this came a bit late for you, but if you translate everything in a standard way like this it'll be a lot easier to avoid bugs. Lupin|talk|popups 13:14, 11 December 2005 (UTC)
- We also have a bug with the weeks! it's adding a 's' !!! and I'm afraid the time from the last edit isn't true either... maybe the diffrent time zone?? Avichai 18:14, 11 December 2005 (UTC)
- I've fixed the weeks bug in User:Lupin/popupsdev.js (see the last edit). I'll investigate the time thing. Lupin|talk|popups 18:19, 11 December 2005 (UTC)
- It's quite hard for me to see what's going on. Please can you give a specific example of the bug, telling me the page, the link to hover over, what you see in the popup and what you expect to see (in hebrew). Thanks! Lupin|talk|popups 18:21, 11 December 2005 (UTC)
- I think the problem is in "popupStrings['Redirects']" can you fix it? Avichai 19:38, 11 December 2005 (UTC) another string you should change is 'toggle image size'. Avichai 19:44, 11 December 2005 (UTC)
- It's too late for me but thanks. I still have one problem - it doesn't show me the images! Can you check this out and tell me what should I change to HE? Avichai 09:43, 11 December 2005 (UTC)
- Hi! Thanks to prompting from you and the other guy below, I've made the script more easily translatable. Check it out! Lupin|talk|popups 00:56, 11 December 2005 (UTC)
- It was hard but I've created an hebrew version in my username space. thanks for the help. Why cann't I use it in wikiquote and the other sisters? Avichai 23:48, 10 December 2005 (UTC)
Sources for ILLIAC III
I think I located the sources I used. It was a long time back and the wikipedia article has propagated everywhere, so it was a bit hard to "filter" out the echos. -- RTC 02:54, 9 December 2005 (UTC)
Awolf002 RfA
Thank you very much for your support for my RfA. I will do everything I can to justify your trust in me. Awolf002 03:14, 9 December 2005 (UTC)
Dave Mohammed (and probably others)
Lupin said: Hello, good work on Dave Mohammed, and thanks for the contribution. However, you did not provide any references or sources in the article. Keeping Wikipedia accurate and verifiable is very important, and as you might be aware there is currently a push to encourage editors to cite the sources they used when adding content. Can you list in the article any websites, books, or other sources that will allow people to verify the content in Dave Mohammed? You can simply add links, or see WP:CITET for different citation methods. Thanks!
I must confess, I'm really awful at citing my sources. This was sort of on my agenda, I was going to add all of these cricketing names and then add a link at the bottom afterwards when I ran through them again which basically said the following:
The one thing that confused me about the sourcing at the time, was that I'm sure way back when we had a template for Cricinfo sourcing, but I cannot recall what it looked like. I wasn't going to start doing these soon, as it seemed a large project to undertake, but since you mentioned it, I will start tackling them as soon as possible. As it stands, I don't really have a project which is close to completion (I'm currently working through County Cricketers) but I will add as many of these sources as possible.
Thank you for noting this. As I have said, this is one of my many problems, remembering when and what to source. I promise to get it sorted very soon. Bobo192 05:58, 9 December 2005 (UTC)
Redirect bypass for {{categoryredirect}}
Hi Lupin. I implemented a redirect bypass for uses of {{categoryredirect}}. Have a look at it here: http://en.wikipedia.org/w/index.php?title=User%3AMike_Dillon%2Fpopups.js&diff=30689281&oldid=30037899. Mike Dillon 07:24, 9 December 2005 (UTC)
- You might like this diff too, which makes it easier to add new disambig templates to the regex (I added {{hndis}}). Mike Dillon 07:49, 9 December 2005 (UTC)
another possible bug with popups.js
I hate to bug you again (no pun intended) about the popups, but I think I may have found another bug. I noticed that if I put my cursor over a link with an ampersand (&), the script will access the wrong page. For example, if I put my cursor over R&B, the script will try to access the R article instead. --Ixfd64 08:49, 9 December 2005 (UTC)
- Not at all, your bug reports are very welcome. This problem does not appear in firefox or opera, but IE has it and konqueror has an "interesting" variant bug. I'll investigate when I get the time. Lupin|talk|popups 13:46, 9 December 2005 (UTC)
- By the way, I noticed that IE is giving the the dreaded "Error on page" message. I can't figure out how to get a line number out of it though (I'm running it under WINE and clicking the error icon doesn't seem to help). Can you find the line number and error for me? Thanks. Lupin|talk|popups 13:49, 9 December 2005 (UTC)
Security problem
Hi. It scares me that anyone could edit my monobook.js page and make my browser do whatever they want when I look at Wikipedia. Can I get this "feature" disabled, or get the page locked so only I can edit it? Are there any other magic pages like this one? --Doradus 17:05, 9 December 2005 (UTC)
- Luckily the devs have thought of this, and javascript pages in your user space are automatically protected from editing by
othersnon-sysops. Lupin|talk|popups 18:40, 9 December 2005 (UTC)
- Oh ok, thanks. Is there some place I can find out more about such things? --Doradus 19:05, 10 December 2005 (UTC)
- How did you learn about User:Xxx/monobook.js? From the Mediawiki source code? --Doradus 19:54, 11 December 2005 (UTC)
- It wasn't from the source code, but I forget where exactly. Probably Wikipedia:Tools or Wikipedia:WikiProject_User_Scripts. Lupin|talk|popups 23:09, 11 December 2005 (UTC)
Another security problem: because our monobook.js file includes your script, don't we need to trust you not to put anything malicious there? --Doradus 19:23, 10 December 2005 (UTC)
- Yes. Same applies to the authors of every other program you run and website you visit. - CHAIRBOY (☎) 19:26, 10 December 2005 (UTC)
- No it's not the same. On other web sites, I must trust the authors. On this case, I must trust some random user. --Doradus 19:07, 11 December 2005 (UTC)
- Hi there! On other web sites, you must trust the authors. In this case, you must also trust... the authors, Lupin in this case. - CHAIRBOY (☎) 19:26, 11 December 2005 (UTC)
- Yes, you're quite correct. If you want to use my script as suggested, then you have to trust not only me but also everyone with access to an admin account. On the other hand, nobody is forcing you to use the script. Lupin|talk|popups 23:09, 11 December 2005 (UTC)
- No it's not the same. On other web sites, I must trust the authors. On this case, I must trust some random user. --Doradus 19:07, 11 December 2005 (UTC)
- If this really concerns you, you can audit the code and copy it into your own namespace by doing {{subst:User:Lupin/popups.js}}. I have done this myself at User:Mike Dillon/popups.js (the copying, not the auditing), not because I don't trust Lupin, but because I sometimes develop enhancements to the popups.js script and I like to upgrade my popups.js on my schedule, not Lupin's. It's basically my equivalent of his popupsdev.js. Mike Dillon 19:48, 10 December 2005 (UTC)
Eden Hospital
Hi. I have added the source of the article Eden Hospital.Thank you. Dwaipayanc
Image:Stravinsky picasso.png
Hi, could you clarify why you tagged Image:Stravinsky picasso.png as PD? Thanks, Mark1 20:05, 9 December 2005 (UTC)
- Hm, I don't remember why I did that. I expect that this was an error. Lupin|talk|popups 20:23, 9 December 2005 (UTC)
Darn- it would be nice to have a PD pic of him. Mark1 20:36, 9 December 2005 (UTC)
Popup Runtime Error
Hi. I just added your script to User:Think Fast/monobook.js. When I mouseover, I get a window. That part works great. When I click on a link, I get:
- A Runtime Error has occurred.
- Do you wish to Debug?
- Line: 2479
- Error: 'shiftKey' is null or not an object.
What should I do? Thanks in advance. --Think Fast 03:16, 10 December 2005 (UTC)
- Hi, thanks for the bug report. I've attempted a fix in the dev version. If you install that and clear your cache, does the bug go away or change? Lupin|talk|popups 16:24, 11 December 2005 (UTC)
- Yes! It does work now when I click! The only difference now is that the popup only displays a picture, "actions" link, article link, # of kb, # of wikiLinks, # of images, # of categories, and # hours/minutes old. i.e. a few things are missing, but that's okay. What matters is that I can follow what is there. Thank you very much. --Think Fast 03:01, 12 December 2005 (UTC)
- Sorry. I forgot to add that it does still have the first bit of text that is on the page the popup links to. --Think Fast 03:02, 12 December 2005 (UTC)
I do use IE, but I couldn't see what you mean by "popupStructure='menus'." Also, I am now having a different problem. Sometimes when I mouse over a link, I get a runtime errror. Do you know what this could be? Thanks --Think Fast 21:01, 15 December 2005 (UTC)
- No. I find it very difficult to debug Internet Explorer, because I run it in Linux and all the debugging features don't work. Can you click the error icon and tell me the line number for this error? Thanks, Lupin|talk|popups 23:02, 15 December 2005 (UTC)
When I mouseover most (but not all) links, I get:
- Line: 2622
- Error: Not implemented
By the way, I am using the dev version. --Think Fast 21:08, 16 December 2005 (UTC)
popups interface!
could you write the interface messages together like the style of the mediawiki languse file, so that we can translate this wonderful file to other language. Another question is the popups can't recognise the chinese and japanese article's title, It always display empty page. I think it's someting relate to coding. and I find Please have a try in this two version wikipedia.--Vipuser 09:01, 10 December 2005 (UTC)
- I also found that the title not the ASCII code will not be recognized. like Hugo Chávez in en.wikipedia.--Vipuser 09:20, 10 December 2005 (UTC)
- Hi. What is the language file you had in mind? If I get time to do this, it would be useful to have a model to copy. I see a problem with that link in Internet Explorer, but not opera or firefox. Which browser are you using? A little investigation has lead me to suspect that it's a bug in explorer rather than in my script this time, although I could be wrong. Lupin|talk|popups 20:16, 10 December 2005 (UTC)
- Hello again. I've gone ahead and separated out lots of the messages for easier translation - see User:Lupin/popupsdev.js. Lupin|talk|popups 00:54, 11 December 2005 (UTC)
- Thank you for your hard work! I'm indeed use IE. so that's a big problem because a lot of people use IE or the browser with IE core. I thinkthe non-ASCII characters can not be displayed in the form you draw, But it can displayed in the tips rightly!--Vipuser 08:08, 13 December 2005 (UTC)
I have translted some popupStrings you list in User:Lupin/popupsdev.js, It works! but most of messages in the scripts have not been separated! two more bugs in the new js script: one is the tip can not be displayed correctly pointed to the items from "edit" to "new" in the popups. another is the tip display all the titles as "mainlink". It can display correct in the old popups.js script.--Vipuser 08:51, 13 December 2005 (UTC)
I have seen the User:Lupin/popupStrings.js page. It's great~ and I'd like to have a page with the full code like User:Lupin/popupsdev.js. so that I can have a try to test!--Vipuser 00:47, 14 December 2005 (UTC)
- Oh, you can make one of those yourself. Edit popupsdev.js and copy the code into a new page. Then find the popupStrings bit in there and replace it work the content of popupStrings.js. Then edit away to your heart's content! Maybe I should merge the two files anyway, thinking about it. Lupin|talk|popups 00:59, 14 December 2005 (UTC)
Hey! It's wonderful! The new version of the popups works! It can recognize the chinese characters in Internet Explorer now, I have translate the messages in a new js file: zh:User:Vipuser/popup.js. Most of the messages are translated. here's one bug: the whatLinksHere in the third row have not been separated to translate. Please fix it!--vipuser(talk) 03:26, 15 December 2005 (UTC)
- whatLinksHere is now included.
- Do you mean that stubs aren't
counteddetected correctly? I have to think about the best way to handle that, as it's not a matter of translating a simple string. - Please give an example of the redirect problem (a page, and a link to a redirect on that page). I'm not sure what you mean exactly, and it's hard for me to locate redirects.
- The "show edit made to get revision" link is displayed when you hover over a particular revision of a page. When you click the link, you get the diff between that revision and the previous one. For example, go here and hover over any of the date/time links. Lupin|talk|popups 03:50, 15 December 2005 (UTC)
I'm doing that. please add more messages such as oldEdit diffCur, and Title + oldid=xxxx can not display correctly!--vipuser(talk) 04:09, 15 December 2005 (UTC)
- Here about the redirect bugs: zh:User:Vipuser/sandbox--vipuser(talk) 04:44, 15 December 2005 (UTC)
If I click the article title display on the popups, It will not go to the right article but go to a new article with no content! It related to the code, please see my sand box above!--vipuser(talk) 04:54, 15 December 2005 (UTC)
Thanks
Just a quick "thanks" for making this work with Opera! I had one crash the first time it loaded the "filter recent changes" page, but after trying again it's been working fine, so I've edited the page to reflect that.
Sorry about putting "Firefox only" on the page too - I was aware that it should work with Seamonkey, but I haven't got a copy and didn't want to suggest that it ran on something which I couldn't verify. Dan100 (Talk) 10:18, 10 December 2005 (UTC)
Barnstar
Dave Mohammed
That's the one. I'm sorry, I had continued to make sourcing in the same style without using the template, but I think it had had the same format anyway. Thank you for supplying me with the template and I will attempt to use it in the future. Bobo192 11:19, 10 December 2005 (UTC)
Popup tooltip help
I find the current popup tooltip help is full of fallacies of definition. For instance, the help for "null edit" is "make a null edit to <article name>". For someone like me who doesn't know what a null edit is, that's not helpful. Same for Edit, History, etc. --Doradus 19:25, 11 December 2005 (UTC)
- I am inclined to agree. If you have any alternative suggestions I'd be pleased to consider them. Lupin|talk|popups 21:58, 11 December 2005 (UTC)
- Ok I'll try to help where I can, but I have to go to work now. I still don't know what a null edit is though. :-) --Doradus 15:39, 12 December 2005 (UTC)
Current concensus:
- Edit
- Change the contents of this page
- History
- List the recent changes to this page
- Show last edit
- Show effects of the most recent change to this page
- Move
- Change the title of this page
- What links here
- List the pages that hyperlinked to this one
- Related changes
- Show changes in articles related to title
- Null edit
- Submit an edit with no changes to title
- Search
- Find Wikipedia articles containing title
- Global
- Find any Wikipedia pages containing title
- Unwatch
- Remove title from my watchlist
- Watch
- Add title to my watchlist
- Talk
- Show the discussion page for title
- Edit talk
- Modify the discussion page for title
- New topic
- Start a new section on the discussion page for title
They seem pretty good to me. I don't think mentioning Special:Watchlist is helpful for neophytes; "my watchlist" is probably better. You can find a definition of a null edit here. When I do use them, it's mainly to update Special:Whatlinkshere and the Image links section on image pages when they get out of synch due to mediawiki bugs. There may be other uses that I'm not aware of, though. Lupin|talk|popups 00:20, 13 December 2005 (UTC)
Ok, I have modified the above to reflect your comments. (Please feel free to do the same if you want - this is a wiki after all. :-) --Doradus 03:15, 13 December 2005 (UTC)
- I think replacing null edit with dummy edit is another fallacy of definition, an an inaccurate one at that :-) So I've changed that. Lupin|talk|popups 03:19, 13 December 2005 (UTC)
- Lupin, I think you are the most patient, polite person I have ever encountered here. You're an inspiration. --Doradus 03:00, 15 December 2005 (UTC)
Technical help with your popup thingy
Hi, I understand that you and some guy in the Hebrew Wikipedia are adjusting your popup tool to work in Hebrew. I tried it, but it didnt work - it displays gibberish. I use win98SE and IE... perhaps it is because of the OS and IE... Do you have any idea how I can fix it, w/o getting XP and changing to firefox? :-P Thanks, Yonidebest 00:00, 12 December 2005 (UTC)
- It is likely just because you use IE. If it's possible to install firefox in windows 98, I'd try using that until we fix it properly, or using the english version, or not using it at all. Sorry I can't be more helpful. Lupin|talk|popups 00:04, 12 December 2005 (UTC)
- I'd love to use the english version, if only there weren't any Hebrew letters in the Hebrew Wiki :-P In any case, thank you for your time. Yonidebest 00:27, 12 December 2005 (UTC)
- Please give the dev version a whirl - it more or less works with chinese in IE now, so hebrew should be a pushover :P Lupin|talk|popups 23:10, 16 December 2005 (UTC)
- I'd love to use the english version, if only there weren't any Hebrew letters in the Hebrew Wiki :-P In any case, thank you for your time. Yonidebest 00:27, 12 December 2005 (UTC)
empty brackets in preview
The Hertfordshire Oil Storage Terminal article isn't previewing quite correctly with the classic popups. Everything is fine except that "(grid reference TL087084)" is just displaying as "()". Thryduulf 03:09, 12 December 2005 (UTC)
- Indeed. This is because, by default, templates are eliminated from the preview. To turn that off (at least partially), try setting
popupPreviewKillTemplates=false;
- However, as you'll doubtless rapidly discover, many templates are the sort that you don't want to see in a popup... if you have suggestions for an intermediate setting, I'm all ears. Lupin|talk|popups 03:19, 12 December 2005 (UTC)
- What comes to mind is displaying the name of the template and its perameters (e.g. {{gbmapping|TL087084}}. If possible it might be an idea to link it to a preview of that template with those parameters on a blank page, possibly by starting an article in sandbox space and automatically previewing it. Thryduulf 10:23, 12 December 2005 (UTC)
- Displaying the raw template and parameters is exactly the behaviour I have at the moment with popupPreviewKillTemplates=false. Please give that a try. My feeling is that the potentially high load on the server generated by expanding templates would not be acceptable, although if someone wants to write the code to prove me wrong I'd be happy to reconsider this position. Lupin|talk|popups 13:21, 12 December 2005 (UTC)
- Displaying the template paramaters is generally good - but when an article starts with a template that is the entire preview. When that template is generic it makes the popup of limited value, e.g. the preview of Laudanum is "{{alternateuses}}", that tells me nothing about the article. A compromise behaviour wherby templates are ignored if they are the first thing on the page or follow only other templates but displayed if they come after other text would be best. This would also remove the display of infoboxes which often make little sense in parameter form. Thryduulf 23:37, 13 December 2005 (UTC)
- Ah, yes. I should have recommended the other new option, popupPreviewFirstParOnly. Try setting that to false at the same time. Laudanum has a nice preview then. However, pages big leading infobox templates have silly previews; I'm not sure of a good heuristic for fixing that. Apart from that, I much prefer the previews with these settings than the old ones. Killing templates maybe makes more sense for people primarily interested in reading wikipedia rather than editing it. Lupin|talk|popups 23:46, 13 December 2005 (UTC)
- The only heuristic I can think of that might work is to define a large template either by the number of paramaters it takes e.g. popupKillTemplatesIfParamsGreaterThan=n (I think 3 would make a good cutoff point), or by the page size of the template, but I don't know if this is (a) easy to find (b) reliable or (c) what a good borderline is. Thryduulf 16:09, 14 December 2005 (UTC)
- Ah, yes. I should have recommended the other new option, popupPreviewFirstParOnly. Try setting that to false at the same time. Laudanum has a nice preview then. However, pages big leading infobox templates have silly previews; I'm not sure of a good heuristic for fixing that. Apart from that, I much prefer the previews with these settings than the old ones. Killing templates maybe makes more sense for people primarily interested in reading wikipedia rather than editing it. Lupin|talk|popups 23:46, 13 December 2005 (UTC)
- Displaying the template paramaters is generally good - but when an article starts with a template that is the entire preview. When that template is generic it makes the popup of limited value, e.g. the preview of Laudanum is "{{alternateuses}}", that tells me nothing about the article. A compromise behaviour wherby templates are ignored if they are the first thing on the page or follow only other templates but displayed if they come after other text would be best. This would also remove the display of infoboxes which often make little sense in parameter form. Thryduulf 23:37, 13 December 2005 (UTC)
- Displaying the raw template and parameters is exactly the behaviour I have at the moment with popupPreviewKillTemplates=false. Please give that a try. My feeling is that the potentially high load on the server generated by expanding templates would not be acceptable, although if someone wants to write the code to prove me wrong I'd be happy to reconsider this position. Lupin|talk|popups 13:21, 12 December 2005 (UTC)
Willy on Wheels?
Could User:Wilfredo be a WoW? I'm probably just overreacting but he refers to Willy and he hasn't done any main namespace contribs. --Rschen7754 (talk - contribs) 05:26, 12 December 2005 (UTC)
- I doubt it. Looks to me like some kid playing with the wiki with his/her friends. Lupin|talk|popups 05:33, 12 December 2005 (UTC)
- Okay... sorry to bug you. --Rschen7754 (talk - contribs) 05:35, 12 December 2005 (UTC)
Vandalism
You recently sent me a message claiming I vandalized the Allied Precise Gunmen article. However, I was merely reverting vandalism done by others by means of posting knowingly false information and clearly POV material.
For crying out loud
Are you going to send that to me for all the hundreds of stubs i've made over the years? How about I give you a list and then you can spam my talk page several thousand times with it all at once, rather than doing it piecemeal.
Morwen - Talk 07:11, 12 December 2005 (UTC)
- If you find this unhelpful then I will try to remember to not send you further messages of this sort. I'm not sure of the best way to get these articles referenced other than contacting the authors, though. This method has been put forward as preferable to slapping {{unreferenced}} on the article. Do let me know your thoughts on this. Lupin|talk|popups 13:18, 12 December 2005 (UTC)
- By the way, I'm using {{unref-talk}}. If you do find the use of this template offensive, I suggest you mention it on the template talk page. Lupin|talk|popups 13:25, 12 December 2005 (UTC)
- That would be much better. I am happy to answer to genuine enquiries, but if you are asking people to do research, it would be good to demonstrate a bit of effort on your own behalf by actually bothering to write text. I suspect you might find other experienced editors also similarly resenting being talked down to. Morwen - Talk 13:29, 12 December 2005 (UTC)
Re: Sources for List of the largest artificial non-nuclear explosions
I have provided an inline link for the list of the largest artificial non-nuclear explosions, which I have added to the end of the section about the 2005 Hertfordshire Oil Storage Terminal fire, as per your request on my user talk page. In writing the section, I really only made use of the 2005 Hertfordshire Oil Storage Terminal fire article and the BBC News article.
Thanks for the tip. Andrew 11:15, 12 December 2005 (UTC)
I believe the original source was electionworld.org, which is offline. I have added new sources from all elections from 1979 to 1999. Please do not bother me again with requests, as I have left Wikipedia and have no interest whatsoever in returning. Deus Ex 12:29, 12 December 2005 (UTC)
Fantastics
Hello Lupin! Thanks for the compliments on my work on the Fantastics article. I am sorry but I do not have specific sources for that article. I used to have on my User Page (before I basically quit editing on Wikipedia) a message about why. I used to keep about 5+ notebooks full of pro wrestling notes such as title changes, wrestler stats, etc. from watching wrestling from the early 1980's until early 2005. I created several articles from what I saw on the actual TV shows and from old wreslting magazines such as Pro Wrestling Illustrated, Inside Wrestling and others. So, I don't have any specific sources. You can verify most of my information with any google search and just check pages or any of those wrestling titles sites as well. Sorry and thanks again for the compliments! phatcat68 22:33, 12 December 2005 (UTC)
Fleet
I'm afraid my source is based on journeys along that stretch of line.--Enotayokel 08:53, 13 December 2005 (UTC)
Eeek! It's a bug!
At least in popupsdev.js. Try hovering over User:Jareth and check the link to the New York Women's House of Detention. It's displayed correctly, but the URL is cut off at the single quote. Zocky 00:44, 14 December 2005 (UTC)
- Heh, thanks for catching that. Of course, it's really a bug in livepreview, which makes it difficult to catch. Lupin|talk|popups 00:47, 14 December 2005 (UTC)
popups problem!!
I am korean, but in popup window, korean character is broken...:( WonYong 15:09, 14 December 2005 (UTC)
- I've been making fixes to User:Lupin/popupsdev.js to get it working in the Chinese wikipedia. I think it should work in the korean wikipedia too - please give it a try. You might also like to translate the interface (search for translating in that file, edit it and save a copy on the korean WP). Lupin|talk|popups 13:54, 15 December 2005 (UTC)
- THANKS!! :) WonYong 14:06, 15 December 2005 (UTC)
Lincoln Mark VII
Sorry to say I used no reference but memory -- I was one of the product development people who worked on the vehicle, mostly related to powertrain options (volume, cost, capacity planning). My edits were based on personal knowledge as an insider. Paulmeisel 00:04, 16 December 2005 (UTC)
Warn (Filter Recent changes)
When I click warn, a new window opens, and goes to the right page, but I dont get {{subst:bv-n|ARTICLE}} in it, is my code wrong? Brian | (Talk) 11:32, 16 December 2005 (UTC)
- Probably not. The code that actually does that is in my popups script. You can either install that, or install just that bit of code. It's in User:Lupin/autoedit.js and you could install it by mimicing the installation instructions for the popups, replacing popups.js with autoedit.js (twice). Lupin|talk|popups 23:08, 16 December 2005 (UTC)
Popups autoedit
In order to help welcome new users to Wikipedia, I want to be able to autoedit user talk pages from the user creation log. I can use this link: en.wikipedia.org/wiki/User_talk:User_name?action=edit&autoedit=s#$#\n{{User:Mathwiz2020/Welcome}}~~~~#&autosummary=Welcome!&autoclick=wpSave&autominor=true
Is there a way I can make Navigation Popups present me with a link to this website, replacing User_name with the user name, every time I hover over a user name? This way, I can quickly and efficiently welcome users to Wikipedia. Thanks. — MATHWIZ2020 TALK | CONTRIBS 19:28, 17 December 2005 (UTC)
- This is probably the simplest way: add this to your monobook.js.
window.userGreeter=function(data, download) { var user=userName(articleFromURL(download.url)); if(!user) return ''; var lk=titledWikiLink({article: talkPage(popUserNamespace+':'+user), action: 'edit', text: 'greet ' + user}); var autoParams='autoedit=s#$#\n{{User:Mathwiz2020/Welcome}}~~~~#&autosummary=Welcome!&autoclick=wpSave&autominor=true'; return appendParamsToLink(lk, autoParams); } window.extraPopupFilters=[window.userGreeter];
- I haven't tested this much, so do holler if it fails to work as expected. Lupin|talk|popups 02:10, 18 December 2005 (UTC)
- Thanks! It works, but only with non-empty pages. Since most new users have empty pages and talk pages, this doesn't work for greeting new users. When a page isn't empty, it's usually because they've been tagged as an impostor. — MATHWIZ2020 TALK | CONTRIBS 20:01, 18 December 2005 (UTC)
- Heh, I should have thought of that :-) Try this for size, but be warned that it's a complete hack and may break in the future.
- Thanks! It works, but only with non-empty pages. Since most new users have empty pages and talk pages, this doesn't work for greeting new users. When a page isn't empty, it's usually because they've been tagged as an impostor. — MATHWIZ2020 TALK | CONTRIBS 20:01, 18 December 2005 (UTC)
window.userGreeter=function(data, download) { var user=userName(articleFromURL(download.url)); if(!user) return ''; var lk=titledWikiLink({article: talkPage(popUserNamespace+':'+user), action: 'edit', text: 'greet ' + user}); var autoParams='autoedit=s#$#\n{{User:Mathwiz2020/Welcome}}~~~~#&autosummary=Welcome!&autoclick=wpSave&autominor=true'; return appendParamsToLink(lk, autoParams); } function installGreeter() { window.old_getPageInfo=window.getPageInfo; window.getPageInfo=function(data,download) { return window.userGreeter(data,download) + '<br>' + window.old_getPageInfo(data,download); } } if (window.addEventListener) window.addEventListener("load", installGreeter, false); else if (window.attachEvent) window.attachEvent("onload",installGreeter);
- Thanks! I changed the autoedit text to:
{{subst:User:Mathwiz2020/Welcome}}~~~~
and it works fine with your "hack"! — MATHWIZ2020 TALK | CONTRIBS 01:21, 19 December 2005 (UTC)- After seeing your script, I was inspired to write a script to fix common misspellings. Can you please help me debug it? — MATHWIZ2020 TALK | CONTRIBS 01:40, 19 December 2005 (UTC)
- Looks nice - I've fixed this a little. Lupin|talk|popups 01:58, 19 December 2005 (UTC)
- Thanks - I'm just not sure if the "\\b" thing will work - for example, go to test without \\b and test with \\b. I just arbitrarily choose to replace Major with Magor and major with magor on my user page - with the "\\b", it only replaces those starting with a capital. — MATHWIZ2020 TALK | CONTRIBS 21:25, 19 December 2005 (UTC)
- Looks nice - I've fixed this a little. Lupin|talk|popups 01:58, 19 December 2005 (UTC)
- After seeing your script, I was inspired to write a script to fix common misspellings. Can you please help me debug it? — MATHWIZ2020 TALK | CONTRIBS 01:40, 19 December 2005 (UTC)
- Thanks! I changed the autoedit text to:
- Due to escaping rules, the javascript string '\\b' actually contains two characters, a single backslash and a letter b. Thus I think that the urls generated by my modifications looked more like this:
http://en.wikipedia.org/wiki/User:Mathwiz2020?action=edit&autoedit=s~\b(%5BMm%5D)ajor\b~$1agor~g&autoclick=wpDiff
- This seems to work properly. Lupin|talk|popups 06:34, 20 December 2005 (UTC)
- Without the \b, it finds and replaces all instances of "Major" and "major". With the \b, it only replaces "Major". We could modify the script to do searches both with capital and without, but that would be a lot of work and it would take twice as long to run. With the i (non-case sensitive) flag, as in this example, it still only works with capital letters. — MATHWIZ2020 TALK | CONTRIBS 21:44, 20 December 2005 (UTC)
- No, that's not right. The \b represents a word boundary. Thus \b([Mm]ajor)\b matches the complete words Major and major, but not the words Majority or majority. At the moment you don't have the complete word major anywhere on your user page, which is why it's not replaced with the \b's. Here's an example. Lupin|talk|popups 01:33, 21 December 2005 (UTC)
- Thanks. I was wondering - for your filter recent changes, how do you maintain and update the database of "banned" words? I want to maintain a similar database, taken from WP:LCM, that would contain all commonly misspelled words and their replacement (if there's more than one replacement, I'd list the more common replacement and then fix it as necessary while editing after the "show diff" button is clicked). — MATHWIZ2020 TALK | CONTRIBS 02:03, 22 December 2005 (UTC)
- The list of flagged words is here. It's just a wikipage, and the source wikitext for that page is loaded each time the filter is started. You can see how this is done in the first few lines of the script, User:Lupin/recent2.js. All the stuff before the line starting var feed= is needed to do this. Lupin|talk|popups 02:21, 22 December 2005 (UTC)
- Thanks! I just have one question - what do the last two lines of text for function processBadWords do (the lines beginning ret.push and window.badwords)? Function recent2_download is above my head, but I can understand the javascript pretty well. — MATHWIZ2020 TALK | CONTRIBS 22:56, 23 December 2005 (UTC)
- The list of flagged words is here. It's just a wikipage, and the source wikitext for that page is loaded each time the filter is started. You can see how this is done in the first few lines of the script, User:Lupin/recent2.js. All the stuff before the line starting var feed= is needed to do this. Lupin|talk|popups 02:21, 22 December 2005 (UTC)
- Thanks. I was wondering - for your filter recent changes, how do you maintain and update the database of "banned" words? I want to maintain a similar database, taken from WP:LCM, that would contain all commonly misspelled words and their replacement (if there's more than one replacement, I'd list the more common replacement and then fix it as necessary while editing after the "show diff" button is clicked). — MATHWIZ2020 TALK | CONTRIBS 02:03, 22 December 2005 (UTC)
- No, that's not right. The \b represents a word boundary. Thus \b([Mm]ajor)\b matches the complete words Major and major, but not the words Majority or majority. At the moment you don't have the complete word major anywhere on your user page, which is why it's not replaced with the \b's. Here's an example. Lupin|talk|popups 01:33, 21 December 2005 (UTC)
- Without the \b, it finds and replaces all instances of "Major" and "major". With the \b, it only replaces "Major". We could modify the script to do searches both with capital and without, but that would be a lot of work and it would take twice as long to run. With the i (non-case sensitive) flag, as in this example, it still only works with capital letters. — MATHWIZ2020 TALK | CONTRIBS 21:44, 20 December 2005 (UTC)
- This seems to work properly. Lupin|talk|popups 06:34, 20 December 2005 (UTC)
ret.push(s.replace(RegExp('([-|.()\\+:!,?*^${}\\[\\]])', 'g'), '\\$1'));
This line takes the string s, and escapes all the odd regex characters with backslashes. It then appends this strings to the array ret.
window.badWords=RegExp("<td class=['\"]diff-addedline['\"]>.*(([^-{}.\s'=wI:*#0-9A-F])\\2{2,}|\\b(" + ret.join('|') + ")[\\b\\|]).*</td>", 'im');
This line joins all the strings in the array ret with a pipe character ( ret.join("|") ), so that this part of the regex will match any one of them. It then puts a little context in (so that we only match new bits of the diff) and makes a regex from that string, which is stored as window.badWords. Lupin|talk|popups 02:03, 3 January 2006 (UTC)
Reversion summaries
Another two questions regarding autoedits: (1) Could we have an option to include the string "rv " at the beginning of the edit summary during autoreverts? (2) Is it possible to make the autorevert procedure prompt for a few words of explanation and make the edit summary read, e.g. "rv unsourced claim; Popups-assisted reversion to revision 31912413" where the explanatory words are "unsourced claim"? --Eddi (Talk) 04:52, 22 December 2005 (UTC)
- You can get the "rv " at the start already (or arbitrary standard edit summaries) by fiddling with popupRevertSummary. Optional prompting for a summary is a good idea, but hasn't been done (yet). Lupin|talk|popups 13:52, 22 December 2005 (UTC)
- You can use option popupRevertSummary to make the beginning of the summary "rv" and the end the oldid, and then fiddle around with a summary-forcer to get you to type a description in a pop-up box. For example, try adding this to User:Eddideigel/monobook.js:
//Force edit summary //Adapted by [[User:Mathwiz2020]] function addForceSummary(){ if(!/[&\?]action=edit/.test(window.location.href)) return; if(!document.forms.editform) return; document.forms.editform.onsubmit = forceSummary; } function forceSummary(){ var form = document.forms.editform; if(form.wpSummary.value.substr(0,5)=="rv $;"){ var r = prompt('Please type the reason for your reversion in the box below:',''); if(r == null | r == "") { form.wpSummary.value = form.wpSummary.value.replace(" $", ""); } else { form.wpSummary.value = form.wpSummary.value.replace("$", r); } } return true; } window.onload = Main; function Main() { addForceSummary(); }
- Then, add to your popups option list: popupRevertSummary="rv $; [[Wikipedia:Tools/Navigation popups|Popups]]-assisted reversion to version %s";. This script will, upon clicking the "save page" button, check to see if the summary begins with "rv %t;". If it does, it replaces "%t" with the text you type in. If you type in nothing, it replaces it with nothing (but there will be no %t in the summary). I just made this and haven't yet tested it. Tell me if it doesn't work - if so, User:Lupin might be able to fix it (and he will probably simplify the code even if it does work). — MATHWIZ2020 TALK | CONTRIBS 22:52, 23 December 2005 (UTC)
- I changed the code on 27 Dec at about 21:30 UTC, so if you pasted the code into your monobook.js before then, please update it. I tested it myself and it works very well! — MATHWIZ2020 TALK | CONTRIBS 21:32, 27 December 2005 (UTC)
- I copied the above code to my monobook.js and modified the popupsdev.js with the the summary string "rv $ to version %s using Popups". So far it hasn't worked, but perhaps I must wait more than a couple of minutes after clearing the browser cache. --Eddi (Talk) 22:44, 25 January 2006 (UTC)
Comparing the summaries of the popup reversion tool with "traditional" reversion summaries, I wonder if the script has access to and could use variables like author and/or time stamp of the version that is being restored. --Eddi (Talk) 21:41, 12 January 2006 (UTC)
- The way the tool works is as follows. It generates a special url to link to an edit page for an old revision, and when that page is loaded it notices commands in the url and acts on them. Thus the only information to hand is the stuff that appears in the special url and the stuff that appears in the edit page for the old revision. I note that in monobook at least, the timestamp of the old revision appears, but I can't see the author. So I could perhaps get the timestamp in the edit summary with a little work, but it'd probably require screen-scraping the edit page, which is a little unpleasant and liable to break in the future if the page format changes. Lupin|talk|popups 21:49, 12 January 2006 (UTC)
Same popups for diff, history and article links
Hi! I've started using your script and it seems to work fine. Now I've got a couple of comments and questions. (BTW, do you prefer it on your talk page or the script's discussion page?) First, I would like to copy the script to no: and nn: – see /popups.js#Copying to other wikis – and probably need some input from you. Next, it seems like the popups are the same for diff, history and article links. Is that the way it should be, or should we get a diff popup over diff links and a history popup over history links? Thanks. --Eddi (Talk) 04:37, 18 December 2005 (UTC)
- I'm not too bothered about questions here or elsewhere. Probably the best way would be to leave the question on the script's discussion page so that others can benefit from it in the future, and drop me a note here at the same time to grab my attention :-) I answered your copying question on the script talkpage.
- You should see slightly different popups when hovering over Foo to what you see when hovering over links involving specific revisions like http://en.wikipedia.org/wiki/Foo?oldid=335610, http://en.wikipedia.org/wiki/Foo?oldid=335610&diff=prev - does this answer your question? If the top of the page hasn't changed much between the old revision and the current one, then you may not notice the difference, but you should also get extra links letting you revert to the old revision and so on. Lupin|talk|popups 16:06, 18 December 2005 (UTC)
Comments on dev version using IE, Opera and Firefox at en:, nn: and no:
Hi again! I am now using the dev version and have a few more comments – although I don't know if they are specific to dev since I didn't use the stable version for very long before switching. I have also translated the dev version to Norwegian as popups-nn.js and popups-no.js, which work fine at nn: and no: but somewhat differently than at en:. I have used IE 6.0 in Windows XP pro, Opera 8.5 in SuSE Linux, and Firefox 5.0 in SuSE Linux.
General
- When hovering over hashed links – e.g. Elvis Presley#Comeback – the top of the page is shown where I would expect to see the first few lines of the appropriate section. (This is perhaps related to my comments above.)
- In the article text that is shown in a popup, piped links with interwiki addresses – see e.g. my user page – are displayed incorrectly, e.g. "en:Norway|English". Such links are not common in many articles, but it would be nice if they were displayed correctly anyway.
- In Opera (Linux) and Firefox (Linux) the thumb image is at the top right corner of the popup, and the navigation links are at the top left, which looks all right. On the other hand, in IE (Windows) the thumb is at the top left corner and the only text to the right of the image is (part of) the page title and – if space allows – the "lastEdit" link, while the rest of the links are below the image, which doesn't look very good.
Translation
- The text strings 'Revision ' and ' of ' in the following code should be translatable:
if (typeof this.oldid != undef && this.oldid) this.title='Revision ' + this.oldid + ' of ' + this.title;
- In my copy of the dev version I have inserted an extra line in the popupStrings definition section stating,
popupStrings['Revision %s of %s']='Revisjon %s av %s';
in addition to the all-lowercase string. I think both are necessary, but it hasn't been tested in practice yet. --Eddi (Talk) 19:22, 20 January 2006 (UTC)
- In my copy of the dev version I have inserted an extra line in the popupStrings definition section stating,
- Could the strings related to watching and unwatching be split in one piece before the article name and one after, so that the concatenation would be, e.g. 'Add ' + 'Elvis Presley' + ' to my watchlist'? The current situation is not too awkward in English but quite so in Norwegian and some other languages.
- Yes, that's not too hard, I think. Do pester me if this doesn't materialize. Lupin|talk|popups 01:41, 21 December 2005 (UTC)
- I think the translatable section of the script would benefit from more comments on context (e.g. "space" as in "user space") and also from grouping related strings instead of listing them alphabetically. I can assist if you want.
- Good idea. Any help you can give would be most welcome. Lupin|talk|popups 01:41, 21 December 2005 (UTC)
Differences from en: to nn: and no:
- The popups of my user pages at and no: are different from the one at en:, even if the leading part of all three pages are in principle identical (NOTOC, an image of Tux the Penguin, two paragraphs, a section header, etc). All three popups include the usual navigation links on top. At nn: and no:, instead of a little Tux on top and the page introduction below, there is a large Tux below and no text. At no: there is also a thumb of the Norwegian coat of arms on top, beside the navigation links. I have only seen this with my own user pages, and I have no idea what's going on – except that a link to the coat of arms is placed within comments near the end of the pages at en: and no:, but not at nn:.
Hope this wasn't too much. I'll try and be good from now. :) --Eddi (Talk) 03:36, 20 December 2005 (UTC)
- Not at all - feedback is always welcome. I may not have time to sort this out for a bit, though. Lupin|talk|popups 01:41, 21 December 2005 (UTC)
title with no content bug
Please pay attention to bug 3 in my sandbox: zh:user:vipuser/sandbox, thank you!--vipuser(talk) 08:16, 18 December 2005 (UTC)
- Fixed in the dev version, hopefully.
I haven't looked at the fourth bug yet.The fourth bug should be gone. Lupin|talk|popups 15:58, 18 December 2005 (UTC)
A Question
Is it possible to use Popups on another wiki unrelated to Wikipedia? And if so, is it alright if I do? Of course, I'd assume that the actual conversion would fall into my own hands, and updating would be my responsibility after that point. =FaxCelestis 20:23, 19 December 2005 (UTC)
- Yes, just give credit where it's due (linking to WP:POP would do). If the script doesn't work out of the box, then take a look at the lines starting var wikimediaWiki=... Lupin|talk|popups 01:44, 21 December 2005 (UTC)
- Excellent. Thank you. As an admin for the wiki above, tools like this are invaluable. =FaxCelestis 02:17, 21 December 2005 (UTC)
Set up pop-ups
How do I get the pop-ups to work? I tried copying the text from WP:POP to my javascript, but the only link where a pop-up appears is the link to User:Lupin/popups.js. smurrayinchester(User), (Ho Ho Ho!) 17:07, 20 December 2005 (UTC)
bug 5
please go to my sandbox: zh:user:vipuser/sandbox. :D --vipuser(talk) 11:25, 21 December 2005 (UTC)
- and more messages need separated like:
- Unknown navlink type: arinarin when you point to the ip users.
- Reversion xxx of XXXX related to the History messages.
- The "XXXX" button has been automatically clicked. Please wait for the next page to load.
- (Popups-assisted redirection bypass from XXXX to XXXX)
- Can you add the parameters to all the messages like Show changes since revision %s. Because the orders are different languages. It's a huge workload, I know. I means you can make it if you have time. :)--vipuser(talk) 11:47, 21 December 2005 (UTC)
Did most appearances of translated strings just disappear from the code, except the definitions? Lines like var editstr='<<edit|shortcut=e>>';
" previously mentioned "popupString" values. --Eddi (Talk) 22:38, 21 December 2005 (UTC)
- Not disappeared, just moved into the functions navlinkStringToHTML and navlinkStringToArray. In other words, navlink tags are automatically translatable. This makes the code a lot more compact and easy to understand, I hope. Note that the fooHintPrefix popupStrings entires have changed into fooHint entries, and they now use a %s parameter. Lupin|talk|popups 22:56, 21 December 2005 (UTC)
Popups issue
I am using Opera 7.52 on WinXP.
when i use Firefox, they work fine, but on Opera its acting like simplepopups is true even though i explicitly set it to be false.
Also (and this isn't really an issue with you, i guess?) opera's "natural" mouseover popups that show the url of the mouseovered link get the way of your popups.
Thanks (popups rock) TastemyHouse Breathe, Breathe in the air 09:42, 22 December 2005 (UTC)
- When you say it's acting like simplePopups is true, do you mean simply that there are no menus, or that previews and summary data are never shown? If the former, that's by design. You need to set popupStructure='menus' to turn on menus in opera - they didn't work perfectly in opera when I tried them, so they're off by default. If the latter, then that's a bug. Lupin|talk|popups 13:56, 22 December 2005 (UTC)
popups.js - translations
are they supposed to be automatically translated when used on another project? or when copied to another project? Henna 11:25, 22 December 2005 (UTC)
- No - the namespace recognition should work on all wikipedias (do say if it doesn't), but the interface has to be manually translated. I've been working on a new version which is much more easily translatable, and chinese and norwegian(?) versions have already been produced. The untranslated English version doesn't have to be copied to other mediawiki projects, and can be installed using precisely the instructions at WP:POP (don't change en.wikipedia.org to anything else if you do this). If you like, you could translate the strings in a copy of popupsdev.js, but be warned that things are a little changable at the moment, so you may have to merge your translations with an updated version later on. Lupin|talk|popups 14:03, 22 December 2005 (UTC)
- ok, then I'll take a closer look at translating when I have more time, it's indeed the interface that I was wondering about :) thx Henna 23:28, 25 December 2005 (UTC)
redirect problem
please check the bug 5 on my zh:user:vipuser/sandbox. the redirect aim page will not be recognized!--vipuser(talk) 09:45, 23 December 2005 (UTC)
- Hey, long time to see! Have you noticed the bug 5 on my sand page. waiting~~--vipuser(talk) 03:19, 4 January 2006 (UTC)
- take it easy, I think most of the bugs have been fixed! I run it very well, It will suit to most of languages, because chinese is the most complex language, I think.Well Done!
If I find more bugs, I will talk to you again! --vipuser(talk) 09:35, 5 January 2006 (UTC)
Request for Special:Unwatchedpages
Can you make a javascript feature that will add history/watch links to this page, so that each item has a link to its history as well as a link to add it to your watchlist? This would help make things go faster. — 0918BRIAN • 2005-12-23 16:35
- Do you still want this? It seems to me that this would be much neater to do server-side with a patch to mediawiki, and not at all difficult either. Lupin|talk|popups 01:52, 3 January 2006 (UTC)
Merry Christmas!!
- I wish you and your family a Merry Christmas and a happy New Year. --Bhadani 16:01, 25 December 2005 (UTC)
Astra 1A
Hi. You asked me to provide a reference for my contributions to Astra 1A. Unfortunately my reference was an SES Astra pdf factsheet which has since been removed from their website. However I have added other references which confirm the basic information presented on the page. Regards Mark83 13:28, 26 December 2005 (UTC)
A toast!
New bug (at least on IE)
When attempting to click on any link within a pop-up, I am getting a Javascript error: "Line 2479: Error: 'shiftKey' is null or not an object" Line 2479, for your convenience, is the following line in function makeOverDraggable():
Drag.start=function (e) { if (!e.shiftKey) return;
Drag.originalStart.apply(this, [e]);
return false; }
HTH, and thanks again for the great tool! --Russ Blau (talk) 21:37, 29 December 2005 (UTC)
- Thanks. From memory, this is fixed in the dev version. Lupin|talk|popups 01:43, 3 January 2006 (UTC)
Popups in Safari
I noticed on the popups page that there are issues with Safari crashing when popups are implemented. I'm running your script, with Simplepopups = true, but I'm not having this problem. I can't get the popups to show up at all. Would you mind taking a look at User:WAvegetarian/monobook.js? The popups script is visible from the top of the page without scrolling. --WAvegetarian (talk) (email) (contribs) 11:23, 31 December 2005 (UTC)
- Sorry, no idea. I don't have a mac to test safari on. Your commented installation looks fine to me (assuming you realise that it's now commented out, of course). Lupin|talk|popups 01:45, 3 January 2006 (UTC)
- You probably don't need to hear this, since I haven't got a clue about how these things work and am therefore completely useless with regard to helping you fix the problem, but when I installed the popups Safari started crashing on me all the time. I'm running Safari 1.3.1, with OS X 10.3.9 on an iBook G4, if that helps at all. I'm not complaining — it's great that this tool is available at all, and I've no right to demand that it work on my particular system — just letting you know in case you're compiling data, or anything. I've uninstalled the popups again for the time being. —Josiah Rowe (talk • contribs) 15:02, 11 January 2006 (UTC)
Has been superseded by Image:RAF-Roundel.svg. DiamondVertex (Talk) 01:12, 2 January 2006 (UTC)
suggestion for Popups script - Unicode conversion
Would it be possible to allow your Popups script to convert Unicode characters from their HTML codes to their proper symbols? See Curpsbot-unicodify if you're not sure what I'm talking about. --Ixfd64 01:17, 2 January 2006 (UTC)
- Your bot seems to do a lot of clever stuff. What do you think might be useful to have in popups? I don't fancy trying to duplicate all of your work in javascript, and I'm not sure I can see what would be gained by having this functionality accessible from popups rather than pywikipedia (although it surely could be done in principle). Still, I'm open to suggestions. Lupin|talk|popups 01:51, 3 January 2006 (UTC)
Underscores
Thanks for your scripts. I like it very much, everything works so much faster, I especially like the previews and then I am also using it for redirect fixing and link disambiguation. I post you, however, not because I want to thank you, but (sorry) to ask you about this strange redirect fix. Ok, I know, I could have checked more thoroughly. I corrected many redirect that day and forgot to check. Maybe you can change something so the script wouldn't put in useless (are they?) underscores? Thanks (you can answer here). Ben T/C 13:23, 2 January 2006 (UTC)
- The underscore was in the redirect target. I've updated KISS Principle to remove the underscore. Mike Dillon 16:35, 2 January 2006 (UTC)
dbname changed in edit counter
Kate has changed the dbname values from e.g. enwiki and nnwiki to enwiki_p and nnwiki_p. Now, when the edit counter is selected via popups in any wikipedia it defaults to enwiki_p because of wrong dbname. Do you have to hack the script to fix this, or will it go over by itself? Is there some automatic communication between Kate and the script? --Eddi (Talk) 19:04, 3 January 2006 (UTC)
Memory leak?
Another user mentioned that he had experienced some memory leak causing the computer to run slowly, and he suspected it was due to popups.js. Performance improved after restart. Do you know anything about memory leak in connection with these popups? Has the script been validated with respect to memory usage and cleanup? --Eddi (Talk) 19:04, 3 January 2006 (UTC)
- If memory is leaking as a result of my script, then it's surely a leak in the browser that's triggered by my script rather than the script per se. This is because javascript has automagic garbage collection, so in theory should never leak. I'd still be interested if anyone can pinpoint a browser which does leak when running my script, as these issues may be well-known and I may be able to work around these bugs. I'd need precise details (browser, browser version, steps to reproduce) though, and even then I may not be able to pin it down.
- I haven't looked at the memory usage of the script. If you'd care to take a look yourself I'd be grateful. Lupin|talk|popups 23:18, 3 January 2006 (UTC)
- I suspect it may be Firefox that the user in question is using. It is memory leak prone, particularly when using numerous extensions. Whilst it's a great browser, they need to fix this issue - no point in promoting an extensible browser if the extensions can make it less than robust!! I had to treble the size of my swapfile to make it usable. For me, Firefox leaks memory like shit, whether I'm on WP or not, so it is not connected to popups.js (the mother of all scripts Happy new year all. --Cactus.man ✍ 12:59, 4 January 2006 (UTC)
Capital letter filter
I was thinking after trying your filter recent changes script whether there was a way to filter for strings of capital letters. If it is possible, I'm sure that could be a nice addition to the bad word filter. If the scripts use java, all that would take is a simple check to see looping say, through the first 3 letters only as to not overload the system (the rest would probably be assumed capital letters) to see if when the individual character of each string is converted to its numerical form, whether it is within the range of capital letters (I don't know what that range is off the top of my head). CowmanTalk 05:28, 9 January 2006 (UTC)
- I tried something like this. The problem is that caps are used legitimately quite a lot. For example, PAGENAME, #AAAAAA in html and so on. Lupin|talk|popups 03:37, 10 January 2006 (UTC)
Navigation popups
G'day Lupin. Quick question for you, does the navigation popups work on meta. I have tried but without success. Could you have a look here. Cheers -- Ianblair23 (talk) 06:01, 9 January 2006 (UTC)
- Yes it does. I've copied your monobook.js exactly and it works for me. Dunno what the problem is here, if it still exists. Lupin|talk|popups 13:10, 9 January 2006 (UTC)
include_js()
I think that transclusion of javascript pages should be enabled, so that the whole javascript is loaded in one request, but developers seem to consider it unsafe [84].
The other thing, using it to include other pages than user .js pages. That might not be a very good idea. We probably don't want people to include javascript from unprotected pages. But, since we may want to have some sort of approved scripts in the future, I registered User:Tools, which we could use for that purpose, i.e. include_js("Tools/Popups"). Zocky 15:21, 9 January 2006 (UTC)
- We could make the function insist on a specific revision ID for pages outside of userspace. Lupin|talk|popups 00:32, 10 January 2006 (UTC)
- By the way, we can get some sort of transclusion now. If you use
document.write('<script src=http://en.wikipedia.org/w/index.php?title=User:Zocky/transclusions.js&action=raw&templates=expand&ctype=text/javascript&dontcountme=s></script>');
- and in User:Zocky/transclusions.js you do stuff like
{{User:Lupin/popups.js}} {{User:Lupin/recent2.js}}
- then I think it should work (although I'd have to check that template expansion in those scripts doesn't mess them up). The templates=expand bit does the work - see bug 1436). We can't link to old revisions that way, though, I think. Lupin|talk|popups 00:42, 10 January 2006 (UTC)
Yet another Popup thingy
First I want to say you frikin' rock. This thing is great, better than whatever was better before sliced bread. I have a question though. When I preview my user page I see it as it appeared before my last edit. Just to test it I removed a section and then saved the page. The text that I removed still shows up in the preview. My guess is you are actually pulling the previews from the server cache or something. Am I right about that? It's not really a big deal, and if it is coming from cache then I realize there is probably not much you can do about it. I'm just curious is all. Keep doing kewl stuph.--◀Pucktalk▶ 13:02, 11 January 2006 (UTC)
- The script gets its data for previews using URLs like this:
http://en.wikipedia.org/w/index.php?title=User:PuckSmith&action=raw
- These action=raw urls didn't seem to be cached, but recently I've noticed that old versions do get through. I could change the script to get around this by sticking a random number in the URL, I think, but that's probably a bad idea as they pages are likely to be cached for a reason. Maybe a button or some way of refreshing the preview with the latest version would be a solution.... gotta think of a good unobtrusive UI for that. Any ideas? Lupin|talk|popups 22:21, 11 January 2006 (UTC)
- Sorry, my DHTML and javasript skills are very limited. Looking at the source code just reinforced that notion for me. (I like server-side stuff myself--PHP, yummy). How you manage to keep that monstrosity functioning in Firefox, Opera and IE is a wonder to me. For what it's worth I've moved everything off my user page but two sentences. In the preview I'm still seeing what was there yesterday and that skips over everything before the second section. The page I moved everything to is previewing as empty. Believe me, it's not. I'm trying to figure out what was causing the skipping in by removing everything and then putting it back piece-by-piece, but the delay in refreshing the preview is making that very slow work.--◀Pucktalk▶ 13:00, 12 January 2006 (UTC)
- Here's one thing I should have mentioned: the script caches pages too, to reduce network overhead. This means that at the very least you have to reload the page the popup appears on to have a chance of getting the latest version of a preview. So there are at least two levels of caching I'm aware of, the server-side caching and the per-reload client-side caching of the script. It's also possible that the browser caches the request for the preview page, which would complicate matters further.
- I'm seeing a nice preview on that page you mentioned, so perhaps you've got to the bottom of your problem. Lupin|talk|popups 14:03, 12 January 2006 (UTC)
Ok, it may be difficult to see in the thumbs, but the text in the preview that starts with "Word usage" is in section 3.2 of the page. The preview skips over the first paragraph and and 3.1 more sections before it grabs any text. The refresh issue is not as big a deal to me as this text skipping. I'm not bitching or anything, I'm just trying to help get the kinks worked out cause I really enjoy using this tool.--◀Pucktalk▶ 14:51, 12 January 2006 (UTC)
- Ah, I see. The problem is that many articles have stuff at the top that shouldn't appear in a little preview (infoboxes and so on), so suspicious-looking things are stripped out. In particular, it strips out html, and stuff wrapped in things that look like html tags. The </center> immediately above the chunk that is previewed leads me to suspect that this is what's happening here. (Also, note that HTML tables and wikitext tables are stripped out). Lupin|talk|popups 15:02, 12 January 2006 (UTC)
- I kind of thought it might be something like that. That's why I moved every thing off my user page to try and figure out what it was. I like the way that when you preview an article it gives you the first couple of sentences. In a well written article that's all you really need if all your trying to do is get a quick answer. I want to come up with a short introduction to myself that will show up in the preview. It was bugging the crap out of me that it kept getting skipped over. I think I can get it worked out now. Thanks.--◀Pucktalk▶ 15:13, 12 January 2006 (UTC)
Recent edits
Would it be possible to make it append updates to the bottom rather than the top. Using show details gets frustrating when a new batch of edits comes in and I have to scroll around to find it. - RoyBoy 800 17:51, 11 January 2006 (UTC)
- Sweet Jesus you're awesome! Could you do it for Recent IP edits too? :"D Also while I'm on a roll could there a toogle (situated on the same line as the "updating" line) which lets you open and close all details at once (and overrides previous open/close status). If that's available it becomes less important how it appends, although I still think the new way is more productive. - RoyBoy 800 03:09, 12 January 2006 (UTC)
|
PS: Phroziac's sig is giving false positives because of its integrated hearts. - RoyBoy 800 05:58, 12 January 2006 (UTC) (This box is optimized for 1024x768, even though 800x600 is quite nice.) |
|
Image:180px-Brightpinkhibiscus.jpg has been listed for deletion
An image or media file that you uploaded, Image:180px-Brightpinkhibiscus.jpg, has been listed at Wikipedia:Images and media for deletion. Please look there to see why this is (you may have to search for the title of the image to find its entry), if you are interested in it not being deleted. Thank you. |
identical with another image. Chick Bowen 23:48, 11 January 2006 (UTC)
Thanks
I just noticed you had reverted some vandalism on my user page last November. I saw it in the edit history, and I thank you for your going above and beyond the call of duty to help out an newbie and occasional editor. Thanks! Vonspringer 04:29, 12 January 2006 (UTC)
And I see you did it with an insanely useful tool you made. I am very impressed. Thanks for the hard work! Vonspringer 04:32, 12 January 2006 (UTC)
Popups don't work
A few minutes ago, my monobook file (User:King of Hearts/Monobook.js) was suddenly deleted without any reason. Now, after I recreated it, the popups don't work. Did I do something wrong, or is there a problem with the popups? -- King of Hearts | (talk) 01:10, 13 January 2006 (UTC)
- P.S. Please reply on my talk page. -- King of Hearts | (talk) 01:10, 13 January 2006 (UTC)
Another question
The automatic disambiguation leads you to an automatic "Show Changes" instead of "Save". See Wikipedia talk:Tools/Navigation popups#Problem for more details. -- King of Hearts | (talk) 01:51, 13 January 2006 (UTC)
WP:POP
Made some changes. Wondering if there is a way to allow for an edit this function —concievably something similar to how the fix redirect function works, only it does not engage the save button - ie. it opens the editor and just finds the word the mouse was pointing to. ? -MagnaMopus 06:50, 13 January 2006 (UTC)
Popups ideas: 1) Allow disambiguations to show more lines in preview (2x current) 2) Allow autofix of disambig links, based on the 'fix redirect' function:
Foo may refer to: * Foobar (fix) * Foobles (fix)
Two more suggestions
For easier visual flow I'd suggest highlighting the updating rows with a color and/or box, and putting after the toggle link a "clear" or "restart" link. Which would clear all the results and start fresh; essentially its a Recent IP link to restart things. Because if you get distracted with something for a few minutes you know what you are looking at isn't new and you can either to go the trouble of finding the most recent toogle at the bottom, or going up and clicking Recent IP's again. - RoyBoy 800 00:11, 15 January 2006 (UTC)
Im realy sory
Im sory i vandelised a pages on a wiekipedia. i wont do it agn. plz sory
avp @ pt:
Lupin, just thought you might wanted to know: the anti-vandalism tool was translated to portuguese and it's being used at pt:Wikipedia:Software/Anti-vandal_tool (.js). Nuno Tavares 08:15, 15 January 2006 (UTC)
Oops
Sorry for reverting your edits to your user page. Lupin|talk|popups 14:04, 15 January 2006 (UTC)
- No problem. I guess I had that coming o_O Dabljuh 14:07, 15 January 2006 (UTC)
Plagiarism from Microsoft Encarta in 'Ball Lightning'
Sorry about that. I only recently found out that I had a Wikipedia account. A 'friend' signed me up and used it to edit the Ball Lightning article.
Anti-vandal tool
Just wanted to say thanks for that thing, it's great, especially the recent work you've done on it! —Alxndr (t) 18:23, 16 January 2006 (UTC)
Simple javascript question
If I put the last block of MediaWiki:Monobook.js into a separate js file, and used document.write inside Monobook.js, how do I prevent the separate js file from being downloaded unless the page I am currently on is an Edit page? Thanks. — 0918BRIAN • 2006-01-17 02:36
if(document.editform) { document.write('<script ...></script>'); }
I beg of you
This tool breaks down an article's edits by its editors (only for mainspace articles). Can you add it to the popup, using a name like "count". You simply need to append the article's name (even with spaces) to the end of this URL: http://tools.wikimedia.de/~tim/counter/?page= — 0918BRIAN • 2006-01-18 04:01
Anti-Vandal Tool
I never really got around to installing your anti-vandal tool yet and I saw where users were equipped with it and they found vandalism ten times faster than I did without the tools. I finally installed it and I have to say Thank You for the tool box. It's utterly great. — Moe ε 04:53, 19 January 2006 (UTC)
Kate's tool vs. Interiot's tool
Would it be possible to allow the user the choice of edit counters? I find Interiot's tool to be a bit nicer than Kates.... my suggestion is a new preference var which defaults to 'kate' but when set to 'interiot' uses this tool:
instead of this one
(that way the var value is just substituted into the URL as they are otherwise the same) Why? Interiot's tool is much more feature rich, I think, although it's based off Kate's.
Also, while I have your ear, if you can cram in a link to this tool:
that would be awesome. Being able to walk what the user contributed is very powerful stuff. Thanks again (you can reply here, I'll see it), I speak for many when I say I can't live without this tool (I find myself hovering over links on other wikis, and wondering why nothing happens, a lot) ++Lar: t/c 07:32, 19 January 2006 (UTC)
- Good idea. I've added these features to the dev version. Lupin|talk|popups 14:01, 19 January 2006 (UTC)
- BRILLIANT !! Thanks for that idea and the implementation :) --Cactus.man ✍ 16:16, 19 January 2006 (UTC)
- Great news, thanks, can hardly wait. Speaking of hardly waiting... pardon me if this is an RTFM question (I did check the Wikipedia:Tools/Navigation_popups page, didn't see it), but can (should?) mere mortals like me get access to the dev version? If so, how? Or is it just a matter of you and your inner circle (the "popups CABAL!!" lol) testing for a while and then this gets pushed out to all? thanks! ++Lar: t/c 18:08, 19 January 2006 (UTC)
- No, the dev version is just the one that breaks now and again while I try new stuff, it's not a secret! See User:Lupin/Popups testing for installation instructions. Lupin|talk|popups 23:31, 19 January 2006 (UTC)
- Thanks... I put both in my monobook, but just commmented one of the writes out depending on which I want. I am guessing (by looking in User:Lupin/popupsdev.js) that the switch for editcounter is popupEditCounterTool ?? ++Lar: t/c 00:09, 20 January 2006 (UTC)
- That's right. You need to put interiot in quotation marks, though, like this: popupEditCounterTool='interiot', and your last edit to your monobook file introduced Ü character at the end, which I suspect will mess things up too. Lupin|talk|popups 00:15, 20 January 2006 (UTC)
- Very weird. I have NO idea how that got in there... Perhaps a stray click on the insert chars below the summary/save area ... You're right, it sure wasn't working corrrectly. And then all of a sudden it started working, which confused me even more till I looked here! LOL. Anyway, good stuff, thanks! ++Lar: t/c 00:56, 20 January 2006 (UTC)
- That's right. You need to put interiot in quotation marks, though, like this: popupEditCounterTool='interiot', and your last edit to your monobook file introduced Ü character at the end, which I suspect will mess things up too. Lupin|talk|popups 00:15, 20 January 2006 (UTC)
- Thanks... I put both in my monobook, but just commmented one of the writes out depending on which I want. I am guessing (by looking in User:Lupin/popupsdev.js) that the switch for editcounter is popupEditCounterTool ?? ++Lar: t/c 00:09, 20 January 2006 (UTC)
- No, the dev version is just the one that breaks now and again while I try new stuff, it's not a secret! See User:Lupin/Popups testing for installation instructions. Lupin|talk|popups 23:31, 19 January 2006 (UTC)
Popups revert race condition?
I asked on IRC and User:kmccoy said to come to you first:
In the Hurricane Katrina history, there are the following edits in this order:
(cur) (last) 00:38, January 20, 2006 AySz88 (Popups-assisted reversion to revision 35895397)
(cur) (last) 00:36, January 20, 2006 The pi pirate (Popups-assisted reversion to revision 35895397)
(cur) (last) 00:36, January 20, 2006 131.52.121.101 (→Evacuation and emergency shelters)
(cur) (last) 00:34, January 20, 2006 131.52.121.101 (→Synopsis)
If you look at the diffs, it appears that the first revert missed the second vandal edit, for some reason. I thought that it might be some sort of race condition with the Wiki software (like the revert edit got saved into history after the vandal edit, but applied to the article before it), but kmccoy said he thought it that the first revert "was started in popups before the second vandalism, but didn't actually happen on wikipedia until after it (since it happens client-side.)", so it could be something in the Popups. I thought you might want to take a look at what happened. --AySz88^-^ 05:58, 20 January 2006 (UTC)
- Interesting. My feeling is that this is a bug in mediawiki, not my script. This is because my script requests a specific ID, loads the edit page and then clicks the save button, just like a manual revert. In this case the first popups user has apparently been sent a revision which (s)he did not request. I can't see how a race condition can develop in the script itself, since it seems to be anchored with its use of specific revision IDs. Lupin|talk|popups 12:44, 20 January 2006 (UTC)
- You could try http://bugzilla.wikimedia.org/ Lupin|talk|popups 03:46, 21 January 2006 (UTC)
- Thanks - it appears to be a case of http://bugzilla.wikimedia.org/show_bug.cgi?id=2880 . --AySz88^-^ 04:30, 21 January 2006 (UTC)
Single click and then forget about it
Some actions in the popup menu don't warrant the opening of a page, e.g. watch or unwatch (in my opinion). Other actions typically warrant a new window or tab with the respective action, such as edit actions, particularly when the link is a page and the action is a talk page (or vice versa). Could the behaviour of certain actions be modified by default or by options? --Eddi (Talk) 12:33, 22 January 2006 (UTC)
- These are possible. However, for watching pages and most other actions, the advantage of the current system is that the user gets confirmation that his request has been processed successfully. If I did this in the background, I'd need to do the same -- for example, the user could click "watch", then visit another web page before the transaction was completed, and the page would never be watched at all. I could make a javascript alert appear on success, but that's just annoying in my opinion.
- At the moment, I tend to just open such links in a background tab by holding control or middle-clicking in firefox. That way, the page is watched regardless of what I do on the original page. I then get to read the confirmation when I want to, or if it fails then I can just hit refresh on the tab. The same control-click approach is what I use for the other links that I want to open in a new window or tab, as I find myself sometimes wanting to open them in the same tab, and sometimes in a different tab. However, I think I'll try to add a way to control the default action for each one as you suggest. Lupin|talk|popups 13:46, 22 January 2006 (UTC)
- I've added a new option to the dev version with a hideous name, popupLinksNewWindow. This is used as follows:
popupLinksNewWindow=new Object(); popupLinksNewWindow.watch=true; popupLinksNewWindow.unwatch=true; popupLinksNewWindow.arin=true;
Image:Crested penguin.jpg listed for deletion
dbenbenn | talk 03:51, 23 January 2006 (UTC)
- Also Image:Littlebluejellyfish.jpg. dbenbenn | talk 04:11, 23 January 2006 (UTC)
Regarding vandal's attack on your page
Sorry about Kooorooo going around and deleting the images off your page. This KKK member is basically angry that I deleted a pic of Britney off his page, as it legitimately violated Wikipedia:Fair use policies #2, 7, 8, 9. He went on a deleting spree in my name (either by attribution or the sockpuppet zanimum2), deleting stuff off many user's pages in a fit of irrationality. All of his edits to your pages have been reverted. -- user:zanimum
Just to let you know that I have moved this image to Commons and tagged it as {{NCT}}. A question: the history for the image suggest that it has been uploaded by a bot. Presumably a bot cannot be the copyright holder - therefore I attributed the picture to you in the Commons (see this)- please check that you are happy. If not, what do you think is the appropriate course of action?
Several popups questions
Hello. I've got a several questions that I've been meaning to ask you for a while.
1) Has anybody using Firefox ever reported that they had increased RAM use when using your popups? I'd like to use your popups because they're obviously useful, and people keep asking me how my tools interact with yours, and because I've got more tools to write that would be enhanced by the popups. But my work machine only has 256mb RAM, and it really seems like Firefox seems to leak or otherwise use a lot of memory when I have the popups activated (particularly when I look at Special:Contributions with limit=5000 or something).
2) Is adding new links to the popups relatively straightforward? You just use DOM to insert things into the popup area? Haza-w created this to add my counter, and very similar code could be used to link to my contribution tree tool?
3) (more of a wish-list than a question, feel free to skip) There's two features in particular that I would like to see wider use of, and eventually I'd like to see it added to MediaWiki itself. I don't know if you've played around with my contribution tree tool very much, but one of its core features is the ability to list a single person's contributions to a single page (for example). That's something that would be nice to be triggered from history views, either via popups, or perhaps by MediaWiki itself.
The second feature is that I think one should be able to jump from this or this sort of view into this view (eg. where the first version on the list is the one you started with... it makes it easier to jump from the Special:Contributions list for a specific person into the middle of a page-specific history). I don't think that sort of thing is currently possible with MediaWiki? If not, the popup might be able to help do that? --Interiot 19:04, 24 January 2006 (UTC)
- 1) I've had reports of memory leaks triggered by the script, yes. I don't yet know how to reproduce this reliably. Do you see disproportionate memory usage immediately, or over the course of several hours? Is there a particular url that's troublesome?
- 2) You can't add links using the DOM alone, as they have to change with each popup. It's not terribly hard for me to add new ones, though. Incidentally, there's a flag in the dev version which lets you switch from kate's edit counter to yours, after someone requested this, and the contributions tree is in there too. (They're both lovely tools, by the way).
- 3) Your contribs tree thing seems to be broken at the moment, but I'll play with it later on and see what I think about those extra links. As for jumping around history pages, I think these links to bits of history would sit nicely on the page itself (using a separate script). To do this, the script would probably have to screen-scrape the date from the page itself (the "Revision as of ..." strings). Lupin|talk|popups 23:40, 24 January 2006 (UTC)
- Ad 2) I've been looking around for that particular flag, but can't seem to find it. I'd love to able to check the contribution tree of a user immediately - much more informative than just a single number of course! I do use the dev version btw, works okay on WinXP/IE6, though sometimes a bit heavy. TIA! The Minister of War (Peace) 15:59, 25 January 2006 (UTC)
Image Tagging Image:Weather radar.jpg
This image may be deleted.
|
Thanks for uploading Image:Weather radar.jpg. I notice the image page currently doesn't specify who created the image, so the copyright status is therefore unclear. If you have not created the image yourself then you need to argue that we have the right to use the image on Wikipedia (see copyright tagging below). If you have not created the image yourself then you should also specify where you found it, i.e., in most cases link to the website where you got it, and the terms of use for content from that page.
If the image also doesn't have a copyright tag then you must also add one. If you created/took the picture then you can use {{GFDL}} to release it under the GFDL. If you believe the image qualifies as fair use, please read fair use, and then use a tag such as {{Non-free fair use in|article name}} or one of the other tags listed at Wikipedia:Image copyright tags#Fair_use. See Wikipedia:Image copyright tags for the full list of copyright tags that you can use.
If you have uploaded other images, please check that you have specified their source and copyright tagged them, too. You can find a list of image pages you have edited by clicking on the "my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "Image" from the dropdown box. Note that any unsourced and untagged images will be deleted one week after they have been uploaded, as described on criteria for speedy deletion. Thank you. Admrb♉ltz (T | C) 20:04, 24 January 2006 (UTC)
12 hours watchlist
Hi! Have you experienced a switch from default 3 days to default 12 hours watchlist recently? It happened to me and others at no: on Thursday (not improved yet) and at nn: today. No problems at en: so far. Do you think it could be related to monobooks.js or popups.js? Personally I doubt it, because I use the same scripts (the stable version) at no: and nn: and I don't think it explains a 5 days lagtime between initiation of the problem. Any other explanations you could think of? Thanks. --Eddi (Talk) 23:53, 24 January 2006 (UTC)
- I just checked and it's 12 hours for me too. The scripts are not to blame unless something very peculiar is going on - I expect it's just the devs playing around. If you want things back the way they were, you could try something like this (untested):
function fixWatchlistLink () { for (var i=0; i<document.links.length; ++i) { if (document.links[i].href.indexOf('Special:Watchlist')>0) { document.links[i].href+='?days=3'; break; } } }; function addOnloadFunction (f) { if (window.addEventListener) window.addEventListener("load",f,false); else if (window.attachEvent) window.attachEvent("onload",f); }; addOnloadFunction(fixWatchlistLink);
- I'll ask at the village pump. Just to clarify, on which Wikipedia did you get 12 hours? --Eddi (Talk) 04:04, 25 January 2006 (UTC)
Javascript mini-emergency
Due to MediaWiki:Anonnotice, all of our hits in Google now start out with "Please read Wikipedia founder Jimmy Wales's personal appeal." According to Brion, this can be fixed using javascript. Any idea on how this can be done? Thanks. — 0918BRIAN • 2006-01-25 20:47
- The div containing the notice could be served hidden, and it could be unhidden with javascript. The googlebot doesn't interpret javascript but it may be sophisticated enough to ignore hidden text, so hopefully the notice won't show in google. This is a complete guess though. F'rexample, MediaWiki:Anonnotice could read
<div style="text-align:right; font-size:80%; visibility:hidden;" id="anonnotice">'''Please read Wikipedia founder Jimmy Wales's [[Wikimedia:Personal Appeal|personal appeal]].'''</div>
- and you could add something like this to MediaWiki:Monobook.js
addOnloadFunction(function(){ var an=document.getElementById('anonnotice'); if (an) { an.style.visibility='visible'; }});
- ... together with the usual definition for addOnloadFunction.
The disadvantage of this approach is that for slow-loading pages, the div won't be unhidden until the page has completely finished loading, which causes the page contents to jump downwards disconcertingly.Lupin|talk|popups 22:23, 25 January 2006 (UTC)
- Actually, turning the text into an image may turn out to be a better idea. We'll see.... — 0918BRIAN • 2006-01-25 22:20
User script
Thank you for the script I requested. I just found one problem with it though - I can't type j or k in the reason for deletion when I try to delete a page. Angela. 03:33, 26 January 2006 (UTC)
- It should work now - I've disabled it for a bunch of pages. It'll still interfere with typing things into the search box on normal pages at the moment, although Special:Search should be OK. (This is fixable but I won't do so now). Lupin|talk|popups 03:56, 26 January 2006 (UTC)
Dotty Map
Hi,
I've used the UK map with a yellow dot which you uploaded for Keynsham on the Chew Valley Lake page as it's only a few miles up the road - is this OK or is a new map with a (very) slightly different location dot needed? If so, I don't think I have the knowledge/technology to do this & wuld appreciate any help Rod 21:42, 26 January 2006 (UTC)
lastContrib and sinceMe requests
Very cool tool.
I think more useful than "lastEdit" would be "lastContrib", especially when checking for vandalism. Often a user makes a series of edits in a short time span and simply looking at the diff for the last edit won't reveal all of the changes, only the last one. This is particularly true because if a significant edit was made and then the user noticed a typo or formatting issue that they immediately corrected, only the typo correction would be displayed. To determine if the last edit reflects all of the changes made by the last person to edit the file, you need to look at the history. So my request is for a "lastContrib" menu item that shows a diff between the last user (contributor) to edit the file and the first edit in the history made by a different user. (BTW, I realize doing this is probably not completely straight forward as lastEdit and all of the other current menu items use URLs that don't require any inspection of dynamic content such as the history, but given how responsive it is fetching the page stats, I'm guessing that the delay until the lastContrib menu item was displayed would be acceptable.)
- I can see how this would be useful - I'll consider trying to do this. It would be a lot slower than the page stat grabbing though, as that's done by getting the wikitext "raw", which is fast. To do what you ask I'd have to get the history, and there's no raw version of that, so it'd have to be HTML. That'll be slow.
Another possibly useful addition would be to have a "sinceMe" command that would be displayed for pages the user has editted. This would bring up a diff of all changes to the page since the last change from the current user. This would be EXTREMELY nice when going over links on your watchlist. – Doug Bell talk•contrib 12:26, 27 January 2006 (UTC)
- Again, performance issues would be my concern. Still, I'll think about it. Lupin|talk|popups 21:58, 27 January 2006 (UTC)
- OK, I've had a go at this in the dev version. Lupin|talk|popups 03:07, 28 January 2006 (UTC)
- Whoops! I've updated the script, so please clear your cache and try again. Performance is quite snappy actually - my main concern is that the UI is getting cluttered (again) so if anyone has ideas about that I'd like to hear them. Lupin|talk|popups 13:48, 28 January 2006 (UTC)
- Nice feature, thanks Lupin, and performance is good too :-) Just one question, is there any reason these open as new popup windows, but all the other links are draggable to new tabs, which is how I prefer to work? I almost reported the "latest edits" and "diff my edit" links as not working because I was dragging to new tabs and nothing was happening. As for the UI, it's still pretty clean with the menus option turned on, not sure if you need to do anything for that option right now. Cheers. --Cactus.man ✍ 15:54, 28 January 2006 (UTC)
- Yes, I've been doing a lot of control-clicking to get new tabs myself, but that doesn't work with these links either. The problem is that these javascript:function() urls (which download the history page and figure out the correct url to go to) won't work in a new page or tab and I don't know a workaround. One way would be to parse the history pages automatically before the menu is generated, but this would be bandwidth-greedy and error-prone I think. I've set these links to use new windows by default (and actually in my setup this opens new tabs, there's a firefox pref for this buried somewhere). The only alternative I know of is to have them open in the same window, which is usually not wanted I think. You can change this behaviour by setting popupLinksNewWindow={'lastContrib': false, 'sinceMe': false};. Lupin|talk|popups 16:38, 28 January 2006 (UTC)
- Thanks for the quick reply. In Firefox 1.5.0.1 Tools->Tabs->Force links that open new windows to open in .. select "a new tab" radio button and bingo, both links open in a new tab, original page is preserved and no new windows :-) Thanks a bunch. --Cactus.man ✍ 17:26, 28 January 2006 (UTC)
- Yes, I've been doing a lot of control-clicking to get new tabs myself, but that doesn't work with these links either. The problem is that these javascript:function() urls (which download the history page and figure out the correct url to go to) won't work in a new page or tab and I don't know a workaround. One way would be to parse the history pages automatically before the menu is generated, but this would be bandwidth-greedy and error-prone I think. I've set these links to use new windows by default (and actually in my setup this opens new tabs, there's a firefox pref for this buried somewhere). The only alternative I know of is to have them open in the same window, which is usually not wanted I think. You can change this behaviour by setting popupLinksNewWindow={'lastContrib': false, 'sinceMe': false};. Lupin|talk|popups 16:38, 28 January 2006 (UTC)
- Nice feature, thanks Lupin, and performance is good too :-) Just one question, is there any reason these open as new popup windows, but all the other links are draggable to new tabs, which is how I prefer to work? I almost reported the "latest edits" and "diff my edit" links as not working because I was dragging to new tabs and nothing was happening. As for the UI, it's still pretty clean with the menus option turned on, not sure if you need to do anything for that option right now. Cheers. --Cactus.man ✍ 15:54, 28 January 2006 (UTC)
- Whoops! I've updated the script, so please clear your cache and try again. Performance is quite snappy actually - my main concern is that the UI is getting cluttered (again) so if anyone has ideas about that I'd like to hear them. Lupin|talk|popups 13:48, 28 January 2006 (UTC)
- OK, the menu items show up fine for me now and lastContrib seems to work fine. However, sinceMe brings up a window about no edits found for user Doug+Bell, even though I have made edits. Also, after a delay of 20-30 seconds I got a message about a stack overflow at line 629. I'm guessing it's not finding my last edit because there is a space in my user name. I don't know if this would be related to the stack overflow. – Doug Bell talk•contrib 02:26, 29 January 2006 (UTC)
Using code
Hi, I'd like to use a part of your code (popups.js), namely oldidFromAnchor, articleFromURL and the variables (REGEX) needed for these functions, for a Greasemonkey userscript. Is that ok with you? 16:05, 27 January 2006 (UTC)
AV badwords
Is the list case-sensitive when filtering recent changes? haz (user talk) 16:54, 27 January 2006 (UTC)
Popups in editbox?
Could you make popups work in the editbox, so that when you point to [[foo]] in the source while editing a page, either the intro of Foo or "Foo doesn't exist" pops up? Zocky | picture popups 21:09, 28 January 2006 (UTC)
- I don't think it's possible to do exactly as you say. Maybe if the text was highlighted first.... Lupin|talk|popups 22:10, 28 January 2006 (UTC)
- How about if you don't press any keys for a while, and your text cursor is inside a link? I don't know if it's easy to find out where to pop it usefully. Zocky | picture popups 18:19, 29 January 2006 (UTC)
- I've got something in the dev version: if you highlight text with the mouse and the selection contains one wikilink, a popup should appear. Lupin|talk|popups 18:57, 29 January 2006 (UTC)
- I wouldn't mind being able to pop em up wihout the mouse, but not bad at all :) Zocky | picture popups 19:18, 29 January 2006 (UTC)
- I've got something in the dev version: if you highlight text with the mouse and the selection contains one wikilink, a popup should appear. Lupin|talk|popups 18:57, 29 January 2006 (UTC)
I was actually thinking about this: detect when you are in preview mode and make the fix redirect and fix dab links for links in the preview alter the current edit box instead of the raw text from the server. The main problem I see is that you can no longer provide useful edit summaries automatically. Mike Dillon 18:50, 29 January 2006 (UTC)
The Nardcore band Agression is purposely spelled with one G
Please leave it alone. I don't understand why people who don't know anything about a subject or name, think they have the right to change it. it's stated on history several times it's wpelled with one G. If you don't believe me, look it up! ~~maluka
- Ah, apologies. I did realise this after I'd made the change, but I only corrected one instance. Lupin|talk|popups 16:50, 29 January 2006 (UTC)
Flag to Interiot's tool
Hi Lupin, I heard that there is a flag in the popups which allow to link directly to Interiots tool, rather than kate's - but i cant seem to find it! Could you point me in the right direction? Cheers! The Minister of War (Peace) 16:46, 29 January 2006 (UTC)
- Yes, that's right. Go to WP:POP and search for interiot and you'll find it. Lupin|talk|popups 16:51, 29 January 2006 (UTC)
- Duh. Thanks, cant see how i missed it. Sadly though, it doesnt seem to work on my comp (winXP/IE6) :-/ The Minister of War (Peace) 19:15, 29 January 2006 (UTC)
nav popups question
Hey there,
Is there a way to cause popups-assisted reversion edit summaries to reflect the name of the user that authored the version being reverted to, rather than the numeric rv id? Numeric ID's generate some confusion for other editors when reviewing edit summaries.
Thanks for helping out, and improving my Wikipedia experience :)
Adrian Lamo · (talk) · (mail) · 18:54, 29 January 2006 (UTC)
Please add new messages to the bottom of this page. You can do this by using this link.
I will usually respond on this page.
Fix this redirect
Lupin -- the popups are a great tool! Thanks for doing this. One minor suggestion, for fixing double-redirects. Suppose "[[Foo]]" is a redirect to "[[Bar]]" and "[[Bar]]" is a redirect to "[[Baz]]". If I am on the [[Foo]] page and use the pop-up to fix the redirect, it wants to change #REDIRECT [[Bar]] to #REDIRECT [[Baz|Bar]]. The |Bar part isn't necessary in this context and might be confusing to anyone else who is tracing redirects. --Russ Blau (talk) 13:36, 20 October 2005 (UTC)
Popups not working for me
My mouth is watering at the prospect of getting your popup tool, but for some reason it won't work for me. I'm using Safari on Mac OSX on an iBook. Do you have any idea what the problem might be? RMoloney 18:13, 20 October 2005 (UTC)
Never mind - it was just taking its time to start working. RMoloney 18:22, 20 October 2005 (UTC)
Thanks
Lupin, thanks for your support on my RFA. I very much appreciate it. If you ever need anything, don't hesitate to ask. See you around! —thames 18:28, 20 October 2005 (UTC)
Also thanks for the nice work separating out the 404 errors in Wikipedia:Dead external links. Should be handy! -- Marumari 19:43, 20 October 2005 (UTC)
Popups question
Would it be feasible to auto-update the popup window when you hover over links inside the pop-up? This would make it feasible to navigate through Wikipedia without ever clicking a link. Oh, and of course you deserve a barnstar for this fantastic tool.--Eloquence* 21:11, 20 October 2005 (UTC)
- Thanks for the idea and the barnstar! It's a nice idea... I'll think about doing this. A more intuitive UI (IMO) would be to have separate popups appearing over the existing popup, but this requires fundamental changes to the code to make it more modular. I am reworking the code from scratch with stuff like this in mind, so this may eventually materialise! (Eventually being the operative word here as I'm going very slowly). Lupin|talk|popups 22:17, 20 October 2005 (UTC)
- Good luck, refactoring can be a pain. I'm not sure it's more or less intuitive to have popups upon popups. In effect, your popup system is kind of a "mini-browser", so I think some of the same considerations apply as in traditional browser UIs. Imagine your browser would open every link in a new window, for example. But it's hard to tell without testing it. My guess is that, if the popup was refilled using the same time delay as used for the initial popup, and only the links in the "content area" (below the title and menu) would be active in this way, it would be reasonably intuitive. In fact, I sort of expected it to already work this way ;-).--Eloquence* 23:36, 20 October 2005 (UTC)
- Hi Lupin, I am testing the Dev version right now. This was a question I was going to ask, but Eloquence beat me to it. I tend to agree that a new popup (with focus) over the existing popup would be more intuitive. This could then be lost when the mouse moves back over the existing popup to allow a new link to be previewed. Sounds like a lot of work, but I am no JS guru. Multiple cascading popups would in theory be possible. I like the new dev version BTW, very clean, and the Options facility is fantastic. Keep up the good work. --Cactus.man ✍ 11:42, 21 October 2005 (UTC)
- This is kindof related... once the code is modularised, would it be possible to create a "sticky tabs" option, where the popups can be left on screen instead of closing? It would be quite useful to be able to pull up a few of them, move them around... Alphax τεχ 09:22, 26 October 2005 (UTC)
JS
The problem with using monobook.js is that I absolutely hate monobook. If you have the popup for classic, that'd be better.
...do you? DS 00:22, 21 October 2005 (UTC)
- Ah, never mind, I see now. Thank you for your suggestions; I plan to implement them later on. Again, thanks. DS 00:47, 21 October 2005 (UTC)
Wow
I added that thing, and that thing is so far above me that I barely comprehend what it did.(It added the move tag, right?) Man, is there anyplace where someone who knows little to nothing about Java and CSS can learn this stuff? Even my HTML experience is fairly minimal. Karmafist 02:54, 21 October 2005 (UTC)
Subarticle bug
Titles of popups don't work on links like kbit/s. I have no idea how to differentiate between articles that are subpages and articles that aren't... — Omegatron 14:57, 21 October 2005 (UTC)
- Yes, this is tricky. One idea that's just occured to me is to never do this for the article and article talk namespaces - maybe that's a way out. Lupin|talk|popups 21:20, 21 October 2005 (UTC)
- I've put this into the dev version, so kbit/s now works properly. Lupin|talk|popups 21:36, 21 October 2005 (UTC)
- Thanks again for this tool! :-) — Omegatron 23:02, 21 October 2005 (UTC)
Popups
Thanks for informing me of this useful tool. Wikiacc (talk) 19:15, 21 October 2005 (UTC)
Short Film/Subject
You recently moved Short film to Short subject. I was just wondering why you did it and if any discussion led to it, because to me Short film would seem the more common title, though I'm not exactly a representative sample. --Cherry blossom tree 23:48, 21 October 2005 (UTC)
- I'd tend to agree that short film is the more natural title. When I moved it, the article seemed to focus on "short subject" as the main topic, so I moved the article to reflect that. Feel free to reverse this if you like. Lupin|talk|popups 00:53, 22 October 2005 (UTC)
Wikipedia background color
Since you probably know, how can I change the background color used in Wikipedia? Is it something I have to add to a monobook.js or monobook.css file? I wanted to change the article space color, and the form background color. Thanks. — BRIAN0918 • 2005-10-22 20:34
- It'll be something in monobook.css. As for exactly what, I'd try using the document inspector (control-shift-I in firefox) and poking around. Lupin|talk|popups 22:26, 22 October 2005 (UTC)
Re: Popups tool
Hi Lupin. Thanks for letting me know about the popups tool. I tried it out for a while, and did find it useful. However, it was also a bit annoying: I found the popups worked only haphazardly; they often appeared when I didn't want them, or at times, wouldn't when I did. I think they may also have slowed my use of Wikipedia. I might return to them though. Thanks again, --Cyberjunkie | Talk 10:05, 23 October 2005 (UTC)
- IE, and occasionally Mozilla. I think the haphardness was pronounced in IE.--Cyberjunkie | Talk 13:12, 23 October 2005 (UTC)
- I'll try to give it a longer try over the next week and see if I can offer more descriptive feedback. The problems may just have been a by-product of my connection speed being throttled. --Cyberjunkie | Talk 13:40, 23 October 2005 (UTC)
Quick Watch/Unwatch?
Is it possible to provide a setting so that you can click on un|watch and it'll remove/add the item to your watchlist without having to go to another page? If it were possible to have it open up another window that closes either after a short amount of time or when it is finished loading, that might work. — BRIAN0918 • 2005-10-23 18:40
- Yes, this is probably possible, at least the version that opens up a new window which then evaporates. I'll put it on my todo list. Lupin|talk|popups 20:18, 23 October 2005 (UTC)
- Right, but the approach I was thinking of would still create tabs or new windows, which would be equally irritating. If you're trying to clean up your watchlist quickly, I think that checking checkboxes is more convenient than finding links in a popup, wouldn't you agree? I'm a bit unwilling to code this up (it's not completely straightforward) without seeing a good application for it. There are javascript tools that you can use to check lots of checkboxes at once if that's what you want... in fact, a nice tool would be to be able to filter your watchlist with a regex (eg remove all user pages) which would be doable I think, although separately from the popups. Lupin|talk|popups 03:27, 24 October 2005 (UTC)
popups with Essjay's monobook.js
Hi Lupin, sorry to bug ya, but I've been playing around with my monobook.js and I'd like to know if it's possible to use both your popups and Essjay's monobook.js stuff (adding links, tabs, etc.). Whenever I add your script, it just shows up as text across the top of my screen and doesn't actually work. There ought to be a way to close the popup command or something so that both work properly. Thanks for your help. --Spangineeres (háblame) 03:44, 25 October 2005 (UTC)
- Sounds pretty crazy. Could you tell me a revision of your monobook.js that I can try to see if I can duplicate this? Also, which browser do you use? Lupin|talk|popups 03:52, 25 October 2005 (UTC)
- Yep, really crazy, but it seems to be working now. Not sure what the deal was. Sorry for the trouble. --Spangineeres (háblame) 04:09, 25 October 2005 (UTC)
Popups killing godmode-light
Not sure what's going on here, but they aren't compatible. Alphax τεχ 01:03, 26 October 2005 (UTC)
- I've never used this script - what's it supposed to do, and what does it fail to do when it's running alongside popups? A very cursory glance at godmode-lite.js makes me think that we've named md5 hashing functions in the same way, so maybe this is causing problems. Nothing else leaps out at me, though. Lupin|talk|popups 02:19, 26 October 2005 (UTC)
- It's the non-admin rollback script; I believe that an MD5 hash is used to determine which version of the article to rollback to. When using popups it gives me the error "Error: undefined is not the last editor!", no matter what I do. I'm guessing that this is indeed due to an MD5 naming conflict, although it could be due to links generated by the popups interfering with the "last editor" detection.
- Also, the "fix redirect" thing doesn't work properly, or is confusing to use. Alphax τεχ 03:23, 26 October 2005 (UTC)
- OK, I'll investigate the godmode thing when I have time.
- Which browser do you use, and how is "Fix this redirect" confusing? It's meant to take a link [[Foo|Splat]] where Foo is a redirect to Bar, and change it into [[Bar|Splat]]. (In fact, it changes all links on that page of the form [[Foo|Anything here]] into [[Bar|Anything here]]). Lupin|talk|popups 12:04, 26 October 2005 (UTC)
- I had similar problems using the current and dev versions of popups.js. The rollback feature in Godmode light would give the 'undefined editor' problem 90% of the time. I seem to have fixed this by reverting to the previous_version of popups.js (14:21, 8 October). I never have the same problem now. I also seemed to get a lot of random logouts, which is also cured, but this was probably just coincidental wiki problem. Hope this information helps. BTW I run Firefox 1.07 on Win XP. --Cactus.man ✍ 08:11, 27 October 2005 (UTC)
- Thanks for finding a working version. The biggest difference between that and the then-current versions was that I'd screwed up the copy-paste when installing the script, and the utf characters were all b0rk3d. I've fixed that, although I haven't yet looked at the godmode script specifically. Could you see if it works with the current versions now? Lupin|talk|popups 23:19, 27 October 2005 (UTC)
- OK, will test it out and let you know. --Cactus.man ✍ 13:19, 28 October 2005 (UTC)
- Bad news Lupin, the new current version still seems to conflict with the godmode rollback feature. The 'undefined editor' problems still happens consistently. --Cactus.man ✍ 08:32, 29 October 2005 (UTC)
- Looks like Alphax has come up with a fix to the godmode script at Wikipedia:WikiProject_User_scripts#Piles_of_code, based around the fact that my script changes link titles (hints). Does this help you? Lupin|talk|popups 12:06, 29 October 2005 (UTC)
- Thanks for the info, the revised fix definitely seems to sort the 'undefined editor' problem. The current version of popups still causes me strange intermittent problems though. Often popups do not work on new pages, phantom popups appear on some pages and the previous menu layout (minus the 'actions' heading) sometimes appear instead of the current one. Mysterious, I have cleared cache, cookies etc but the random behaviour persists. In the meantime I have gone back to the previous_version. Any ideas? --Cactus.man ✍ 09:37, 30 October 2005 (UTC)
- Sorry, this is not something I've encountered. Which browser are you using? You could try specifying oldid=26659024 (the current version), which may help to rule out caching problems. When you do see problems, please try typing javascript:alert(popupVersion) in the url bar, and see which date it says. It should match the first line of the version of popups.js that you're using. Lupin|talk|popups 13:28, 31 October 2005 (UTC)
Thanks for the reply Lupin, I am using Firefox 1.07 on WinXP. It certainly has all the hallmarks of some sort of cache problem which is why I repeatedly cleared cache, cookies etc and did a purge for each affected page - without luck. I will give your suggestions a try. Thanks. --Cactus.man ✍ 16:07, 31 October 2005 (UTC)
- Hi Lupin, none of this worked, but the browser is recognising the correct popupVersion ("Thu Oct 27 19:05:33 EDT 2005") via the javascript query. The "good news" though is that it works beautifully using Firefox in safe mode with all extensions and Greasemonkey scripts disabled, so I think there is a conflict there somewhere. Back to lots of testing for me :( I will let you know if I find the source of the conflict. --Cactus.man ✍ 08:56, 1 November 2005 (UTC)
- Hi again Lupin, I seem to have solved the problem. FYI, the culprit was the Redirect Remover Extension. I have updated this to the latest version and everything seems to work just fine now =:-) Thanks for all your help. --Cactus.man ✍ 10:10, 1 November 2005 (UTC)
Popups and Hebrew Wikipedia
Hello. Your popups are working great on Hebrew Wikipedia, but the namespaces aren't recognized, hence users and images are not treated as such. Can you fix that, please? Netan'el 12:32, 27 October 2005 (UTC)
- Done, I hope (utf silliness to blame). Sorry about that! Lupin|talk|popups 23:13, 27 October 2005 (UTC)
- It works well now, thanks very much. Netan'el 05:59, 28 October 2005 (UTC)
Problem with popups
When I try to open the submenus (actions, user, etc.) on the popups, they close immediately, because there's a one-pixel gap between the link and the sub-popup, so as I scroll down to click on something in the sub-popup, I move across empty space and the sub-popup disappears. — Omegatron 05:13, 28 October 2005 (UTC)
- This is because I'm lousy at CSS and the menus don't scale well at the moment. Please try putting something like this in your monobook.css:
span.popup_menu { top:2ex !important }
- You can change 2ex to another length, or a percentage, like 100% if that works better for you. Better yet, if you find an adjustment to the settings in User:Lupin/menus.css that works more generally, please let me know. Lupin|talk|popups 12:35, 28 October 2005 (UTC)
Current article regex
Hi Lupin. I made some changes to your current article regex in my local copy of popups.js. It allows spaces at the beginning of the link as well, since I've seen such links get missed by your tool. This diff shows the changes from the current version of popups.js (just the first two hunks, the other change is for my preferred display of the last mod stuff). Mike Dillon 23:20, 29 October 2005 (UTC)
- Looks sensible to me - this is going into the dev version. Thanks! Lupin|talk|popups 03:30, 30 October 2005 (UTC)
Firefox extension
Would you happen to know how to make a firefox extension? It would be very simple and used to fight vandalism. The basic idea is to feed RC diff's into firefox, and let it determine which pages contain text (such as an obscenity) listed in a file. For pages that don't contain anything on this list, the tab is closed. The others remain open and ready to be examined. If you can't figure out how to hookup the IRC RC output into firefox, then it could be used with CDVF to open new tabs in firefox to be checked. I found a guide to making extensions, but it says you need to know Javascript. Thanks. — BRIAN0918 • 2005-10-30 03:45
- Coincidentally, I read that link for the first time a day or two ago to see what was involved in writing extensions, so I don't really know much about extensions at all. By the way, javascript is not a hard language to learn if you've done any programming before - I basically taught myself while writing the popups script. You've got lots of nice ideas, and it may be a good idea to try it out!
- I'm not sure how easy such an extension would be at all. It could be done in pure javascript (no extension needed) if you just want to grep for Bad Words in a bunch of pages on wikipedia (say all the pages on Special:Recentchanges), but the integration with CDVF/IRC business worries me. Maybe CD is the person to ask for this? Lupin|talk|popups 04:12, 30 October 2005 (UTC)
- How could it grab the text without first loading the page? The CDVF/Firefox connection wouldn't be anything, it would just be the user clicking on selected edits and letting it load in Firefox (as it already does). So it would just need to be a script that watched for new tabs, checked the text against a list, kept the tab if there was a match, removed it if not. — BRIAN0918 • 2005-10-30 04:16
- If I understand you correctly, you want to know how a script can use the data on a page other than the one being displayed. That's not so hard provided the other page is on the same website as the page the script is running on. My script does that to get page data and previews using XMLHTTP. Lupin|talk|popups 04:38, 30 October 2005 (UTC)
- Well, then, could it be possible to make a script that would somehow work internal to Wikipedia, checking RC continually, adding page diff's to a list that match words on another list, or something like that? If this is any motivation, several people are interested in this tool. :) — BRIAN0918 • 2005-10-30 04:42
- Well, to answer that question, we'd need to experiment :-) --> Lupin, do you want to work together on this, and perhaps move some of this discussion over to WP:US? --HappyCamper 14:07, 30 October 2005 (UTC)
- Well, then, could it be possible to make a script that would somehow work internal to Wikipedia, checking RC continually, adding page diff's to a list that match words on another list, or something like that? If this is any motivation, several people are interested in this tool. :) — BRIAN0918 • 2005-10-30 04:42
- If I understand you correctly, you want to know how a script can use the data on a page other than the one being displayed. That's not so hard provided the other page is on the same website as the page the script is running on. My script does that to get page data and previews using XMLHTTP. Lupin|talk|popups 04:38, 30 October 2005 (UTC)
- How could it grab the text without first loading the page? The CDVF/Firefox connection wouldn't be anything, it would just be the user clicking on selected edits and letting it load in Firefox (as it already does). So it would just need to be a script that watched for new tabs, checked the text against a list, kept the tab if there was a match, removed it if not. — BRIAN0918 • 2005-10-30 04:16
User:Pile0nades had this to say:
You could try this code for loading the diffs:
function getDiffLinks(){ var links = document.getElementById("a"); var diffs = []; var c = 0; //counter variable // this will go through all links in the page looking for diff links and add them to the diffs array for(var i=o; i<links.length; i++){ if(links[i].innerHTML="diff") { diffs[c] = links[i].href; c++; } } // this will open the diffs in new tabs for(var i=0; i<diffs.length; i++) { window.open(diffs[i]); } }
If you have the Tab Mix Plus extension, you can set new windows to open in tabs.
— BRIAN0918 • 2005-10-31 01:50
An idea...
... for when you get around to extracting bits of pages for the popups: it would be brilliant if there was a popup menu on the username in the top bar that listed all the pages in one's userspace, for one-click access to sandboxes etc.
In the meantime, it would be good enough if the menu displayed a certain page from the user's userspace, say, User:XY/Popup links, so that any user could construct a customized shortcut menu. Zocky 20:19, 31 October 2005 (UTC)
Bad words
To start out, I asked all the people in #wikipedia to join another channel and tell me bad words. I got a list of 134. I'll look up some more common official words later, I'm sure sites have them. Here you go for now: User_talk:Lupin/badwords. — BRIAN0918 • 2005-11-1 04:20
- Your Show Diffs feature worked in IE, but not in Firefox for me (in Firefox, nothing happened when I clicked the link). It just streams all RC diffs into the same page? If you could get it to go in reverse, that would be a start (popping the latest edits on top), but eventually it will have to be expanded to ignore known admins or people with high edit counts (of whom I have a list). — BRIAN0918 • 2005-11-1 04:24
- That's odd, I've been using firefox all along, and it works for me. Still, early days... for me, it just puts the diffs below the line containing the link to the diff page in recent changes, so the most recent diffs are at the top. It won't autoupdate at all at the moment - you have to reload the page.
- Thanks for that list - I've put (very primitive) filtering in. There are lots of false positives at the moment, as I'm not filtering on word boundaries (since vandals will tend to omit these, I think). It's also worth remarking that once the list of words becomes known, vandals will work around it. Lupin|talk|popups 04:37, 1 November 2005 (UTC)
- Ohh, I understand now. I'll work on getting you a more complete list of vandalisms (probably just by watching what people type in RC). Let me know how it progresses. It's working in Firefox now, I don't know what the problem was. I'm thinking that eventually the diffs will have to go on separate tabs, to deal with large size vandalisms, but maybe not. — BRIAN0918 • 2005-11-1 04:47
- On the other hand, I could (eventually, possibly) make it so that only the reason the diff is flagged is displayed, and clicking on the reason expands the diff. This is definitely possible, and would make the presentation nice and compact. Tabs are unwieldy beasts which I don't really know how to control well (probably an extension would be needed in that case). From a coding point of view I prefer to keep everything on one page. It's more cross-browser portable that way, too. Lupin|talk|popups 04:54, 1 November 2005 (UTC)
- Ohh, I understand now. I'll work on getting you a more complete list of vandalisms (probably just by watching what people type in RC). Let me know how it progresses. It's working in Firefox now, I don't know what the problem was. I'm thinking that eventually the diffs will have to go on separate tabs, to deal with large size vandalisms, but maybe not. — BRIAN0918 • 2005-11-1 04:47
I should also let you know that NullC is working on a truly unprecedented anti-vandal bot. He says that he took all the database histories, looked for the changes between any "Reverted edits from X to Y", and ran a bayes scan on all of them, to turn it into sort of a junkmail filter for vandalism. If it ever comes to life, it will probably be the last anti-vandalism tool we'll ever need, but he gave no indication as to when it would be done, or if he was in the process of starting it, so it could be months or years. Until then, I'm sure your tool will be do the trick for catching most of the vandalisms not caught by other tools. — BRIAN0918 • 2005-11-1 05:05
- One thing you might want to set into it is to flag the edit if the same character appears more than 3 times in a row. — BRIAN0918 • 2005-11-1 05:29
- I think I'm done adding to your list for now. I found a huge list of expletives in multiple languages, and added those, so your list should be pretty complete, I guess... — BRIAN0918 • 2005-11-1 08:00
- Great, thanks for your help. I've removed some words which seem to have been causing false positives. Lupin|talk|popups 15:20, 5 November 2005 (UTC)
- Let me know if you make any more progress with this tool. I've also posted a blurb about it on the talk page of WP:CVU, so you might want to leave notices there when big upgrades occur. — BRIAN0918 • 2005-11-5 21:19
- I've added the common template messages such as "Headline text" that are often found in vandalisms. Two questions: does your list recognize phrases such as this? Also, is your list at User:Lupin/badwords a database that we can update in realtime, or are you copying them over into the real database? — BRIAN0918 • 2005-11-6 03:24
- Great, thanks for your help. I've removed some words which seem to have been causing false positives. Lupin|talk|popups 15:20, 5 November 2005 (UTC)
- At the moment, it matches lines in the badwords list which are surrounded by word boundaries and repetitions of 3 (or more) non-whitespace characters. So phrases are fine. It's also case-insensitive at the moment. This can be changed if desired. The answer to your second question is yes, the script fetches that page every time so that editing the list of badwords should result in updated behaviour without me having to do anything else. Lupin|talk|popups 03:51, 6 November 2005 (UTC)
bot
Thanks Lupin, I have already applied for a bot flag, hopefully you won't see it in recent changes soon! thanks Martin 08:54, 1 November 2005 (UTC)
Care to comment?
I've submitted an include function for easy installation of tools like yours on Mediawiki talk:monobook.js#A function to help users install tools, reusing a chunk of your installation code. Any comments on that page would be appreciated. Zocky 11:33, 1 November 2005 (UTC)
Popups.js pulldowns
First off, let me thank you for developing such a wonderful tool. I swear by it. After using the latest version(s) of popups.js for a while, I decided to revert back to an older version, one without pulldowns. The pulldown menus were driving me mad and causing problems when the popup window would appear on the right of the screen. For example, if hovering over certain text on the far right of the screen while reviewing two article diffs, parts of the popup pulldown window would be cut off and inaccessible. A similar problem would happen if the text is at the bottom of the screen as well. The other reason I've reverted back is that I preferred the simplicity of having everything I needed in one popup, rather than having to navigate and mouse over to an additional pulldown menu to initiate a task. The version I switched back to is the one you released on September 25, 2005 at 13:14:45 EDT; is this the most recent version before pulldowns were added? Best regards, Hall Monitor 21:02, 2 November 2005 (UTC)
- Did you try setting popupStructure='original';? See WP:POP for details. Lupin|talk|popups 15:20, 5 November 2005 (UTC)
- Thanks Lupin, I will give the latest Popups.js a shot with this setting enabled. Hall Monitor 22:59, 11 November 2005 (UTC)
Images on popups
Any chance that popups on image links could say how many times the image is used? It would be very useful for finding orphaned images... Justinc 11:29, 3 November 2005 (UTC)
- That's non-trivial, but by no means impossible I think, if you're prepared to accept what the image description page tells you (it seems to lie now and again). I'll put it on the todo list. Lupin|talk|popups 15:20, 5 November 2005 (UTC)
Autopreview
Any chances of finding out how that and autodiff work? Or should I ask someone else? Alphax τεχ 12:17, 4 November 2005 (UTC)
- The code responsible for all that is in one file, here. It's even moderately readable, so hopefully it answers all your questions. If not, let me know. To get "autodiff" and "autopreview" functionality, you have to set the autoclick parameter to the name of the button which you want to click, which you can find in the html source of an edit page (wpDiff and so on). Lupin|talk|popups 15:20, 5 November 2005 (UTC)
'Snap In' from Browser Borders
Hi Lupin, you must rue the day you wrote popups.js with all these requests for new features. Well, just to cheer you up, here's another =:-) When hovering over a link near the right hand edge of the browser the popup window 'snaps' back in so that it is fully visible. This doesn't happen if links are close to the bottom (in Firefox at any rate). Any chance that this could be fixed so that the popup window 'snaps' up so that it is fully visible? I know that I can shift-drag it if need be, but this would be a nice feature to match the behaviour at the right browser edge. Thanks. --Cactus.man ✍ 20:08, 5 November 2005 (UTC)
- I tried to do this, but couldn't get it working to my satisfaction. Sorry! Lupin|talk|popups 14:44, 27 November 2005 (UTC)
Sorry
Sorry for wrongly reverting one of your pages, my mistake :$ dr.alf 03:56, 6 November 2005 (UTC)
Popups
User:Ingoolemo/standard.js isn't generating popups. What's going on? Ingoolemo talk 07:17, 7 November 2005 (UTC)
- You've missed the final line from the code for installation. Please check WP:POP again. Lupin|talk|popups 00:34, 8 November 2005 (UTC)
Kate's Tool Has Moved
Kate's Tool has moved servers from [85] to [86]. Can you please change the navigation popups code to accomodate this? — MATHWIZ2020 TALK | CONTRIBS 01:07, 8 November 2005 (UTC)
- I can't get it to work on the new server. Can you? I'll change the code when it starts working - please ask me again if I forget. Lupin|talk|popups 01:15, 8 November 2005 (UTC)
- I can't get the new server to work at all, both with the popups and entering it in myself. See this section on Kate's talk page. — MATHWIZ2020 TALK | CONTRIBS 00:16, 9 November 2005 (UTC)
- It works now! — MATHWIZ2020 TALK | CONTRIBS 01:08, 9 November 2005 (UTC)
- I can't get the new server to work at all, both with the popups and entering it in myself. See this section on Kate's talk page. — MATHWIZ2020 TALK | CONTRIBS 00:16, 9 November 2005 (UTC)
Picutre popups
I've written a new javascript tools for images, see User:Zocky/Picture Popups. Testers and comments are very welcome :) Zocky 04:13, 9 November 2005 (UTC)
Cuteness vandalism
Lupin, There is continual vandalism on Cuteness. You missed one piece of vandalism, on your recent revert, as there were a string of changes from a few different IP addresses. I've reverted it again. ERcheck 01:10, 11 November 2005 (UTC)
Recent block
Hey Lupin! I'm unfamiliar with the block on that IP and the related style of vandalism. Perhaps you could unblock my 15 minute block that I placed so that it can be overridden with yours if it's more appropriate? Thanks! --HappyCamper 04:14, 11 November 2005 (UTC)
- Sorry, I don't understand what you're asking - I'm new to this blocking thing. Please could you explain? Also, which IP did you have in mind? Thanks. Lupin|talk|popups 04:17, 11 November 2005 (UTC)
- User talk:216.68.79.158 I only blocked for 15 minutes, and I think the shorter block takes precedence, so if this is a persistent vandal, perhaps a longer block is necessary. I'll leave it to your discretion :-) --HappyCamper 04:19, 11 November 2005 (UTC)
Popups
I won't bother with the thread this time, but it would be nice if you could respond on my talkpage, since it's really hard for me to keep track of all the comments I post. Thanks a lot.
It would be pretty nice if you could add a delete link to your navigational popups. I know what you may be thinking: 'why delete something if you haven't even seen it yet?' Keep in mind, though, that MediaWiki provide [rollback] even in places where the admin may not have seen the diff. Also, some articles have blatantly inappropriate titles, an obviously usefool application.
Thanks, Ingoolemo talk 06:02, 11 November 2005 (UTC)
- There is a delete link, for admins. Have you enabled the admin features? Please check the documentation if not. Lupin|talk|popups 06:06, 11 November 2005 (UTC)
New anti-vandal tool
This is great! I did notice one oddity, it doesn't show the links to the names of the former and latter editors, like what you would see on a normal diff page. It's just blank there, so I can't rollback. — BRIAN0918 • 2005-11-11 06:37
- I've created a page to advertise this new tool, since everyone should be using it. User:Lupin/Anti-vandal tool :) — BRIAN0918 • 2005-11-11 07:01
- Some other suggestions people are making: it seems to break the custom tabs for User:RoyBoy and another person I talked to. Royboy also suggested that the tool only show diffs for which the more recent edit contains the flagged terms. — BRIAN0918 • 2005-11-11 07:45
- My other tool does these things (names of both editors, rollback links, only the relevant diff) but is slow as molasses... the RC feeds don't contain enough data to do this as far as I can see - they only seem to have the date, the editor who made the diff and the diff as HTML, with no reference to a revision ID. One of the main difficulties in creating this script was working out how to make something useful with such limited data! I agree though, these would be very handy features, so if you find someone with an idea for how to do this, please tell me. Lupin|talk|popups 12:36, 11 November 2005 (UTC)
- Another suggestion: have it obey the popupNewWindows flag. --jpgordon∇∆∇∆ 08:22, 11 November 2005 (UTC)
- Right, a new windows flag would be good. Although this tool is independent of the popups script, and actually doesn't work terribly well with it in the sense that there are no popups for the generated links (which is a little annoying and could be fixed). So it would be a new flag. Lupin|talk|popups 12:36, 11 November 2005 (UTC)
Stole my bike vandal
Feel free to block indef, they're all open proxies. Ral315 (talk) 06:38, 11 November 2005 (UTC)
Wiki spamfilter
I tried out your anti-vandal tool, but it shows the following error:
Line: 82 Char: 6 Error: 'textContent' is empty or not an object Code: 0
Cordially yours, Shinobu 12:44, 11 November 2005 (UTC)
- Yes, this is mozilla/firefox only, for now. I have done zero IE testing. Lupin|talk|popups 12:47, 11 November 2005 (UTC)
Vandalism
You've been seeing a lot of me lately. The reason I'm here to thank you for reverting the vandalism to my userpage. Because of your reversion, I checked over your contributions and discovered the huge number of rollbacks you've done. I checked Special:Log/delete, and discovered how many deletions you've done. For these efforts to combat vandalism, I hereby award you the RickK anti-vandalism barnstar. Ingoolemo talk 18:42, 11 November 2005 (UTC)
- Cool, thanks! You can join in if you like. Lupin|talk|popups 22:36, 11 November 2005 (UTC)
Filter script
I've been using your excellent script but while installed it disables/interfers with my extra tabs in my monobook.js for some reason. - RoyBoy 800 20:04, 11 November 2005 (UTC)
- I've renamed some functions - maybe it'll work for you now. Lupin|talk|popups 22:42, 11 November 2005 (UTC)
Vandalism
Yum! Thanks. Lupin|talk|popups 22:44, 11 November 2005 (UTC)
Anti-vandal tool
Lupin, I just discovered the anti-vandal tool! It's great — just one suggestion: would it be possible to place the rollback link directly on the page where it first is flagged, instead of having to click to the actual diff? Thanks. Flcelloguy ( A note? ) 22:55, 11 November 2005 (UTC)
- Sadly not, since I don't know how the hash in the url for rollbacks is manufactured. That's the first problem - I think there may be more if I could figure this out. On the other hand, if you know how I could do that then please let me know. Lupin|talk|popups 23:04, 11 November 2005 (UTC)
- OK, thanks for the response. On an unrelated note, since it seems you know how to add stuff to the toolbox using the monobook, is there anyway to add or remove items from both the navigation and toolbox? If so, how? Thanks a lot. Flcelloguy ( A note? ) 23:16, 11 November 2005 (UTC)
- Thanks. I've asked them there. Flcelloguy ( A note? ) 00:08, 12 November 2005 (UTC)
vandal
A vandal got my home page and you fixed it. tnx. how did you know? Rex071404(all logic is premise based) 07:13, 12 November 2005 (UTC)
- I would also like to know how you knew. You did something about it before I even realised something had happened. Thank you very much for your work in combating vandalism in Wikipedia. I praise your diligence and your hard work. Wolf ODonnell 12:18, 12 November 2005 (UTC)
Rollback
Did you see my email about adding the Rollback button?
Also, NullC has released a bot for #wikipedia-en-vandalism on Freenode IRC called 'roomba'. It essentially does the same thing as your tool, but it works database-side, so that it doesn't produce the same server load as your tool. You may want to talk with him. — BRIAN0918 • 2005-11-12 15:01
Yes, thanks for that suggestion. I looked into the mediawiki code - it's designed to stop people generating rollback links client-side, so it should not be possible for my script to make real rollback links. I could add godmode-lite rollback links (which would only work if you use the godmode-lite script), but these aren't as fun to use for admins. Do you think that this would be worth doing? Thanks for letting me know about NullC's tool. Lupin|talk|popups 15:04, 12 November 2005 (UTC)
Anti-vandal tool and site CPU load
It appears that your ani-vandal tool causes each person using it to have the servers generate a difference of each edit in recent changes. Is this correct?
If it is, the tool is a problem. Differences are not cached, are high CPU load to generate and the site performance is currently CPU-limited on the Apache servers which generate the difference. Graph illustrates this, showing the Apache CPUs at 100% use (with variation due to uneven load balancing) for many hours at peak times. Having tens or hundreds of people producing difs of the same thing at those times isn't a good thing. If diff results were cached, it wouldn't matter, but they aren't, at present.
What would be useful is some way for a single person to generate and make the results available to all. Server-side scripting or a tag added by the MediaWiki software would be one way to do that, without significant CPU cost. Or some other way for one client to generate the dif and share the results with others. Ideal would be someone adding code to cache the difs though. Jamesday 15:33, 12 November 2005 (UTC)
- That's what my original tool did. It was very slow, although I still find it useful occasionally. My newer tool takes a different approach. It tracks the rss feed, which happily contains all the diffs already. I'm assuming that this is cached and that it is generated every 50 edits whether I access it or not, so hopefully this won't cause significant extra load. I agree however that a server-side script would probably be an improvement over my approach, if done correctly. I don't have any experience with making such a beast, but User:NullC has written a bot which outputs to IRC, so you might approach him with suggestions for making its output more accessible. Lupin|talk|popups 15:43, 12 November 2005 (UTC)
Anti vandal tool
I guess the 'roomba' in the IRC vandalism channel is the one that you wrote. At the moment, it catches additions of speedy notices to articles but it ignores the removal of CSDs. It would be good if it tracks them too. thanks, Tintin 15:35, 12 November 2005 (UTC)
- No, you're looking for User:NullC. Lupin|talk|popups 15:43, 12 November 2005 (UTC)
- Thanks. Tintin 15:48, 12 November 2005 (UTC)
I love the new John Broadwood article
(It popped up as one of the pages in EB and Encarta but not WP). Seems like you are using print.google as a great resource to great some fine articles. Please continue to be a great asset to Wikipedia! Pcb21| Pete 10:24, 13 November 2005 (UTC)
popups and i18n
Hi Lupin, these popups are wonderfull extension to wikipedia, thanks! Is there an german version, or could it use the mediawiki-templates for labelling most of the added links? --
- No, I've made no effort to internationalize the interface... sorry! It should detect namespaces in different languages though. I'll take patches if you want to get the interface il8n-ready, though. I don't think that the script could use mediawiki-templates to do this "live", as that would be quite slow. The templates could probably be used to generate static translations, although maybe better results would be obtained "by hand". Lupin|talk|popups 13:30, 14 November 2005 (UTC)
RSS
<Lupin> anyone know where i can find the code which governs the generation of the recent changes rss feed? <TimStarling> Lupin... <TimStarling> are you the guy who wrote that script to process the RSS feed? <TimStarling> in javascript? <TimStarling> yes, http://en.wikipedia.org/wiki/User:Lupin/recent2.js <TimStarling> I read your code, and I was thinking about the problem you reported <TimStarling> we were discussing it in this channel a couple of days ago <TimStarling> the code is in SpecialRecentchanges.php, towards the end <TimStarling> the problem is the caching model it uses * Rdsmith4 (n=Rdsmith4@wikipedia/Rdsmith4) Quit ("This computer has gone to sleep") <TimStarling> it's a very poor model, it has to be fixed <TimStarling> basically it generates 50 diffs, probably takes a couple of minutes, then it generates the feed and saves it to memcached with some expiry time <TimStarling> there's two problems with that <TimStarling> the first is the problem you've noticed, which is that the expiry time doesn't match the typical time for 50 edits to scroll by <TimStarling> the second is that when the memcached key expires, every thread which tries to access the RSS feed will start generating the complete feed from scratch <TimStarling> at a high request rate, that's a performance disaster <TimStarling> so what I'd like to do is generate the diff at save time <TimStarling> at save time, both revisions have already been loaded, it's just an extra 50ms or so of processing time <TimStarling> then we could save each diff into a table in the database, or into memcached <TimStarling> with cached diffs, generating the feed would be much faster, and we could do various tricky things to reduce the cache time <TimStarling> such as clearing the cache after every 50 saves, according to rc_id mod 50 -> [Lupin] PING
Note: "a couple of minutes" was probably an exaggeration. -- Tim Starling 03:29, 15 November 2005 (UTC)
Anti-Vandal Tool Rollback
Lupin, thanks for adding the rollback link to the anti-vandal tool! Just a quick question: is there anyway to improve the speed of the rollback? The rollback on the anti-vandal took takes a significantly longer time to revert than does the "normal" rollback; is there any way to change this? Thanks a lot. Flcelloguy (A note?) 22:52, 16 November 2005 (UTC)
- Not that I know of. What's happening is that the last diff is being downloaded in the background and the rollback link is extracted from that page. This page sometimes takes a while to appear. I think that the rollback link has to be generated by the server (as it contains a tricksy hash which I can't duplicate client-side), and I don't know a faster way to get it from the server. Maybe the vandal's contribs would be faster to load, but I haven't tried this. Lupin|talk|popups 00:54, 17 November 2005 (UTC)
can't revert using popups
I don't know if I'm doing something wrong, but the "revert" link doesn't show up on the popup. I've tried hovering over article links in the page histories, but no "revert" button comes up. Is there something that I'm doing wrong?
Thanks. --Ixfd64 05:44, 19 November 2005 (UTC)
- You have to hover over a diff link or a link to an old revision. Then the revert link appears in the actions menu. It's not intended to emulate rollback like the godmode-lite script, however. Lupin|talk|popups 13:29, 19 November 2005 (UTC)
- Still doesn't work, unfortunately. Thanks for your help though. --Ixfd64 19:21, 19 November 2005 (UTC)
- I'm using MSIE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 (that's what my browser says). I have uploaded a screenshot of the bug. I have my cursor over a link to a previous revision of a page, yet no "revert" option comes up. Also, sometimes the popup does not come up at all. --Ixfd64 11:35, 30 November 2005 (UTC)
- Should be fixed in the dev version. Lupin|talk|popups 20:32, 30 November 2005 (UTC)
Menu/LiveOptions
Hi, I have a little suggestion for your wonderful popups. The LiveOptions is great but a bit obsrusive. Why not create a separate pulldown(ouside the popup itself) menu for options, or even hijack user preferences for it.–Gnomz007(?) 23:03, 20 November 2005 (UTC)
- Thanks for your feedback. Actually, LiveOptions is a complete hack I made just so that I could quickly test options - it's not really "officially supported" (whatever that means). So I'm really too bothered about making it look nice. If you'd like to have a go at improving it then I'd be happy to take a patch, though. Incidentally, you can toggle the Options button by typing javascript:void(popupLiveOptions=true) or javascript:void(popupLiveOptions=false) in the address bar, which perhaps will make you happy. Lupin|talk|popups 00:05, 23 November 2005 (UTC)
- Thank you, this is an excelent idea, you would not believe me but I did not think of "javascript:" so I have a couple of save-purge cycles with just variable changes, well, LiveOptions look good even without supported about them.
- Again really cool tool, the Popup-filters are very cool, I've also tried it on Russian wiki - it works very nicely, I also like to reuse the overlib and utility functions. –Gnomz007(?)
RuneScape cheats article under attack
Thank you for helping control the vandals on the article, it's very much appreciated. Jagex is now trying to officially have the article deleted on the grounds that it is "copyright vandalism"(???), "illegal information", POV, instructional, etc. I can't defend it by myself, please comment on the talk page, currently the Jagex employees have me outnumbered.Jonathan888 (talk) 15:41, 22 November 2005 (UTC)
- Sorry, I don't know anything about the ins and outs of this issue, so I don't really feel qualified to contribute to a debate. Lupin|talk|popups 00:05, 23 November 2005 (UTC)
Admin popup functions
When using your popups with admin functions enabled, hovering over a user link gives an option to block the user. Would it be possible for you to add a link to the block log for the user? I find looking at the blocking history useful for determining the length of blocks. --GraemeL (talk) 18:09, 23 November 2005 (UTC)
- I've already done this - isn't the final link in the user menu what you need? Lupin|talk|popups 21:45, 23 November 2005 (UTC)
- hmm, I don't have it. My username menu is: LastEdit - contribs - count - email - block.
- What I'm looking for is a link to go to this.
- Ah, I see the problem. I have kept the 'original' layout (which is what you get by default with simplePopups=true) quite uncluttered, so I haven't included a link to the block log. You could try setting popupStructure='menus' to get the menus which have this link. Otherwise, I could make a new "structure" with the flat layout you have now but with all the links that are available from the menus. Lupin|talk|popups 02:10, 25 November 2005 (UTC)
popup - other skins
So. Is it possible to do that script for other skins? I like classic and now i have dilemma - or my lovely skin ;) or monobook with your script. Classic skin is important for me cause it is more user friendly that monobook, when I do categorization - I see quickly category after enter to any page. But... good job :) Przykuta 09:54, 24 November 2005 (UTC)
- Yes - in fact I originally developed the popups using the classic skin. It should work - see WP:POP for installation instructions. (I think it's also possible to put categories at the top in monobook, although I can't remember the technique. I'm sure someone who frequents the technical village pump will know). Lupin|talk|popups 02:06, 25 November 2005 (UTC)
Popups localization
Hey, this tool is really excellent, if you even ever come to Adelaide please do let me know – I owe you a couple of beers/vodkas/coffees (depends what you like to drink!). Now for the question – would it be possible to localize Popups by translating all its messages into other languages? It's became very popular on pl Wiki and with your permission of course, I'd like to copy it to my user page there and translate it to Polish. Cheers, Roo72 06:09, 25 November 2005 (UTC)
dab for popups
This was working, although slowly, for me a day or two ago. Then it seemed to be causing performance issues so I turned on the simple switch. That made it seem to stop working. So I turned it off entirely. Now I'm trying it again without the simple switch, but with the dab switch. The popups do appear, just without the dab info. I'm using firefox on winxp. Any ideas? Tedernst 06:11, 26 November 2005 (UTC)
- now it's working - hmm - thanks!!!! Tedernst 06:20, 26 November 2005 (UTC)
Amazing Work
Just wanted to say thanks for creating the coolest script ever. The popups are extraordinarily useful. --CBD T C @ 00:00, 27 November 2005 (UTC)
Pop-up bug
Hi Lupin. The redirection bypass pop-up doesn't seem to be working properly for links which redirect to Special edition. For example, it tries to redirect Limited edition to [[Special edition|Special Edition]] instead for just redirecting to [[Special edition]]. Is this something you can fix? Doesn't seem to be a browser issue - I use Firefox, but have also tried Explorer and the same thing happens. Cheers, CLW 10:52, 27 November 2005 (UTC)
- Thanks for the bug report. This should be fixed in the dev version. Lupin|talk|popups 14:06, 27 November 2005 (UTC)
- Yay! Dev version does the job. Cheers. CLW 16:30, 27 November 2005 (UTC)
Time to block
68.219.214.93 (talk · contribs)--Master Jay 02:47, 29 November 2005 (UTC)
Hi,
I'd like to encourage you to make your work – such as dotty maps – available in wikimedia commons [87]. What do you think?
Best regards, wiki-vr 06:46, 30 November 2005 (UTC)
- I have no problem with that. I don't have permission to run a bot on the commons though, so I'll leave the job of transferring them to someone else.... any volunteers? Lupin|talk|popups 12:32, 30 November 2005 (UTC)
more comments about the popup script
The reverting function works properly on the new version! Thanks!
However, there is another problem. The script will result in an error unless I put my cursor over certain links first. For example, if I put my cursor over a "diff" link first, the popup will not show up, and I will get the "error on page" message on my browser. However, if I put my cursor over a link to an editable page first, and then move my cursor to a "diff" link, it will work properly. --Ixfd64 01:21, 1 December 2005 (UTC)
- That's strange. I tested the latest version out in IE on wine/linux and I don't have this bug with the diff links on my watchlist. Which diff links specifically are you having trouble with? Lupin|talk|popups 01:36, 1 December 2005 (UTC)
- I get the error when I put the cursor over the diff links on the Recent Changes page. It also happens on revision history pages. However, placing the cursor on a link to a registered user's page first solves the problem. --Ixfd64 01:54, 1 December 2005 (UTC)
- The error on the Recent Changes page only happens sometimes. Anyways, here is what the error details say:
- Line: 2384
- Char: 3
- Error: Not implemented
- Code: 0
- Any ideas? --Ixfd64 01:59, 1 December 2005 (UTC)
- Assuming the stuff in User:Ixfd64/standard.js is active, you're setting popupShortcutKeys=true. This doesn't work in IE and probably causes problems, so I'd try turning that off first. Lupin|talk|popups 02:42, 1 December 2005 (UTC)
- Thanks, it works now. --Ixfd64 03:06, 1 December 2005 (UTC)
More requests
- It would be nice to include a small time delay, say 100ms, to avoid excess page requests when one is merely passing over a link.
- It would also be nice if hovering an image didn't cause the image itself to load again in thumbnail form...
- When viewing diffs on the history, popups on the revision links are bad. :) This might be mitigated by the first item above, but it's not hard to just not pop up on them.
I can implement these if you don't have time. :)
-- Taral 23:09, 1 December 2005 (UTC)
- I agree with the time delay. This
should be easy to do, so I'll do that.is not quite as easy as I'd thought, so I'll leave that to you :-) - I think that, useless though it seems, it'd be nice to keep the current behaviour of including the image in the popup as a visual cue. However, the script should use a scaled version of the image already loaded on the page rather than fetching a smaller version, I agree. There should also be an option to disable images when hovering over visible images. If you'd like to implement this, I'd appreciate it.
- I like the popups on revision links, since it lets you do stuff like reversion, editing old revisions and so on. The preview is also useful for locating page blanking vandalism. If it really annoys you, you could implement an option to turn them off.
- I agree with the time delay. This
- Thanks for the offer of code! Lupin|talk|popups 23:31, 1 December 2005 (UTC)
2 questions
Sorry to bother you, but I have 2 questions.
- How easy would it for me personally to have the one with the "actions" and "user" drop down menus rather than the sprawling links?
- What would be the code to edit a page, then auto-submit it via a tab? Just a shell of a code would be fine, I'm sure I can modify it to my needs :)
Thanks so much in advance and I love the p[opups tool so much: and use it all the time :) --Celestianpower hablamé 16:17, 2 December 2005 (UTC)
- If you use a mozilla-based browser, pretty easy: remove the line popupStructure='original' from your monobook.js (or change it to popupStructure='menus' to force the change in all browsers, although it's almost certainly going to fail in IE). The menus also work in opera (with glitches) and perhaps in konqueror, but I know of no other browsers in which they work.
- When you're using the popups, going to a page like this:
http://en.wikipedia.org/wiki/Wikipedia:Sandbox?action=edit&autoedit=s_teh_the_gi&autosummary=spelling%20correction&autominor=true&autoclick=wpSave
- Yeah - that is what I meant but I don't understnad fully. I've been thinking about using it for adding {{test}} templates to talk pages and also for changing my status page. More explanation would be appreciated so much. :) --Celestianpower hablamé 22:37, 3 December 2005 (UTC)
- OK, here's the skinny on autoedit urls. Your url should be a normal edit url, such as
http://en.wikipedia.org/wiki/Pagename?action=edit
- followed by one or more of these, separated by ampersands (&):
- autoedit=autoeditstring (see later)
- autosummary=summary, gives the edit summary summary (a string not containing an ampersand)
- autominor=true or autominor=false - marks the edit as minor, or not
- autoclick=button - automatically clicks button. Common choices are wpSave, wpDiff (show changes), wpPreview
- The autoeditstring is what does the work. This looks something like a list of sed commands. The general format is
s/foo1/bar1/flags1;s/foo2/bar2/flags2; ...
where the foos are regexps to be replaced, and the bars are the replacements. The flags are lists of characters which affect how the match is made, for example 'g' for global (replace all matches, not just the first), 'i' for case-insensitivity and so on. Also, the forward slashes can be replaced with any other character. Use \n for a newline. For example, using
autoedit=s#$#\n{{subst:test1}} ~~~~#
- as in
http://en.wikipedia.org/wiki/User_talk:Waterspyder?action=edit&autoedit=s#$#\n{{subst:test1-n|Richard Chase}} ~~~~#&autosummary=Your recent edits
- should get you the test1 warning appended to the end of a page. I'm not sure what your background is, so please holler if you need more examples or explanation. If you haven't seen them before, you should read a little about regexps. The regexp dialect is that of javascript. Lupin|talk|popups 22:58, 3 December 2005 (UTC)
- Right, okay. How do I actually navigate to that link from a tab then? By the way, that menus thing that you said wroks, thanks! --Celestianpower hablamé 23:19, 3 December 2005 (UTC)
- You want to add a new tab? I'd suggest adapting existing code to do that, as found at Wikipedia:WikiProject_User_scripts/Scripts (for example Wikipedia:WikiProject_User_scripts/Scripts/Add_purge_to_tabs). Do you know any javascript? If not, let me know exactly what you want and I'll see if I can put something together. Lupin|talk|popups 00:19, 4 December 2005 (UTC)
- No, I've added the tab, I just want it to make the browser go to "http://en.wikipedia.org/wiki/User:Celestianpower&action=edit&autoedit=out/in&autosummary=I am in!&autoclick=wpSave" or "http://en.wikipedia.org/wiki/User:Celestianpower&action=edit&autoedit=in/out&autosummary=I am out!&autoclick=wpSave" when that tab is clicked.Sorry if I'm being very cryptic. I don't know any javascript but have picked it up fast and can modify code quite well. --Celestianpower hablamé 14:05, 4 December 2005 (UTC)
popup suggestions
A couple of suggestions for the popups, the one I suspect is easier first.
- Could you add a link to the logs on the classic flat layout when viewing a user: e.g. hovering over the link to Thryduulf would take you to [88]. (I don't get on with the menu system, sorry!). A link to each type of log is only one click from that page, which is fine to avoid the necessity of lots of links.
- For image pages could you indicate what the license is. The way that is probably easiest to do this is just to display the list of templates on the page, as there are few cases where the license isn't included on a template. I don't know if this is possible if the image comes from commons? This will help with finding untagged images. Thryduulf 17:05, 2 December 2005 (UTC)
- This is easy, I'll put this in the dev version in a minute.
- This is not so easy, due to my brain-dead script design :-) It's a good idea, though, and certainly something I'll think about. Lupin|talk|popups 19:15, 2 December 2005 (UTC)
- Sorry to butt in. I've done this for my Picture Popups. The only sane way to do it was to change license templates so that they include the appropriate metadata. See {{image-license}} and its talk. Templates for the most common licenses have been standardized, but there's still some way to go. Zocky 20:06, 2 December 2005 (UTC)
Peer review
Amid an ongoing peer review of the article on The Care Bears Movie II: A New Generation, I would please like you to read my comments for its improvement, then examine the article as a whole and see whether you agree with me.
I'm asking you, because you started the article on the Care Bears a year before I joined Wikipedia (March 18, 2004). This is to ensure all hopes of its featured status in the near future.
Please leave your response on its peer review page by clicking the above link. --Slgrandson 17:24, 2 December 2005 (UTC)
"Touch" link
Hi Lupin. What do you think about adding a "touch" link? This link would perform a "touch" or "null edit" via autoedit. I looked into adding it myself, but the link generation stuff was a little complicated to make a simple change. The touch functionality is useful for working around certain MediaWiki bugs associated with the "What links here" functionality. You probably know, but it is done manually by making an "edit" with no changes and clicking "Save Page" without an edit summary. It seems like it would be a lot like the "Bypass redirect" functionality, except with no change or edit summary. Let me know what you think. Mike Dillon 19:37, 3 December 2005 (UTC)
- Coincidentally I added this a little while ago to the dev version, and I think it's now in the stable version too. It's at actions → null edit when you use the menus. Lupin|talk|popups 21:46, 3 December 2005 (UTC)
- Do you think it could be done in the background using XMLHTTP? I don't think it makes sense for the page to reload if you null edit something from a link. Mike Dillon 02:25, 4 December 2005 (UTC)
- Yes, this is a good idea, and it should be possible in principle. It's not so trivial to implement, since we probably have to take care of edit tokens and related things. Care to have a go? Personally, I'm happy to control-click to null-edit in a background tab, but I'll take a patch :-) This is as far as I got before I decided it seemed too much like hard work:
var poster=function(url) { downloader.apply(this, [url]); } poster.prototype=downloader.prototype; // inherit from downloader poster.prototype.setTarget = function () { if(!this.http) return null; this.http.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); this.http.open("POST", this.url, true); } function nullEdit(page) { var url=titlebase + page + '&action=raw'; var posterCallback=function(d) { var postUrl=d.url.split('&action=raw').join('&action=edit'); var p=new poster(postUrl, function () {alert('done');}); poster.setTarget(); poster.send(d.data); } startDownload(url, null, posterCallback); }
Rollback feature
Hey there,
I was wondering how your rollback feature adds a talk link after the IP address. My rollback button seems to only include the IP, but no talk link.
--Master Jay 01:13, 4 December 2005 (UTC)
- Hi, I don't think I did anything special. I think the software's changed so that all rollback links give summaries including the talk page. Lupin|talk|popups 01:25, 4 December 2005 (UTC)
- This message is set at MediaWiki:revertpage. The message was changed a few days ago to inlcude a link to the talk page. Thryduulf 02:46, 4 December 2005 (UTC)
Popups bug report - breaks extended EXIF data
Please can you have a look at bugzilla:4151. It appears that running the popups (I use the classic layout if that makes a difference) prevents the link "Show extended details" on the compact metadata table on image description pages from working. Thryduulf 02:46, 4 December 2005 (UTC)
- Thanks for the bug report. This should now be fixed in the latest version. Lupin|talk|popups 04:20, 4 December 2005 (UTC)
- Yes it is now fixed, thank you. Thryduulf 10:44, 4 December 2005 (UTC)
need admin help
I got a link for you. Please block Logoboy95 (talk · contribs) for vandalism. He has been adequately warned about removal of {{afd}} notices. — FREAK OF NURxTURE (TALK) 15:25, 4 December 2005 (UTC)
- Done. Lupin|talk|popups 15:29, 4 December 2005 (UTC)
- Thank you. I think I reverted nine offenses. — FREAK OF NURxTURE (TALK) 15:33, 4 December 2005 (UTC)
Siege of Edo / Wikipedia policy question
I generated the Edo stub by looking at other Wikipedia articles (namely "Hojo Ujitsuna" and "Uesugi Tomooki" (the two commanders at that battle)). That brings me to an important question. What is Wikipedia's policy on internal citation (i.e. citing other wikipedia articles)?
- Hm, I don't know. Maybe you could raise this question on the village pump? Lupin|talk|popups 20:54, 4 December 2005 (UTC)
Sources for Space warfare
Hello, good work on Space warfare, and thanks for the contribution. However, you forgot to add any references to the article. Keeping Wikipedia accurate and verifiable is very important, and there is currently a push to encourage editors to cite the sources they used when adding content. From what websites, books, or other places did you learn the information that you added to Space warfare? Would it be possible for you to mention them in the article? You can simply add links, or there are several different citation methods list at WP:CITET. Thanks! Lupin|talk|popups 20:06, 4 December 2005 (UTC)
- Thanks! I've added an external links section with a link to an article on Almaz that I refered to when writing the article. Best regards, CHAIRBOY (☎) 20:17, 4 December 2005 (UTC)
Joelle Leandre
Thanks for the message. You gotta have patience; it takes edits to get these things up and typically when I get these kinds of messages they come about 25-30 seconds after the initial page goes up. Good luck with your own work and articles. Badagnani 20:45, 4 December 2005 (UTC)
Comprehensive Smoking Education Act...However, you forgot to add any references to the article.
- no, I didn't actually. because the article is listed as a stub, that means that it is not a complete and referenced article for wikipedia. the article is waiting for other members of a distributed user swarm to participate. Please be bold in editing and contributing! TitaniumDreads 21:17, 4 December 2005 (UTC)
- it's a lot easier for the original contributor to list the references (s)he actually used to write the article. Adding references after the event seems the wrong way around to me -lupin
- One of the strengths of wikipedia is that millions of people can contribute in a way works best for them. Just because extensive references for an new article stub consisting of 1-2 sentences haven't been added after 2 minutes of its creation doesn't mean that it is destined as a candidate for deletion. The information is out there and it wants to be free, but these processes can take time. Thanks for your interest in tobacco litigation and regulation, if you would like to contribute start by googling the phrase "Comprehensive Smoking Education Act" and adding information and links as you see fit :) TitaniumDreads 21:32, 4 December 2005 (UTC)
- it's a lot easier for the original contributor to list the references (s)he actually used to write the article. Adding references after the event seems the wrong way around to me -lupin
Hello
Hi! Thanks for your message. However, i am a bit puzzeled, since i do not see how any of the things i have writen could be given referanced... The article is a basic stub so far, hardly having any claims at all. Care to give a example of something i could give a reference to?
Peace! --Striver 21:22, 4 December 2005 (UTC)
- Ah, now i get it. That was a mass-mail. Peace! --Striver 21:23, 4 December 2005 (UTC)
- Ok, thx, ill try :) --Striver 21:34, 4 December 2005 (UTC)
Sources
I'll add some sources regarding Jesuit Asia missions soon. Which articles in particular were you looking at? Thanks for your interest in this topic! --Dpr 21:55, 4 December 2005 (UTC)
Please add new messages to the bottom of this page. You can do this by using this link.
I will usually respond on this page.
Popup disambigation tool
Lupin - The popup disambiguation tool is truely great, so far its worked like a charm! Thanks a lot! The only thing I've noticed is that it lets you try and fix disambiguation links on Special Pages (like "What links here"). I haven't tried it to see what happens. --best, kevin ···Kzollman | Talk··· 00:23, 24 September 2005 (UTC)
- Okay, I found another one. I use FireFox 1.0.6. Here's how to reproduce the error. Edit a new page, click to get a cursor in the edit box, place the mouse over one of the links above the edit box (causing a popup to appear), start typing. For me, this causes the title of the page (as it appears at the top of the window) to grow with each new key I press. Strange. --best, kevin ···Kzollman | Talk··· 00:58, 24 September 2005 (UTC)
Lupin!! KZollman pointed me to your fabulous dab tool within popups! Works great. :-) I think I've performed over 1,000 dab corrections using the tool. The only thing I have to do manually is when a link is redirected to a disambig page. I have to find and fix those manually (or temporarily redirect the redirect page to the dab page and use your awesome tool). ;-) An example is Keyboard. Keyboards redirects to Keyboard which is a disambiguation page. So, there were a couple hundred links to Keyboards which most of them should have been Keyboard instrument. Even though the popup tool shows the ability to dab the link, it doesn't find it cause it is looking for the wrong wiki tag :-). All-in-all, a freaking great addition to any toolbox!!!! >: Roby Wayne Talk • Hist 01:13, 29 September 2005 (UTC)
- Wow, it's great to hear from (nearly) satisfied users who are getting so much use of the tool! I spotted the bug with redirects today and it's on my list of things to sort out. Lupin|talk|popups 02:01, 29 September 2005 (UTC)
- Hey, you've made me very happy already, so I'd say 99.99% satisfied is pretty darn good!! I am surprised more dab'ers haven't taken off with this. It's truly amazing. >: Roby Wayne Talk • Hist 03:47, 29 September 2005 (UTC)
Thanks
On RC patrol I often see meagre little articles on English villages which aren't deletable, but in themselves just look sad and unloved. Adding one of your "dotty maps" invariably makes a "what is this article doing here?" article look like an article which, given some TLC, could go places. Have a well-deserved barnstar, and keep up the good work! Tonywalton | Talk 21:36, 24 September 2005 (UTC)
tl:verify
Just a note about the use of this template. It is generally intended for articles that are specifically problematic, not just any that are missing references. Adding it to every unreferenced article has been rejected in numerous discussions. Also it is not meant to go at the top of articles. If yu look at the talk page of the template, it is universally agreed that it belongs either on the talk page or at the bottom of articles. - SimonP 14:07, 25 September 2005 (UTC)
- Thanks for bringing me up on this. I'll place this template at the bottom of articles in the future. I don't actually see the distinction between a "specifically problematic" article and one which lacks references - our own guidelines says that lacking references is a problem. Having read the template talk page, I think that I will reserve the use of this tag (and its companion, {{primarysources}} which I just created) for non-stubs, though, and I like the idea of putting this in the References or section, or creating one if it doesn't exist. Lupin|talk|popups 14:30, 25 September 2005 (UTC)
- On a specific case: why did you add this template to Marijampolė municipality? It is a stub badly needing my attention, but what's the reason for the template? Where am I missing something? Renata3 13:02, 27 September 2005 (UTC)
Koç Holding
I changed the subtitle "External links" to "References" in the hope to satisfy your complaint. Please check it again and remove your insertion if it is OK. Otherwise let me know what else to do. Thanks. CeeGee 14:11, 25 September 2005 (UTC)
The sources for the information contained in the Luard article will essentially be verifiable from the articles that the Luard article will link to, most notably the Oxford West and Abingdon and Oxford (UK Parliament constituency) pages. The Oxwab article is already sourced, and as I build the Oxford article, it will also be fully sourced. Is this sufficient to qualify as "referenced"? --New Progressive 15:47, 25 September 2005 (UTC)
- I would suggest copying the relevant references to the article itself rather than relying on other articles. After all, they may be deleted from the articles which Evan Luard links to or replaced with other references at some stage in the future. Lupin|talk|popups 15:49, 25 September 2005 (UTC)
Hi, just wondering why you removed critisms from Globalise Resistance page?[89]--JK the unwise 17:40, 25 September 2005 (UTC)
- Hm, I don't remember doing that. I probably did something stupid with an edit conflict. Sorry! Lupin|talk|popups 17:44, 25 September 2005 (UTC)
- No worries, I think it was 84.9.38.26.--JK the unwise 18:10, 25 September 2005 (UTC)
Popup nav tool
Thanks for that, it's a really cool tool. IceKarmaॐ 20:56, 25 September 2005 (UTC)
References?
You placed a {{verify}} notice on the article for the book "Exterminator!". Could you please explain what references you require? The book is the reference. (Please reply on my talk page). Cheers. 23skidoo 00:20, 26 September 2005 (UTC)
- I've deleted all the information you feel needs to be sourced as I cannot provide verification and have no time to do so. 23skidoo 16:26, 26 September 2005 (UTC)
Likewise, I'm curious what references you think need verifying in the Angel of the Morning article. Song recordings are not generally sourced here on Wikipedia (maybe they should be), and the reference to Jerry Maguire is self-evident by seeing the film. Reply via my Talk page or yours, as you see fit. Nae'blis 08:30, 26 September 2005 (UTC)
- Hi, thanks for dropping me a note. I believe that every article should be fully referenced, which means that every assertion made should be verifiable by reading references which are listed in the article. For example, in the Angel of the Morning article, several assertions are made which I would not immediately know how to verify. These include
- the original song-writer
- Juice Newton's version met with "further success" compared to Simone's
- Shaggy's Angel song was indeed a reworking of this song as claimed
- Tom Cruise sings the original , and does so badly (remember, no original research; even this should be sourced)
- I'll admit now that this is not the most egregious case of unbacked assertions on the 'pedia, but still I think that the article would be greatly improved if it could, in principle, be independently verified by consulting references listed in the article rather than by using some unspecified "common sense" resource for songs. Even if there's a standard well respected reference work or resource for song recordings, then it should appear in the article. As a non-expert, I shouldn't have to know what this is - I should be told. Lupin|talk|popups 11:33, 26 September 2005 (UTC)
- Again, I'm wondering about your {{verify}} at Particle physics phenomenology. I don't know what to add there. What references would you add to Tennis to explain what kind of activity it is — it's not like there are any contoversial claims made that require verification? I think that article is rather a stub. --RE 17:19, 26 September 2005 (UTC)
- Let me add though, that I completely agree with you that it's important to have references, that is something I often find lacking in articles... --RE 17:47, 26 September 2005 (UTC)
- I don't think that the purpose of wikipedia's policy which requires that articles provide references is solely to verify "disputed" or "non-obvious" facts, ie facts which people decide to challenge. The purpose is surely to make it possible to verify every assertion made, whether or not any particular person considers it "obvious". Otherwise how can we make any claim to be an authoritive reference? For example, in Particle physics phenomenology, I would like references to support the following claims:
- particle physics phenomonology is a recognized term
- the description of it in the article is accurate
- the examples cited are indeed part of this subject
- I don't think that Tennis is a great example of an article that doesn't appear to need references - there are lots of people in the world who don't know what tennis is, and who may want to check that the article is not making spurious claims. Having every fact referenced is also an excellent way to make it harder for vandals to insert plausible-sounding nonsense.
- Any assertions made which seem "obvious" to the author and are not referenced surely fall foul of Wikipedia:No original research. This is an excellent policy, and a corollary to it is that references must be provided in one form or another.
- Finally, there is a secondary side-effect of requiring articles to provide references (which although beneficial in my opinion, is not the main reason that they should be provided -- the main reason is that not doing so damages Wikipedia's credibility as a reliable reference work). Making references mandatory would set a standard that I think should replace the current unclearly defined standards of "notability" that many people seem to want articles to meet on AfD. Many articles which people deem "un-notable" are hard to find references for, and almost every article that people seem to agree is "notable" can be found credible references for. It is my opinion that requiring references would be a much more transparent way of estabilishing an "encyclopedic" standard than the current mish-mash of half-baked ideas, which seem to lack any clear foundation. Lupin|talk|popups 23:10, 26 September 2005 (UTC)
- Well, you certainly don't have to convince me about the importance of references, and you are right in what you are saying. (Though in a newly started article like this one the references are not the most obvious thing missing.) --RE 16:11, 27 September 2005 (UTC)
"adding section title again for consistency on transcluded pages" seems wrong to me
Lupin's comment on Sam Vimes' talk page
OK - the rationale behind it is that the content is transcluded onto Lancashire County Cricket Club in 2005, Middlesex County Cricket Club in 2005 and so on. The third-level headings is simply to get correct headings on this page - and the Lancashire v Middlesex 18 September 2005 really shouldn't stand on its own (articles like those were originally placed as a subpage of Wikipedia:WikiProject Cricket, then moved to subpages of 2005 English cricket season, and now they stand woefully alone but are probably going to be merged within the next week or so. I realise that it makes the article look rather odd and non-standard, but the alternative is making the "county cricket club..."-pages look even worse, which I don't want since it's the transcluded pages I want people to read. Having said all that, it's probably a system that gives the editors of these articles more headaches and arguments than it's good for, and we're thinking of a new one at Wikipedia talk:WikiProject Cricket. Oh, and thanks for those lovely pop-ups :) Sam Vimes 12:16, 26 September 2005 (UTC)
- Right. As long as those articles which only exist to be transcluded are moved out of the root of the main article namespace and into a subpage then I'm a happy bunny. Lupin|talk|popups 23:19, 26 September 2005 (UTC)
popupitude
I wonder if it would be possible to teach the popups to open their links in a new window (or tab)? Controlled by a new variable, of course. --jpgordon∇∆∇∆ 15:49, 26 September 2005 (UTC)
- Yes, this shouldn't be terribly hard. Perhaps. I'll take a shot at this. To plug a new feature, if you turn on keyboard shortcuts, then in firefox or opera you can hit "e control-enter" to edit a page in a new tab, "h control-enter" to see the history in a new tab, and so on. (There must be ways to do this in other browsers too, but I don't know the shortcut for opening new tabs). Lupin|talk|popups 23:23, 26 September 2005 (UTC)
- I'm trying out your script right now. As far as the shortcuts go, is there any other way to access them, some way that doesn't require the use of ctrl-enter? By the way, it is a very nice script. Thanks. -- BMIComp (talk, HOWS MY DRIVING) 22:26, 30 September 2005 (UTC)
- This seems to be working, the new windows business at least. I don't know if new tabs is possible from javascript (although people can specify that they want all new window links to open in new tabs from their browser prefs). The new version is in the development version, popupsdev.js, rather than popups.js. If you want to test it, you'll have to change popups.js to popupsdev.js twice in your user javascript file. The new option is called popupNewWindows. Lupin|talk|popups 00:23, 27 September 2005 (UTC)
use of "unsourced" tag
I noticed you added the "unsourced" template to the St. George's Bay article which I created several hours ago. I'm not quite sure how to source the article, as everything I wrote is publicly available on any map of this region in the province of Newfoundland and Labrador. Plasma east 04:36, 27 September 2005 (UTC)
- I suggest you add a reference to a publicly available map of the region. Better yet would be to add a link to a credible publication or publications which corroborate your interpretation of such a map, but I'd settle for a map. Lupin|talk|popups 11:51, 27 September 2005 (UTC)
Popup suggestion
First of all, brilliant work. A cartload of barnstars.
I was thinking... the action links are a bit visually overwhelming, especially when one is just reading the encyclopaedia and is primarily interested in the preview. The simplest thing to do is to give them a separate css class from the preview, so that they can be changed to a lighter colour. Another great thing would be if we could come up with some sensible way to make all the action links fit onto one line (as an option of course). Zocky 06:21, 27 September 2005 (UTC)
- Thanks! Good idea about the CSS. I'll look into it. As for the action links on one line, I must admit I'm not sure exactly what you're asking. I currently have the following arrangement, with the second and final lines optional (for a talk page):
articleTitle ⋅ lastEdit contribs ⋅ count ⋅ email ⋅ block edit|new ⋅ history ⋅ un|watch ⋅ article|edit whatLinksHere ⋅ relatedChanges ⋅ move un|protect ⋅ un|delete
- Is this what you'd like?
articleTitle ⋅ lastEdit contribs ⋅ count ⋅ email ⋅ block edit|new ⋅ history ⋅ un|watch ⋅ article|edit ⋅ move ⋅ un|protect ⋅ un|delete whatLinksHere ⋅ relatedChanges
- Or did you just want all the linebreaks removed so line-wrapping is automatic? (If you turn of the maxwidth option, then they often would all fit onto one line in this case, I expect).
articleTitle ⋅ lastEdit ⋅ contribs ⋅ count ⋅ email ⋅ block ⋅ edit/new ⋅ history ⋅ un/watch ⋅ article/edit ⋅ move ⋅ un/protect ⋅ un/delete ⋅ whatLinksHere ⋅ relatedChanges |
- Or something else? If so, please let me know what you have in mind. Lupin|talk|popups 12:03, 27 September 2005 (UTC)
- I was thinking more along the lines of [E][L|H][T|E|+][+W|-W], i.e. making it very short. OTOH, having an option to put the links beneath the preview would probably be enough to achieve what I want (i.e. useful definitions while browsing, without being distracted by all the links, or getting rid of them). Zocky 14:01, 27 September 2005 (UTC)
- OK, I think I have tackled both requests now. To try it out, switch to the development version by changing popups.js to popupsdev.js, twice, in your user javascript file. Then you can play with CSS (eg a.popupNavLink {color: #2AA}; span.popupNavLinks {color: #F00}) and also try setting popupNavLinkStyle='cryptic';. There's also the possibility of having more-or-less arbitrary user-defined formatting for the navigational links at the top - ask if you want to know the gory details. For example, you could set popupNavLinkStyle='<<mainlink>>*<<edit|shortcut=e|e>>'; for another somewhat minimalist approach.
- In fact, a simpler answer to your request would have been "set popupNavLinks=false;". But that doesn't work really well in the stable version (popups.js). This has been fixed a bit in the
stabledev version, so that's another option if they really get in your way. Lupin|talk|popups 22:36, 28 September 2005 (UTC)
- In fact, a simpler answer to your request would have been "set popupNavLinks=false;". But that doesn't work really well in the stable version (popups.js). This has been fixed a bit in the
I looked at the source and I see that the thing is quite flexible. I played a bit and came up with an idea for the layout of popups that should do what I want without being cryptic (ignore the choice of colors, of course):
That would be the basic popup for a non-admin user hovering over a link to an article. Additional links for other cases could be put after related changes, so that the top bar always stays the same. How does it look? Zocky 01:10, 29 September 2005 (UTC)
- That looks fantastic to me. I'll certainly take a look at doing this! Did you write some html to get that screenshot mockup? If so, please could I take a look? Lupin|talk|popups 01:23, 29 September 2005 (UTC)
- Nah, I faked it in MS Word. But basically it's only about dumping html in the right order and let css do its stuff. You'd need to assign classes and IDs so that things can be formatted properly. You want something like
<div id="popup"> <div id="popup_nav"> <div id="popup_nav_top"> <span id="popup_nav_top_edit"> <a href="...">edit</a> </span> <span id="popup_nav_top_history"> <a href="...">hist</a> <a href="...">last</a> </span> <span id="popup_nav_top_talk"> <a href="...">talk</a> <a href="...">edit</a> <a href="...">+</a> </span> <span id="popup_nav_top_move"> <a href="...">move</a> </span> </div> <div id="popup_nav_title"> <a href="...">title</a> </div> <div id="popup_nav_info"> 1 kb, 1 wikiLink, 1 image, 1 category </div> <div id="popup_nav_bottom"> <a href="...">what links here</a> <a href="...">related changes</a> </div> </div> <div id="popup_content"> <img id="popup_image"/> Foo bar baz </div> </div>
Zocky 01:49, 29 September 2005 (UTC)
"Error on page" message when hovering over links
Hi! I am trying your Wikipedia:Tools/Navigation popups with .js and .css files as given in the article.
When I hover over a link, the popup occurs correctly, but I then gat a constant "Error on page" message in my status bar at bottom left. It stays there until I hover over a new link, then the popup comes up OK, then the error message again. I'm on IE6 SP2 Windows XP Prof. Thanks! -- Sitearm | Talk 00:39, 29 September 2005 (UTC)
- Hm, there must be an error on the page :-) I don't have access to Windows, so I can't reproduce this myself unfortunately. Can you click on the message or some error icon to find out more detail about the error? If so, please tell me what it says. One thing I have noticed is that sometimes things get tangled in firefox (my main web browser) and errors appear in that browser. Then a reload (control-shift-R in firefox or control-F5 in IE) usually fixes the problem, which I suspect is a problem with wikipedia not sending data correctly rather than a problem in the script, but I could be wrong here. Could you try reloading with control-F5 and see if things get better? Also, sometimes there are problems with particular links and not with others. Could you see if you get the message when hovering over every link? If not, then it'd be interesting to hear which links cause the problem. Thanks for your help! Lupin|talk|popups 00:46, 29 September 2005 (UTC)
I get the same error on IE, whenever any popup appears I get the "Error on page" message in the status bar. Double-clicking on that message produces the following details:
Line: 1 Char: 51 Error: Expected ';' Code: 0 URL: http://en.wikipedia.org/wiki/User_talk:Lupin
I got the same error and the same details on two different machines, both running IE6 SP2. You probably find this as unhelpful as I do (particularly as I couldn't find any line with 51 characters in any place that seemed relevant), but here it is for what it's worth. --Russ Blau (talk) 14:34, 10 October 2005 (UTC)
I get the same error (Error: Expected ';') when hovering over links in IE6 on WinXP/SP2. The popup appears but with no popup menus when hovering over the popup title. The popup menus should appear because I'm not specifying any values for simplePopups and popupStructure. If I set popupStructure=menu, I still get no popup menus. If I set popupStructure=original, all the navigation links appear correctly, but I still get the above javascript error. I hope this gives you a little more info on this problem. Thanks --Bruce1ee 14:45, 13 October 2005 (UTC)
I get this error too, both on XP and on Win2k machines, using IE6.0. Owen× ☎ 11:01, 21 October 2005 (UTC)
Unaccounted-for icons on some popups
OK, next thing I notice are strange little pictures in some of the popups. For example, on User:Lupin a bluebell (flower) shows in the popup. On Wikipedia:Help desk, a green chameleon (lizard) shows up in the popup. They are about 60x80px in size and do not appear on the actual page when opened. Is this deliberate from your program, or something from the pages? It occurs on some but not all pages.
P.S. On article pages that do have pictures, such as Wikipedia:Image sleuthing, the icon (correctly) matches the first picture in the article. -- Sitearm | Talk 03:01, 29 September 2005 (UTC)
- The image is the first image that the popup script finds in the wikitext of the page. The script isn't so bright, so on User:Lupin it doesn't notice that the image of the flower is actually in an HTML comment, so isn't displayed on the article. On Wikipedia:Help desk, it's doing what I intended it to do though: it's got the first image on the page, which is Image:GreenAnole.jpg. So sometimes it gets it wrong, but it seems OK most of the time unless you set out to trick it, like I did on my user page. Lupin|talk|popups 03:09, 29 September 2005 (UTC)
Potential influence of popups on content and ideas for the future
I've noticed a thing about the popups that has great potential to help improve Wikipedia's content, once they come into widespread use. The fact that the popup shows a part of the linked page, opens up the question of what we put in that part, thus forcing some standardization of articles. In what form will they standardize depends directly on how the popup content is chosen, so it should be given some thought.
Here are some of my ideas about how it should work (in an ideal world where everything programs itself :P). Some of these would probably work best if mediawiki helped serve them.
- Articles and user pages
- I think you should concentrate on the idea of displaying the first paragraph. I'm not sure if it's worth to bother with sentences - they're a pain to detect, and it's not like "x sentences" means much - they vary hugely in length. If the first paragraph is too long it should be cut off at word boundary and followed by an ellipsis that links to the article. The length limit should be set reasonably high - if we want popups to encourage quality intros, ellipsis should be an exception rather than the rule.
- Displaying the first image in the popup should help standardize the widespread practice of putting a right-flushed picture in the intro. Maybe the image should be displayed only if it is in the intro. Images shown later in the article may not be the proper ones to show in the popup.
- It's a brilliant idea to look into comments for images - this allows us to have custom images for popups. Maybe there should be a stricted syntax for specifying those.
- Talk pages
- As it is, the first lines of a talk page are usually useless. It would be great if for talk: links, the popup showed the last few lines of the history instead.
- Another option is to show the top of the talk page (which sometimes includes useful tips) only if there's any text before the first heading, followed by some of the history.
- Templates
- The popup should display the template's source.
- Links to diffs
- The popup should display (the beginning of) the diff.
I haven't looked at the javascript much apart from the layout bits. Would getting different bits of info for different links like this require major changes in the implementation? Zocky 11:54, 29 September 2005 (UTC)
- Thanks for sharing these ideas! At the moment, the javascript is probably not flexible enough to make these changes immediately, but I hope to change that. A couple of quick comments:
- I don't like the idea of introducing new image syntax to wikipedia unless popups are included for everyone (which I don't think should happen either). They're really just a hack at the moment.
- I've tried to reduce server load and improve respoensiveness by only grabbing the source of articles (with &action=raw) and never looking at HTML. This means that I could do the templates thing and probably restrict to images appearing at the top (a little harder), but the others (displaying diffs, history) are trickier as things stand.
- If and when I implement some of these, it's going to involved yet more configuration variables which the vast majority of users never set, since the manual is a bit daunting. Sets of config options which let you set an overall feel to the popups are needed, and some clever UI for making them trivial to select. Lupin|talk|popups 13:34, 29 September 2005 (UTC)
- I was guessing that getting raw data is how you did it. In that case, the above would be complicated. But it may be worth investigating the possibility of updating the mediawiki php to serve popup content, maybe with "action=popup" or something. The way it works it shouldn't really be too hard.
- The other thing, user settings: One thing you could do is make the javascript include a page like User:Foo/popupsettings.js, which you could than overwrite from javascript with prepared config sets, and put a drop-down menu for those somewhere. Maybe make the preferences link drop a menu of useful settings, both for popups and user preferences.
- BTW, wouldn't it be great if you could do things like {{tools/popups|width=120|skin=mypopupskin}} on .js pages? Zocky 21:18, 29 September 2005 (UTC)
- Yes, action=popup would be nice. I don't know php so it'd be a challenge to code though... maybe I can make a skin selection UI appear when you press a certain key. Since I'm short on space I don't want it to be visible all the time. Ideally the user would never have to touch javascript once the original installation was complete; if I use cookies to store the config data then this should be doable. Lupin|talk|popups 21:31, 29 September 2005 (UTC)
My RfA
Lupin supporting Lord Voldemort? Never thought I'd see the day. Thank you for your kind words concerning my RfA. Although it seems this is headed the way of "no censensus", I hope you will think about supporting me again in a few months. Thanks my friend. --Lord Voldemort (Dark Mark) 13:36, 29 September 2005 (UTC)
Protection of popups.js page
I've edit-protected your excellent popups.js page, as a significant number of users seem to be using it. Rationale: If vandals were to edit the .js page, this would open users running it to a variety of potential abuses. I think you're a sysop, so you shouldn't have any problem continuing to edit it. However, if you're not, just send me a message, and I'll try to work something out. -- Karada 17:11, 29 September 2005 (UTC)
- I think this is not necessary, as only sysops can edit other peoples' javascript files anyway, and they still can edit after protection. I think I'll remove the protection for this reason unless there's a compelling reason to keep it that I'm not aware of. Lupin|talk|popups 20:54, 29 September 2005 (UTC)
Popups and Other Wikis
I just installed your script and it looks great. I am very impressed. As a Turkish Wikipedian I tried in Turkish Wikipedia and works ok. But. The name of the user space is not "User:" in tr Wikipedia and your script searches for string "User:" to understand what the type of page is. As a result in tr wikipedia your script thinks all pages are 0 namespace ie. article and doesnt show special attributes if you hover on a user link. So is it possible to define namespace variables in users monobook.js first and pass this variables to yoor main script. So your main script will only use this variable names instead hard wired "User:" string or any other this kind. So each wikipedian from other wikis can edit his namespace names in monobook.js and it will work. Of course it should support Unicode. Thanks again for this great script. --Dbl2010 01:06, 1 October 2005 (UTC)
- Making the script work on non-english wikis is part of my plan - hopefully I'll get around to this before too long. Lupin|talk|popups 13:11, 2 October 2005 (UTC)
- The development version seems to be working well on de.wikipedia.org - could you test it on the turkish site? The interface is not translated (and there's no way to do this at the moment) but I think I have the namespaces sorted out. To install it, you'll need this in your javascript file:
// [[Kullanıcı:Lupin/popups.js]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popupsdev.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
- Looks good now and nice improvements on development version. Thanks. I will keep testing. --Dbl2010 06:35, 3 October 2005 (UTC)
Pop ups
Hi Lupin, thanks for the tips. Everything went on smoothly; no glitches found. See you around. →Journalist >>talk<< 15:42, 2 October 2005 (UTC)
Template:RfA-nom color
I sort of picked the color at random - wanted it to pop out, tho. :-D -- BD2412 talk 15:49, 2 October 2005 (UTC)
glitch(?) in the popups
I have only accidently stumbled upon the popups a few days ago, and it shall be a day I bless for the rest of my wiki life. but i seem to be having a few problems.
Okay, before I start, I have literally no idea of what I am talking about, so please excuse any incorrect names ect. Also, sorry if my complete noobishness makes your head explode with confusion (that tends to happen a lot to me)
I followed the instructions on setting it up and the popups were perfect for a while, but soon i lost the edit,hist,count ect options from the popups. I ignored it thinking that something may just be being fiddled with, but at least a day later and it has not rectified itself. Also, the colour scheme has gone all-to-whack and reverted itself back to orange. I have checked my history pages and nothing has been tampered with. Could you help? thanks Tekana (O.o) Talk 18:55, 2 October 2005 (UTC)
- Yeah, sorry... that's me, I changed the script. It should be the case that you can now roll your mouse over the title of the article that appears in the popup and a menu of links should appear. If you don't like this, you can get back something close to the old style by adding the line
popupStructure='original';
- to your monobook.js file. Since the white-on-white default is confusing and hard to see, I put a default stylesheet in which is why you're seeing the orangeness. It should be possible to override that in your monobook.css. Try putting this in:
table.popupBorderTable { background: #990066 !important /* purple */ } table.popupTable { background: #FF99FF !important /* purple*/ } font.popupFont { font-family: serif !important; color: #990099 !important; font-size: medium !important}
- By the way, the popups would probably look much better without that third line - that was just a silly example I put in. Lupin|talk|popups 19:07, 2 October 2005 (UTC)
My RfA!
My dear Lupin, I simply wanted to drop by now that my RfA is closed to give you a big THANK YOU! for your kind support. Your trust in me and your consideration against editcountitis, when the matter of my relatively few edits was being put against me by a few people, gave me strength and cheered me up a lot. You'll always have a friend in me. Hugs! Shauri Yes babe? 20:52, 2 October 2005 (UTC)
Possible bug with popups tool
Hiya Lupin, I haven't congratulated you on your excellent popup script, so I'll do that now (it's fantastic), and report a bug at the same time - I don't think it recognises interwiki links to the Scots Wikipedia (sco: links) as being interwiki links. Cheers, Talrias (t | e | c) 08:06, 3 October 2005 (UTC)
- You mean it doesn't filter them when making previews? If so then that's a bug... if not, how is this bug manifested? Lupin|talk|popups 11:53, 4 October 2005 (UTC)
- The first one. See for example User:Talrias/Test subpage. Talrias (t | e | c) 13:40, 4 October 2005 (UTC)
Customised script
I was wondering if I could get a customised script as follows:
- On user pages
(Following links in the "toolbox" on the left column)
- Kate's tool link for user
- User's log
- Block user
- Unblock user
- On general pages
- "Purge" ie. purge server cache.
- This should be a tab alongside the "watch" tab on the top of the page.
If you could make it I would be thrilled. Regards, =Nichalp «Talk»= 14:50, 3 October 2005 (UTC)
- Here ya go. Lupin|talk|popups 12:50, 4 October 2005 (UTC)
- in Opera, and compare it to what you get in Firefox. My guess is that the string wpUserNamespace, which was the source of the bug I fixed this morning appears in Opera but doesn't appear in Firefox. Try hitting reload until it disappears in Opera if that's correct :-) Lupin|talk|popups 20:38, 4 October 2005 (UTC)
Popups
Lupin, I noticed that you changed your popup tool recently. Unless I'm missing something, there doesn't seem to be a "block" link anymore for users. Am I missing something, or was that left out? Many thanks. Flcelloguy | A note? | Desk | WS 21:30, 3 October 2005 (UTC)
- Come to think of it, I don't see "contribs" or "count" for users any more. What's going on? Flcelloguy | A note? | Desk | WS 21:51, 3 October 2005 (UTC)
- The interface has changed, perhaps for the worse. See Wikipedia_talk:Tools/Navigation_popups for an explanation. Lupin|talk|popups 22:53, 3 October 2005 (UTC)
- I've made a comment at Wikipedia talk:Tools/Navigation popups. By the way, did you see the Signpost article about your popup links that I wrote a week or two ago? Flcelloguy | A note? | Desk | WS 23:23, 3 October 2005 (UTC)
Thanks!
Thank you for the information about the popups. I've already set it up and wanted to tell you that I think it's danged spiffy! -- Gyrofrog (talk) 04:48, 4 October 2005 (UTC)
firefox timeout window thingy
your javascript popup thingy makes firefox bring up the "script is running slowly dialog"... is there a long-running loop or something? suggest a event-driven model instead --BG 22:00, 4 October 2005 (UTC)
- I believe that this is because of this bug in some beta versions of firefox. Please upgrade to the latest version and try again. Lupin|talk|popups 11:51, 4 October 2005 (UTC)
- Thanks, I'll try that --BG 22:00, 4 October 2005 (UTC)
Cooper Creek reference
Hi. You added the {{unsourced}} template to Cooper's Creek. I've checked the Geoscience Australia website, changed the name of the article to Cooper Creek and added the coordinates which links to a page with links to many maps. Does this meet yor "sourcing" requirement? The "official" coordinates are where it flows into Lake Eyre. Zoom Multimap out to 1:4000000 to see the cartographic label. Cheers. --Scott Davis Talk 13:38, 4 October 2005 (UTC)
- Can you cite your sources for "most notable and yet least visited" (sounds like POV), and maybe also "It was along Cooper Creek that the explorers Burke and Wills met their deaths"? --BG 22:00, 4 October 2005 (UTC)
- There appears to be a link to a source for maps, as you say, but that still leaves many assertions in the article which are not sourced in any way. BG has pointed out a couple of examples, and I agree that these need sourcing. I think I'd also find it hard to fact-check the sentences
- It takes almost a year for water to reach Lake Eyre from the headwaters. In most years, none does: it is absorbed into the earth, goes to fill channels and the many permanent waterholes, or simply evaporates.
I agree that phrase sounds POV (I didn't write it). It's probably true - most people have heard of it, but I don't know whether I know anybody who's seen it - especially not in flood. I'll see if I can find a reference about flows. The Burke and Wills bit it is described in that article. --Scott Davis Talk 13:05, 5 October 2005 (UTC)
- In this instance, I'm not too concerned about it being POV or not. What bothers me is that there's no way to check whether it's accurate or whether someone made it up, or whether it's someone's original research. Also, using other wikipedia articles as implicit references is suboptimal as it means that in order to check an article for accuracy I have to delve into each article linked from it, and these may or may not have references which back up the specific assertion I want to check. We should let each article stand alone with its own references in order that it may be properly verified. Lupin|talk|popups 17:27, 5 October 2005 (UTC)
League/league system
I don't know if you were going through systematically and looking to fix change any sports-related links to league to link to league system, but I noticed the one at official scorer. Unfortunately the league system article is totally inadequate, so I created a sports league page, since a sports league is different from a league system. So if you're going to make any more changes to links to league that should be disambiguated, feel free to link them to sports league instead.Kevin M Marshall 22:06, 5 October 2005 (UTC)
Last modified date in popups
Hi Lupin. Thanks for the popup script. I've enhanced the September 25 version to optionally include the last modified date with the text preview. This is done by retrieving the Last-Modified HTTP response header with Downloader.http.getResponseHeader and storing it with the cached page entries. In raw download mode, this header is set by the MediaWiki software to the last modification date of the article content.
Please have a look at this diff. If you want, I will try to integrate these changes with the October 3 version of the popups.js script. Mike Dillon 04:50, 6 October 2005 (UTC)
- Excellent, many thanks for this! I've put something based on your code in popupsdev.js, the development version. I decided to show the "age" of the page rather than the date, as the date can be rather lengthy and I think that most of the time it's the time that's elapsed since the page was edited that's of interest. Lupin|talk|popups 13:58, 6 October 2005 (UTC)
- You're welcome. I hope the other popups.js users appreciate it. I've found it helpful. Mike Dillon 15:20, 6 October 2005 (UTC)
Script
Hey, the script is finally working in Opera. :) I wonder why it took so long to kick in? Thanks for the effort and time invested. =Nichalp «Talk»= 07:45, 6 October 2005 (UTC)
- Good, glad to hear it. I think that the reason is that opera secretly caches more than it should. Lupin|talk|popups 15:05, 6 October 2005 (UTC)
Anthony Jackson Image
Just wondered why you removed an uncopyrighted image from Anthony Jackson -Mjgw
Provenance
Is it possible, using javascript, to create Source Provenance and Temporal Provenance, as detailed in the sections under Wikipedia:Provenance#Proposals_for_provenance? If so, might you consider undertaking this task? It would probably be the next big thing (besides navigational popups, of course). — BRIAN0918 • 2005-10-7 02:17
- Welcome back! I have to admit that I don't really understand those proposals or what good they'd be. Still from what I can make out, this would be a job that would involve collecting lots of diffs and splurging them together into an unholy mess. If that's what's desired, then this is probably best done server-side without javascript, as accessing lots of pages to compare or mix them up together would be slow to do client-side. Lupin|talk|popups 02:31, 7 October 2005 (UTC)
- That's what I figured. I think the point to all of this is to catch sneaky vandalism that was added a long while ago to an article that has since been edited numerous times with reverting the vandalism. At least, that would be the point of the source provenance. I think the temporal provenance would be used just to get an idea of what the actively edited parts of an article are. The source provenance would definitely be useful. I think a better tool, though, would be to require users to view the last edit of an article when submitting a new edit. Thus, everyone becomes a member of RC patrol, and much more vandalism will be caught. Is this something that you know how to add in? — BRIAN0918 • 2005-10-7 11:41
Adding a copy of previous revisions to any given pages should in principle be doable using livepreview and a bit of javascript. On the other hand, livepreview is not perfect, so vandals would fine a way to exploit its flaws if we did this. Doing it server-side would be so much more reliable.
- I've just worked out that you probably mean "view the diff between the last edit and the edit preceding it when submitting a new edit" rather than "view the previous revision when submitting a new edit". Again, possible, but I think best done server-side, this time because generating diffs is non-trivial programmatically, and it would be best to utilize the existing code in mediawiki rather than cobbling something together from scratch. I have to say that this would need a cunning interface if it wasn't going to be mighty confusing for the user too IMO. Lupin|talk|popups 12:17, 7 October 2005 (UTC)
Little js help?
I'm sorry to bother you, but you're the only javascript guru I know. This is a simple request, as I don't know much javascript, I took the "auto afd" script that helps to automate the process of sending an entry to AFD and then modified so it would help to automate the afd closing. So I started with the del version. I think (I think) I got it right, but I can't get the link with the tab at top to show up, could you give a quick look at User:Drini/monobook.js and tell me what went wrong? I didn't delete anthing, just added, but now not even the tab at top for "Afd" is showing up anymore. Maybe the problem is with the even listeners, but I really don't know what's going on. -- (☺drini♫|☎) 05:09, 7 October 2005 (UTC)
- Hm, a guru? That's going a bit far, as anyone who actually knows how to write good clean code will tell you after looking at the godawful mess that popups.js is becoming :-)
Using emacs, c-mode and M-x indent-region, I found an error in your code: the braces don't match. I think the problem is that this is invalid:
if (stuff) { otherStuff(); moreStuff(); } else somethingHere(); }
and should be one of these instead:
if (stuff) { otherStuff(); moreStuff(); } else somethingHere();
or
if (stuff) { otherStuff(); moreStuff(); } else { somethingHere(); }
My suggestion what you probably want for that function is
function autocloseafd() { if (document.title.indexOf('Editing ') == 0) { var action = ''; var target = ''; if (location.search) { var l = location.search.substring(1).split('&'); for (var i = 0; i < l.length; ++i) { var eq = l[i].indexOf('='); var name = l[i].substring(0, eq); if (name == 'fakeaction') action = l[i].substring(eq + 1); else if (name == 'faketarget') target = unescape(l[i].substring(eq + 1)).replace(/_/g, ' '); } } if (action == 'closeafddel') { document.editform.wpTextbox1.value = 'deleted per [[' + 'Wikipedia:Articles for deletion/' + target + ']]'; document.editform.wpSummary.value = 'deleted per [[' + 'Wikipedia:Articles for deletion/' + target + ']]'; } else document.editform.wpTextbox1.value += '===[[' + target + ']]===\n' + 'Reason for nomination. ~~' + '~~\n*\n*\n*\n'; } else add_link('javascript:closeafd()', 'c/afd'); }
- Well, thanks a lot. Now everything is workign again, and the little tab with c/afd shows up. The only strange thing is it shows up when viewing a page, not when editing it. I tried to move the add_link() line outside the if scope, but then it all broke again. -- (☺drini♫|☎) 14:03, 8 October 2005 (UTC)
Popup feed back
Lupin, I'm finding your popups a great help with admin tasks - using them all the time. Just one comment, the one think I find difficult is knowning when an editor has already been blocked. Would it be possible to have a quick link to the blocklog for a user? Thanks. --Doc (?) 11:27, 7 October 2005 (UTC)
- Yes, I've already done this in the dev version in fact. Once I satisfy myself that it probably won't go on the rampage, I'll overwrite the "stable" version with that. You can try it yourself if you like. Lupin|talk|popups 12:10, 7 October 2005 (UTC)
Bug: William "Grumble" Jones
When I use your popups "edit" button on William "Grumble" Jones in the "What link here" for American, it opens up William, and not even in the edit window. --Commander Keane 09:18, 8 October 2005 (UTC)
- Thanks for telling me about this bug! It should now be fixed. Lupin|talk|popups 17:18, 8 October 2005 (UTC)
- Fantastic! The ability to go straight to editing a page using your popups has been a revolution when I'm link repairing. Thank you so much.--Commander Keane 17:28, 8 October 2005 (UTC)
Popup question
I just changed my settings to return the missing editing menus I had in my popups following the changes to the script and fixed a mistake in my own style sheet so the admin links show too. However, I've noticed the admin links appear under the page title and the others appear above it. I'd like both menus to be below the page title. Can you change it or make it an option? Please answer on my talk. - Mgm|(talk) 20:07, 9 October 2005 (UTC)
- You mean you'd like to do away completely with the separate user menu and have all the links in one long menu? This would not be very hard to do, so please let me know whether or not I've understood what you want. Lupin|talk|popups 23:08, 9 October 2005 (UTC)
- Also, I tried disambiguating some links pointing to Mummification using the popups, but only got the choice to use the link Mummy when it should also offer me the option Mummification (bondage). Why isn't that option showing up in the popup? - Mgm|(talk) 22:22, 9 October 2005 (UTC)
- Odd, I get the choice between Mummification (BDSM), bondage, mummy, preservation. Which browser are you using? I'm not sure if this is relevant or not, but you shouldn't expect "Mummification (bondage)" to appear if the link on the disambig page is piped to give it a different name to its target. Only the real targets of links on the disambig page should appear. Lupin|talk|popups 23:08, 9 October 2005 (UTC)
- I was referring to the Mummification (BDSM) link, I changed that one since mummification (bondage) redirected to that. I only get Mummy as an option when I try to dab pages in IE 6 on Windows 98. - Mgm|(talk) 04:52, 10 October 2005 (UTC)
- Here's the screenshot. I'm using the "fancy" setting in one of the customizable settings. You can see the rest of my settings at User:MacGyverMagic/monobook.js. Hope this helps. - Mgm|(talk) 16:43, 10 October 2005 (UTC)
- Yes, thanks. I've made a new possibility for the popupStructure variable, 'fancy2'. You can try it out in the dev version. Lupin|talk|popups 18:34, 10 October 2005 (UTC)
- I had to cut out my old code, but the dev seems to be working. How long does dev code generally take to be implemented?
Pop-up tool suggestion - fixing redirects
Hi Lupin. Spotted the link to your fantastic tool this morning on my watchlist where someone had used it for a dab fix. It's great - thanks for all your work with this! Just one suggestion (couldn't see any other ref to this particular suggestion on your talk page - apologies if I'm duplicating a request...). If you use it to auto dab, the edit summary includes a link to the tool (which, as I mentioned, is how I found out about it). However, if you use it to auto-fix a redirect, the edit summary doesn't automatically include a link. Could a link be added? Unfortunately I wouldn't have the first clue how to go about implementing something like this... Regards, CLW 07:54, 10 October 2005 (UTC)
- Wow, people asking me to push the tool harder! Since you've asked for it, I'll put this into the development version which should work its way into regular use once it's been tested a bit. Lupin|talk|popups 15:16, 10 October 2005 (UTC)
disable popup nav?
I'm using Safari on OSX and the navigation popup is crashing Safari quite regularly, so I would like to turn them off. I've deleted my User:Lethe/cologneblue.js, but I'm still getting the popups. The suggestion at the page to refresh my cache by pressing shift-command-R does not appear to work (actually, it doesn't appear to do anything). Can you help? thanks -Lethe | Talk 19:34, 10 October 2005 (UTC)
- What's probably happening is that things are getting cached by either your browser or a wikipedia server when they should not be. Here's my suggestion based on similar experiences with Opera. Try loading this url in Safari:
- This is the url your browser uses to get your user javascript file, I think. Hit refresh/empty your cache/do a rain dance until this reflects what you think it should (ie until it comes up blank). Then restart your browser and try again. Repeat until you start getting the desired results consistently. Then the popups should be banished. Lupin|talk|popups 19:53, 10 October 2005 (UTC)
Heraldry
Your tarball of academic shields has come in handy, I'm posting just to let you know of shields I've constructed using your images-- University of New Zealand, University of Otago and Victoria University of Wellington (all GFDL of course).
I plan on doing more, many thanks for the source images.
DiamondVertex 10:20, 12 October 2005 (UTC)
New maps please!
Could you create some new GB 'dotty maps' for the following places please? Many thanks.
Little Warley, Essex: 51.677461° 0.373007°
Ingrave, Essex: 51.602483° 0.344541°
West Horndon, Essex: 51.567471° 0.341296°
Stondon Massey, Essex: 51.679967° 0.292119°
East Horndon, Essex: 51.574341° 0.357527°
Great Warley, Essex: 51.592812° 0.287727°
Kelvedon Hatch, Essex: 51.668624° 0.274189°
Navestock, Essex: 51.651831° 0.25889°
Herongate, Essex: 51.59234° 0.357015°
Doddinghurst, Essex: 51.66354° 0.304306°
Blackmore, Essex: 51.69021° 0.320131°
Childerditch, Essex: 51.583089° 0.324775°
Pilgrims Hatch, Essex: 51.635912° 0.291342°
Hutton, Essex: 51.630104° 0.357527°
Warley, Essex: 51.606962° 0.299994°
Ingatestone, Essex: 51.670127° 0.379856°
Leigh-On-Sea, Essex: 51.541881° 0.655872°
Abridge, Essex: 51.651722° 0.120084°
Great Wakering, Essex: 51.551622° 0.816589°
Writtle, Essex: 51.730213° 0.432257°
Sturmer, Essex: 52.067421° 0.478273°
Terling, Essex: 51.80566° 0.563992°
Canvey Island, Essex: 51.516604° 0.579435°
Thundersley, Essex: 51.568357° 0.59824°
Rowhedge, Essex: 51.856932° 0.947476°
Rayne, Essex: 51.876888° 0.514278°
Layer de la Haye, Essex: 51.842952° 0.857982°
Thorpe-le-Soken, Essex: 51.856703° 1.163904°
Takeley, Essex: 51.867501° 0.26823°
Fryerning, Essex: 51.677461° 0.373007°
and...
Coed-y-Brenin 52.829353° -3.907523°
Ta. Mauls
- Uploading now... enjoy. You can look here for the filenames. Lupin|talk|popups 02:55, 16 October 2005 (UTC)
pop-up tool... yet another suggestion
what about endnotes? is there some way we can get the note instead of the first lines of the article when we hover on those? No urge, that would be nice, that's all...
Thanks, Jules LT 03:18, 16 October 2005 (UTC)
- That's a good idea. Do you know where all the possible endnote templates are listed? I'd need that to implement this. Lupin|talk|popups 03:23, 16 October 2005 (UTC)
popup tool
Hi Lupin, just dropping you a quick note to say a HUGE THANKS for your fantastic js work with this tool. How did I ever manage without it? It is absolutely brilliant and cuts out several page clicks of navigation for some tasks.
I have one question though, are there any other undocumented parameters that can affect the interface and mode of operation such as:
- popupAdminLinks = true/false;
- popupStructure='menus'/'original';
- simplePopups = true/false;
Thanks in advance. --Cactus.man ✍ 10:13, 17 October 2005 (UTC)
- Hi, glad you find it useful! There are several options documented at WP:POP; others may be found by playing with popupLiveOptions=true; and/or looking at the source (look for "newOption"). Lupin|talk|popups 22:17, 17 October 2005 (UTC)
- Thanks, checking them out as we speak =:-) --Cactus.man ✍ 08:42, 20 October 2005 (UTC)
Search feature
I haven't checked, but does your popup have a search feature that will search for the link text? This would really speed up work for the Wikipedia:Missing articles folks. — BRIAN0918 • 2005-10-18 04:32
- No, but that's a lovely idea. I could also do a global wikipedia search link while I'm at it... Lupin|talk|popups 12:48, 18 October 2005 (UTC)
- This is now in the dev version in the menus only. Lupin|talk|popups 13:19, 18 October 2005 (UTC)
A quirk
Hi again. I must say that after initial doubts I have warmed up to the idea of a menu for actions. However, the way it's implemented now, it makes it hard to get to the links in the preview, because the menu drops once you move the mouse over the title. The easiest way to remedy this would be to add a link named "actions" and display it just like the "user" link is now displayed for user subpages. That way the menu would drop only when the user wanted it to drop.
An alternative strategy might be to align the dropped menu to the right, so that it disapears if the user only passes over the title with the mouse (as this will usually happen near the left border of the preview). Zocky 16:35, 18 October 2005 (UTC)
- You're right, this has been irritating me too, so thanks for prompting me to do this! Please try the dev version with popupActionsMenu=true;. This feels more consistent with the user menu and makes the previews easier to use as you say, so I may make this default to true. Lupin|talk|popups 22:24, 18 October 2005 (UTC)
- Very nice, tnanks. Another thingy: It would be nice if it was:
- Frogs • actions • redirects to:
- Frog • actions
- Frogs • actions • redirects to:
- or even
- Frogs • actions • redirects to:
- Frog • actions
- Frogs • actions • redirects to:
- ...if you know what I mean. Zocky 12:47, 19 October 2005 (UTC)
- Very nice, tnanks. Another thingy: It would be nice if it was:
Hermione1980's RfA
Thank you for your support on my RfA; I really appreciate it! I will do my best to live up to the trust you've shown in me. Thanks, Hermione1980 23:57, 18 October 2005 (UTC)
Pop up tool and categories
I just installed the pop-up navigation tool and it reads 0 categories for every page I have tried previewing. I'm running Mozilla 1.0.7 and Windows 2000. The problem also happens when I run IE. Just to let you know about the bug.--Bkwillwm 16:32, 19 October 2005 (UTC)
- You're right! Thanks - there was a silly typo in the code. This should be fixed in the dev version. Lupin|talk|popups 17:22, 19 October 2005 (UTC)
Fix this redirect
Lupin -- the popups are a great tool! Thanks for doing this. One minor suggestion, for fixing double-redirects. Suppose "[[Foo]]" is a redirect to "[[Bar]]" and "[[Bar]]" is a redirect to "[[Baz]]". If I am on the [[Foo]] page and use the pop-up to fix the redirect, it wants to change #REDIRECT [[Bar]] to #REDIRECT [[Baz|Bar]]. The |Bar part isn't necessary in this context and might be confusing to anyone else who is tracing redirects. --Russ Blau (talk) 13:36, 20 October 2005 (UTC)
Popups not working for me
My mouth is watering at the prospect of getting your popup tool, but for some reason it won't work for me. I'm using Safari on Mac OSX on an iBook. Do you have any idea what the problem might be? RMoloney 18:13, 20 October 2005 (UTC)
Never mind - it was just taking its time to start working. RMoloney 18:22, 20 October 2005 (UTC)
Thanks
Lupin, thanks for your support on my RFA. I very much appreciate it. If you ever need anything, don't hesitate to ask. See you around! —thames 18:28, 20 October 2005 (UTC)
Also thanks for the nice work separating out the 404 errors in Wikipedia:Dead external links. Should be handy! -- Marumari 19:43, 20 October 2005 (UTC)
Popups question
Would it be feasible to auto-update the popup window when you hover over links inside the pop-up? This would make it feasible to navigate through Wikipedia without ever clicking a link. Oh, and of course you deserve a barnstar for this fantastic tool.--Eloquence* 21:11, 20 October 2005 (UTC)
- Thanks for the idea and the barnstar! It's a nice idea... I'll think about doing this. A more intuitive UI (IMO) would be to have separate popups appearing over the existing popup, but this requires fundamental changes to the code to make it more modular. I am reworking the code from scratch with stuff like this in mind, so this may eventually materialise! (Eventually being the operative word here as I'm going very slowly). Lupin|talk|popups 22:17, 20 October 2005 (UTC)
- Good luck, refactoring can be a pain. I'm not sure it's more or less intuitive to have popups upon popups. In effect, your popup system is kind of a "mini-browser", so I think some of the same considerations apply as in traditional browser UIs. Imagine your browser would open every link in a new window, for example. But it's hard to tell without testing it. My guess is that, if the popup was refilled using the same time delay as used for the initial popup, and only the links in the "content area" (below the title and menu) would be active in this way, it would be reasonably intuitive. In fact, I sort of expected it to already work this way ;-).--Eloquence* 23:36, 20 October 2005 (UTC)
- Hi Lupin, I am testing the Dev version right now. This was a question I was going to ask, but Eloquence beat me to it. I tend to agree that a new popup (with focus) over the existing popup would be more intuitive. This could then be lost when the mouse moves back over the existing popup to allow a new link to be previewed. Sounds like a lot of work, but I am no JS guru. Multiple cascading popups would in theory be possible. I like the new dev version BTW, very clean, and the Options facility is fantastic. Keep up the good work. --Cactus.man ✍ 11:42, 21 October 2005 (UTC)
JS
The problem with using monobook.js is that I absolutely hate monobook. If you have the popup for classic, that'd be better.
...do you? DS 00:22, 21 October 2005 (UTC)
- Ah, never mind, I see now. Thank you for your suggestions; I plan to implement them later on. Again, thanks. DS 00:47, 21 October 2005 (UTC)
Wow
I added that thing, and that thing is so far above me that I barely comprehend what it did.(It added the move tag, right?) Man, is there anyplace where someone who knows little to nothing about Java and CSS can learn this stuff? Even my HTML experience is fairly minimal. Karmafist 02:54, 21 October 2005 (UTC)
Please add new messages to the bottom of this page. You can do this by using this link.
I will usually respond on this page.
Navigational popups
ActiveX and link separators
Amazing, just amazing.
However, I have two minor questions.
- Is is possible to use a different character to seperate the links?
- The middle dot tends to become a hollow square. It may be just the way the default monobook font interacts with IE, but it would be nice to be able to choose a different character.
- Do you know how to enable certain ActiveX objects, and for Wikipedia only?
- Currently I have disabled all ActiveX, but apparently I need "Msxml2.XMLHTTP" or "Microsoft.XMLHTTP". Which one do you advise? By the way, would it be possible to show a message if the objects cannot be created? I couldn't figure out what was wrong without looking at the source file.
I hope you can answer my questions.
Cordially yours, Shinobu 00:11, 24 August 2005 (UTC)
- Hi, glad the script is useful. To address your questions:
- yes, you can use a different character: set the variable popupNavLinkSeparator as described on Wikipedia:Tools. If you find
a nice one then please let me know and I'll make the default for IE.
- I don't have access to a copy of IE (I am rather severely unix-bound) so please tell me what you have to do to get this working so that I can add it to the installation instructions! I'm afraid I don't know which ActiveX thing is better as I don't understand all that stuff really. Lupin 01:26, 24 August 2005 (UTC)
Thanks for the link to The Manual. I see it has lots more interesting options. As for the dot problem, the following works for me, both in IE and in Firefox:
popupNavLinkSeparator = ' · ';
Cordially yours, Shinobu 04:47, 24 August 2005 (UTC)
There seems to be a little flaw in the code. You see, I got the ActiveX working by assigning wikipedia.org to it's own security zone and activated safe for scripting ActiveX. That works, apart from the fact that the code breaks on the following line:
this.send = this.http.send;
Maybe because for ActiveX objects member functions are native, not JS, this line generates a "property does not exist"-error. Perhaps it is best to use a proxy in this case:
function httpProxySend(name) { return this.http.send(name); }
Assuming send returns anything that is. And use
this.send = httpProxySend;
in the case of an ActiveX. Maybe I'll toy around with it a bit and send you the solution if I get it working (if you want, that is). What do you use, a local copy on your own p.c., or have you got a scratch version somewhere else?
Cordially yours, Shinobu 06:34, 24 August 2005 (UTC)
- Thanks. Please could you try using User:Lupin/popupsdev.js instead of User:Lupin/popups.js? I've made something like your suggested change regarding "proxy" functions. Lupin 02:17, 25 August 2005 (UTC)
Okay, I'll check if it works; if it doesn't I'll try to toy around with a debugger. Actually being able to see on what line the script staggers and being able to look at variables, change them and continue, makes for easier problem fixing than having an other user execute it and asking "Does it work?". Shinobu 21:46, 25 August 2005 (UTC)
It works like magic. It doens't seem to have broken in Firefox either, always a good sign. I can only think of one minor improvement (very low priority though): a message of some kind in the case neither ActiveX nor standard HttpRequests can be created.
I would like to say again that it's an amazing script, and thanks for taking the trouble to make it work for me! Cordially yours, Shinobu 22:08, 25 August 2005 (UTC)
- Shinobu, Is there a difference between · (middot) and ⋅ (sdot)?
- Lupin, this is a great tool! — Omegatron 01:44, September 8, 2005 (UTC)
- Glad you like it! I can see the difference in Firefox on Linux, so they are distinct. I suspect that you may get a better response from Shinobu on his talk page. Lupin 01:48, 8 September 2005 (UTC)
- I really like it! :-)
- I was specifically talking about whether the two dots have different effects in IE, since that seemed to be the problem. (Although I didn't know the difference until recently, and have been using middot for both. Oops.) — Omegatron 15:59, September 8, 2005 (UTC)
Parensplit bug
I think there should be extra brackets in the following bit of code (I've coloured them red):
String.prototype.parenSplit=function (re) { var m=re.exec(this); if (!m) return [this]; return [this.substring(0,m.index)] .concat(m.slice(1)) .concat(this.substring(m.index+m[0].length).parenSplit(re)); };
If I understand this correctly this function should emulate split (only not broken).
- The result of the split method is an array of strings split at each point where separator occurs in stringObj. The separator is not returned as part of any array element.
So if re is not matched, an array with a single element should be returned, not a string. Otherwise code that depends on the result being an array fails, crashing the script to the debugger.
As for the second part, given string "abcdefghi", re /def/ this would yield:
- m[0] = "def"; m.index = 3;
- return ["abc"].concat(["def"]).concat("ghi".parenSplit(/def/));
- == return ["abc", "def", "ghi"]
Note that ordinary split on IE or Firefox would return ["abc", "ghi"]. But I assume returning "def" also is intentional, so that's okay - only the red brackets should be added.
Cordially yours, Shinobu 03:06, 26 August 2005 (UTC)
- Yes, you're right. Thanks for finding this bug and providing the fix! I've put this and another fix to parenSplit in popupsdev.js and will transition it to popups.js if it proves to be stable. Lupin 14:32, 26 August 2005 (UTC)
Redundant code in parenSplit?
for(var i=0; i<m.length; ++i) { if (typeof m[i]=='undefined') m[i]=''; }
This code might not be needed, since you're only using m[0] and m[0] is always a string: the re match.
Cordially yours, Shinobu 02:33, 27 August 2005 (UTC)
- True - for my purposes at the moment, it doesn't do anything. But it does make parenSplit behave more like (exactly like?) the ECMA String.split function, and I don't think it imposes a huge performance hit (if you disagree then I'd be happy to take it out). Basically I added it so that I don't get bitten by differences between String.split and String.parenSplit in the future. Lupin 02:38, 27 August 2005 (UTC)
Yes, that makes a lot of sense. I should have thought of that.
// without this, we have // 'ab'.parenSplit(/a|(b)/) != 'ab'.split(/a|(b)/)
I've tested this, and it returns ["", "", "", "b", ""].
I've tested normal split with Firefox in JS1.2 mode, and it returns ["", "", "", "b"].
Either Firefox's JS1.2 is broken (while still returning the correct anser to your "abc".split(/(b)/) test) or you're not 100% there (although I wouldn't bother too much about that if it doesn't impact the rest of the script).
I have had the new script running for a while now, and it doesn't seem to crash any more. By the way, I'm working on a (small) watchlist tool. It's primary function is to show only the new edits since the tool was last run. Should I post it somewhere, or is this a) not useful to anyone but me or b) done before?
Cordially yours, Shinobu 04:05, 27 August 2005 (UTC)
- Interesting. My observations were that ["", "", "", "b", ""] is returned by both parenSplit and split in firefox. I don't know how to put firefox into js1.2 mode, though. Also I think that this is the correct result. The array is split in two places and the regex has one set of parens, so should have 3 elements (since it's split at two places) plus one element for each split point, and 3+2=5. In general, a string which is split at N places by a regex with n bracketed expressesions should yield and array with N+1 + Nn = N(n+1)+1 elements.
- Your tool sounds interesting and useful. I would encourage you to post it. I don't know if it's been done before, but Wikipedia:Tools is a good place to check. Lupin 17:57, 27 August 2005 (UTC)
@correct result: I agree.
One source of the confusion is a difference between what Firefox claims to do in the docs, and what it does in reality.
- docs: <1.2 → ["", "", ""]; >=1.2 → ["", "", "", "b", ""] assuming I read it correctly…
- reality: <1.3 → ["", "", "", "b"]; >= 1.3 → ["", "", "", "b", ""]
Modern version uses 1.5 by default, I think, and your script doesn't specify a version, so it'll be allright. Shinobu 16:44, 28 August 2005 (UTC)
Barnstar!
Here's a working man's barn star...for your uhm...work ;) -- 03:15, September 5, 2005 (UTC)
I noticed you tagged, it under the verify tag. I afterwards put it under Template:Empty because little can be drawn from the article. I thought I should post it here in case you objected. Falphin 23:41, 6 September 2005 (UTC)
Wikicities popups
I put the code you gave me in my javascript on RC wiki, but...the background on it is CLEAR! Heh, maybe you could fix that? By the way, please archive your talk. Additionally, I turned the admin features on, and I like it! :) --Phroziac (talk) 02:33, September 7, 2005 (UTC)
- Yes, talk archival is a chore I had to get around to soon :) The transparent popup happens because monobook.js sets tables to transparent and the popups are essentially tables. If you remove or override that line (I did it in the object inspector in firefox to check but I don't know enough CSS to know how to remove the transparent declaration in my user CSS) then it should work. Lupin 02:55, 7 September 2005 (UTC)
- Oh, heh. Another problem now though, it seems when i roll over User:Fabartus's signature, my firefox locks up. *ugh* I disabled the script for now. --Phroziac (talk) 02:37, September 8, 2005 (UTC)
thanks
- thanks for making of aware of the popups js script I'm really surprised that I haven't heard of it before and even though I can't think of any immediate uses for it I'm sure I'll be using it in the future. Jtkiefer T | @ | C ----- 02:18, September 8, 2005 (UTC)
- My thanks also, which should offset the inevitable guilt you should be feeling over all those wasted minutes people (especially me :-) are going to waste simply playing with your new gadget because it is simply so cool...nice to see LivePreview being leveraged so neatly too, I've been using that one for ages. Looking at my .js file, maybe
wesomeone should work on some coding standards for installing these things :-) —Phil | Talk 07:08, September 8, 2005 (UTC)
Pop-ups
- Hmm...I'm not a new bureaucrat, but what's funny is that I just recently was looking at this and considering doing this :D — Ilγαηερ (Tαlκ) 02:43, 8 September 2005 (UTC)
- BTW...are you sure it works in firefox? — Ilγαηερ (Tαlκ) 02:47, 8 September 2005 (UTC)
- The tool was developed in firefox and has only been tested much in that browser by me. So I jolly well hope so :-) If you have access to other browsers (especially IE, as I don't have a windows computer) and can test it out there then I'd be interested in any problems. Lupin 03:13, 8 September 2005 (UTC)
- Saw you hawking your tools on everyone's talk pages & tried it out. I like it - works fine on Firefox for me. Thanks. Guettarda 03:02, 8 September 2005 (UTC)
- Tried it with IE, WinXP, the only difference I saw was that the second part of the pop-up, the part with the text and pic, is almost full-screen width, while with Firefox it's just a small box. Guettarda 15:48, 8 September 2005 (UTC)
Umm...looks like it's giving me a js error in IE and not working in firefox...I think it may be the rest of my monobook.js...will look into it later. — Ilγαηερ (Tαlκ) 22:38, 8 September 2005 (UTC)
Hi there!
Thanks for your link! I will most certainly take a look at it when I get a chance. Your message made my day today :-) --HappyCamper 03:18, 8 September 2005 (UTC)
Popups
Nice tool, but how do I prevent images from loading? =Nichalp «Talk»= 11:47, September 8, 2005 (UTC)
- Maybe you found the answer already, but one of popupImages=false; (disable images) or simplePopups=true; (disable all downloading of data) will probably do what you want. See the Configuration section of Wikipedia:Tools#Navigation_popups for details and more options. Lupin 12:11, 8 September 2005 (UTC)
- Something to do with CSS I think, although I don't know much about that side of things. If you're running firefox then you can run the object inspector while a popup is visible to see what's going on. If you'd like me to change the class (or whatever it's called in CSS) of the links in the popup then this shouldn't be too hard. Lupin 12:45, 8 September 2005 (UTC)
Hi. Do I use
// User:Lupin/popupsdev.js - please include this line
or
// User:Lupin/popups.js - please include this line
in the opening line? Guettarda 02:35, 9 September 2005 (UTC)
Hey Lupin. Thanks for pointing out the popups script. --Ngb ?!? 07:51, 9 September 2005 (UTC)
Popups
Thanks for the info! I'll experiment with it once I get the chance. — Asbestos | Talk (RFC) 10:45, 9 September 2005 (UTC)
Thanks...
...for the photo tip. I'm going to add those credits to the image pages now. paul klenk 16:22, 9 September 2005 (UTC)
Background
Could you tell me where you got the background maps for all those dot maps you have created? Renata3 16:38, 9 September 2005 (UTC)
- Sure, they're created dynamically by the Generic Mapping Tools. I think there's a blank one somewhere... Image:Gb4dot.png looks like a good one. Lupin 16:50, 9 September 2005 (UTC)
Popup tool
Hi,
I think the popup tool is a great idea. However, I found it to be a distraction, partially because I'm already used to doing most tasks very rapidly. Thanmks for the suggestion though :) --Pakaran 18:55, 9 September 2005 (UTC)
Popups: IE hack gone wrong
I'm not sure why you want to fix the width of the popup on exactly 300 px, since they work without it, but if you want to do this, keep in mind that expressions cannot be set this way.
(documentation follows)
setExpression Method
Sets an expression for the specified object.
Syntax
object.setExpression(sPropertyName, sExpression [, sLanguage])
Parameters
sPropertyName | Required. String that specifies the name of the property to which sExpression is added. | ||||||
sExpression | Required. String that specifies any valid script (JScript, JavaScript, VBScript) statement without quotations or semicolons. This string can include references to other properties on the current page. Array references are not allowed on object properties included in this script. | ||||||
sLanguage | Optional. String that specifies one of the following values:
|
Return Value
No return value.
(my own comments follow)
I recommend not using the sLanguage parameter. Browsers seem to consider JScript a synonym for JavaScript anyway. I would further recommend a way to switch width fixing off, in case it's not wanted.
Cordially yours, Shinobu 19:00, 9 September 2005 (UTC)
- Thanks again. I've hopefully fixed this in popupsdev.js. Please could you test it? I'll add an flag to control width-fixing if this works properly. Lupin 21:28, 9 September 2005 (UTC)
The width seems to get properly fixed now. Cordially yours, Shinobu 11:16, 4 December 2005 (UTC)
Can't get popups working
I've just been trying and failing to get your popups thing working in firefox 1.0 on linux. This is the only thing in my monobook.js and its basically the default but with admin popups enabled. However no matter what I try I just cannot get it to do anything! Thryduulf 22:37, 9 September 2005 (UTC)
You haven't quite correctly pasted the code: the penultimate line is missing the last 3 characters,
- ');
The line should read
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
Thanks for (trying to) try the script out! Lupin 22:45, 9 September 2005 (UTC)
- Thank you for that - I hadn't spotted those character behind one of the screenshots - I guessed the ipt> of script but not know any javascript I didn't realise that wouldn't be the end of the line! Thryduulf 22:59, 9 September 2005 (UTC)
Your popup Javascript
Your popup Javascript seems to work fine. The only strange thing I have noticed is that it insists on previewing the first image it finds on a page, regardless of where that image appears. This causes the previews for the Wikipedia:Two-million pool and Wikipedia:Five-million pool to include a picture of the Canadian flag. This puzzled me for a moment, but then I noticed that some user who has voted in the pools has the flag in his signature, but at a much smaller scale. — JIP | Talk 12:32, 10 September 2005 (UTC)
- Which is actually rather puzzling, since the Two-million pool article actually has the Image:Radioactive.png as the first image, in someone else's sig. Jacoplane 13:16, 10 September 2005 (UTC)
- Not too puzzling. My script only downloads the wikitext of articles and never attempts to decipher templates. The radioactive image is referred to in a user template; the canada image is the first bona fide [[Image:...]] in the wikitext. The alternative (interpreting templates) would unfortunately be prohibitive both in terms of programming time and bandwidth consumption. Lupin 13:40, 10 September 2005 (UTC)
- Thanks for bringing this issue up! I'm working on a mechanism to exclude very small scaled-down images. Lupin 13:40, 10 September 2005 (UTC)
Adding a border
I'd like a dark border around the popup. If you don't want to do this for everyone, is there a way for me to do it to just my own? — Omegatron 21:04, September 11, 2005 (UTC)
- There is no easy way at the moment (I can give you a hack if you're desperate). I want to understand CSS better, and when I do I'll give a way of controlling the appearance of the popup by editing your user CSS file (eg monobook.css). If you understand CSS then you can help: load the object inspector when a popup is displayed and figure out which objects' CSS I have to tweak to control the border, background colour, font(s) etc. Anyway, this is certainly something I intend to add. Lupin|talk|popups 11:30, 12 September 2005 (UTC)
- I have something working now in the development version of my script, User:Lupin/popupsdev.js. To install it, replace popups.js with popupsdev.js in your monobook.js file (replace both occurences - there are two). Then you can change the popups' appearance using CSS. For example, I currently have the following in my monobook.css:
table.popupBorderTable { padding: 5pt; background: #00FF00 } table.popupTable { background: #FFCCFF }
Hi! I see you moved Giant petrel to Giant Petrel. I'm fairly sure that it was in the correct places, as it refers not to a single species (like a Peruvian Diving Petrel) but a group (like the diving petrels), albeit a group with just two species. Sabine's Sunbird 01:47, 11 September 2005 (UTC)
- Apologies - my mistake. Should it perhaps be at Giant petrels then? Lupin|talk|popups 01:56, 11 September 2005 (UTC)
- No worries. It should go back to Giant petrel, the same as the two closely related fulmars are both at Fulmar. Sabine's Sunbird 02:06, 11 September 2005 (UTC)
Popups
Hello, Lupin! I had a quick question about the popups- I'm willing to give them a try, but I'm a bit hesistant. If I don't like them, can I just delete the my monobook page, and return everything to "normal"? Thanks! Flcelloguy | A note? | Desk 14:27, September 11, 2005 (UTC)
- Yes, that's right, or you can blank the monobook.js page instead. Just make sure you do a hard refresh after deleting or making changes to your monobook.js file. Lupin|talk|popups 14:35, 11 September 2005 (UTC)
- Well, I installed it, and it works great! However, when I click on "block" in the popup, it just takes me to Special:Blockip, without the filled-in username. Is this supposed to happen? Flcelloguy | A note? | Desk 15:00, September 11, 2005 (UTC)
Were you on IRC at the time? Heh. I didn't notice you. Anyways...I haven't seen any patterns, but I haven't been paying attention. I'll let you know if I see anything. — Ilγαηερ (Tαlκ) 17:07, 11 September 2005 (UTC)
Safari (Mac) and popups
hey Lupin... that OverLib library link you left me worked fine under Safari on Mac OS X. I don't know whether you've changed the Popup script significantly over the last month or so, but I've just tried it again, and it appears to work reasonably well on my PowerBook now. Frustratingly, it still doesn't work at all using my iMac, despite both machines runnign the same version of Mac OS X and Safari. Any ideas on that one?! Cheers, UkPaolo 19:25, 11 September 2005 (UTC)
- Sorry, I have nothing intelligent to suggest apart from trying each browser on each machine with a fresh profile (if such a notion exists). Lupin|talk|popups 21:47, 11 September 2005 (UTC)
Categories
Hi Lupin,
I don't normally edit other people's User pages, but in your watchlist you have a list of 318 categories, which made this page a member of each one of them...I'm sure that's not what you meant to do! If you want to have a link to a category without the page becoming a member of that category, you can use:
- [[:Category:Analytic number theory]]
instead of:
- [[Category:Analytic number theory]]
(as you probably already know...) I took the liberty of applying this change to your list. I hope that's OK with you.
Thanks! Owen× ☎ 03:13, 12 September 2005 (UTC)
- Yes, thanks for doing that. It's something I forgot to do when dumping my old watchlist. Lupin|talk|popups 11:35, 12 September 2005 (UTC)
Popup bug report
I have posted a bug report here which seems more appropriate: obviously feel free to move it if you prefer...—Phil | Talk 09:59, September 12, 2005 (UTC)
Popup looks great
My computer usually causes a lot of problems with scripts, but I got your popup script to work at once. It's looking great. Thanks! - Mgm|(talk) 10:56, September 12, 2005 (UTC)
Another idea?
Hey Lupin, I love your pop-ups so much, they have literally changed the way I use Wikipedia. Not only that, I'm starting to get annoyed when I can't get such useful information out of ANY link I hover over, out there on the Interweb. :)
Anyway, I wanted to draw your attention to a question I posted at MediaWiki talk:Licenses, which is the source page for the new Licensing Selector on the Special:Upload page. Is it possible to create a javascript plug-in to easily insert image copyright tags, selected from a prepared list, into an image description page?
Please join the discussion if you have time. Thanks! — Catherine\talk 04:42, 13 September 2005 (UTC)
Popups
Thanks for the congrats, and up to now, the popups look great...Lectonar 07:11, 13 September 2005 (UTC)
Effect of your popups on the servers
As many have said before, your popups are great. However, I turned on the simplePopups option, because I feared the popups would put too much strain on the server. Do you have an idea how much the popups cost? I assume that every popup generates a request to the wikipedia servers, under my own user name. If this is true, then I'd prefer to use the simple popups: most of the time when a popup is generated, I do not actually want it, but my mouse pointer just happen to hover above a link. However, it might be nice to include an extra link in the simple popup, which can be used to expand it to the complete popup (containing the first paragraph of the target etc.). I hope I'm making sense; otherwise, ask me and I'll clarify. Cheers, and thanks for your work! -- Jitse Niesen (talk) 11:59, 13 September 2005 (UTC)
- I don't know about server load. The script never gets full HTML pages, only wikitext (with action=raw) and images. (Incidentally, without traffic analysis, I don't think that these requests should be directly linked to the logged in user. May be wrong though). This is a feature I want to add: a link which toggles simplePopups and remembers the choice in a cookie (or you'd have to reset it each time you change page). Thanks for prodding me about this - it may actually happen now :-) Lupin|talk|popups 13:09, 13 September 2005 (UTC)
- I've put these features into the development version of my script (which will be broken now and again, so is probably not ideal for everyday use). To use this and enable the features, you need to (1) change popups.js to popupsdev.js (twice), and (2) set the option popupLiveOptions to true and (3) if you want the option
syou set to be remembered between pages, set popupCookies to true. I'll migrate this feature to popups.js when I get the urge to do so. Lupin|talk|popups 23:35, 13 September 2005 (UTC)
- I've put these features into the development version of my script (which will be broken now and again, so is probably not ideal for everyday use). To use this and enable the features, you need to (1) change popups.js to popupsdev.js (twice), and (2) set the option popupLiveOptions to true and (3) if you want the option
Thanks. I tried it out, but unfortunately, it is not quite what I was thinking of. I just want a one-time toggle: if I hoover the mouse above a link, I want to get the simplePopup with links to edit, history, etc., and an extra link, which when I can click on it (or perhaps just touch it), expands the popup with a preview of the first paragraph. When I then move to a different link, I should get the simplePopup again.
I should also clarify my question about whether the scripts uses one's own account to get the wikitext. As I understand it (and my understanding is very incomplete), the bottleneck when the servers are under strain is the database. Every HTML request sent by a user results in at least one database query, but requests sent by an IP address without account can be served from a cache without any database query. So, I think the script would load the servers a bit less if the requests were made anonymously (the distinction between logged-in and anonymous is made based on cookies). I don't know whether action=raw changes this.
PS: You are making me very curious about how you discovered so fast that I was trying it out. Does that have to do with the mysterious comment that is perhaps not quite a comment? -- Jitse Niesen (talk) 00:30, 15 September 2005 (UTC)
- OK, I'll think about that approach. There would be a perhaps considerable delay between you clicking that link and the preview appearing; at the moment, this is somewhat hidden by the fact that downloading attempts start as soon as the mouse hovers over the link, and continues until it succeeds even when the mouse is not on the link (I think!). This is somewhat wasteful of bandwidth, but makes things faster, at least when the servers aren't slower than a pickled slug.
- I would be surprised if action=raw made more work for the database than non-logged in queries. Indeed, sometimes I get old copies of the script (which you'll notice is called with action=raw in your monobook file) when I first refresh, which I put down to being served a stale cached copy. If logged-in action=raw queries do entail a lot of overhead then it seems to me that this is a bug.
- It's quite strange about your edit - I just happened to load your monobook.js wondering if you'd given it a try yet and there it was; I didn't actually realise it was so "fresh". If it makes you happier though, I could have written a script to monitor changes in the irc channel and alert me for any juicy ones. Not that I have, but....
- The "mysterious comment" lets me see (roughly) who's using the script by looking at Special:Whatlinkshere/User:Lupin/popups.js. Lupin|talk|popups 00:40, 15 September 2005 (UTC)
By the way, the editOld link when hoovering over diff links is extremely useful; thanks. -- Jitse Niesen (talk) 01:15, 15 September 2005 (UTC)
- I've implemented a feature which I hope is more like what you wanted. Check it out in the latest popupsdev.js by setting popupsUnsimplify=true.
I assume that you mean popupUnsimplifyLink=true. Now, I get a "Get preview data" button but nothing happens when I click it. Perhaps it's just that the server is too slow. I'll try again tomorrow when it should be better. Thanks anyway. -- Jitse Niesen (talk) 17:13, 15 September 2005 (UTC)
Okay, turns out I also have to set simplePopups to false. Now it works, great! Yes, this is what I was thinking of, though the delay is unfortunate. I'll try it out and let you know how useful it is. -- Jitse Niesen (talk) 17:30, 15 September 2005 (UTC)
- One thing you might try is setting popupLiveOptions to true, either in your user Javascript or by entering javascript:void(popupLiveOptions=true) in the address bar. Then you can turn the click-to-preview behaviour on and off as you please. (If you turn cookies on then it should remember the setting across pages and browsing sessions too). Lupin|talk|popups 20:50, 15 September 2005 (UTC)
Popup script and Safari
Hey Lupin, the popup tool looks to be a really great idea, however I think it might keep crashing my browser (latest version of Safari on OSX 10.4). I can email you the bug report, if it would help. Any ideas how to fix? Thanks, Joolz 22:30, 14 September 2005 (UTC)
- Yes, please send me anything that you have. Another thing that you might like to try if you have (lots of) time is to try old versions of the script (look at the history of User:Lupin/popups.js, find the oldid= in the url and copy that into your monobook.js) and see if they cause crashes or not. If you find two versions which are relatively close chronologically, one of which crashes and one doesn't, then there's a good chance of finding out what's gone wrong. (By the way, javascript being able to crash your browser is a bug which you should report to your browser vendor/developer, I believe). Lupin|talk|popups 22:50, 14 September 2005 (UTC)
- I only activated the script earlier today (actually not quite true, it only began working once my cache was properly refreshed earlier today) so as far as I'm aware it's not a bug introduced by a recent change, I will send you the bug report in a few days because I deactivated the script earlier, wikipedia was pretty much unusable whilst it was working. Thanks for your reply, Joolz 00:49, 15 September 2005 (UTC)
Popups, again!
Hey, that css change looks great. I stuck it in the sidewide monobook.css. And haha, I see you got sucked in and made an edit while you were on the rc wiki. :D --Phroziac (talk) 14:42, 15 September 2005 (UTC)
Thanks!
I'm sure this will come in very useful. Incidentally, you might consider protecting the page with the javascript - it would be a very unwelcome surprise if someone went in and changed it out from under you. Nandesuka 16:58, 16 September 2005 (UTC)
- Cool, glad to hear it. I believe that only admins can change javascript in the user namespace, so this shoudn't be a problem. Lupin|talk|popups 17:02, 16 September 2005 (UTC)
left -> right image
Just curious:
Why did you shift the image on Shallow focus from left to right? --Jeremy Butler 12:35, 17 September 2005 (UTC)
- Heh. It looked odd and out of place, so I "fixed" it. Just a matter of taste. Lupin|talk|popups 12:49, 17 September 2005 (UTC)
- Ah, I see. So there's no general Wikimedia styleguide "rule" that suggests putting illustrations on the right? Either way is fine by me. --Jeremy Butler 00:56, 18 September 2005 (UTC)
External link/links
Hey Lupin,
I've always wondered about this and I think you may have the answer (or at least an answer); if an article only provides one reference or external link, is it then proper to head them as "Reference" and "External link" or as "References" and "External links"? I noticed you just changed this over at West Africa (and don't worry, I'm not asking because I intend to change it back--I've just always wanted to know! Much obliged, --Dvyost 14:51, 17 September 2005 (UTC)
- I don't think there is an official policy on this - if there is one link or reference, then the singular or plural form is (officially) OK. But my own strong personal preference is for the plural always. My reasoning is that
- people often add items to the section without bothering to change the heading, which looks terrible
- if the heading is singular then people may be dissuaded from editing it and adding more, because they think that there should only be one in such a section
- a section titled "External link" looks jarring and wrong to me, probably because most mature articles have more than one external link, and I expect section headings to be consistent across articles. Lupin|talk|popups 15:03, 17 September 2005 (UTC)
- Thought I had already posted a response to this, but I guess for whatever it didn't "take." Anyway, thanks! You've answered a long-standing question for me. Cheers, Dvyost 17:07, 17 September 2005 (UTC)
Jimbo's new untagged image policy
Can you give me a link to the page with jimbo's new untagged images policy? --Thanks Nv8200p (talk) 22:52, 17 September 2005 (UTC)
- I read about it on his talk page. Lupin|talk|popups 22:56, 17 September 2005 (UTC)
External link(s)
I've noticed a convention to title it "External link", singular, when there is only one link. I was going to correct your edit to Rhythmbox on that but I can't find anything in the WP:MOS and its linked pages that confirms this convention. Am I and the editors I've seen doing this just mistaken? — Saxifrage | ☎ 23:37, 17 September 2005 (UTC)
- I've just added a stanza to Wikipedia:External links explaining why I do this (see a few pars up for a more opinionated version). As far as official editing style guidelines go, there is no guideline one way or the other. Personally, I have a strong preference for always using the plural. Lupin|talk|popups 23:43, 17 September 2005 (UTC)
Hello
Thanks for your wishes, and I shall surely give a try. --Bhadani 12:40, 18 September 2005 (UTC)
Headline text
Hi you were asking about a picture that I uploaded ;Image:Noora.JPG.I am a photographer and I took that picture please go to my website below .I will be loading more of my own photographs in future as well.I recently joined wikipedia and look forward to contributing to it extensively.
Sohail Anjum Photography--Yazid97 19:29, 18 September 2005 (UTC)
External link versus External links
m 18:58 Wikipedia:External links (diff; hist) . . Lupin (Talk | block) (→"External links" vs "External link" - presidence -> precedent)
- Whoops. Thanks Lupin. Stewart Adcock 20:13, 18 September 2005 (UTC)
Arlington Stadium photo
This is a scaled-down scan of a photo I bought at the Texas Rangers souvenir shop over 30 years ago. How would YOU tag it? Wahkeenah 21:04, 18 September 2005 (UTC)
- Without further information, I don't think that there is a valid tag that you could confidently put on such an image. In fact, without knowing its copyright status, I wouldn't upload such an image in the first place as it may very well be a violation of copyright to do so. Lupin|talk|popups 21:11, 18 September 2005 (UTC)
- You probably care a lot more than they do. Fine, delete it. >:( Wahkeenah 21:16, 18 September 2005 (UTC)
- There is an endless list of reasons that this site could be attacked on legal and other grounds. I am not much impressed with this site. Registered logons get hassled by the likes of you, and anonymous yahoos at their local libraries are allowed to waste everyone's time by posting junk and vulgarities. This site has very little credibility. But that's par for the course with the Internet. And don't quote me stats on how highly rated this site supposedly is. It means nothing. Wahkeenah 21:46, 18 September 2005 (UTC)
- I'm sorry if the likes of me has offended or riled you; that was not my intent. I agree that this site has major problems, including credibility, but I see the potential for many of these problems to be fixed. Among these problems is that of copyright violations, and this is one which I am trying to do a little bit to lessen. I hope that you continue to contribute to this project despite this incident. Lupin|talk|popups 21:57, 18 September 2005 (UTC)
- You're the first "super user" I've run into who will own up to the site's credibility problem, so you get a gold star. :) Wahkeenah 22:03, 18 September 2005 (UTC)
image of Lutoslawski score excerpt
Hi Lupin—Thanks for adding the fair-use tag to the info page for this image; I'm only learning how to do this stuff. I notice that the new info table on the right side overlaps with the tag. Any way of fixing this?
Also, since I took the photo, do I need to add my own release in addition to the claim of fair use for the content of the photo?
I should add that I'm using my learning curve to add to the Wikipedia_talk:WikiProject_Composers page.
Tony 03:17, 19 September 2005 (UTC)
- Hi Tony. For your first question, you could try putting
<br clear=all />
- before the license tag. I'm afraid I don't know the answer to your second question; my feeling is that the answer is yes, and a simple statement to that effect on the image page would suffice, but I can't say for sure. Lupin|talk|popups 23:12, 19 September 2005 (UTC)
from Paul Klenk
Lupin, I have posed a question for you at this page: Talk:New York's Village Halloween Parade. When you have a moment, would you kindly take a look? Thanks in advance. paul klenk 21:55, 19 September 2005 (UTC)
- Thanks, Lupin. paul klenk 23:31, 19 September 2005 (UTC)
Yet more about your popup tool
Your popup tool does not handle article titles containing colons properly. Hovering over Team America: World Police and clicking Talk goes to Team America talk:World Police when it should go Talk:Team America: World Police. It should only do the namespace switching trick for prefixes that actually are namespaces. — JIP | Talk 11:35, 22 September 2005 (UTC)
- Thanks! I think I've nailed this in the dev version, popupsdev.js. Lupin|talk|popups 12:35, 22 September 2005 (UTC)
Popups and dynamic navigation box
Today we borrowed Template:Dynamic_navigation_box from the .de wikipedia. It uses a nice javascript to hide the box, just like the TOC. But, when someone has your popup js set up, the show/hide button never appears. --Phroziac (talk) 16:20, 22 September 2005 (UTC)
- I cannot see this with your popups disabled either, only when I log out of my account. Bah. Maybe you can look at our code and figure it out? It's in MediaWiki:Monobook.js and MediaWiki:Monobook.css. :) --Phroziac (talk) 17:45, 22 September 2005 (UTC)
- I have a version in my monobook.js file which seem to work for me. I don't understand what the template is for, though. Lupin|talk|popups 22:58, 22 September 2005 (UTC)
- OK, take 2. I've replaced the rather silly onload business with a function (which will probably only work in not-too-ancient browsers, but fails silently otherwise) that loads things properly. The old code from de uses window.onload which I think may interact poorly with other scripts that want to do stuff when the page has finished loading, such as my script. Lupin|talk|popups 23:25, 22 September 2005 (UTC)
popup tool
I find it quite helpful. Thanks. The Uninvited Co., Inc. 00:05, 23 September 2005 (UTC)
Still testing the potential - but it looks good. Thanks. --Doc (?) 08:51, 23 September 2005 (UTC)
Have a barnstar!
Stumbled across the Popup tool, haven't really played with it much yet, but you deserve a "Thank you!" (and hence, a barnstar) for an excellent idea. Completely beyond me how it works, but it does! Cheers, Silverhelm 23:03, 23 September 2005 (UTC).
Popup disambigation tool
Lupin - The popup disambiguation tool is truely great, so far its worked like a charm! Thanks a lot! The only thing I've noticed is that it lets you try and fix disambiguation links on Special Pages (like "What links here"). I haven't tried it to see what happens. --best, kevin ···Kzollman | Talk··· 00:23, 24 September 2005 (UTC)
- Okay, I found another one. I use FireFox 1.0.6. Here's how to reproduce the error. Edit a new page, click to get a cursor in the edit box, place the mouse over one of the links above the edit box (causing a popup to appear), start typing. For me, this causes the title of the page (as it appears at the top of the window) to grow with each new key I press. Strange. --best, kevin ···Kzollman | Talk··· 00:58, 24 September 2005 (UTC)
Thanks
On RC patrol I often see meagre little articles on English villages which aren't deletable, but in themselves just look sad and unloved. Adding one of your "dotty maps" invariably makes a "what is this article doing here?" article look like an article which, given some TLC, could go places. Have a well-deserved barnstar, and keep up the good work! Tonywalton | Talk 21:36, 24 September 2005 (UTC)
tl:verify
Just a note about the use of this template. It is generally intended for articles that are specifically problematic, not just any that are missing references. Adding it to every unreferenced article has been rejected in numerous discussions. Also it is not meant to go at the top of articles. If yu look at the talk page of the template, it is universally agreed that it belongs either on the talk page or at the bottom of articles. - SimonP 14:07, 25 September 2005 (UTC)
- Thanks for bringing me up on this. I'll place this template at the bottom of articles in the future. I don't actually see the distinction between a "specifically problematic" article and one which lacks references - our own guidelines says that lacking references is a problem. Having read the template talk page, I think that I will reserve the use of this tag (and its companion, {{primarysources}} which I just created) for non-stubs, though, and I like the idea of putting this in the References or section, or creating one if it doesn't exist. Lupin|talk|popups 14:30, 25 September 2005 (UTC)
Koç Holding
I changed the subtitle "External links" to "References" in the hope to satisfy your complaint. Please check it again and remove your insertion if it is OK. Otherwise let me know what else to do. Thanks. CeeGee 14:11, 25 September 2005 (UTC)
The sources for the information contained in the Luard article will essentially be verifiable from the articles that the Luard article will link to, most notably the Oxford West and Abingdon and Oxford (UK Parliament constituency) pages. The Oxwab article is already sourced, and as I build the Oxford article, it will also be fully sourced. Is this sufficient to qualify as "referenced"? --New Progressive 15:47, 25 September 2005 (UTC)
- I would suggest copying the relevant references to the article itself rather than relying on other articles. After all, they may be deleted from the articles which Evan Luard links to or replaced with other references at some stage in the future. Lupin|talk|popups 15:49, 25 September 2005 (UTC)
Hi, just wondering why you removed critisms from Globalise Resistance page?[90]--JK the unwise 17:40, 25 September 2005 (UTC)
- Hm, I don't remember doing that. I probably did something stupid with an edit conflict. Sorry! Lupin|talk|popups 17:44, 25 September 2005 (UTC)
- No worries, I think it was 84.9.38.26.--JK the unwise 18:10, 25 September 2005 (UTC)
Popup nav tool
Thanks for that, it's a really cool tool. IceKarmaॐ 20:56, 25 September 2005 (UTC)
References?
You placed a {{verify}} notice on the article for the book "Exterminator!". Could you please explain what references you require? The book is the reference. (Please reply on my talk page). Cheers. 23skidoo 00:20, 26 September 2005 (UTC)
Likewise, I'm curious what references you think need verifying in the Angel of the Morning article. Song recordings are not generally sourced here on Wikipedia (maybe they should be), and the reference to Jerry Maguire is self-evident by seeing the film. Reply via my Talk page or yours, as you see fit. Nae'blis 08:30, 26 September 2005 (UTC)
- Hi, thanks for dropping me a note. I believe that every article should be fully referenced, which means that every assertion made should be verifiable by reading references which are listed in the article. For example, in the Angel of the Morning article, several assertions are made which I would not immediately know how to verify. These include
- the original song-writer
- Juice Newton's version met with "further success" compared to Simone's
- Shaggy's Angel song was indeed a reworking of this song as claimed
- Tom Cruise sings the original , and does so badly (remember, no original research; even this should be sourced)
- I'll admit now that this is not the most egregious case of unbacked assertions on the 'pedia, but still I think that the article would be greatly improved if it could, in principle, be independently verified by consulting references listed in the article rather than by using some unspecified "common sense" resource for songs. Even if there's a standard well respected reference work or resource for song recordings, then it should appear in the article. As a non-expert, I shouldn't have to know what this is - I should be told. Lupin|talk|popups 11:33, 26 September 2005 (UTC)
Please add new messages to the bottom of this page. You can do this by using this link.
Suggestions for UK towns maps
Hi, I have a couple of suggestions for the type of map demonstrated on the Dorchester article. Firstly, a small red dot on a green background is difficult for those with red/green colour blindness to find, white or yellow would probably stand out better. Second, have you considered whether to show the towns on maps the scale of the districts maps, e.g. Image:DorsetWest.png? I'm wondering if that might show the location with more accuracy (and fit in the table better). The second point is mere speculation however. Joe D (t) 01:47, 15 Apr 2005 (UTC)
- Thanks for your comments. I'll change the red to a yellow dot I think. Personally I like seeing both the location of the town in the country as a whole and the location of the town within the county, as in Oxford. The software I'm using doesn't have any county data for it though, as far as I know. Lupin 01:52, 15 Apr 2005 (UTC)
- Thanks for the maps. Any possibility of the Welsh & Scottish borders being indicated? In other news, the 100miles indicator is too small to be read, and the Shetland Isles might want to be indicated or shown in an inset box ... I suggest we just scuttle the scilly isles. thanks --Tagishsimon (talk)
- I'm producing these things in a semi-automated way using Generic Mapping Tools. I don't think the Scottish or Welsh borders are available to this software (but would appreciate it if someone can correct me on this) and I'm not sure about inset Shetland Islands. This could be done by hand if you really care, but my current policy is only to include them if the dot would otherwise not be visible (see Lerwick for an example, although this is a little buggy for some reason. Kirkwall looks better for the Orkneys, anyway). As for the scale, it's readable when you zoom the image and I can just read it unzoomed (in a standard thumbnail, not in a 115px image), so I'm not too worried about that... maybe I'll reconsider this if more people complain!
- If you have a unix/cygwin environment then you could try fiddling with the stuff at User:Lupin/mapping to get something to your liking. Lupin 16:38, 15 Apr 2005 (UTC)
Can you make a little map thing for West Bridgford ?
Konquerer problem?
Not sure what's wrong with your PNG files but under Konqueror they have a blank space to the right and below with either a random pattern or blackness.Billlion 21:57, 19 Apr 2005 (UTC)
- Odd. I just installed Konquerer (on Debian sid) and the images I looked at were fine, both thumbnailed and full-size. Is there any image in particular which looks bad to you? I've noticed that a few aren't uploading correctly for some reason. Lupin 22:14, 19 Apr 2005 (UTC)
- Its the one on [Whaley Bridge] I noticed had the problem. I am using Konquerer 3.2.0 under Mandrake 10.0 Billlion 09:43, 9 May 2005 (UTC)
I just noticed the same problem at Image:Chesterfield - Derbyshire dot.png. The PNG file has an offset of some sort. You can see what I'm talking about by opening the file in the Gimp. I bet you used ImageMagick to crop the map? I've seen that cause this problem.
By the way, isn't it possible to position these dots with CSS? I'm pretty sure I've seen locator maps around that do it that way, with a map image and a dot image positioned on top. Would be much easier to maintain ... dbenbenn | talk 6 July 2005 03:44 (UTC)
Maps
Could you please try to fit the your maps in with the existing layout of the article. On some of the articles you've messed up the layout, by putting the map at the top and forcing down pictures that were already there. Also what is the point in adding maps to articles which already have location maps? G-Man 15:58, 17 Apr 2005 (UTC)
- If I have time, I will do. On the other hand, I use the classic skin which seems to make the layout change, so things which look fine to me may not to you. Lupin 21:32, 18 Apr 2005 (UTC)
Can I get the svg of this, so that I can make a better darwin fish? Burgundavia 17:10, Apr 18, 2005 (UTC)
- Now at User:Lupin/ichthus.svg. Lupin 01:44, 19 Apr 2005 (UTC)
Totnes
I like your Totnes map addition, and yes it should go at the beginning, --SqueakBox 01:24, Apr 19, 2005 (UTC)
UK-geo-stub
I've just removed the icon you added to {{UK-geo-stub}}. The stub template used to have a very good image, but icons have been removed from all the heavy-use stub categories because of server problems (see [[91]]). Please do not add images to stub templates until the problem is resolved (at which time, hopefully many of the former images will be replaced!) Grutness|hello? 01:39, 19 Apr 2005 (UTC)
Thank you
Thanks for all the work you are doing on adding location maps. Much appreciated. Best Wishes - Adrian Pingstone 08:10, 19 Apr 2005 (UTC)
Lupinbot
Are you running a bot without a bot flag? You must get approval before running a bot. -Frazzydee|✍ 23:22, 19 Apr 2005 (UTC)
- I've blocked this bot as per policy laid out at Wikipedia:Bots. Please contact me for more information, or to tell me off if I was wrong. But since the account is named Lupinbot and was rapidly uploading images, I think that it was safe for me to assume it was a bot. Since I saw it on RC, it evidently doesn't have the bot flag. I apologize if I was wrong. -Frazzydee|✍ 23:27, 19 Apr 2005 (UTC)
- I noticed that it autoblocked an IP...I don't think that the autoblock can be removed without unblocking the user, so if you were running Lupinbot from your machine, you may have to use this link: Special:Emailuser/Frazzydee. -Frazzydee|✍ 23:47, 19 Apr 2005 (UTC)
- I'm sorry that you feel that way, but I had to do it. I didn't know whether you were watching it or not; I also didn't know how long it was set to run for. I had no choice but to ban it indefinitely until I got confirmation that you would turn it off. I have unblocked it now, please don't run it. Thanks. -Frazzydee|✍ 00:21, 20 Apr 2005 (UTC)
- Hmm...I looked at the block list and Lupinblock was unblocked, but I'm going to try unblocking the autoblock. If that doesn't help please leave me another message. If it automaticly blocks the IP, shouldn't it automaticly unblock it too? :S Sorry for any inconvenience caused. -Frazzydee|✍ 00:37, 20 Apr 2005 (UTC)
- Seems back to normal now. Lupin 00:44, 20 Apr 2005 (UTC)
- Hmm...I looked at the block list and Lupinblock was unblocked, but I'm going to try unblocking the autoblock. If that doesn't help please leave me another message. If it automaticly blocks the IP, shouldn't it automaticly unblock it too? :S Sorry for any inconvenience caused. -Frazzydee|✍ 00:37, 20 Apr 2005 (UTC)
- I'm sorry that you feel that way, but I had to do it. I didn't know whether you were watching it or not; I also didn't know how long it was set to run for. I had no choice but to ban it indefinitely until I got confirmation that you would turn it off. I have unblocked it now, please don't run it. Thanks. -Frazzydee|✍ 00:21, 20 Apr 2005 (UTC)
- I noticed that it autoblocked an IP...I don't think that the autoblock can be removed without unblocking the user, so if you were running Lupinbot from your machine, you may have to use this link: Special:Emailuser/Frazzydee. -Frazzydee|✍ 23:47, 19 Apr 2005 (UTC)
You really aren't running a bot?? But you corrected my link syntax before I could do it myself! ;) (mochigome) --Dforest 05:12, 2 September 2005 (UTC)
Kitchener pictures
Thanks for the excellent Kitchener photos! I was planning to take some like this myself, but camera+spare time+good light is not a formula I've been able to put together lately.
Now I can start on that Kitchener City Hall article I've been musing about... Radagast 19:49, Apr 22, 2005 (UTC)
The Unverifiedimage Template
Although I agree with your philosophy, I do not agree with how you went about changing the template. And now there's a lot of work to be done. ;) Since you wanted to keep the image, but add a little informative text, the best way is to have a bunch of text that you add into image summaries, and I've updated it accordingly. Your current implemntation was quite a horror.
But this requires all of the articles that were using it to be refactored. Here's what you can help (I've already done a lot, but it takes a long time and I need to go to bed now):
Some of the images are missing too... Anyway, thanks! Ambush Commander 03:21, May 1, 2005 (UTC)
- And don't forget: What links here??? Ambush Commander 03:22, May 1, 2005 (UTC)
Lancaster
The discussion at Talk:Lancaster (disambiguation) concerned moving the article to Lancaster, England, so that's the change I've recommended at Wikipedia:Requested moves. Assuming that's accomplished, I suggest you then take up the question of whether it should be at Lancaster, Lancashire. I mention this because I notice you moved the article there at one point. The discussion about where "Lancaster" should take a reader clearly didn't address those two different titles for the article about the English city. JamesMLane 22:10, 4 May 2005 (UTC)
LupinBot
Hello. LupinBot is now marked with a bot flag. Please add something to its user page explaining what it does and stating that you are the owner of it. Angela. 23:51, May 6, 2005 (UTC)
Hiho. We have received an email complaint from the twins' mother who says this whole page is a hoax and who asks us to remove it (through the OTRS). She's the one who has been blanking the page all along. I must say a google search is not really probing as to the story of these two girls. I am then going to put it up for deletion. In the meantime, I am going to blank it to avoid further problems. Since you seem to be following it and I am not around much (rather on the fr wp), I thank you for now to leave it blank and restore it then if the VfD should go that way. Is that Ok with you? Cheers. notafish }<';> 17:43, 8 May 2005 (UTC)
- OK, although I think you should say something on the talk page to this effect. Lupin 20:01, 8 May 2005 (UTC)
Dotty maps
Please understand - I am totally in favour of your dotty maps - every GB place article should have one. But - the proper way to produce these maps is by means of a program/script/engine that generates them dynamically, taking as input the co-ordinates and the map size. When one of your maps is displayed as a thumbnail the image is created dynamically by reducing the file you have uploaded. Only a small amount of extra effort (both in programming and in processing) would be required to add the dot to a blank map during this reduction process. This idea has already been suggested for Wikipedia - see this proposal.
But if you are going to use separate uploaded images, I have some suggestions:
- The image files are ridiculously big - ten times too large - by image size and by file size.
- The scale bar is difficult to read at the thumbnail size and it is wrong - it represents about 65 km not 100 km.
- I hope you have a list of all the files you have uploaded - there may be a decision to delete them one day. They should be placed in a specific category.
- The names are far too specific. The dot represents about 30 km so one image file would do for several articles.
Both the names and the lack of any index put off people who might be willing to collaborate and use an existing image file in an article. I would suggest a generic naming standard of GBdot_XX99 where XX99 is the grid reference of the 10 km square on which the dot is centred.
Under your naming method we would need separate maps for Coningsby and Tattershall. But if you call the map GBdot_TF25, it is obvious that one map will do for both those places and also for New York and a few other villages when Lincspoacher writes them up. Indeed, no one would notice if you used the same map for Boston, Martin, Timberland, Woodhall Spa, etc.
I like to add co-ordinates to any GB article that lacks them. I would be happy to add dotty maps as well - if they had sensible names. As a start, look at Special:Whatlinkshere/Template:GBdot-gr. One image file - a mere 12 kbytes in size is used in seven articles already - with several more needing to be written. -- RHaworth 17:54, 2005 May 8 (UTC)
- Thanks for your comments. To address your points:
- Of course dynamic map generation (properly done) would be better than what I'm doing now. Until it arrives, I'll continue with this.
- The image size does err on the large size. I like this as you can zoom in (if you want to) to see more detail and where the places lie in relation to the rivers and coastline. I don't see any real advantage in sacrificing detail for file size given that we have a nice thumbnailing system in place.
- I will investigate making the scale larger and check to see if it is correct or not. The software I'm using puts the scale in automatically so it should be right, but maybe I've messed something up.
- The scale bar for Image:Nottingham - Nottinghamshire dot.png is near enough the right length but at 2½ pixels wide it is too narrow - I am surprised it shows up at all when scaled down by a factor of 15. -- RWH
- I have a partial list of maps at User:Lupin/maplist, although I make no claims to comprehensiveness or accuracy. Other lists could be generated by looking at contributions from User:LupinBot or by using "what links here" from the GBdot and GBdot-small templates. I could put any new maps into some category if you want, but I'd leave categorizing the exising images to someone else with a bot.
- Your proposal for naming is interesting. I hope to continue to make maps for towns in other countries (and have done some such as Espoo and Pingyao). Am I right in thinking that the grid references are UK-specific?
- To quote from [92]: Many nations have defined grid systems based on coordinates that cover their territory, including: Australia, Belgium, Great Britain, Finland, Ireland, Italy, The Netherlands, New Zealand, Sweden and Switzerland. The grid refs for these maps are GB specific - see British national grid reference system. There is a separate Irish national grid reference system. -- RWH
- With regards to using one map for several places - yes I'm sure you're right, no-one would notice, but given that it is possible to do this precisely, I'd prefer to stick with dots in exactly the right place, which means lots of maps. For example, comparing Image:Allenton - City of Derby dot.png and Image:Derby - City of Derby dot.png, it's possible to see that Allenton is SE of Derby, which I think is information worth preserving. It's also a lot easier for me to automate this way as I have a large list of GB places with latitude/longitude, but no grid references.
- Lupin 19:28, 8 May 2005 (UTC)
- Come off it - it is impossible to see any difference. If you click to get the full size maps, it requires a lot of fiddling and re-sizing of windows to get the two dots visible together to see any difference.
If you don't like grid refs, use names based on steps of 5 mins of latitude and 10 mins of longitude.
I note that you have created category:GBdot but I still feel that it is a bit difficult for people to help you in adding maps to articles.
I hope your are watching Wikipedia talk:UK Wikipedians' notice board#Infobox template for Places -- RHaworth 05:42, 2005 May 9 (UTC)
Other suggestions
- I think it would be better to have two separate base maps - one for England and Wales and one for Scotland.
- My personal preference is to be able to see where a town lies in relation to the whole country. That way I can compare maps to see where an English town lies in relation to a Scottish town etc. Lupin
- How? There are no towns marked on the map.
- By comparing two maps, each of which has a town marked. Lupin
- There is a curious black line wiggling across Ireland. Given that the only features that the map shows are rivers, this line is a most unneccessary political intrusion - I suggest remove it asap.
- Again, my personal preference is to keep this. For Irish towns, it gives you an idea of how far they are from the border. Why not keep this information? Lupin
- Since you have obviously got the coordinates for each place, why do you keep them to yourself? Surely they should be added to each article at the same time as you add the map - template:coor gb or template:coor gbx if you only have lat/long.
- I'll have a go at this. If you like, I could generate a list containing all of this data. By the way, how does one convert lat/long into GB grid references? Lupin 13:12, 9 May 2005 (UTC)
- You don't have to -
{{Coor|52.1_N_-1.92_E_region:GB|{{Coor|52.1_N_-2.12_E_region:GB|}}}}
or one of several variant templates which call coor all accept lat/long - and display a Grid ref on the Map Sources page. Or you can use streetmap's conversion function. (Use template:oscoor for conversion of Grid refs to lat/long.) -- RHaworth 14:10, 2005 May 9 (UTC)
- Yes, but is there a way external to wikipedia for converting lat/long to OS grid references, ie a simple algorithm I can put in a script? In other news, it turns out that I do have OS grid references for my data so may rethink my naming based on that. I am still of the opinion that four-character grid refs don't give a fine enough granularity though. Lupin 14:25, 9 May 2005 (UTC)
- You don't have to -
- RHaworth 05:42, 2005 May 9 (UTC)
Conversion algorithms
The maths, although tedious, is only algebra and trigonometry. Work your way through this lot:
- Introduction - includes link to a spreadsheet
- convert.c - both way conversions. This converted very easily into oscoor_a.htm (see next link) so would probably convert to other scripts equally easily
- The javascript that template:oscoor calls - converts Grid Refs to lat/long. Includes links to more C code at York and the Ordnance Survey guide to conversion
- Egil's code for what template:coor calls - transversemercator.php is the one of interest. Ie. converts lat/long to Grid Refs
- Ordnance Survey spreadsheet - I have never got into this to understand it
- Geotools - an open source Java GIS toolkit - only 5 Mbytes of source code for you to study - if you speak Java
- My Furl may contain other stuff
Since you like to position your dots precisely, you need to be aware that "coor" and "oscoor" are both likely to give 140 metre discrepancies between their coordinates and those used in other places, eg. multimap - see note in this paragraph. -- RHaworth 22:08, 2005 May 9 (UTC)
Uploadtext
I modified it to:
If you want to use an exclusive free license other than the GFDL, you must upload your files to the Wikimedia Commons.
Is that better? -- AllyUnion (talk) 19:46, 17 May 2005 (UTC)
Re: Upload message
- If you want to use an exclusive free license other than the GFDL, you must upload your files to the Wikimedia Commons.
Is this true? For example, is the uploading of public domain images to wikipedia prohibited? My understanding was that the following is true:
- If you want to use an exclusive free license other than the GFDL, you are encouraged to upload your files to the Wikimedia Commons.
Lupin 19:53, 17 May 2005 (UTC)
Public domain is ineligible for copyright status... I don't believe it can be re-licensed under the GFDL. -- AllyUnion (talk) 19:59, 17 May 2005 (UTC)
- OK, but what about the non-GFDL free licenses which are allowed on the commons? Is uploading images under these licenses actually disallowed on en, or merely discouraged? Lupin 20:01, 17 May 2005 (UTC)
I'm only correcting the wording. This what I figured out from WP:AN#Special:Upload message is wrong. If you have a problem with it, continue to discuss it at WP:AN or MediaWiki talk:Uploadtext. You may ask User:Rdsmith4 why he added that piece of small text in the first place. But I was attempting to make it clear. I believe the purpose is that you can upload anything with a free license so long as it can be licensed along with the GFDL. -- AllyUnion (talk) 22:41, 17 May 2005 (UTC)
Furthermore, I think the message is silly but without a formal discussion, I'm not willing to remove it. The last thing we need is a revert war between Administrators. -- AllyUnion (talk) 22:42, 17 May 2005 (UTC)
Use of serial comma
Hi Lupin, I notice in the article on pennying you reverted an inserted serial comma (also known as an Oxford comma in the U.K.). According to Wikipedia:Manual_of_Style#Serial_commas the use of this style is optional - please try not to make this as the only change to a page. Kind regards, --NeilRickards 16:37, 18 May 2005 (UTC)
- Hm, so it's OK to insert the serial comma not remove it? Strange. Lupin 22:51, 18 May 2005 (UTC)
- I posted the same to the user who inserted it and I didn't change the page. Just wanted to clarify for future reference. --NeilRickards 14:27, 19 May 2005 (UTC)
- Noted. My personal preference is still to avoid it, though. Lupin 22:17, 20 May 2005 (UTC)
Schools
Please join the discussion at Wikipedia:Schools - this is an effort to reach consensus (or at least, compromise) through discussion, rather than voting. And it seems to be succeeding. Radiant_* 14:20, May 19, 2005 (UTC)
Vote request
Please cast your vote at Wikipedia_talk:Deletion_principles_poll#Straw poll: This set of polls is premature and will only be divisive. Thanks, Radiant_* 10:42, May 20, 2005 (UTC)
Your edits on Wikipedia:Schools/Deletion principles poll
You seem to be editing towards a vote on a non-issue. Only a tiny minority of people are going to agree to the proposition that no article of any type is never to be deleted. It's a silly idea.
I'm trying to work towards consensus. Could you try to help me by explaining your view on this? --Tony Sidaway|Talk 02:48, 22 May 2005 (UTC)
- My view is first and foremost that a single user should not be able to unilaterally control the terms of poll. Moreover, I am opposed to the existence of this poll. However, since it seems that it is inexorably being pushed forwards, I have striven to edit the page to clarify the propositions (e.g. spell out the consequences for deletion that adopting particular proposition would be) and also add context (e.g. make it clear that the poll will not determine policy). Essentially, I have edited where I have seen ambiguity in an attempt to resolve it. I believe that this poll is fundamentally flawed if it is an attempt to create consensus, but that it is nevertheless possible to improve it (although it will remain fundamentally flawed). Lupin 03:01, 22 May 2005 (UTC)
- I noticed you changing the poll's starting date. I agree, but please note that Wikipedia:recentchanges still holds the old starting date. Radiant_* 14:03, May 23, 2005 (UTC)
Rama IX
No idea, sorry. Adam 22:49, 23 May 2005 (UTC)
Deletion principles poll
I posted an explanation and link to Neutrality's poll in his user space. During the time I was creating it, it appears you had a quick edit war with Neutrality. Be sure not to miss my version in the history if it gets reverted again (but be careful, don't be baited into violating the 3 revert rule). I think the community deserves the explanation. --Unfocused 04:10, 24 May 2005 (UTC)
- Thanks for writing that nice explanation. I agree that an explanation is merited. Lupin 04:12, 24 May 2005 (UTC)
- Obviously, we both saw that administrators have extra powers that allow them to do an end-around on us normal users in the Wikipedia:Recentchanges page. Neutrality's gone and posted there to bypass the page entirely, going directly to his user space. Here's hoping that others share our concerns about his unilateral attitude. I seconded your request for a change on Wikipedia:Administrators' noticeboard. Hope this whole series of strange incidents isn't stressing you. --Unfocused 07:05, 24 May 2005 (UTC)
- The three revert rule applies to each page individually. Theoretically, I could revert every page
twicethree times and not break the letter of the policy. The fourth triggers the (virtually automatic) 24 hour ban. --Unfocused 14:39, 24 May 2005 (UTC)
- The three revert rule applies to each page individually. Theoretically, I could revert every page
As a user who loves their schools, I wanted to let you know about this current school FAC nomination. Please have a look and a vote. Thanks. Harro5 03:30, May 26, 2005 (UTC)
Image:Firearms.jpg for deletion
I have requested the deletion of commons:Image:Firearms.jpg because the source's terms of use are not free. Twinxor t 02:35, 2 Jun 2005 (UTC)
Generation of New Maps
hey Lupin - firstly, great contributions with all those maps, thank you! Just wondering, are new maps created automatically? I see a number of French pages include FRdot maps, but if I attempt to add one to other pages (as I have to Fontenay-le-Comte) then the images are missing. Does your bot find this eventually?
I'm only confused since when I added a map to a few UK articles, the image just seemed to be there, and it all worked with me just adding the template.... UkPaolo 07:43, 2 Jun 2005 (UTC)
- To UkPaolo: This is one of several reservations I have about the dotty maps. It is difficult, not to say impossible, to find a map for a nearby place. I have suggested names for the images based on geo coordinates but Lupin don't seem interested - perhaps if more people ask, he might do something. (He even gets confused himself by the naming system - see this diff.) -- RHaworth 08:25, 2005 Jun 2 (UTC)
- Heh - you may find several errors like that - thanks for catching that one! I do check my work so they're generally caught, but this one must have slipped through the net. To speed up the editing, I have a script that cycles through the maps I've generated and puts the appropriate wikicode on the clipboard so that I can paste it in. Unfortunately it sometimes gets lagged on my poor old computer and I don't notice - if you look at Category:Towns in Shropshire then you'll see that the two articles involved here, Craven Arms and Ellesmere, are adjacent, which explains the mixup. So it's really a problem with my editing rather than my naming convention here. Lupin 12:14, 2 Jun 2005 (UTC)
- Hi UkPaolo. The maps are generated semiautomatically, but sadly not as automatically as I would like. The way it works is that I can feed my script a long list of placenames with geographic coordinates and it will then churn out the maps (fairly slowly). For UK places, I had a nice data set of coordinates and placenames which meant that I could generate maps for many towns in England without too much difficulty.
- If you want to request a map, please let me know the place name and its geographic coordinates (latitude, longitude) and I'll try to make one for you. Better yet, if you have a nice list of French towns and longitude/latitude pairs then I could make a batch of them. Lupin 12:14, 2 Jun 2005 (UTC)
- I see! Must keep you busy! I was just writing out some data that I'd like included when I found this handy list: www.mapsofworld.com/lat_long/france-lat-long.html. Perhaps you could use this data to generate some maps? It was ones for Cherbourg-Octeville, Fontenay-le-Comte and Fontainebleau I was working on currently, all listed on that page. Thanks. UkPaolo 19:57, 2 Jun 2005 (UTC)
- A big thank you for adding some of those maps so quickly! :o) Just one quick point - I'm not too sure about the accuracy of Image:Cherbourg_dot.png (the longitude/latitude may be wrong...) since Cherbourg is a port, on the coast, right at the top of the Cotentin peninsular. I've got Lat: 49:38:19N (49.6387), Lon: 1:36:51W (-1.6143) from MultiMap, maybe you could check this map if you get a chance? Thanks again for your hard work! UkPaolo 08:17, 3 Jun 2005 (UTC)
- Turns out it was there all along at Image:Bingley - Bradford dot.png. Lupin 03:18, 4 Jun 2005 (UTC)
- Doh! Thanks anyway. MGSpiller 19:49, 4 Jun 2005 (UTC)
- Hi I was hoping that I could have a GBdot made for two Locations. Sapiston, Suffolk TL917750 Lat=52.339571716510214 lon=0.8150292908405699 and Honington, Suffolk TL911746 Lat=52.336188955876175 lon=0.8060048419930048 thanks for the help! --UKPhoenix79 29 June 2005 03:40 (UTC)
- User:RHaworth got there first. 2005 June 29 12:09 (UTC)
- Hi I was hoping that I could have a GBdot made for two Locations. Sapiston, Suffolk TL917750 Lat=52.339571716510214 lon=0.8150292908405699 and Honington, Suffolk TL911746 Lat=52.336188955876175 lon=0.8060048419930048 thanks for the help! --UKPhoenix79 29 June 2005 03:40 (UTC)
Image deletion warning | The image Image:Hammer_sickle.png has been listed at Wikipedia:Images and media for deletion. If you feel that this image should not be deleted, please go there to voice your opinion. |
Zscout370 (Sound Off) 02:35, 12 Jun 2005 (UTC)
Hi -- Since you've worked on the Inkscape article, I thought you might be interested in the fact that the Bryce Harrington article is up for deletion.--Bcrowell 03:41, 18 Jun 2005 (UTC)
lots of edits, not an admin
Hi - I made a list of users who've been around long enough to have made lots of edits but aren't admins. If you're at all interested in becoming an admin, can you please add an '*' immediately before your name in this list? I've suggested folks nominating someone might want to puruse this list, although there is certainly no guarantee anyone will ever look at it. Thanks. -- Rick Block (talk) 18:19, Jun 19, 2005 (UTC)
Image for Korean name
I see you have created an image of the character "성" for Korean name, which is currently featured on the main page. As I've explained in the article discussion, this choice is confusing and not entirely suitable for the page. I've suggested that maybe using the word "이름"—"name"—as the image for the article might be more appropriate. Since the image is currently protected, I'm wondering if you can make the necessary changes. Thanks. --Iceager 00:28, 22 Jun 2005 (UTC)
External link
May I request that you replace your standard edit summary rant: "External link - no,no, no. external linkS. even if there's only one link. with the S. don't forget. very important. repeat after me: external linkS. external linkS. external linkS. external linkS" with a link to an item on one of your user pages that explains why you think it is so frightfully important always to have links? -- 80.189.34.111 01:20, 23 Jun 2005 (UTC)
- Making edits to the "External links" heading is fine, but please do not bite the newcomers. You may wish to replace the rant with a link to the Wikipedia:External_links guidelines instead. --Alan Au 17:48, 23 Jun 2005 (UTC)
- I've just encountered your 'rant' on my watchlist. I found it amusing, actually -- wasn't offended at all. The guideline page states: "If there is only one link, some editors use the header "External link", but others use "External links" in all cases." This implies that it is optional for articles with more than one article link. Personally, I think it's an error to refer to something in the plural when only a singular entry exists. There really is more taxing work to be done on wikipedia, but if you want to go on a crusade, that's fine. The JPS 23:27, 23 Jun 2005 (UTC)
- Meh. The purpose of this so-called "rant" is to draw attention to the widespread misuse of "External link" (often when there are several links) and hopefully convince others to avoid using "External link" in the future. I don't consider it biting newcomers in the least and it is intended to be taken in a spirit of good humour. If even edit summaries are now to be censored for fear of offending some hypothetical newcomers then wikipedia is in a sorry state indeed.... I am not really on a crusade, but this is one thing I look out for and fix when I see it. Lupin 02:19, 24 Jun 2005 (UTC)
- Okay, just keep in mind that there are suggested Wikipedia:Edit_summary guidelines. Sure, there are more important things to worry about than edit summaries, but imagine how annoying it would be if everyone pontificated in the edit summary field. ;) --Alan Au 04:10, 24 Jun 2005 (UTC)
GNU
announcement was 1983; project "began" in Jan 1984 (source: http://www.gnu.org/gnu/initial-announcement.html) - and attempt to correct dubious grammar in that sentence
- Ok, wonderful, thanks for sourcing that. I was thrown by the fact that the GNU article claimed it was "launched" in 1983. Does that need editing? I do think "launched" might be a little strong for something that's only announced. --W(t) 02:58, 2005 Jun 23 (UTC)
Thanks for uploading Image:Olive baboon.jpg. I notice it currently doesn't have an image copyright tag. Until a more informative tag is provided, it will be listed as {{no source}} or {{no license}}. Could you add a better tag to let us know its source and/or copyright status? If you made the image yourself, an easy way to deal with this is add {{GFDL}} if you're willing to release it under the GFDL. Alternatively, you could release all rights to it by adding {{NoRightsReserved}}. This would allow anyone to do whatever they wish with your image, without exceptions. However, if it isn't your own image, you need to specify what free license it was distributed under. You can find a list of the tags here. If it was not distributed under a free license, but you claim fair use, add {{fairuse}} but you need to substantiate your claim by explaining why you think it's fair use. If you don't know what any of this means, just let me know where you got the images by posting to my talk page. If you do this, I can tag them for you. Thanks. RedWolf 05:20, July 12, 2005 (UTC)
Grid Ref
Thanks for that on Winchester couldn't figure it when I did the box.Alf 21:02, 12 July 2005 (UTC)
A map request
Hey there, I noticed you've made a lot of those location maps (such as Image:Guangzhou_dot.png), I was wondering if you would consider making one for this week's COTW, Lhasa, it would really improve the article I think. Regards, Joolz 10:33, 21 July 2005 (UTC)
- Thanks :> -- Joolz 15:08, 23 July 2005 (UTC)
Lancashire Rose
Hi The Lancashire Rose you display is upside down The point should be at the top
Corpus Christi Crest
Hi. What do you think of this version of Corpus's crest? Mlm42 21:24, 26 July 2005 (UTC)
- Looks good to me, but I'm no expert. If you have the blazon handy, that'd be good to add to the image page. Lupin 22:57, 26 July 2005 (UTC)
- This is all I know, which is from here : Corpus Christi College in Cambridge was founded in 1351 by the two Guilds of Corpus Christi and the Blessed Virgin, and the arms confirmed to them at the Visitation of Cambridge in 1575 were a quarterly coat, first and fourth Gules a pelican in her piety upon a Nest containing three young all argent, and second and third Azure three Lilies argent. Coll. Arms MS. G.18, f. 59. Is that what you mean? Mlm42 23:38, 26 July 2005 (UTC)
Image upload bot
Since you run the bot LupinBot, I am hoping you could help me.
I have a local version of mediawiki which I use to document. I also have a cacti running on a different machine which basically generates png images based on snmp data. I am interested in archiving the images generated to my local copy of mediawiki. Since I am into php, I can easily collect the png files to a location I desire in a regular basis. I need to automate the uploading of these files to my local copy of mediawiki. Framework for wikipediabot is written in python and I am no experience in it. Can you help me with this if possible, or suggest me an alternative? Thanks --Oblivious 06:06, 31 July 2005 (UTC)
- I have no experience of local installations of mediawiki, but I can describe how I got my bot running. First I got a copy of pywikipediabot - I'm using an old copy but I think newer versions should work too. You have to create a file user-config.py as described in the documentation. The script I'm using is upload.py (part of pywikipediabot), which by default prompts the user for some information. I commented the lines containing
xxx=wikipedia.input
(put a # at the start of the line) and inserted lines sayingxxx=''
. Finally I wrote a shell script wrapper, which basically runscd $PYWIKIPEDIA_DIR; python upload.py "$file" "$uploadmessage"
where$file
is an absolute pathname. Hope this helps! Lupin 13:40, 31 July 2005 (UTC)
- Thanks --Oblivious 00:58, 1 August 2005 (UTC)
re: Image thumbnails in popups...
Looks fine to me, but then again I'm the last person to ask when it comes to image layout. What you could do is replicate this popup in the Sandbox and fiddle with the wiki image attributes until it looks right, and then copy the HTML it generates. Simple!
Only problem is the images are downloading from the fullsize version, but the thumbnails aren't stored until they're rendered inline, so that's not an option. Unless you can pre-empt insertion on the Sandbox and then draw the thumbnail from there, but that would be too laggy... hmmm... it would still work though... anyway, that's still a great little feature despite the delay. :) GarrettTalk 22:19, 2 August 2005 (UTC)
- That's a good idea for html generation. About the full size images: what I hope to do is check first to see if thumbnails of common sizes exist and then act accordingly. I don't know exactly how to do that yet, though, but I believe it should be possible. Lupin 22:22, 2 August 2005 (UTC)
popup.js -> context menu
Hey! Thanks for making your popup script -- it's really quite nice. I was wondering if you had/would consider making a modified version which offers those links in the context (right-click) menu, in a sub-menu? Thanks again. :) kmccoy (talk) 06:04, 4 August 2005 (UTC)
- Glad you like it! Yes, my original idea was to use a right-click menu. I think that would require a browser extension rather than javascript (I'd be please to be corrected on this point), and I currently have no idea how to write one of these. So... any offers? :-) Lupin 13:03, 4 August 2005 (UTC)
- I've googled a little and I think it's possible to replace the context menu in javascript, but that's a bad idea IMO. Adding to it seems impossible. Lupin 13:17, 4 August 2005 (UTC)
Advice on drawing graphs needed
Hi, If you can spare the time I would appreciate your help. I would like to create graphs like the complete graph on five verticies you made for Ramsey's theorem. You wrote that you created this graph using Inkscape, I’m having a lot of trouble working out how to draw graphs like you have done using this program. Could you give me any tips or perhaps direct me to any good pages on the net I might be able to use. I have noticed some other people have used gimp to make similar graphs have you used gimp to do this? Would you recommend it? I also have access to illustrator, would this be a good program to use?
Any help much appreciated
Thanks Greg321 20:16, 5 August 2005 (UTC)
Popup javascript
Hey, I like your popup javascript a lot. Could you please make it work with Wiktionary also? --Phroziac (talk) 23:07, 6 August 2005 (UTC)
- I think I've done it correctly, but images seem to be disabled so I haven't been able to test them. Let me know if you find any glitches! Installation is the same as before - add those lines to monobook.js on wiktionary. Lupin 00:50, 7 August 2005 (UTC)
Great work on the script! One thing I noticed is that popups will stick on if I hover my mouse over a link and then move it away from the popup. Can this be remedied? Also, would it be possible for the popup to include the first sentence or two (or paragraph) of text from an article (only if the article is in the article namespace)? I forget what Wikipedia-duplicate site does this, but I found it useful; it would greatly aid a general reader in reading an article. -- BRIAN0918 01:32, 7 August 2005 (UTC)
Other possibilities:
Don't load the popup if the link is clicked before the popup appears.Close the popup if the link has been clicked.Remove everything before the last slash in an article's name when it appears in the popup (so if I hover over User:Brian0918/monobook.js, all it shows in the popup is monobook.js)Make "talk" and "article" bold, so they stand out.
- Not at all - these are all great suggestions. Thanks for helping out, too. The first few sentences business looks distinctly tricky at this time of night, though. Lupin 04:53, 7 August 2005 (UTC)
- It looks like something got broken. When you hover over an IP, it says "Special:Contributions" and all their links have replaced "User:127.0.0.1" with "Special:Contributions". This only happens on RC or Watchlist pages, where the IP doesnt link to User: but to Special:Contributions. I think you have to have it parse the Special:Contributions URL to grab the actual name you're looking for. -- BRIAN0918 04:58, 7 August 2005 (UTC)
- Seems adding the email extraction broke stuff. Should be fixed now. Lupin 05:42, 7 August 2005 (UTC)
- Alright, it works now. Adding in the first sentences/paragraph will be the next big addition. I think if you do that, you should provide the option to turn off all the other downloading except for the first sentences/paragraph (ie have an option to turn simplePopups on but to also turn firstParagraph on). The paragraph wouldn't necessarily include Wikilinks, but just the stripped-down text (maybe the stripping-down is the hard part). If you were going to keep the Wikilinks, it would be an interesting option if the user could hover over any of the links in the first paragraph and another popup will load and show the first paragraph of that link too, and so on... but the simple text would probably be the way to start, and if you are able to or decide to add the other more complicated stuff later, it could be another option (ie: options for firstParagraph with either simple text or linked text). -- BRIAN0918 14:09, 7 August 2005 (UTC)
- Seems adding the email extraction broke stuff. Should be fixed now. Lupin 05:42, 7 August 2005 (UTC)
- It looks like something got broken. When you hover over an IP, it says "Special:Contributions" and all their links have replaced "User:127.0.0.1" with "Special:Contributions". This only happens on RC or Watchlist pages, where the IP doesnt link to User: but to Special:Contributions. I think you have to have it parse the Special:Contributions URL to grab the actual name you're looking for. -- BRIAN0918 04:58, 7 August 2005 (UTC)
- Not at all - these are all great suggestions. Thanks for helping out, too. The first few sentences business looks distinctly tricky at this time of night, though. Lupin 04:53, 7 August 2005 (UTC)
Lower bandwidth option for navigation popups
Thanks! it's a wonderfull tool, and bandwidth was the only reason I turned it off. I'll add it back with the simplePopups option when I get back from backpacking next week. --Duk 13:20, 7 August 2005 (UTC)
Dynamic signature
Markaci has this javascript code in his monobook that replaces the usual "--~~~~" that you get when you click the signature button with custom text. Is it possible for this generated text to include your edit count, so that each time you post, it lists your number of edits at the time of your post. Considering what you've already done with this popup, it seems like it should be possible, but I just don't know the syntax. Here's his code to make the signature:
// Signature fix. function sigFix () { document.getElementById("toolbar").innerHTML=document.getElementById("toolbar").innerHTML.replace('--~~' + '~~','CUSTOM_SIGNATURE_HERE'); } function reformatMyPage() { sigFix(); } if (window.addEventListener) window.addEventListener("load",reformatMyPage,false); else if (window.attachEvent) window.attachEvent("onload",reformatMyPage);
Maybe that could even be implemented into your popup, so the number of edits are automatically listed for a user (would be turned off if simplePopups is on) -- BRIAN0918 14:40, 7 August 2005 (UTC)
- Sadly, I think not. JavaScript can only access data on the same webserver, and Kate's tool (which provides the edit count) is on a different webserver. Annoying, I know. I wanted to query Kate's tool and have 'x edits' instead of 'count' in the popup, but this seems impossible. If Kate's tool or an equivalent feature could be (quickly) accessed at some address on en.wikipedia.org, then there'd be hope. Lupin 14:53, 7 August 2005 (UTC)
- Would you be able to figure out how to do an edit count in the same way as kate's tool does, and just stick that code into your popups.js (or, for accessibility to others, into a separate .js)? Then if simplePopups is on, you can just provide a link to kate's tools as it is now. This might also allow you the option to display the number of edits that have been made to an article, though I'm not sure how useful that is... -- BRIAN0918 14:56, 7 August 2005 (UTC)
- My guess is that Kate's tool submits a database query directly to the wikipedia servers. A Javascript tool can't do that; the alternative, parsing the contribs lists which can be spread out over many pages, would be prohibitive in terms of server load and very slow, judging by the time it takes for these pages appear. I'm able to get information into the popups relatively quickly by appending &action=raw to the ends of urls, which just gets the wikitext and doesn't stress the servers. Or I could use Special:Export - doing this could add features such as "last edited by ... at ...". But that's another story. This doesn't seem to work for contribs pages, and I wouldn't expect it to since they have to be generated dynamically. Lupin 15:19, 7 August 2005 (UTC)
- Would you be able to figure out how to do an edit count in the same way as kate's tool does, and just stick that code into your popups.js (or, for accessibility to others, into a separate .js)? Then if simplePopups is on, you can just provide a link to kate's tools as it is now. This might also allow you the option to display the number of edits that have been made to an article, though I'm not sure how useful that is... -- BRIAN0918 14:56, 7 August 2005 (UTC)
Formatting sig
Can you help me format my custom sig correctly. I'm trying to stick in different font colors, but again there's a syntax problem:
function sigFix () { document.getElementById("toolbar").innerHTML=document.getElementById("toolbar").innerHTML.replace('--~~' + '~~','<small>[[User:Brian0918|\\\'\\\'\\\'BRIAN\\\'\\\'\\\']][[User_talk:Brian0918|0918]] {{subst' + ':CURRENTYEAR}}-{{subst' + ':CURRENTMONTHABBREV}}-{{subst' + ':CURRENTDAY}} {{subst' + ':CURRENTTIME}}</small>'); }
This works properly, but I want to add <font color="#000000"> </font> around the text for the user page link, and <font color="#555555"> </font> around the user talk page link. Note: the font code has to be inside the wikilink, not outside it. -- BRIAN0918 16:21, 7 August 2005 (UTC)
Nevermind, I figured it out. — BRIAN0918 • 2005-08-7 17:05
Another possibility: If the link is to a category, the popup includes the number of articles in the category and the number of subcategories. ☞ BRIAN0918 • 2005-08-7 17:41
- Again, would be nice, but that's a feature the server has to offer. Anything I can't get with action=raw or Special:Export is off the agenda until wikipedia's server improves significantly. Lupin 18:00, 7 August 2005 (UTC)
How about: allow a user to set something like "adminPowers = true", which will give options such as: hovering over a username allows you to click the "block" link in the popup, or hovering over an article/image name allows you to click the "protect" or "delete" links. — BRIAN0918 • 2005-08-7 20:21
- I suppose that'd be nice.... for admins :P Most of what I know about accessing wikipedia's features through urls has been gleaned by observing what urls are used. Not being an admin, I don't know how to use admin features. You could try adding the features yourself, or give me a list of urls that I can use as models. Lupin 02:08, 8 August 2005 (UTC)
Consider namespacing configuration settings for Navigation popups
Just a thought. ;-) — Ambush Commander(Talk) 01:03, August 8, 2005 (UTC)
- You mean making it effective only on certain namespaces? Good idea. Lupin 01:11, 8 August 2005 (UTC)
- Err... not exactly, actually, although that would be interesting too. I just meant a quick rename, like navPopup_delay so it doesn't accidently clobber other scripts a user may have. — Ambush Commander(Talk) 01:44, August 9, 2005 (UTC)
Navigation popup problems with Opera
I've encountered a number of problems with the navigation popup tool and Opera 8 for Linux:
- After showing for a few seconds, the popup expands with between one and five pages of mostly Chinese characters. I assume this is supposed to be a page preview.
- The popup always has a broken image link on the right side.
- The popup functionality appears to cause serious problems with clicking on "diff" and "cur" links in article history: the cursor may refuse to change from an arrow to a hand, clicking on a link may do nothing, clicking on a link may take several seconds to several minutes to register.
- Displaying a page history may cause the broswer to use 100% of available CPU time.
--Carnildo 05:30, 8 August 2005 (UTC)
- Thanks for the report! I'm typing this in opera and just lost my previous reply due to some other different javascript functionality that opera does differently... so there's definitely something to work on here. The JavaScript console is silent for me though, I don't know if there's some way to turn it on or if it has nothing to say. The first two bugs I can definitely confirm and warrant further investigation. Lupin 13:03, 8 August 2005 (UTC)
- OK, I see the main problem with Opera. It has what appears to me to be a bug, where it doesn't respect the gzip Content-Encoding of certain Content-Types. And I can't persuade wikipedia to send anything except gzip. I can see a fix for this, but it will take a while to implement. For now, I suggest that you add simplePopups=true; to your user javascript file. Lupin 15:24, 8 August 2005 (UTC)
- Simple popups work just fine in Opera -- I expect most of the other bugs came from delays caused by downloading the page preview. Of course, now I've found another bug. This one depends on the focus-follows-mouse behaviour of most Linux window managers:
- Have a window from another program open above the web browser, partially overlapping a link of some sort (an image works well)
- Have the popup delay set to something reasonably high: several seconds or so
- Move the mouse over the link
- Before the popup appears, move the mouse to point at the other program
- Watch the popup appear, even though Opera does not have focus anymore.
- I don't expect this to be fixed. --Carnildo 07:18, 17 August 2005 (UTC)
- Simple popups work just fine in Opera -- I expect most of the other bugs came from delays caused by downloading the page preview. Of course, now I've found another bug. This one depends on the focus-follows-mouse behaviour of most Linux window managers:
Navigation popup problems with Mozilla
Just trying Mozilla 1.7 for MacOS. The "simple popups" option doesn't seem to be working, and the popup delay doesn't always delay. Am I doing something wrong, or is this a bug?
- // User:Lupin/popups.js - please include this line
- document.write('<script type="text/javascript" src="'
- + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
- + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
- simplePopups=true;
- popupDelay=3;
--Carnildo 21:02, 8 August 2005 (UTC)
- Looks fine to me. Sadly I don't have a Mac so this will be hard for me to diagnose. Does clearing your cache or upgrading to the latest mozilla help? If you type javascript: in the address bar, a javascript console should come up. If you could restart mozilla, open up the javascript console and let me know about any errors that appear when you try to use the script, that'd probably be helpful.
- Another thing you can try is to type this into the address bar after the page has loaded:
- javascript:alert(simplePopups+'\n'+dsimplePopups)
- If the first line doesn't say "true" then the variable is either not being set properly or something (possibly a bug in my script or some other stuff in your user javascript file) is resetting it. (The second should say false in mozilla, the default value of simplePopups. I've made it default to true in opera). Lupin 21:30, 8 August 2005 (UTC)
simplePopups no longer works
In Mozilla Firefox on Windows XP. I have simplePopups on but it still displays the image, first paragraph, etc. — BRIAN0918 • 2005-08-9 02:36
- OK, I'll see if I can reproduce and fix this. What happens if you type that javascript: command into firefox that I mention just above?
Also, if you try hovering over Genetically modified food, it shows the categories, filesize, etc, but doesn't show the intro text. — BRIAN0918 • 2005-08-9 02:38
- Please could you add such pages to this list? Thanks. User:Lupin/Pages with buggy previews Lupin 02:46, 9 August 2005 (UTC)
Split up image/text/data preview
Would it be possible to split up all the different options (navigation links, text preview, image preview, summary data at the bottom), so that a user who has simplePopups off can choose to separately turn on/off any of these things? This would allow general readers to focus on reading (ie, no nav links, no image, no data summary), and anyone can customize however they want. — BRIAN0918 • 2005-08-9 04:02
- Yes, I've had a go at this. Here are the options: User:Lupin/popupOptions I haven't tested it much at all, so some combinations of options may not work well together (or at all)... Lupin 05:45, 9 August 2005 (UTC)
Re-using images in print
Hi, I'd like to use the passport image in a print publication (illustrating a citizenship course), but it's only licensed under GFDL, which is impractical. Any chance of a PD or Creative Commons dual-license?
- No, but educational uses I approve of. I hereby grant you an exclusive non-transferable license to use this image for educational purposes. Lupin 13:01, 9 August 2005 (UTC)
- Thanks for the exception. As it happens, somebody else took on this part of the job anyway, but it's the thought that counts :)
RFA?
Care for to be of adminship requested? — BRIAN0918 • 2005-08-15 19:28
Popup Script in Safari
well done on coding the popup script - very clever! Just thought I'd point out that it doesn't appear to work using the Safari web browser under Mac OS X... not sure if a simple fix would exist for this or not... UkPaolo 21:12, 15 August 2005 (UTC)
- i'd certainly be willing to help try and solve the problem. It's weird tho... I did turn on debug and check the output previously... there doesn't appear to be any exceptions, and certainly no error messages. It's just that nothing happens when you mouseover a link in Safari, yet under Firefox it displays fine... not that there's any errors. Unfortunately I don't have any explanation for that. I've checked JavaScript on other pages, and even tried removing the popup window blocker... but nothing :o( UkPaolo 19:54, 18 August 2005 (UTC)
RFA
Well, too late now, I've nominated you for adminship. Please edit the proper section and include your acceptance of the nomination and your answers to the questions. — BRIAN0918 • 2005-08-16 15:59
Nav popup adulation and troubleshoot
Lupin, two things:
- Nav popups are AWESOME. omfg they're awesome.
- A question, I want to change the popup delay. Where exactly do I have to insert the code line into the Monobook page for that to work?
Thanks, man. Fernando Rizo T/C 04:41, 17 August 2005 (UTC)
RFA
You may want to give more detailed responses to your questions. Someone has already given one oppose, saying that you "didn't sound very convincing". — BRIAN0918 • 2005-08-17 17:57
Trinity Hall crest
Hello - is ti possible to procure the original inkscape version (vectorised) of the Trinity Hall Crest? Thanks. I can be reached on davidranc[A]hotmail.com
- Sure. it's in this tarball which I uploaded a while ago.
Navigational popup script
Hey. I came your script through your request for adminship. I want to say the script is incredibly cool. That is a damn fine peace of work. And I hope that even if don't approve of your adminship because "you didn't write edit summaries, or answer certain questions with full enthusiasm" etc... I hope you'll still keep writing things like the navigational script. I, for one, really appreciate it! Cheers, Jacoplane 23:58, 20 August 2005 (UTC)
- I second that. Amazing tool, keep up the fantastic work! -- Plutor 15:37, 22 August 2005 (UTC)
Congratulations!
Congratulations! It's my pleasure to let you know that, consensus being reached, you are now an administrator. You should read the relevant policies and other pages linked to from the administrators' reading list before carrying out tasks like deletion, protection, banning users, and editing protected pages such as the Main Page. Most of what you do is easily reversible by other sysops, apart from page history merges and image deletion, so please be especially careful with those. You might find the new administrators' how-to guide helpful. Cheers! -- Cecropia | explains it all ® 16:15, 23 August 2005 (UTC)
Navigational popups
ActiveX and link separators
Amazing, just amazing.
However, I have two minor questions.
- Is is possible to use a different character to seperate the links?
- The middle dot tends to become a hollow square. It may be just the way the default monobook font interacts with IE, but it would be nice to be able to choose a different character.
- Do you know how to enable certain ActiveX objects, and for Wikipedia only?
- Currently I have disabled all ActiveX, but apparently I need "Msxml2.XMLHTTP" or "Microsoft.XMLHTTP". Which one do you advise? By the way, would it be possible to show a message if the objects cannot be created? I couldn't figure out what was wrong without looking at the source file.
I hope you can answer my questions.
Cordially yours, Shinobu 00:11, 24 August 2005 (UTC)
- Hi, glad the script is useful. To address your questions:
- yes, you can use a different character: set the variable popupNavLinkSeparator as described on Wikipedia:Tools. If you find
a nice one then please let me know and I'll make the default for IE.
- I don't have access to a copy of IE (I am rather severely unix-bound) so please tell me what you have to do to get this working so that I can add it to the installation instructions! I'm afraid I don't know which ActiveX thing is better as I don't understand all that stuff really. Lupin 01:26, 24 August 2005 (UTC)
Thanks for the link to The Manual. I see it has lots more interesting options. As for the dot problem, the following works for me, both in IE and in Firefox:
popupNavLinkSeparator = ' · ';
Cordially yours, Shinobu 04:47, 24 August 2005 (UTC)
There seems to be a little flaw in the code. You see, I got the ActiveX working by assigning wikipedia.org to it's own security zone and activated safe for scripting ActiveX. That works, apart from the fact that the code breaks on the following line:
this.send = this.http.send;
Maybe because for ActiveX objects member functions are native, not JS, this line generates a "property does not exist"-error. Perhaps it is best to use a proxy in this case:
function httpProxySend(name) { return this.http.send(name); }
Assuming send returns anything that is. And use
this.send = httpProxySend;
in the case of an ActiveX. Maybe I'll toy around with it a bit and send you the solution if I get it working (if you want, that is). What do you use, a local copy on your own p.c., or have you got a scratch version somewhere else?
Cordially yours, Shinobu 06:34, 24 August 2005 (UTC)
- Thanks. Please could you try using User:Lupin/popupsdev.js instead of User:Lupin/popups.js? I've made something like your suggested change regarding "proxy" functions. Lupin 02:17, 25 August 2005 (UTC)
Okay, I'll check if it works; if it doesn't I'll try to toy around with a debugger. Actually being able to see on what line the script staggers and being able to look at variables, change them and continue, makes for easier problem fixing than having an other user execute it and asking "Does it work?". Shinobu 21:46, 25 August 2005 (UTC)
It works like magic. It doens't seem to have broken in Firefox either, always a good sign. I can only think of one minor improvement (very low priority though): a message of some kind in the case neither ActiveX nor standard HttpRequests can be created.
I would like to say again that it's an amazing script, and thanks for taking the trouble to make it work for me! Cordially yours, Shinobu 22:08, 25 August 2005 (UTC)
Parensplit bug
I think there should be extra brackets in the following bit of code (I've coloured them red):
String.prototype.parenSplit=function (re) { var m=re.exec(this); if (!m) return [this]; return [this.substring(0,m.index)] .concat(m.slice(1)) .concat(this.substring(m.index+m[0].length).parenSplit(re)); };
If I understand this correctly this function should emulate split (only not broken).
- The result of the split method is an array of strings split at each point where separator occurs in stringObj. The separator is not returned as part of any array element.
So if re is not matched, an array with a single element should be returned, not a string. Otherwise code that depends on the result being an array fails, crashing the script to the debugger.
As for the second part, given string "abcdefghi", re /def/ this would yield:
- m[0] = "def"; m.index = 3;
- return ["abc"].concat(["def"]).concat("ghi".parenSplit(/def/));
- == return ["abc", "def", "ghi"]
Note that ordinary split on IE or Firefox would return ["abc", "ghi"]. But I assume returning "def" also is intentional, so that's okay - only the red brackets should be added.
Cordially yours, Shinobu 03:06, 26 August 2005 (UTC)
- Yes, you're right. Thanks for finding this bug and providing the fix! I've put this and another fix to parenSplit in popupsdev.js and will transition it to popups.js if it proves to be stable. Lupin 14:32, 26 August 2005 (UTC)
Redundant code in parenSplit?
for(var i=0; i<m.length; ++i) { if (typeof m[i]=='undefined') m[i]=''; }
This code might not be needed, since you're only using m[0] and m[0] is always a string: the re match.
Cordially yours, Shinobu 02:33, 27 August 2005 (UTC)
- True - for my purposes at the moment, it doesn't do anything. But it does make parenSplit behave more like (exactly like?) the ECMA String.split function, and I don't think it imposes a huge performance hit (if you disagree then I'd be happy to take it out). Basically I added it so that I don't get bitten by differences between String.split and String.parenSplit in the future. Lupin 02:38, 27 August 2005 (UTC)
Yes, that makes a lot of sense. I should have thought of that.
// without this, we have // 'ab'.parenSplit(/a|(b)/) != 'ab'.split(/a|(b)/)
I've tested this, and it returns ["", "", "", "b", ""].
I've tested normal split with Firefox in JS1.2 mode, and it returns ["", "", "", "b"].
Either Firefox's JS1.2 is broken (while still returning the correct anser to your "abc".split(/(b)/) test) or you're not 100% there (although I wouldn't bother too much about that if it doesn't impact the rest of the script).
I have had the new script running for a while now, and it doesn't seem to crash any more. By the way, I'm working on a (small) watchlist tool. It's primary function is to show only the new edits since the tool was last run. Should I post it somewhere, or is this a) not useful to anyone but me or b) done before?
Cordially yours, Shinobu 04:05, 27 August 2005 (UTC)
- Interesting. My observations were that ["", "", "", "b", ""] is returned by both parenSplit and split in firefox. I don't know how to put firefox into js1.2 mode, though. Also I think that this is the correct result. The array is split in two places and the regex has one set of parens, so should have 3 elements (since it's split at two places) plus one element for each split point, and 3+2=5. In general, a string which is split at N places by a regex with n bracketed expressesions should yield and array with N+1 + Nn = N(n+1)+1 elements.
- Your tool sounds interesting and useful. I would encourage you to post it. I don't know if it's been done before, but Wikipedia:Tools is a good place to check. Lupin 17:57, 27 August 2005 (UTC)
@correct result: I agree.
One source of the confusion is a difference between what Firefox claims to do in the docs, and what it does in reality.
- docs: <1.2 → ["", "", ""]; >=1.2 → ["", "", "", "b", ""] assuming I read it correctly…
- reality: <1.3 → ["", "", "", "b"]; >= 1.3 → ["", "", "", "b", ""]
Modern version uses 1.5 by default, I think, and your script doesn't specify a version, so it'll be allright. Shinobu 16:44, 28 August 2005 (UTC)
Barnstar!
Here's a working man's barn star...for your uhm...work ;) --Phroziac (talk) 03:15, September 5, 2005 (UTC)
I noticed you tagged, it under the verify tag. I afterwards put it under Template:Empty because little can be drawn from the article. I thought I should post it here in case you objected. Falphin 23:41, 6 September 2005 (UTC)
Wikicities popups
I put the code you gave me in my javascript on RC wiki, but...the background on it is CLEAR! Heh, maybe you could fix that? By the way, please archive your talk. Additionally, I turned the admin features on, and I like it! :) --Phroziac (talk) 02:33, September 7, 2005 (UTC)
- Yes, talk archival is a chore I had to get around to soon :) The transparent popup happens because monobook.js sets tables to transparent and the popups are essentially tables. If you remove or override that line (I did it in the object inspector in firefox to check but I don't know enough CSS to know how to remove the transparent declaration in my user CSS) then it should work. Lupin 02:55, 7 September 2005 (UTC)
Hi Lupin,
Have you got JPG or GIF versions of the Lancashire Red Rose and Yorkshire White Rose that I could use? I've tried to convert your PNG Red Rose to these other formats but it doesn't work that well.
Thanks, Arcturus 20:22, 9 Dec 2004 (UTC)
Bee on thistle
You have a great image of a bee on a thistle, but it's not a honeybee, so I have removed it from the honeybee page. I think it's a bumblebee, but I don't know much about European species, and I can't see its head. If it could be positively identified by someone who knows, it might be possible to assign it to another page. Thanks for all the great pictures. I've misidentified species too, and I'm always glad when someone corrects the misinfo. Pollinator 02:56, Jan 2, 2005 (UTC)
Greetings. I just started the Wikipedia:Image recreation requests project, and I thought you might be interested. Your help would be greatly appreciated. (I got your name from the list at Wikipedia:Wikipedians/Cartographers.) Best regards, – Quadell (talk) (sleuth) 03:19, Jan 30, 2005 (UTC)
Image permission
Hi. For any of your images that have been tagged {{unverified}}, update the image description page to include source URL and information on copyright status. If you received permission in an email from the image owner, state that as well. If that is the case, what kind of permission you received will determine what to use for the image tag. If the owner agreed to the GFDL license, then you can use {{GFDL}}. If they agreed to use it only on Wikipedia, then use {{permission}}. If the owner does not allow commercial use, then use {{Noncommercial}} but note that these images may get deleted in the future. See Wikipedia:Image copyright tags for more info. RedWolf 04:25, Jan 31, 2005 (UTC)
Image recreation requests
About notifying the original creators: good idea. I'll start doing that. – Quadell (talk) (sleuth) 13:57, Feb 2, 2005 (UTC)
Thanks for your edits on Timpani
Thanks for the edits on Timpani. I was getting a bit frustrated after not getting many peer review comments the first time I submitted it. I think the "special effects" section needs an image, but I can't think of anything. Any suggestions? (My only idea is to put a snippet of a score or part that includes some special effects... but that's pretty weak as an illustration.) – flamuraiTM 16:13, Feb 6, 2005 (UTC)
- If you can't think of a good image then perhaps it doesn't really need one! The only things that occur to me are a picture of some timp mutes or some unconventional beaters and/or playing techniques in action. Also I'd like to see someone write about the differences between timps in north america, the UK and europe - for example, ordering of the drums, different preferences in pedal mechanisms (I'm from the UK and Premier drums are widely used there which I believe use friction clutches although I'm not sure). The article feels very US-centric at the moment to me. Unfortunately I don't really feel qualified to attempt this myself. An overview/list of the various manufacturers would be good, too. Lupin 19:23, 6 Feb 2005 (UTC)
- Same here, considering I'm an American. Maybe I'll send an e-mail to one of the European timpanists that has a website. (Update: I dropped an e-mail to Marc Zoutendijk.) And yes, the Premier drums use friction clutches. I'm not sure I agree with you on the list of manufacturers... not sure it's a good precedent... but I'll begin compiling a list on Talk:Timpani. – flamuraiTM 00:11, Feb 7, 2005 (UTC)
- Also: I do have one pair of special sticks (the sticks to the far left of this image are MaracaStix, but that's not very obvious visually considering the magic is on the inside). Maybe I could take lay those pics on the score I have where it calls for maracas on timpani. I'll try it when I get my camera back. – flamuraiTM 00:34, Feb 7, 2005 (UTC)
Damascus steel pocket knife image
What is the copyright status of Image:Damascus_Steel_Pocket_Knife.jpg? Who took it? Boffy b 11:31, 2005 Feb 8 (UTC)
- I don't know. The original (uncropped) image was obtained from wikipedia, but I don't know which image it was. You could find it by discovering which article the cropped image was used on (I'm not sure, and it seems to be a failing of the history mechanism that there's no easy way to find out) and look in the history for my edits and see which image I replaced with this one. Lupin 20:19, 12 Feb 2005 (UTC)
Clobbered reply
Hi Lupin, In case you didn't notice it, I replied to your question at Wikipedia:Image recreation requests. Cheers, dbenbenn | talk 09:57, 13 Feb 2005 (UTC)
- Thanks for the heads up - I had missed it. Interesting stuff... I left a possible method for gimpless cropping on the image talk page. Lupin 21:38, 13 Feb 2005 (UTC)
- pnmcrop! I should have guessed! Thank you very much; I just used your suggestion in Commons:Image:Random go position.png; it saved me a good ten minutes. dbenbenn | talk 04:14, 18 Feb 2005 (UTC)
Partial isometries
Suppose W is a partial isomtery. Then W W* is a self-adjoint projection e (so that e2=e). Also assume (as you claim) that it is also the case that
Then multiply both sides by W:
The square of a partial isometry is a projection only for very special partial isometries (it fails for instance for the unilateral shift). CSTAR 05:05, 9 Mar 2005 (UTC)
- You're right. The correct characterisation is
- ,
since then WW*=WW*WW* is a projection, as is W*W=W*WW*W. Lupin 14:21, 9 Mar 2005 (UTC)
That characterization is indeed correct, but it seems less interesting for an introductory article. More interesting I think are facts about partial isometries and self-adjoint operators and facts about partial isometrie and K theory. These could go in the article.CSTAR 14:58, 9 Mar 2005 (UTC)
Image:Cafewall.png
Could you upload a larger version of it? Preferrably to the commons. —Ævar Arnfjörð Bjarmason 04:45, 2005 Mar 13 (UTC)
- I replaced the image with a bigger one. Feel free to put it on the commons if you wish. Lupin 06:21, 13 Mar 2005 (UTC)
Ivy League Gallery
Good job! That change was very useful in clearing up the issues surrounding the Ivy League shields. --Xtreambar 21:51, 6 Apr 2005 (UTC)
Lucy Cavendish College
Hello. Were the founders not all alumnae, then? Man vyi 14:43, 8 Apr 2005 (UTC)
- Hm, I'm not sure. In point of fact, I thought that alumnae was a misspelling of alumni. Having looked the word up, I understand your question - from [93], assuming "founders" is intended to refer to the Dining Group, it is not clear that there were only women in the Dining Group. In fact, it's not clear to me that all of the members of the Dining Group were Cambridge alumnae/alumni at all. So perhaps this sentence should be reworked unless you have a more detailed source. Lupin 00:17, 9 Apr 2005 (UTC)
- Perhaps reword along the lines of "Lucy Cavendish was founded in 1965 as a result of an initiative by a group of Cambridge alumnae ..."? So even if some alumni and other males were involved in the actual foundation, the original guiding lights get their due prominence. Man vyi 06:19, 9 Apr 2005 (UTC)
- Thing is, nothing I've read on the Lucy Cav website indicates to me that the founders were Cambridge alumni at all - ie it doesn't say that they graduated at Cambridge or were students there, merely that they were working as academics in Cambridge. Perhaps calling them "a group of Cambridge academics" would be more accurate. Lupin 14:53, 9 Apr 2005 (UTC)
- That would seem to cover the situation. Man vyi 15:10, 9 Apr 2005 (UTC)
Crests and shields
Hi. You're doing a fine job with creating all those shields. Could I suggest, though, that in future you name them "XXX shield" instead of "XXX crest", since none of them are crests? Keep up the good work! Marnanel 18:25, 4 Jul 2004 (UTC)
- OK, will do :) Lupin 08:18, 6 Jul 2004 (UTC)
Sidney crestshield
Hi, I noticed you're interested in heraldry and Sidney... do you know what the thing on the right of the sidney shield is meant to be? I've only found little bitmaps on the web which are too small to decipher. Any better image or the blazon would be helpful. Cheers, Lupin 09:52, 6 Jul 2004 (UTC)
- It's argent a bend engrailed sable, impaling or a pheon azure. A pheon is a "broad arrow", the same device that was once printed on prisoners' clothes: perhaps some member of the Sidney family was once in charge of prisons. Marnanel 13:05, 6 Jul 2004 (UTC)
- Thanks! Is there somewhere I can find all these blazons? Lupin 15:35, 6 Jul 2004 (UTC)
- Not as far as I know, though [CUHAGS http://www.cam.ac.uk/societies/cuhags/] might be able to help you. The Sidney blazon is mentioned here [94]. If you need a hand searching for a particular blazon I'll try to help as much as I can, though these days I only have access to Google like anyone else.
- BTW, when you have a chance, could you perhaps render the University's own arms-- gules, a cross ermine between four lions passant gardant or, and on the cross a closed book fessways gules clasped and garnished gold, the clasps downward? It'd go well on the University's own page, as well as in the corner of Template:University of Cambridge. Marnanel 23:30, 6 Jul 2004 (UTC)
- I've had a go at this now. I've also been looking for the Caius blazon without joy so far. Any ideas? Lupin 13:02, 9 Jul 2004 (UTC)
cymbal article
Great work on the cymbal article, it was on my list of things to do when I felt strong enough! Andrewa 05:58, 8 Jul 2004 (UTC)
- Thanks! Lupin 10:24, 8 Jul 2004 (UTC)
Pics
Nice pics on Irish theatre and Irish poetry. Bmills 10:28, 16 Jul 2004 (UTC)
Cambridge Shields
A while back I needed to make up a few cambridge university shields for a project I was working on, and only recently went to upload them to Wikipedia. I see you've beaten me to it, however (purely aesthetically) I prefer the look of my shields. I put up a page comparing them, and in each case, I prefer the look of mine.
I don't know much about heraldry, however I find the embossed look much more attractive. I appreciate they're not as 'technically accurate', that's why for each one, I uploaded the un-embossed image with it.
I obviously wasn't going to change all the shields over on the college pages without getting your thoughts first though. --Prisonblues 14:36, 17 Jul 2004 (UTC)
- My main query would be the copyright status of your images -- since mine are created from scratch or using public domain resources, I've been able to put them under the GFDL. Do yours use existing material, and if so are they available under a GFDL-compatible license? For example, your shield for the University is identical to the ones on the Cambridge website; my impression is that the University doesn't want (high-resolution) copies of this image widely distributed. Lupin 11:46, 18 Jul 2004 (UTC)
As I understand it, it's okay to use these images under Fair Use. The situation is extremely complicated, however these are good starting points to look at stuff. For now I've added a full Fair Use notice to the two University images. --Prisonblues
- As I understand it, GFDL images are preferred over non-GFDL images (including fair use images) since their use (and, in particular, their reuse) are far less problematic legally. I would favour keeping GFDL images over using fair use images where the choice exists. Of course those GFDL images can be improved upon, but I think replacing them with fair use images would be a retrograde step. Lupin 16:22, 18 Jul 2004 (UTC)
Hmmm, I reckon as long as you've clearly linked to the GFDL version in the iamge description, then anyone who is going to be using it for purposes that wouldn't be fair-use, or who isn't in a fair-use jurisdiciton area, can use the GFDL version. I'm not sure though, I'll give it some more thought. In the meantime I might have a go at touching up some of your crests, especially some of your colours --Prisonblues 17:25, 18 Jul 2004 (UTC)
- OK. I can send you the SVG sources for the images if you like. Alternatively I could copy the colours from your images myself if you tell me the worst offenders :) Lupin 17:36, 18 Jul 2004 (UTC)
Ok, I'm going to have a little time available in the next few days, send me (removed address to stop spam) the SVG files and I'll see if I can get them looking special. --212.159.124.175 22:47, 18 Jul 2004 (UTC) (Prisonblues)
- I uploaded a tarball. I'd be grateful if you could upload any changes you make. Have fun! Lupin 07:15, 19 Jul 2004 (UTC)
Category:Proofs
You seem to be the person who created this category. Did you have in mind that it would include
- articles that embody proofs, or
- articles about the concept of proof?
Is it being treated as the latter. It seems like a grossly inappropriate, because highly misleading, name for that. I would expect a category that is to include articles about the concept of proof to be called proof rather than proofs. What do you think? Michael Hardy 21:31, 29 Jul 2004 (UTC)
- I had in mind
- articles that contain proofs
- I don't feel that creating the category lends my opinion more weight than others', though. Lupin 23:15, 29 Jul 2004 (UTC)
Emacs
Hi, I did the image caption. I noticed that emacs was on the list of things which needed caption work and decided to give it a go. The caption docs said that the caption should draw the reader in and do more than simply title the image, hence the lengthy caption. Being new to wikipedia I defer to your judgement, but would like to know what that judgement was. Thanks.--Kop 01:27, 7 Aug 2004 (UTC)
- My judgement was that it was telling me too much for such a simple image. I think that for a caption to draw someone in it has to be short and to the point or the boredom factor creeps in - if I want to read a big chunk of text, there's the article right there. Anyway, it is a nice piece of writing and I think that as part of the opening paragraph it does do a good job of enticing people to read further. Lupin 07:39, 7 Aug 2004 (UTC)
- Ok, that's reasonable, although I'm not sure it entirely jibes with the style guide. If you like the text in the opening paragraph the style guide does say that it can be both there and in the caption. My concern is that the caption that's left is almost exactly the same caption that the Wikipedia:WikiProject Writing Captions people thought needed work. On their list I've removed the strikeouts signifying doneness which I put over emacs when I changed the caption; the ball's back in their court. --Kop 17:41, 7 Aug 2004 (UTC)
- Having read the style guide, I think it is far too rigid. If there is a simple image or technical diagram which is pretty self-explanatory I think it should have a correspondingly simple caption, which need not even be a complete sentence if things are clearer that way. Lupin 08:20, 8 Aug 2004 (UTC)
- Ok, that's reasonable, although I'm not sure it entirely jibes with the style guide. If you like the text in the opening paragraph the style guide does say that it can be both there and in the caption. My concern is that the caption that's left is almost exactly the same caption that the Wikipedia:WikiProject Writing Captions people thought needed work. On their list I've removed the strikeouts signifying doneness which I put over emacs when I changed the caption; the ball's back in their court. --Kop 17:41, 7 Aug 2004 (UTC)
who are you Lupin?
Hi, I've recently been dobbing about on pages that have some slight conection to Lancaster University and have found that you seem to be a user that has been there first and edited it. Making me wonder if you attend Lancaster Uni, like I do. I see that you have interests in climbing, as do I. Do I know you? Tell us about yourself. User:Soloist
- I don't know if you know me - who are you? :-) I've recently left Lancaster, and indeed the UK. (I'm not particularly interested in climbing although I happened to take a photo of a climber). Lupin 20:55, 26 Aug 2004 (UTC)
- Never mind, I'm a current student of Lancaster University. Studying Physics. And climbing everything I can find! When did you leave? where are you now Soloist 19:38, 27 Aug 2004 (BST)
- I left a fortnight ago - I'm living in Canada at the moment. Lupin 02:02, 28 Aug 2004 (UTC)
I admire your copyediting (as seen on Emacs, you've improved my writing). Aside from re-reading "The Manual of Style" (which I just bought another copy of, it's now in the 4th edition) how can I improve? What's your secret? --Kop 02:57, 28 Aug 2004 (UTC)
- Thanks for the compliment. I really don't have a clue how to improve one's copyediting skills. Perhaps reading a lot of well-written material is the key. I've never read the manual of style, myself. Lupin 12:18, 28 Aug 2004 (UTC)
Monopoloy captions
Hi, Lupin, I hope you don't mind I just put the full-sentence Monopoly (game) caption back with explanation on the edit summary. I was trying to provide some context to people who have never seen the game so they'd know more than "in progress," plus trying to comply with guidelines at Wikipedia:Captions, the first of which is that captions should consist of complete sentences. Please edit the caption as you see fit to help it follow the guidelines. Also, please look over the guidelines, and if they need to be revised, please help. Also see Wikipedia_talk:Captions - there are several discussions on particular examples. -- ke4roh 20:27, Sep 1, 2004 (UTC)
- I dispute the usefulness of these guidelines. Maybe I will attempt revision one day, although I feel the tide of opinion is somewhat against my own. I've tried to make your caption directly relevant to the image, which is the biggest failing of many of the captions I've seen which cite the guidelines. (Perhaps it could also be deleted altogether under the "nominative" exception at Wikipedia:Captions#Exceptions to the rules). Lupin 03:09, 2 Sep 2004 (UTC)
- It's now a full sentence. Lupin 17:22, 3 Sep 2004 (UTC)
- Thanks! -- ke4roh 18:50, Sep 3, 2004 (UTC)
- I'm curious: what's your opinion on captions? Could the guidelines be made more useful? I must admit I've had quite a time writing captions for subjects of which I knew nothing before reading the article, and with image description pages full of <sarcasm>informative</sarcasm> text like "Camel drinking Coca-Cola," it does challenge me to come up with some more context for the picture. So, I'm trying to improve the background information on images I've contributed and images I wonder about while captioning. -- ke4roh 18:50, Sep 3, 2004 (UTC)
- I haven't devoted much thought to this, so please take this with a pinch of salt. But I would say that if you want to write good captions then you first have to decide what the function of a caption is. IMO, the primary purpose of a caption is to describe the image, by which I mean to give a reasonably detailed account of what the image depicts. Captions may also answer the question "why is this image in this article;" alternatively, this question could be answered in the article. I don't think a hard and fast rule can be given to say which is better, although clearly this question should be answered somewhere unless the answer is blindingly obvious.
- Broadly speaking, other information belongs in the article and not in an image caption. I am of the opinion that dogmatic guidelines such as "thou shalt use complete sentences" and "thou shalt not use the verb to be" are unhelpful since every image needs a caption to be tailored to it and not to be constrained by some arbitary set of rules. Lupin 21:55, 3 Sep 2004 (UTC)
- I tend to agree with you. The opening of Wikipedia:Captions attempts to summarize the purpose of a caption: to tie the image to the article and to provide some context for the picture. It's quite challenging to write a caption that accomplishes those goals and is not a full sentence, and writing a full sentence leads the captioner towards those goals, hence it's the top priority and an easy one to meet. Now what's the difference between these two captions for Image:Emacs.png?
- The default splash screen, which greets the user when Emacs is run in a graphical environment.
- The default splash screen greets the user when Emacs is run in a graphical environment.
- The second is a complete sentence (the first is only a fragment for want of a verb because "greets" is buried in a prepositional phrase), and it's one word and one comma shorter. When I read the first caption, it seems halting and incomplete (though it clearly describes the image and provides some context). The second one delivers a complete thought.
- On the requirement for no passive sentences, I had an 8th grade (of 12) English teacher who insisted that we write paragraphs of three or more sentences and at most one of thse sentences could contain a conjugation of "to be." Why? Because "to be" doesn't describe action. Excessive use of "to be" can put the reader to sleep. I occasionally watch scientific NASA films. My chief complaint: "Many passive sentences were constructed." (But wouldn't that be clearer and more interesting if it were "The writers butchered this video with passive verbs throughout the script."
- Sometimes a passive sentence is appropriate. In law, the North Carolina government writes, "Each employees hands must be washed with soap and warm water before returning to work." The non-legal writer might be tempted to say "Each employee must wash his or her hands...", but the law is not concerned with who washes, only with the fact that the hands are washed. I have yet to nocice a caption requiring passive voice, though I wouldn't be surprised to see one. Sometimes I edit captions to make them active, but not nearly as often as I'll edit them to make them complete sentences.
- Consider the difference between these two captions:
- The default splash screen greets the user when Emacs is run in a graphical environment.
- The default splash screen greets the user running Emacs in a graphical environment.
- In both cases the primary verb is "greets", but the first involves "is" and the second does not. The second also comes up two words shorter and clarifies that the user runs Emacs.
- What belongs in the caption versus the article? We went 'round and 'round aobut that with the caption for Image:Spinal_Tap_logo.jpg for heavy metal umlaut. I would add a little extra information to the caption and my text wound up in the article minutes later, with the caption replaced by "Spinal Tap". (It was on the main page that day.) "Spinal Tap" doesn't tell the reader anything more than they can get from looking at the picture, though, so I tried again, and we wound up with the information in both places. It's particularly difficult to write a caption for an image like that because there isn't much context. In that respect, the information in a caption should be context - some more information for the readers about the circumstances of the photo.
- The guidelines at Wikipedia:Captions are just that — guidelines. I no more expect to see the perfect caption than I expect to see the perfect article. But that said, I don't see why we shouldn't strive to write better captions. Your thoughts? -- ke4roh 12:09, Sep 4, 2004 (UTC)
- Consider the difference between these two captions:
- The default splash screen, which greets the user when Emacs is run in a graphical environment.
- The default splash screen greets the user when Emacs is run in a graphical environment.
- The second is a complete thought, and a complete sentence which reads flowingly, I agree. Its failing is that it makes no direct reference to the image. Without doing so, the potential for reading it as a fact whose spatial proximity to the image is merely coincidental is high. I find this kind of ambiguity infuriating. The subject of a caption should, in the first instance, be the image. Making this tacit assumption on the part of the reader is unjustifiable in most situations, I feel.
- I am also not convinced of the ennui induced by the verb "to be". I am completely convinced that sentence constructions whose sole purpose is to avoid using this forbidden verb lead to contortions which are awkward and confusing.
- The use of complete sentences should not be a requirement for captions, in my opinion. If there is not enough information available for a caption which has direct relevance to an image, then why not use a simple tag? I agree that in general this is suboptimal, but this is entirely different from saying that a caption which consists of complete sentences is always better than one which doesn't. Less is sometimes more. Lupin 14:49, 4 Sep 2004 (UTC)
- I see your points. Our discussion on the first point reduces to a question of how much to trust the reader to interpret and think. At times it can be a tough judgement call. In the more difficult cases, it becomes important to craft the caption to clearly state what is in the picture. I typically trust the reader to expect that at least one of the nouns in the caption would describe the picture. (See for example water skiing.) In the Emacs caption 2 immediately above, the reader must decide if the picture is of a splash screen, a user, or a graphical environment. Perhaps the guidance could be revised to indicate that the caption should clearly refer to the picture. (What do you think of the water skiing caption?)
- On contortions to avoid ennui from "to be", Winston Churchill put it nicely (though he was addressing a complaint about prepositions at the ends of sentences): "This is the sort of pedantry up with which I will not put." "To be" has its place, and it should be used in some cases. It's not worth contortions to avoid, but it is worth a moment's thought.
- Where would a simple tag better suit an image than a full-sentence caption?
- Many thanks for the enlightning conversation. -- ke4roh 23:36, Sep 4, 2004 (UTC)
- Take a look at Ford Mustang. It may be one of those places where a full sentence is overkill, but if we had more information about the various models in the text (e.g. "The 1965 Ford Mustang introduced the whiz-bang super accelerator"), perhaps it wouldn't seem so satisfactory to look at the pictures with those simple tags. (Therein lies the dilemma. If we haven't thought of a good caption, perhaps a short one will do in the meantime, but that short caption could always use some expansion to explain why that particular picture was chosen for the article.) -- ke4roh 23:46, Sep 4, 2004 (UTC)
- My question about your "trusting the reader" to interpret a caption correctly is this: why? When it is so simple (if slightly inelegant on occasion) to avoid this potential source of misunderstanding, is it not better to do so?
- As with many things, judgement has to be exercised here. In the case of the Water skiing caption, my personal feeling is that the caption is appropriate, since the connection to the image is plain. Others (who may never have come across water skiing before) may disagree however, in which case the caption should be clarified. Lupin 00:26, 5 Sep 2004 (UTC)
- Perhaps a new guideline is in order: "The caption should clearly identify the subject of the picture without detailing that which is plain to be seen." I'd put that as number one or two (I lean towards 2, but expect you would prefer 1). In fact, I have a hunch you'd remove the complete sentence guideline entirely, but captions like
- Adrian Carmack working on the Baron of Hell. The DOOM monsters were digitized from clay models.
- (on Image:Adrian_Carmack.jpg for DOOM) bother me for their choppiness as much as those ambiguous ones bother you. Your thoughts? What's left to resolve? -- ke4roh 13:15, Sep 6, 2004 (UTC)
- I think that given that people seem so fond of guidelines, something like what you suggest is in order. However I would do it like this: the guideline should say "The caption should clearly identify the subject of the picture" and then in the exceptions section point out that things which are obvious even to someone coming to the subject for the first time may be omitted, provided this is not to the detriment of the caption. Otherwise, the guideline itself provides a convenient loophole for those wishing to ignore it. Moreover, I think that "detailing what is plain to be seen" is often precisely what a good caption should do -- a good informative image has an easily identifiable subject, and a good caption should describe the subject of the image.
- I agree that "choppy" captions are bad. I would favour replacing the first guideline with one about captions of a certain length flowing off the tongue... but of course that's harder to define, let alone "enforce".
- Putting either the "full sentences" guideline or an "anti-choppiness" guideline as the number one priority seems to me to approach the problem backwards - content should rule over style, in the first instance. Stylish captions with obscure or irrelevant content should not be favoured over those with relevant content which are phrased badly; instead, the good content should be rewritten stylishly (but unambiguously), when this is possible. This is my main gripe with this purely stylistic guideline being given so much emphasis. Lupin 13:37, 6 Sep 2004 (UTC)
- I'm thinking about a major refactoring of Wikipedia:Captions to address your concern and make the justifications for each of the guidelines clearer. (I just whipped up the numbered guidelines one day based on all the discussions we'd had until that time, and I was somewhat surprised nobody had any comments about them until yours.) I'm imagining using the TOC box as the numbered list and having a subsection to address each of the guidelines, explain its relevance, and discuss any exceptions to that particular guideline. I'm also inclined to reference the sections of talk pages that generated each guideline. Of course, the refactoring will take a few minutes :-). I also don't want the page to be prohibitively long - just enough to cover the subject.
- As for approaching the problem backwards, there is a method to my madness (not to say it's right, just a method). Namely, if people read and follow only one rule, it should be the one most likely to result in a good caption. I would expect people to make the caption describe the picture in the absence of explicit instruction to do so (though some of the captions that otherwise attempt to meet the guidelines don't do that clearly enough). In fact, when I wrote a chapter for a real book, they insisted on exactly two things: captions must be full sentences, and images must be referenced in the body of the work. Everything else was up to the individual authors and editors. It surely generated better captions than no guidance at all. -- ke4roh 01:42, Sep 7, 2004 (UTC)
I see you've found the above. The syntax [[Image:{{{crest}}}.png]] doesn't work, because of the software. [[Image:{{PAEGNAME}} crest.png]] works fine, however.
James F. (talk) 16:44, 6 Sep 2004 (UTC)
- OK. The problem with the latter is that it entails renaming a whole load of images to fit this arbitrary convention. The current solution seems to work, however. Lupin 16:46, 6 Sep 2004 (UTC)
Bug in Ackermann function image
Looks like you uploaded image:Ackermann.png --- in case you hadn't noticed, there is a bug in it --- in the second case statement, it should read if m > 0 and n = 0.. Perhaps it was accidently cropped?
homotopy image
Hi Lupin,
I'm writing the article fr:Homotopie in the French Wikipedia and I was wondering if I could use the image you created.
Thanks in advance, fr:Utilisateur:Deviles.
Article Licensing
Hi, I've started a drive to get users to multi-license all of their contributions that they've made to either (1) all U.S. state, county, and city articles or (2) all articles, using the Creative Commons Attribution-Share Alike (CC-by-sa) v1.0 and v2.0 Licenses or into the public domain if they prefer. The CC-by-sa license is a true free documentation license that is similar to Wikipedia's license, the GFDL, but it allows other projects, such as WikiTravel, to use our articles. Since you are among the top 1000 Wikipedians by edits, I was wondering if you would be willing to multi-license all of your contributions or at minimum those on the geographic articles. Over 90% of people asked have agreed. For More Information:
- Multi-Licensing FAQ - Lots of questions answered
- Multi-Licensing Guide
- Free the Rambot Articles Project
To allow us to track those users who muli-license their contributions, many users copy and paste the "{{DualLicenseWithCC-BySA-Dual}}" template into their user page, but there are other options at Template messages/User namespace. The following examples could also copied and pasted into your user page:
- Option 1
- I agree to [[Wikipedia:Multi-licensing|multi-license]] all my contributions, with the exception of my user pages, as described below:
- {{DualLicenseWithCC-BySA-Dual}}
OR
- Option 2
- I agree to [[Wikipedia:Multi-licensing|multi-license]] all my contributions to any [[U.S. state]], county, or city article as described below:
- {{DualLicenseWithCC-BySA-Dual}}
Or if you wanted to place your work into the public domain, you could replace "{{DualLicenseWithCC-BySA-Dual}}" with "{{MultiLicensePD}}". If you only prefer using the GFDL, I would like to know that too. Please let me know what you think at my talk page. It's important to know either way so no one keeps asking. – Ram-Man (comment) (talk)[[]] 15:31, Dec 9, 2004 (UTC)
Hello. When you write a new article on mathematics, could you add it to the list of mathematical topics? (E.g., I see that predual is not there. Thanks. Michael Hardy 00:54, 8 Feb 2004 (UTC)
- OK, I'll try to remember. Lupin 19:44, 8 Feb 2004 (UTC)
Lupin, you removed my reference to the BLT-theorem in operator norm, commenting that it is not standard terminology (which is probably correct). Unaware of this, I went on and made a page at BLT-theorem. Can you suggest an alternative name for this article? Any advice is appreciated. -- Jitse Niesen 16:51, 8 Feb 2004 (UTC)
- My suggestion would be "continuous linear extension". BLT made me think of bacon, lettuce and tomato :-) Lupin 19:44, 8 Feb 2004 (UTC)
Hi Lupin, I'm sure your edit to Template:NW England was done with the best of intentions, but please note that it is a list of districts, not of towns. Also, general practice is only to mark edits as minor if they do not involve adding or removing text. Thanks, Warofdreams 18:59, 25 Feb 2004 (UTC)
Lupin, don't keep replacing Corel Draw, Illustrator, et al, I've added "List of vector graphics software". -- user:zanimum
- ok - sorry about that. hastily merged edit problems. Lupin 15:41, 2 Mar 2004 (UTC)
Well done on the Jimmy Blades ex-stub! :) Nevilley 13:48, 12 Mar 2004 (UTC)
- ta! Lupin 00:01, 13 Mar 2004 (UTC)
Hi Lupin, I hope you are not offended by some changes I made at Royal Academy of Music. I felt that the "see alsos" weren't quite right, and that the article was better served with a link to Music school, which can then act as a hub to all appropriate institutions and catch the requirement for lists of them in other articles, but with lower maintenance. Hope this is OK. Also, should the article mention the RAM's view of itself as the best, a view shared with some others? I note that that RCM article also says it's one of the most prestigious ... I dunno, is this a bit of a can of worms?? Nevilley 08:54, 17 Mar 2004 (UTC)
- Looks fine to me! As to the prestige thing, I'm not really qualified to comment... but there is an informal ranking of these places which varies depending on who you talk to. It may be worth preserving some flavour of that, assuming NPOV issues can be resolved. Tricky though. Lupin 10:10, 17 Mar 2004 (UTC)
- A comment - It can be stated that the conservatory and the academy both view themselves as highly prestigous institutions without POVing - all that says is that they think highly of themselves, which nobody would trust any more than, for example, a gold medal issued from one's own private event in which they are the sole judge. At least, I hope nobody does. Falcon 06:21, Mar 23, 2004 (UTC)
Hi it's PD not pd in the msg tag (it's case sensitive). Secretlondon 19:46, 24 Mar 2004 (UTC)
- Yup, thanks. Lupin 19:58, 24 Mar 2004 (UTC)
Hello. I'm new here. I noticed your change of formatting to remove the subscripts in the "LaTeX" logo. I know in Tex its LaFailed to parse (unknown function "\TeX"): {\displaystyle \TeX} . Is there anyway to include that within the refrence to solve the problem? Sreyan 22:27, 31 Mar 2004 (UTC)
- I think the picture of the logo on theLaTeX page makes it clear how it should look. Is that what you mean? As you can see, the wikipedia TeX support doesn't include the \TeX macro. Lupin 22:55, 31 Mar 2004 (UTC)
Hey just wondering why you edited out all of the links that I added. I looked though Wikipedia guidelines and did not see anything that I was doing wrong. I felt my additions of external links was right in line with what has been done on pages such as http://en.wikipedia.org/wiki/Gibson http://en.wikipedia.org/wiki/Electric_guitar and also http://en.wikipedia.org/wiki/Music_lessons. I was just curious as to how my sumbissions were different from the one's mentioned above. I felt that on a page about the violin etc. it was reasonable to add a link to a site that teaches how to play the violin in addition to providing free tablature. Jeremy Casey
- As far as I could see, you were linking to websites selling teaching materials rather than teaching materials per se. This seems silly at best (should we link to every book on Amazon covering a particular subject?) and also open to abuse as a way of getting free advertising. Since I don't spend my time reading the guidelines I don't know of any specific guideline which says this is Bad, but I have a feeling that there probably is one. Lupin 09:22, 25 May 2004 (UTC)
- That's fine. I just felt like that links to commercial sites should all be allowed or none. I will just go ahead and delete the links that lead to the Fender and Gibson sites.
- Actually I think these should stay, since linking to a company's website from an article about a company is perfectly natural. On the other hand, linking to a retailer's page selling a specific product from a page dealing with the product but not directly related to that retailer seems to cross the line. Lupin 16:24, 25 May 2004 (UTC)
TeX
Hello. On Wikipedia, TeX looks very good when "displayed", but often looks hideous, sometimes nearly to the point of illegibility, when embedded in lines of text. I've fixed the problem in free probability. I will add that article to the list of probability topics. Michael Hardy 17:49, 25 May 2004 (UTC)
- I was hoping that the stuff on that page would end up rendered in html automagically. I don't really understand why it wasn't as it was all simple stuff... but point taken. Lupin 18:15, 25 May 2004 (UTC)
Categorization
Thanks for the heads-up. I agree with you. I guess everyone is still learning how to make best use of categories. Pete/Pcb21 (talk) 12:53, 31 May 2004 (UTC)
Why not? Dysprosia 22:21, 31 May 2004 (UTC)
- I think mathematical analysis is a strict superset of calculus. The way it was said that it's a subcategory of calculus. Lupin 22:25, 31 May 2004 (UTC)
- Thanks. Consider an edit summary to say so, in future? Dysprosia 22:36, 31 May 2004 (UTC)
- Uh, yeah :P Lupin 22:37, 31 May 2004 (UTC)
OBJECTION!!! re: Jewish "mythology"
OBJECTION!!!
I OBJECT most strongly to placing the classical Jewish texts under the category "Jewish Mythology". "Category:Jewish mythology" and the Subcategories being "Category:Jewish texts" And then God becomes ARBITRARILY part of "mythology"! Perhaps Midrash could go with it, BUT not these others. I vote that the titles be REVERSED and that "Jewish mythology" become a Subtext of Jewish texts. I plan to take this to arbitration!IZAK 12:25, 6 Jun 2004 (UTC)
- Yes, I think this is very offensive to large numbers of people, too. If you took the time to check the edit history of Category:Jewish texts you'll find that it wasn't me that made this change, it was User:Eequor. I "fixed" that page, but I've yet to become embroiled in controversial issues and don't intend to start, so if this becomes contentious I won't make further changes. You could of course have made this change yourself... I suggest you do so on the God page. Lupin 14:27, 6 Jun 2004 (UTC)
Dear Lupin: Thanks. I have done some follow-up...IZAK 08:25, 10 Jun 2004 (UTC)
Hey, thanks for placing my Ont_Uni template on all the university pages... I just made it this morning and was planning to place it on all the pages now, but found it done!
Thanks again, Radagast 22:56, Jun 9, 2004 (UTC)
Emmanuel College picture
Thanks loads for fixing the picture of Emmanuel College! :) I have taken some more pictures and listed them on my user page — would you like to fix those too? One of them is too dark, for example. Thanks! — Timwi 06:48, 11 Jun 2004 (UTC)
Skull and crossbones
((User 216.68.189.162 posted this on my User page by mistake. BTW thanks too. Jorge Stolfi 04:46, 12 Jun 2004 (UTC)))
- Thank you for placing a fiercer looking crossbones on the skull and crossbones page. That crossbones looks more like a poison skull and crossbones than the Jolly Roger. The Jolly Roger looks more like a pirate skull and crossbones.
Crumbs saucer fork.jpg
The image Crubs saucer fork.jpg that you uploaded on the 26th March isn't being linked to anything - isolated images aren't much use on Wiki...was this originally planned for an article? If not, perhaps this image could be deleted... Nick04 14:33, 14 Jun 2004 (UTC)
Love the new...
Hammer and sickle, it's great! Mark Richards 15:58, 1 Jul 2004 (UTC)
- ^ As this