Jump to content

User talk:Lupin/archive8

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

Archive: 1 2 3 4 5 6 7

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

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

  • 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.
Thanks for the offer of code! Lupin|talk|popups 23:31, 1 December 2005 (UTC)[reply]

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

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

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

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

2 questions

[edit]

Sorry to bother you, but I have 2 questions.

  1. How easy would it for me personally to have the one with the "actions" and "user" drop down menus rather than the sprawling links?
  2. 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)[reply]

  1. 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.
  2. 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
automatically edits the page and submits it (this one changes all occurences of "teh" to "the", is a minor edit and gives the edit summary "spelling correction"). Is that what you mean? You can add a tab to link to pages like this in the usual way. Lupin|talk|popups 19:10, 2 December 2005 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
Perhaps you missed it? ^^^ Heh... --Celestianpower hablamé 18:51, 5 December 2005 (UTC)[reply]
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)[reply]
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)[reply]
[edit]

A couple of suggestions for the popups, the one I suspect is easier first.

  1. 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 [1]. (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.
  2. 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)[reply]
  1. This is easy, I'll put this in the dev version in a minute.
  2. 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)[reply]
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)[reply]

Peer review

[edit]

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

[edit]

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

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)[reply]
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)[reply]
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);
}
It may be more appropriate to change the poster so that it aborts the download once it realizes that the post has succeeded, without waiting for the response page to load. Lupin|talk|popups 03:15, 4 December 2005 (UTC)[reply]
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)[reply]

Rollback feature

[edit]

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

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

Popups bug report - breaks extended EXIF data

[edit]

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

Thanks for the bug report. This should now be fixed in the latest version. Lupin|talk|popups 04:20, 4 December 2005 (UTC)[reply]
Yes it is now fixed, thank you. Thryduulf 10:44, 4 December 2005 (UTC)[reply]

need admin help

[edit]

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

Done. Lupin|talk|popups 15:29, 4 December 2005 (UTC)[reply]
Thank you. I think I reverted nine offenses. — FREAK OF NURxTURE (TALK) 15:33, 4 December 2005 (UTC)[reply]

Siege of Edo / Wikipedia policy question

[edit]

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

Sources for Space warfare

[edit]

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

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

Joelle Leandre

[edit]

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

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

Hello

[edit]

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

Ah, now i get it. That was a mass-mail. Peace! --Striver 21:23, 4 December 2005 (UTC)[reply]
Ok, thx, ill try :) --Striver 21:34, 4 December 2005 (UTC)[reply]

Sources

[edit]

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

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

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

[edit]

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

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

Unref-talk

[edit]

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

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

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

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

Small request for popupsdev.js

[edit]

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

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)[reply]
Frighteningly efficient! Thank you! Soo 11:34, 6 December 2005 (UTC)[reply]
One small bug that I just noticed; it removes the link, but the edit summary is just "(undefined)". Perhaps something more informative would be more appropriate! Soo 02:56, 14 December 2005 (UTC)[reply]
Quite right. This should now be fixed. Thanks! Lupin|talk|popups 03:38, 14 December 2005 (UTC)[reply]

Barry Geraghty

[edit]

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

Rollback feature for RC feed

[edit]

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

Hi, I'm afraid that rollback only works for admins. Are you an admin? Lupin|talk|popups 02:41, 7 December 2005 (UTC)[reply]

Impostor

[edit]

User:Lupin2. — BRIAN0918 • 2005-12-7 04:15

Thanks! Lupin|talk|popups 04:34, 7 December 2005 (UTC)[reply]

another bug with the popups - redirect bypass script

[edit]

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

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)[reply]
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)[reply]
Yes. I use the dev version all the time, so while it may break sometimes, it tends to get fixed fairly quickly. Lupin|talk|popups 12:35, 7 December 2005 (UTC)[reply]

Sources for Splendid Isolation

[edit]

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

References for space warfare

[edit]

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

Time trial bicycle is not really mine.

[edit]

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

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

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

An obvious idea

[edit]

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

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

Sources for Babette:

