Jump to content

User talk:Lupin/archive9

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

This is an old revision of this page, as edited by Maluka (talk | contribs) at 06:41, 30 January 2006 (→‎The [[Nardcore]] band Agression is purposely spelled with one G). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Archive: 1 2 3 4 5 6 7 8

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.

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)[reply]

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)[reply]

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)[reply]

That's fine with me. Lupin|talk|popups 23:28, 26 January 2006 (UTC)[reply]

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 talkcontrib 12:26, 27 January 2006 (UTC)[reply]

Again, performance issues would be my concern. Still, I'll think about it. Lupin|talk|popups 21:58, 27 January 2006 (UTC)[reply]
Even if it didn't get the history until the menu item was selected, it would still be very useful. Right now, I get the history anyway, so waiting until the item is selected would not actually be a net performance hit to the system. – Doug Bell talkcontrib 23:57, 27 January 2006 (UTC)[reply]
OK, I've had a go at this in the dev version. Lupin|talk|popups 03:07, 28 January 2006 (UTC)[reply]
I'm concerned about performance, too, so I'd be grateful if you do some testing and report back here before I update my copy of the dev version. Thanks in advance. --Eddi (Talk) 06:45, 28 January 2006 (UTC)[reply]
I don't see the new menu items (Windows XP/IE). – Doug Bell talkcontrib 09:02, 28 January 2006 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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 talkcontrib 02:26, 29 January 2006 (UTC)[reply]
I continued to get stack overrun (or overflow, don't remember exact wording) and other stability problems, so I've reverted to the non-dev version for now. (One of the stack overflow error boxes listed line 637 instead of 629, HTH) – Doug Bell talkcontrib 02:53, 29 January 2006 (UTC)[reply]
Thanks for the bug report. I think I've fixed that now. Lupin|talk|popups 15:52, 29 January 2006 (UTC)[reply]

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? nl:Gebruiker:Erwin85 16:05, 27 January 2006 (UTC)

Sure, go ahead. Lupin|talk|popups 21:27, 27 January 2006 (UTC)[reply]

AV badwords

Is the list case-sensitive when filtering recent changes? haz (user talk) 16:54, 27 January 2006 (UTC)[reply]

No, it's case-insensitive. Lupin|talk|popups 21:29, 27 January 2006 (UTC)[reply]

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)[reply]

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)[reply]
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)[reply]
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)[reply]
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)[reply]

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)[reply]

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)[reply]
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
You want to sign with exactly four consecutive tildes, no spaces or anything in between like this: ~~~~. Lupin|talk|popups 04:06, 30 January 2006 (UTC)[reply]
Color me red. It's been some time. Maluka 06:41, 30 January 2006 (UTC)[reply]

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)[reply]

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)[reply]
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)[reply]
You were doing odd things with quotation marks - I've corrected it, so please clear your cache and try again. Lupin|talk|popups 20:23, 29 January 2006 (UTC)[reply]
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)[reply]

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)[reply]

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)[reply]
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)[reply]

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)[reply]

You shouldn't be using newOption - that's an function which the script uses itself. Instead, just type
 popupRedirAutoClick='wpSave'; 
Lupin|talk|popups 22:44, 29 January 2006 (UTC)[reply]

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)[reply]

Just caught your edit, looks like you fixed it. D'oh. Stupid problem on my end. --Cyde Weys 00:52, 30 January 2006 (UTC)[reply]