[edit]

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

[edit]

how can I translate it to hebrew? Avichai 18:29, 8 December 2005 (UTC)[reply]

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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
I'll try that and let you know what's going on. Avichai 14:03, 11 December 2005 (UTC)[reply]
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)[reply]
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: [2] Lupin|talk|popups 16:28, 11 December 2005 (UTC)[reply]
It isn't working. and what about the 'Kb' string?? Avichai 17:47, 11 December 2005 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
In here you can see the links. it should be somthing like "correct the link"... Avichai 18:40, 11 December 2005 (UTC)[reply]
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)[reply]

Sources for ILLIAC III

[edit]

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

Awolf002 RfA

[edit]

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

Dave Mohammed (and probably others)

[edit]

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

Redirect bypass for {{categoryredirect}}

[edit]

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

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

another possible bug with popups.js

[edit]

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

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

Security problem

[edit]

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

Luckily the devs have thought of this, and javascript pages in your user space are automatically protected from editing by others non-sysops. Lupin|talk|popups 18:40, 9 December 2005 (UTC)[reply]
Oh ok, thanks. Is there some place I can find out more about such things? --Doradus 19:05, 10 December 2005 (UTC)[reply]
I'm not sure that there is. This fact doesn't seem to be widely known. I'd echo the comments of Chairboy and Mike Dillon below about security worries. Lupin|talk|popups 16:31, 11 December 2005 (UTC)[reply]
How did you learn about User:Xxx/monobook.js? From the Mediawiki source code? --Doradus 19:54, 11 December 2005 (UTC)[reply]
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)[reply]

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

Yes. Same applies to the authors of every other program you run and website you visit. - CHAIRBOY () 19:26, 10 December 2005 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]

Eden Hospital

[edit]

Hi. I have added the source of the article Eden Hospital.Thank you. Dwaipayanc

Image:Stravinsky picasso.png

[edit]

Hi, could you clarify why you tagged Image:Stravinsky picasso.png as PD? Thanks, Mark1 20:05, 9 December 2005 (UTC)[reply]

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

Darn- it would be nice to have a PD pic of him. Mark1 20:36, 9 December 2005 (UTC)[reply]

[edit]

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

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)[reply]
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)[reply]
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)[reply]
If you use IE, I would advise against setting popupStructure='menus', since the menus don't work in IE. Remove that line and you'll get the intended effect, I hope. Lupin|talk|popups 03:16, 12 December 2005 (UTC)[reply]

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

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

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

popups interface!

[edit]

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

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

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

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

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)[reply]
I've spliced all the strings into popupsdev.js. It was a bit silly having them separate, I think :-) Lupin|talk|popups 00:59, 14 December 2005 (UTC)[reply]

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

Two more bugs: messages stub, Disambig and something like this if have need to be separated and the redirect title can not be recognized as right code.--vipuser(talk) 03:36, 15 December 2005 (UTC)[reply]
And what's the exact meaning of "Show the edit made to get revision". please give me an wikilink I can point to it show this message, or explain it! thank you!--vipuser(talk) 03:41, 15 December 2005 (UTC)[reply]
  • whatLinksHere is now included.
  • Do you mean that stubs aren't counted detected 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)[reply]
  • Note that this link only appears if you don't use the menus. This is the default in Internet Explorer (because the menus don't work), or you can turn the menus off in firefox by using popupStructure='original'. Lupin|talk|popups 03:58, 15 December 2005 (UTC)[reply]

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

Here about the redirect bugs: zh:User:Vipuser/sandbox--vipuser(talk) 04:44, 15 December 2005 (UTC)[reply]
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)[reply]
not a bug! --vipuser(talk) 05:04, 15 December 2005 (UTC)[reply]
please see the bug 2 in my sandbox!--vipuser(talk) 05:12, 15 December 2005 (UTC)[reply]
OK, I think these are fixed now. Lupin|talk|popups 13:42, 15 December 2005 (UTC)[reply]
Hey! Please pay attention to Bug 2 again in my sandbox.--vipuser(talk) 16:30, 16 December 2005 (UTC)[reply]
OK! The bug 2 was fixed now~ Cheers~--vipuser(talk) 14:02, 17 December 2005 (UTC)[reply]

Thanks

[edit]

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

No worries. Thanks for the barnstar. Lupin|talk|popups 04:17, 11 December 2005 (UTC)[reply]

Barnstar

[edit]
For creating a first-class anti-vandal tool, and making it work on a wide range of browsers. Dan100 (Talk) 10:23, 10 December 2005 (UTC)[reply]

Dave Mohammed

[edit]

Lupin said: {{cricinfo}}, perhaps?

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

[edit]

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

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

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

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

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

Technical help with your popup thingy

[edit]

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

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

empty brackets in preview

[edit]

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

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

Willy on Wheels?

[edit]

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

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)[reply]
Okay... sorry to bug you. --Rschen7754 (talk - contribs) 05:35, 12 December 2005 (UTC)[reply]

Vandalism

[edit]

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

[edit]

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

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)[reply]
How about writing actual messages rather than copying and pasting stuff to people in duplicate? By the way, when was the last time you added a source to an article? Morwen - Talk 13:19, 12 December 2005 (UTC)[reply]
If it makes you happier, I can write a short message to you every time. Sorry if I've ruffled your feathers. To answer your second question, yesterday. Lupin|talk|popups 13:23, 12 December 2005 (UTC)[reply]
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)[reply]
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)[reply]

Re: Sources for List of the largest artificial non-nuclear explosions

[edit]

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

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


Fantastics

[edit]

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

Fleet

[edit]

I'm afraid my source is based on journeys along that stretch of line.--Enotayokel 08:53, 13 December 2005 (UTC)[reply]

Eeek! It's a bug!

[edit]

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

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)[reply]
Well I didn't want to fix livepreview, so I've added a fixHTML() function instead :-) Hopefully popupsdev.js should be fixed. Lupin|talk|popups 14:17, 15 December 2005 (UTC)[reply]

popups problem!!

[edit]

I am korean, but in popup window, korean character is broken...:( WonYong 15:09, 14 December 2005 (UTC)[reply]

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)[reply]
THANKS!! :) WonYong 14:06, 15 December 2005 (UTC)[reply]

Lincoln Mark VII

[edit]

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

Warn (Filter Recent changes)

[edit]

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

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

Popups autoedit

[edit]

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

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)[reply]
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)[reply]
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.
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:
{&#123;subst:User:Mathwiz2020/Welcome&#125;}&#126;&#126;&#126;&#126;
and it works fine with your "hack"! — MATHWIZ2020 TALK | CONTRIBS 01:21, 19 December 2005 (UTC)[reply]
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)[reply]
Looks nice - I've fixed this a little. Lupin|talk|popups 01:58, 19 December 2005 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
  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)[reply]

Reversion summaries

[edit]

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

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)[reply]
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)[reply]
Thank you. I'm partially offline during the holidays, but then I'll try your script. --Eddi (Talk) 13:21, 26 December 2005 (UTC)[reply]
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)[reply]
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)[reply]


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

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)[reply]
Sounds laborious. Even more laborious would be checking the output of an URL with &diff=<version> instead of &oldid=<version>&action=edit. I have noticed that URLs with "diff" in them create output where authors are mentioned. --Eddi (Talk) 22:09, 12 January 2006 (UTC)[reply]

Same popups for diff, history and article links

[edit]

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

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

Comments on dev version using IE, Opera and Firefox at en:, nn: and no:

[edit]

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.)
The dev version per 19 January handles preview of subsections brilliantly! Keep up the good work! --Eddi (Talk) 19:22, 20 January 2006 (UTC)[reply]
  • 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)[reply]
  • 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)[reply]
Fixed in both versions through the %s parameters. Thanks. --Eddi (Talk) 19:22, 20 January 2006 (UTC)[reply]
  • 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)[reply]
I'll draft something on context and string sorting, probably during the holidays. --Eddi (Talk) 03:16, 21 December 2005 (UTC)[reply]
Sorry, haven't come to this yet. I'll get back to you. --Eddi (Talk) 19:22, 20 January 2006 (UTC)[reply]

Differences from en: to nn: and no:

  • The popups of my user pages at nn: 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:.
I'll investigate when I have time. Lupin|talk|popups 01:41, 21 December 2005 (UTC)[reply]
This problem seems to be fixed in the dev version of 19 January. --Eddi (Talk) 19:22, 20 January 2006 (UTC)[reply]

Hope this wasn't too much. I'll try and be good from now. :) --Eddi (Talk) 03:36, 20 December 2005 (UTC)[reply]

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

title with no content bug

[edit]

Please pay attention to bug 3 in my sandbox: zh:user:vipuser/sandbox, thank you!--vipuser(talk) 08:16, 18 December 2005 (UTC)[reply]

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

A Question

[edit]

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

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)[reply]
Excellent. Thank you. As an admin for the wiki above, tools like this are invaluable. =FaxCelestis 02:17, 21 December 2005 (UTC)[reply]

Set up pop-ups

[edit]

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

It's working now. Sorry. smurrayinchester(User), (Ho Ho Ho!) 17:08, 20 December 2005 (UTC)[reply]

bug 5

[edit]

please go to my sandbox: zh:user:vipuser/sandbox. :D --vipuser(talk) 11:25, 21 December 2005 (UTC)[reply]

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


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

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)[reply]
Brilliant. You're right, much neater code, I just lost track for a while. --Eddi (Talk) 23:20, 21 December 2005 (UTC)[reply]

Popups issue

[edit]

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

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

popups.js - translations

[edit]

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

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

redirect problem

[edit]

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

Hey, long time to see! Have you noticed the bug 5 on my sand page. waiting~~--vipuser(talk) 03:19, 4 January 2006 (UTC)[reply]
Hey, this bug is toast. These ugly IE hacks make my head hurt :-( Lupin|talk|popups 22:19, 4 January 2006 (UTC)[reply]
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)[reply]

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

Merry Christmas!!

[edit]
MERRY CHRISTMAS, Lupin A well deserved subst:pressy!--Santa on Sleigh 22:33, 24 December 2005 (UTC)[reply]

Astra 1A

[edit]

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

A toast!

[edit]
You have created a tool which many users truly find the neatest thing since sliced bread (I know my wikipedia experience is vastly improved!), and you can't have bread without a toaster! Thanks! Now take your toaster and make something pop up! ++Lar 18:26, 26 December 2005 (UTC)[reply]

New bug (at least on IE)

[edit]

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

Thanks. From memory, this is fixed in the dev version. Lupin|talk|popups 01:43, 3 January 2006 (UTC)[reply]

Popups in Safari

[edit]

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

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)[reply]
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 (talkcontribs) 15:02, 11 January 2006 (UTC)[reply]

Has been superseded by Image:RAF-Roundel.svg. DiamondVertex (Talk) 01:12, 2 January 2006 (UTC)[reply]


Ta. Lupin|talk|popups 01:45, 3 January 2006 (UTC)[reply]

suggestion for Popups script - Unicode conversion

[edit]

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

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

Underscores

[edit]

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

The underscore was in the redirect target. I've updated KISS Principle to remove the underscore. Mike Dillon 16:35, 2 January 2006 (UTC)[reply]
That explains it. Thanks. Ben T/C 10:04, 10 January 2006 (UTC)[reply]

dbname changed in edit counter

[edit]

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

I have to hack the script. Lupin|talk|popups 23:15, 3 January 2006 (UTC)[reply]

Memory leak?

[edit]

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

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

Capital letter filter

[edit]

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

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

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

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

include_js()

[edit]

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

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

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

Yet another Popup thingy

[edit]

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

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)[reply]
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)[reply]
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)[reply]
Preview screen shot
Screen shot of page

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

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

Recent edits

[edit]

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

I agree. I've changed this now. Lupin|talk|popups 22:15, 11 January 2006 (UTC)[reply]
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)[reply]
The same behaviour comes for free with recent ip edits too, since it uses the same code. I've added links to show or hide several diffs at once - good idea! Let me know if you have any more ideas to improve the UI. Lupin|talk|popups 04:22, 12 January 2006 (UTC)[reply]



Okay, seriously... that is amazing work. If Jimmy Wales comes around here, I'll definitely drop your name as someone in need of promotion; or something. :"D Wish I could do something for you... um, looking at your code and checked out the bug in your documentation, looks as though Starling fixed it in December. Looking at the rest of the code... makes me think I should have paid attention in college. :"p You've done a man's job sir!

PS: Phroziac's sig is giving false positives because of its integrated hearts. - RoyBoy 800 05:58, 12 January 2006 (UTC)[reply]

(This box is optimized for 1024x768, even though 800x600 is quite nice.)



Image:180px-Brightpinkhibiscus.jpg has been listed for deletion

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

Thanks

[edit]

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

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

Popups don't work

[edit]

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

Another question

[edit]

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

WP:POP

[edit]

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

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

[edit]

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

Im realy sory

[edit]

Im sory i vandelised a pages on a wiekipedia. i wont do it agn. plz sory

avp @ pt:

[edit]

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

Oops

[edit]

Sorry for reverting your edits to your user page. Lupin|talk|popups 14:04, 15 January 2006 (UTC)[reply]

No problem. I guess I had that coming o_O Dabljuh 14:07, 15 January 2006 (UTC)[reply]

Plagiarism from Microsoft Encarta in 'Ball Lightning'

[edit]

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

[edit]

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

Simple javascript question

[edit]

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>');
}
  • Thanks :) — 0918BRIAN • 2006-01-18 04:01

I beg of you

[edit]

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

Well since you asked so nicely.... done in dev. Lupin|talk|popups 23:50, 18 January 2006 (UTC)[reply]

Anti-Vandal Tool

[edit]

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

Kate's tool vs. Interiot's tool

[edit]

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

Good idea. I've added these features to the dev version. Lupin|talk|popups 14:01, 19 January 2006 (UTC)[reply]
BRILLIANT !! Thanks for that idea and the implementation :) --Cactus.man 16:16, 19 January 2006 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]

Popups revert race condition?

[edit]

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

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)[reply]
Yeah, I thought it was a race condition in Mediawiki; do you know where would be the appropriate place to go next to possibly report a bug? --AySz88^-^ 02:34, 21 January 2006 (UTC)[reply]
You could try http://bugzilla.wikimedia.org/ Lupin|talk|popups 03:46, 21 January 2006 (UTC)[reply]
Thanks - it appears to be a case of http://bugzilla.wikimedia.org/show_bug.cgi?id=2880 . --AySz88^-^ 04:30, 21 January 2006 (UTC)[reply]

Single click and then forget about it

[edit]

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

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)[reply]
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;
You can substitute any navlinktag id for watch and unwatch - search for the string << in the source to find these. Lupin|talk|popups 14:28, 22 January 2006 (UTC)[reply]
Works fine, at least in Opera under Linux. Thanks a lot! Is there any option, per action, to specify whether the new windows are foreground or background windows? --Eddi (Talk) 22:10, 25 January 2006 (UTC)[reply]

Image:Crested penguin.jpg listed for deletion

[edit]
An image or media file that you uploaded, Image:Crested penguin.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.

dbenbenn | talk 03:51, 23 January 2006 (UTC)[reply]

Also Image:Littlebluejellyfish.jpg. dbenbenn | talk 04:11, 23 January 2006 (UTC)[reply]

Regarding vandal's attack on your page

[edit]

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?

All seems fine to me. Lupin|talk|popups 23:41, 24 January 2006 (UTC)[reply]

Several popups questions

[edit]

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

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

12 hours watchlist

[edit]

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

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);
Lupin|talk|popups 00:19, 25 January 2006 (UTC)[reply]
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)[reply]

Javascript mini-emergency

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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?

[edit]

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

[edit]

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]

Flag to Interiot's tool

[edit]

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

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]