User talk:Lupin/archive10: Difference between revisions

Content deleted Content added
Lupin (talk | contribs)
MalnadachBot (talk | contribs)
m Fixed Lint errors. (Task 12)
 
(144 intermediate revisions by 41 users not shown)
Line 1:
{{editsection}}
<div class="editsection" style="float:right;margin-left:5px;"><nowiki>[</nowiki>[{{fullurl:{{FULLPAGENAME}}|action=edit&section=0}} edit]<nowiki>]</nowiki></div>
<small>
Archive:
Line 51:
:: &lt;rv revid=".." oldid=".." timestamp=".." user=".." comment="..">revision text&lt;rv>. Ideally you can updated your code to check if the "comment" attribute is present, and use that instead of the rv element content. Let me know when you are ready. --[[User:Yurik|Yurik]] 21:40, 1 June 2006 (UTC)
:::Thanks for the warning. I've made the changes you suggested, so please go ahead and change query.php. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 02:50, 2 June 2006 (UTC)
: Category support checked in, will be available shortly. --[[User:Yurik|Yurik]] 20:48, 6 June 2006 (UTC)
:: Hi. What's the algorithm you use to determine the first paragraph of the text? I think i can do it on the server to reduce bandwidth. --[[User:Yurik|Yurik]] 05:56, 9 June 2006 (UTC)
::: This would be pretty nice. The algorithm is a work in progress however, and is only tailored to the conventions of en.wikipedia. You can see it in the previewmaker subfile of [[User:Lupin/popupsdev.js]]. Here's what it does:
# locate the target heading (for a link like [[User:Lupin#Other things]]) and delete everything before it
# remove HTML comments
# remove HTML divs
# remove galleries
# remove box templates like infobox, elementbox, frame*, floats, *box_start and so on
# remove all templates, or just templates which span several lines, depending on user preferences
# remove tables, wikitext and HTML
# remove all images
# remove chunks of italic text, as are used to alert the reader to dab pages or other tangential remarks. This is not an exact science!
# mopup: remove horizontal rules, all indented lines, <nowiki>__TOC__</nowiki> and friends
# The remaining text is what we work with. Figure out how much to preview based on user prefs (only return whole sentences - again, English language dependency here). Note that some users prefer longer previews than others, sometimes spanning several paragraphs.
# remove unsightly whitespace from what remains (this shouldn't really be needed - it's an artifact of sloppy whitespace removal in previous steps)
# convert to HTML, passing any templates straight through
# remove any remaining templates which are still "too long".
::: [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:28, 9 June 2006 (UTC)
:::: I copied the above to [[User_talk:Yurik/Query_Interface_Suggestions#Get_Page_Summary|query discussion page]]. Thanks!! --[[User:Yurik|Yurik]] 23:51, 9 June 2006 (UTC)
: User contribution lists are checked in, plus a check to see if pages can be modified/moved by the user. --[[User:Yurik|Yurik]] 05:46, 10 June 2006 (UTC)
::Excellent. Contribs previews are now in popupsdev.js, waiting for wikipedia to be synched with svn. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 16:26, 10 June 2006 (UTC)
: Another present (two?) for you -- revids=1|2|3 now works (when synced), and there is an option rvuniqusr which shows ONLY the last edits done by each unique user. --[[User:Yurik|Yurik]] 03:43, 11 June 2006 (UTC)
:: Saw your request, answered. --[[User:Yurik|Yurik]] 18:29, 12 June 2006 (UTC)
:: Also, can you make the popup appear when i move the mouse over the 'history' tab at the page top? --[[User:Yurik|Yurik]] 23:38, 12 June 2006 (UTC)
:::Yes, if you set popupOnlyArticleLinks=false then this should work. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 00:21, 13 June 2006 (UTC)
: Added imageinfo. I'm sure you can get some info out of it :)--[[User:Yurik|Yurik]] 02:48, 14 June 2006 (UTC)
:: I made some changes to the var types (converted strings to integers) - keep an eye just in case. Thanks. --[[User:Yurik|Yurik]] 09:08, 20 June 2006 (UTC)
 
== Elsewhere ==
Line 59 ⟶ 86:
== Popups problem ==
 
Firefox javascript console keeps showing that pg and log are undefined in popups.js. I see that both are defined but via window (window.pg = ...). If you call them instead as window.pg in the script instead of just pg, will that work? --[[User:Mathwiz2020|<font color="blue">M</font>]][[Special:Emailuser/Mathwiz2020|<font color="orange">@</font>]][[User talk:Mathwiz2020|<font color="red">th</font>]][[User:Mathwiz2020|<font color="blue">wiz</font>]][[Special:Contributions/Mathwiz2020|<font color="black">20</font>]][[WPWikipedia:EAEsperanza|<font color="green">20</font>]] 20:50, 15 April 2006 (UTC)
:The two forms (with and without window) should be largely equivalent. I don't know what causes this sort of error, it's very irritating. Please try clearing your cache and reloading to see if the problem disappears. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 23:39, 15 April 2006 (UTC)
 
Line 125 ⟶ 152:
Would it be possible in your pop-ups extension to have an automated way to insert {{tl|welcome}} onto a users talk page, just by hovering over their user page link? It would make it easier to welcome users---say you see a contributing user through the revision history. You could then just hover over the link, and select welcome, without ever leaving the page. Is this possible, and would you be willing to add it, if it is?
 
--<font color="66AAFF">[[User:Primate|Primat]]</font><fontspan colorstyle="00FF00color:#66AAFF;">Primat</span>]][[Wikipedia:Esperanza|e]]</font><fontspan colorstyle="6699CCcolor:#00FF00;">e<sup/span>]][[User_talk:Primate|<sup style="color:#6699CC;">#101]]</sup></font>]] 01:40, 24 April 2006 (UTC)
 
:[[User:Mathwiz2020|Mathwiz2020]] has something like this [[User:Mathwiz2020/usergreeter.js|here]]. It'd need adapting slightly, but I'm sure he'd be happy to help you to do so. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 04:26, 24 April 2006 (UTC)
Line 162 ⟶ 189:
== Horray for history popups ==
 
Nice work! Seems to be working fine :).'''[[User:Voice of All|<font color="blue">Voice</font><font color="darkblue">-of-</font><font color="black">All</font>]]'''<sup>[[user_talk:Voice_of_All|<font color="blue">T</font>]]|[[Special:Emailuser/Voice of All|@]]|[[WPWikipedia:EAEsperanza|<font color="darkgreen">ESP]]</font></sup> 06:34, 27 April 2006 (UTC)
 
== Auto Edit ==
Line 169 ⟶ 196:
 
Thanks.
--<font color="66AAFF">[[User:Primate|Primat]]</font><fontspan colorstyle="00FF00color:#66AAFF;">Primat</span>]][[Wikipedia:Esperanza|e]]</font><fontspan colorstyle="6699CCcolor:#00FF00;">e<sup/span>]][[User_talk:Primate|<sup style="color:#6699CC;">#101]]</sup></font>]] 00:46, 28 April 2006 (UTC)
 
:I did this for Celestianpower - see [[User:Lupin/alltalk#2_questions]] and related discussion on that page. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:59, 28 April 2006 (UTC)
Line 177 ⟶ 204:
Again, thanks!
 
--<font color="66AAFF">[[User:Primate|Primat]]</font><fontspan colorstyle="00FF00color:#66AAFF;">Primat</span>]][[Wikipedia:Esperanza|e]]</font><fontspan colorstyle="6699CCcolor:#00FF00;">e<sup/span>]][[User_talk:Primate|<sup style="color:#6699CC;">#101]]</sup></font>]] 03:36, 2 May 2006 (UTC)
 
P.S. I put the links on my Mozilla Firefox Bookmark Toolbar. On click, and my status is changed!
Line 367 ⟶ 394:
== Extended revert summary broken? ==
 
I used to have extended revert summaries working just fine when reverting edits through the history page, though lately reverts seem to automatically go down to the basic 'Reverting to revision, (number)' summary. I was wondering if there was some option that could have the extended revert summary on by default. I have attempted changing the automated message by adding a more %s tags as done in your .js page, but it did not work. Thanks for your help. [[User:Cowman109|Cowman109]]<sup><font color="DarkGreen">[[User talk:Cowman109|Talk]]</fontsup style="color:darkgreen;">Talk</sup>]] 00:16, 7 May 2006 (UTC)
:What did you try, and what results did you obtain? Have you cleared your cache religiously each time you've changed something? It might help to try again anyway since the script was recently updated. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:23, 7 May 2006 (UTC)
::I believe the different results actually occurred after the recent changes. I clear my cache each time I alter my monobook.js file as well. Whenever I attempt to revert edits through the history page of an article as I usually do (I hover my mouse over the time of the edit, move to actions, then to revert), the page reverts just fine but the edit summary seems to be default to "(Revert to revision 50945360 using popups)", for example. I used to have extended edit summaries such as "(Revert to revision dated 17:50, April 21, 2006 by Cowman109, oldid 49512438 using popups)". Here's a random short edit history in one of my user subpages to show the differences. [http://en.wikipedia.org/w/index.php?title=User:Cowman109/personalsandbox&action=history]. [[User:Cowman109|Cowman109]]<sup><font color="DarkGreen">[[User talk:Cowman109|Talk]]</fontsup style="color:darkgreen;">Talk</sup>]] 01:27, 7 May 2006 (UTC)
:::Oh, extended summaries. You have to set something or other to make this work now... ah, yes. You should set popupTimeOffset to your timezone, in hours offset from wikipedia time (GMT, I think). This should activate the extended summaries when you revert from a history page. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:35, 7 May 2006 (UTC)
:Ahah, that fixed it. I must have messed it up myself when I was playing around with my timezone settings. Thanks a lot! Oh, and I hope you don't mind but I stole your format for storing barnstars in a subpage and displaying them. Thanks for that too! :D [[User:Cowman109|Cowman109]]<sup><font color="DarkGreen">[[User talk:Cowman109|Talk]]</fontsup style="color:darkgreen;">Talk</sup>]] 01:49, 7 May 2006 (UTC)
 
== Popups "sinceMe" not working with user names with a space ==
Line 505 ⟶ 532:
[[Image:Nuvola apps background.png|thumb|left|I award you this programmers' barnstar for creating so many javascript tools. --<font size="1">[[User:GeorgeMoney|GeorgeMoney]]&nbsp;<sup>[[User_talk:GeorgeMoney|T]]&middot;[[Special:Contributions/GeorgeMoney|C]]</sup></font> 01:16, 11 May 2006 (UTC)]]{{clear}}
 
[[Image:Popups7.jpgpng|thumb|left|250px|And, I award you the popups barnstar for creating popups. --<font size="1">[[User:GeorgeMoney|GeorgeMoney]]&nbsp;<sup>[[User_talk:GeorgeMoney|T]]&middot;[[Special:Contributions/GeorgeMoney|C]]</sup></font> 01:16, 11 May 2006 (UTC)]]{{-}}
 
:Thanks! [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 00:16, 20 May 2006 (UTC)
 
==Hello!==
Your anti-vandal tool is fanstastic. [[User:Anonymous_anonymous|<fontspan facestyle="font-family:Croobie"; color=":red;">Anonymous</span>]][[User talk:Anonymous_anonymous|Anonymous]]</font><fontspan facestyle="font-family:Croobie"; color=":blue;">_anonymous_</span>]][[User talk:Anonymous_anonymous/Esperanza|_anonymous_]]</font><fontspan facestyle="font-family:Croobie"; color=":green;">[[User:Anonymous_anonymous/Esperanza|Have a Nice Day_]]</fontspan>]][[Self-esteem|<fontspan facestyle="font-family:Croobie"; color=":purple;">[[Self-esteem|Crusher of Hopes and Dreams]]</fontspan>]] 20:57, 19 May 2006 (UTC)
:Glad you like it. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 00:17, 20 May 2006 (UTC)
 
Line 723 ⟶ 750:
I have been using your tool for quite a while now and recently, I found new options at the top of the "filter recent changes" page. I was wondering what that new "use non-admin rollback" option does. --[[User:Evan Robidoux|<span style="color:purple">Evan Robidoux</span>]] 19:47, 29 May 2006 (UTC)
:It makes the rollback links work for users who are not admins, provided they have suitable javascript support. If they don't, then clicking any rollback link should tell them how to get it. (Admins can use this too if they want, but there's probably not much point). [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:21, 30 May 2006 (UTC)
::Could you clarify what is meant by javascript support? Do users who use popups have the capability to make use of that rollback feature, for example? [[User:Cowman109|Cowman109]]<sup><font color="DarkGreen">[[User talk:Cowman109|Talk]]</fontsup style="color:darkgreen;">Talk</sup>]] 01:35, 30 May 2006 (UTC)
:::Yes, they do. People who don't want popups can still get this support by adding <nowiki>{{subst:js|User:Lupin/autoedit.js}}</nowiki> to their user javascript file, but popups users don't have to do anything. (I haven't tested this standalone autoedit.js in a while, though). [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:37, 30 May 2006 (UTC)
 
Line 770 ⟶ 797:
== Popups ==
 
Hey Lupin, is it possible to turn off the edit links popups add to diffs? It breaks some of the other things in my monobook. (My monobook has this other bug too, if you have time to look at it....) [[User:Prodego|<fontspan colorstyle="color:darkgreen;">''Prodego''</fontspan>]] <sup>[[User talk:Prodego|<fontsup colorstyle="color:darkgreen;">talk</fontsup>]]</sup> 19:09, 31 May 2006 (UTC)
:If you want to disable diff previews, set popupPreviewDiffs=false. Is that what you mean by edit links? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 19:51, 31 May 2006 (UTC)
::No, when I open up I diff, I see an edit link next to the revision date (a very new feature?), I think I narrowed it down to being in popups. Is this not a popups issue? [[User:Prodego|<fontspan colorstyle="color:darkgreen;">''Prodego''</fontspan>]] <sup>[[User talk:Prodego|<fontsup colorstyle="color:darkgreen;">talk</fontsup>]]</sup> 19:54, 31 May 2006 (UTC)
:::Nope, not popups. Nothing should be altered in the way the page appears by the script. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 19:59, 31 May 2006 (UTC)
::Well I still get it with only popups in my monobook, and I even get it with nothing in my monobook. No relevent changes to the global pages though. Do you see this as well? [[User:Prodego|<fontspan colorstyle="color:darkgreen;">''Prodego''</fontspan>]] <sup>[[User talk:Prodego|<fontsup colorstyle="color:darkgreen;">talk</fontsup>]]</sup> 20:04, 31 May 2006 (UTC)
:::Nope. Must be caching issues. Solution: view source and go to the exact url used by your browser to grab the monobook.js file (it should have action=raw in it somewhere). Reload that until it corresponds with the current version. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 20:06, 31 May 2006 (UTC)
I cleared my cashe and cleared the monobook files. I still get the links.
 
[[User:Prodego|<fontspan colorstyle="color:darkgreen;">''Prodego''</fontspan>]] <sup>[[User talk:Prodego|<fontsup colorstyle="color:darkgreen;">talk</fontsup>]]</sup> 20:10, 31 May 2006 (UTC)
 
:You're right - so do I! It probably is a new mediawiki feature. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 20:13, 31 May 2006 (UTC)
 
::Oh, I am glad itisn't just me. So could you possibly figure out why this breaks my monobook.js? It is "the warn tab", which appears on diff pages. It now links to [[User:Edit]] rather then the person who made the edit. There is also a much more complex bug that no one seems to be able to figure out how to fix. [[User:Prodego|<fontspan colorstyle="color:darkgreen;">''Prodego''</fontspan>]] <sup>[[User talk:Prodego|<fontsup colorstyle="color:darkgreen;">talk</fontsup>]]</sup> 20:20, 31 May 2006 (UTC)
 
:::I haven't looked at the code, but I fail to see why you need a device to "userify" links. There are already links to editors' user pages on diff pages. What are you expecting to see? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 21:06, 31 May 2006 (UTC)
 
::It enables you to leave a test message linking to the article name. [[User:Prodego|<fontspan colorstyle="color:darkgreen;">''Prodego''</fontspan>]] <sup>[[User talk:Prodego|<fontsup colorstyle="color:darkgreen;">talk</fontsup>]]</sup> 21:08, 31 May 2006 (UTC)
 
:::OK, I think I have the solution. Try changing
Line 794 ⟶ 821:
:::[[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 21:25, 31 May 2006 (UTC)
 
::That's it, thanks very much! Now if you want challenge here is '''the big bug'''. It is either in the monobook.css or .js and the bug is: Essjay's User functions tab limits the number of tabs I can add to a page to 6. This causes a problem on deletion pages, where I want about a dozen tabs. Feel free to not look at this one, but if you do know the problem help would be appreciated. (I think it is the css file, do you know how to program that?) [[User:Prodego|<fontspan colorstyle="color:darkgreen;">''Prodego''</fontspan>]] <sup>[[User talk:Prodego|<fontsup colorstyle="color:darkgreen;">talk</fontsup>]]</sup> 21:41, 31 May 2006 (UTC)
 
== Popups in de: ==
Line 861 ⟶ 888:
 
:If you can create a nice UI for me, that'd be a big first step. We don't even need the copy paste - the user could click a button and the tool could alter his js file in the background. Probably it'd be simplest to detect existing customization and abort if we find any. We'd also have to be able to recognize prior customization blocks added by the tool and parse them, but again this is quite doable. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 23:42, 2 June 2006 (UTC)
::Perhaps it would be an idea to make popups recognize some kind of "special" page in your user space (or somewhere else) that prompts popups to insert an HTML form in the content area, loading it with the settings found in the user's js, and when ready, save the settings back. Can that be done with the XMLHttpRequest thingy you're using? [[User:Gerbrant|Shinobu]] 02:31, 13 June 2006 (UTC)
:::Yes, this sort of thing is quite doable. Just a case of writing it. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 02:46, 13 June 2006 (UTC)
 
== Popups - warnings ==
Line 915 ⟶ 944:
::Thanks for the suggestion! The /regexp/ didn't work (broke everything, actually), and quoting it with both " and 's doesn't work either... It dies with a "Error: unmatched ) in regular expression" (from the Firefox JavaScript console). I tweaked it so that instead of replacing that regexp, it prompted for it, and pasted it in, and it worked on that occasion... But eh. Perhaps I'll just keep it on the clipboard :) Thanks for your suggestions. :) [[User:bookofjude|Jude]] <small>([[User_talk:Bookofjude|talk]])</small> 13:59, 2 June 2006 (UTC)
:::Did you try changing all the double backslashes to single backslashes? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 14:51, 2 June 2006 (UTC)
::::I managed to work out what it was--apparently it was an issue with the length of the regexp. I ended up concantenating it across multiple lines, and haven't had a single issue since then. Thanks for your suggestion! :) Now, to try and work out how to automagically submit a move page form... [[User:bookofjude|Jude]] <small>([[User_talk:Bookofjude|talk]])</small> 10:24, 5 June 2006 (UTC)
 
== thanks for popups ==
Line 922 ⟶ 952:
 
:Yes, thanks from me too - and the latest changes to make the actions/user menus nicer is much appreciated. -[[User:Joshuapaquin|Joshuapaquin]] 02:52, 4 June 2006 (UTC)
 
::By nicer, do you mean shorter or longer? :) I'm trying to decide what the default setting should be, menus or shortmenus. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:39, 6 June 2006 (UTC)
 
== Suggestion for making the Popups window easier to read ==
 
Hi Lupin, Thanks very much for your Popups work, it is truly a wonderful feature.
 
I have a minor issue:
* When I hover my mouse over a link and the popup window is displayed, I find it distracting in the initial moment when the popup content is loaded, because the text in the box shifts around. So I start reading the popup, and then after a few seconds some new content loads and I lose my place and have to start over reading. This seems to happen usually at the moment the image thumbnail is loaded into the popup.
 
With that in mind, I have a minor suggestion:
* Would it be possible to pin the content down so that once it is displayed in the popup, it never changes ___location or shifts around? I think that would be a nice improvement. It would be fine if new content loaded after a few seconds that made the popup larger, as long as the stuff already displayed in the popup doesn't shift around.
 
My browser is Mozilla Firefox 1.5.0.4 on Windows XP.
 
Just a thought. Thanks again! --[[User:Fjarlq|Fjarlq]] 13:50, 4 June 2006 (UTC)
:Yes, this is something I remain unhappy with. I have improved things a little in the dev version: it still shifts, but hopefully is more responsive to content changes than before. Maybe one day this will be fixed completely... patches or assistance welcome! [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:38, 6 June 2006 (UTC)
 
== Fair Use image ==
 
Why are fair use images coming up in that box in the corner of your userpage? Maybe you should remove it before you get into some deep trouble. '''[[User:The Gerg|<span style="color:gray;">Th</span>]][[User:The Gerg/Esperanza|<span style="color:green;">e</span>]] [[User_talk:The_Gerg|<span style="color:gray;">Gerg</span>]]''' 19:57, 7 June 2006 (UTC)
:It's just a recently uploaded image produced by <nowiki>{{Special:Newimages/1}}</nowiki>. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 21:35, 7 June 2006 (UTC)
 
== Freeze ==
 
I just noticed that your great tool freezes my browser (Firefox & IE) when hovering over a link to ('''Careful!''' You probably will have to kill your browser) [[Comparison_of_Intel_Central_Processing_Units]]. Cheers, --[[User:Amalthea|Amalthea]] 01:10, 8 June 2006 (UTC)
: Eh, or maybe it's just pretty slow due to the markup of that page?! --[[User:Amalthea|Amalthea]] 01:21, 8 June 2006 (UTC)
::This is a bug. Working on it... [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:28, 8 June 2006 (UTC)
:::This is semi-fixed in the dev version. It makes firefox give the unresponsive script dialog for me, which is an improvement over freezing the browser. If you hit continue enough times (once suffices for me) then it should function correctly. This is caused by the huge table on that page; I don't know a better way around this. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:35, 8 June 2006 (UTC)
::::Update: the dev version is still slow to generate this preview, but no longer gives the unresponsive script dialog for me. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 14:21, 8 June 2006 (UTC)
 
== Searching text area in Firefox ==
 
[[User:Splarka|Splarka]] responded to a [[Wikipedia:Village_pump_%28technical%29#Firefox_Find_in_edit_window|query]] I posted at the Village pump technical about getting Firefox to Find text in the Edit window, by pointing me to [[Wikipedia:Tools/Browser_integration#Search_within_Textarea_Extension_with_regex]].
 
I have downloaded the code at [http://wargers.org/mozilla/oldfindtexarea.xpi], but don't know what to do with it. I'm afraid I have zero experience with this stuff. Could you point me in the right direction? TIA-- [[User:Mwanner|Mwanner]] | [[User talk:Mwanner|Talk]] 12:38, 8 June 2006 (UTC)
 
:[[User:Zocky/Search_Box|The right direction]]. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 14:09, 8 June 2006 (UTC)
 
::Ah, that's great! Many thanks. -- [[User:Mwanner|Mwanner]] | [[User talk:Mwanner|Talk]] 15:24, 8 June 2006 (UTC)
 
== Pop-ups for audio links ==
 
We have a template {{tl|audio}} meant for inline links to audio files:
 
:<code><nowiki>'''Bordeaux''' ({{Audio|Fr-Bordeaux.ogg|pronunciation}}) is a [[Seaport|port]] city in...</nowiki></code>
gives this:
:'''Bordeaux''' ({{Audio|Fr-Bordeaux.ogg|pronunciation}}) is a [[Seaport|port]] city in...
 
A big complaint is that the help and info links are cluttering up articles. I thought perhaps we could put those links inside a javascript pop-up. People who don't have javascript will just see them the way they are now. I made a mock-up script, but it would need a lot of work before going live. You are an expert on pop-ups, so I'd like your opinion on whether this is a feasible idea. See [[Template_talk:Audio#Formatting]] — [[User:Omegatron|Omegatron]] 14:25, 8 June 2006 (UTC)
 
:I think it should be feasible techically. You could even have a pure CSS solution, I believe, operating like the dropdown menus in the popups. CSS should probably be involved somewhere in any event so that you can hide stuff without having to show it first, which a "hide with JS on page load" approach would seem to have to involve. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:41, 8 June 2006 (UTC)
 
:: Would a pure CSS version be supported in all major browsers, though?
:: I used CSS to style the box in my example. The javascript just writes the style sheet to your page so I didn't have to modify [[Mediawiki:Common.css]] for my example. — [[User:Omegatron|Omegatron]] 23:14, 8 June 2006 (UTC)
 
:::I guess browser support isn't all it could be, so you're right that pure css may be tricky. If you like, I could add hooks to the popups script to let you control the popup content for media links. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 23:25, 8 June 2006 (UTC)
 
:::: I was thinking along the lines of taking my example script and making it more robust, prettier, and able to work on all major browsers. Then we could include it in [[MediaWiki:Monobook.js]] and on browsers that didn't support it, they would degrade gracefully and see the current template with no popup. — [[User:Omegatron|Omegatron]] 14:06, 9 June 2006 (UTC)
 
This works, more or less. It remains quite ugly, though :) By the way, people with CSS enabled but javascript disabled will not see these links, as things stand. To fix this, maybe the script should assign a new CSS class on page load to the relevant objects. This has the side-effect of them appearing while the page loads and then disappearing, though. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:11, 10 June 2006 (UTC)
<pre><nowiki>
document.write(
'<st' + 'yle type="text/css"> ' +
' div.audiolinkbox { ' +
' border:2px solid rgb(170,170,170); ' +
' background-color:rgb(250,250,250); ' +
' position:absolute; ' +
' margin:-1.2em; ' +
' display:none; ' +
' } ' +
'<' + '/style>'
);
 
addOnloadHook(function () {
function lightup () {
this.audioPop.style.display="inline";
}
 
function lightout () {
var savedThis=this;
clearInterval(this.lightTimer);
this.lightTimer=setInterval(function(){hideAudioPop(savedThis);}, 2000);
}
 
function hideAudioPop (caller) {
clearInterval(caller.lightTimer);
caller.audioPop.style.display="none";
caller.audioPop.onmouseout = null;
}
 
function mouseoverAudioPop () {
var hotspot = this.hotspot;
if (!hotspot) { return; }
clearInterval(hotspot.lightTimer);
this.onmouseout = function () {
hotspot.lightTimer=setInterval(function(){hideAudioPop(hotspot);},2000);
};
}
 
/* Get all the span tags */
spans = document.getElementsByTagName('span');
 
/* go through them all */
for (i=0;i<spans.length;i++) {
/* If the span is class audiolinkinfo */
if (spans[i].className.indexOf("audiolinkinfo") != -1) {
/* Put it in a box */
box = document.createElement('div');
box.className="audiolinkbox";
spans[i].parentNode.insertBefore(box,spans[i]);
box.appendChild(spans[i]);
/* Remove the parentheses */
insidebox = spans[i].firstChild
for (j=0;j<insidebox.childNodes.length;j++) {
if (insidebox.childNodes[j].textContent == "(" ||
insidebox.childNodes[j].textContent == ")") {
insidebox.removeChild(insidebox.childNodes[j])
}
}
/* Add the hover thing to the audiolink span */
var hotspot = spans[i-1];
hotspot.onmouseout=lightout;
hotspot.onmouseover=lightup;
hotspot.audioPop=box;
box.hotspot = hotspot;
box.onmouseover = mouseoverAudioPop;
}
}
 
});
 
</nowiki></pre>
 
== Popups ==
 
I've tried using pops but they don't work for some reason. Can you please help? Thank you! '''''[[User:Drahcir|<font style="color:red;background:gold">Drahcir]] [[User Talk:Drahcir|<sup>my talk</sup></font>]]''''' [[Image:Smile.png]] 23:11, 8 June 2006 (UTC)
*By the way, please respond on my [[User Talk:Drahcir|talk page]].
**I use IE5 on a Windows 2K. I had no idea what you meant by ''"clearing your browser's cache"''.
***See [http://www.microsoft.com/windows/ie/ie6/using/howto/customizing/clearcache.mspx How and Why to Clear Your Cache]. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 23:33, 8 June 2006 (UTC)
****It works now. Thanks!
 
==Popups: omg, again?==
First I have to say THANK YOU, they're really useful.
 
I have translated the strings to Slovenian: they are [[:sl:Uporabnik:Eleassar/popupstrings-sl.js|here]]. However, the messages are still displayed in English, even after I cleared my cache completely. Do you have any idea what could possibly be wrong? Here's my [[:sl:Uporabnik:Eleassar/monobook.js|monobook.js]]. --[[User:Eleassar|'''Eleassar''']] <sup>[[User talk:Eleassar|my talk]]</sup> 00:20, 10 June 2006 (UTC)
:You have a syntax error caused by an extra backslash on line 186: change
'userLogHint': 'Prikaže dnevniške zapise za %s\',
to
'userLogHint': 'Prikaže dnevniške zapise za %s',
:Hope this fixes things! [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:18, 10 June 2006 (UTC)
 
:Yes, thanks a lot! --[[User:Eleassar|'''Eleassar''']] <sup>[[User talk:Eleassar|my talk]]</sup> 09:25, 10 June 2006 (UTC)
 
Another thing: could you please rearrange the code so that it allows for 'old n weeks' instead of 'n weeks old'. That's for the translation. Thanks. --[[User:Eleassar|'''Eleassar''']] <sup>[[User talk:Eleassar|my talk]]</sup> 09:48, 10 June 2006 (UTC)
:This is now in the dev version (I won't upgrade the strings-draft file yet, as the stable version doesn't have this string). You should provide a translation for '%s old' (eg '%s old': 'old %s'). [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 16:21, 10 June 2006 (UTC)
 
Another bug: by each page the popups always say it is 208 weeks old. --[[User:Eleassar|'''Eleassar''']] <sup>[[User talk:Eleassar|my talk]]</sup> 21:49, 12 June 2006 (UTC)
:They don't for me. I see stuff like this:
::Prvi kontingent SV v Afganistanu ⋅ukazi
::Škrbina, 1.9kB, 63 wikipovezav, 0 slik, 0 kategorij, 2 dni 11 ur staro
:Don't you get that sort of thing? There could be subtle caching/server-side issues at work here, but your browser, browser version and OS may be relevant. Let me know that stuff and we can dig deeper. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:15, 12 June 2006 (UTC)
 
Now I'm working on another computer. The only thing I can think about that is not the same is that previously I were using the [[WP:AWB|AutoWikiBrowser]]. I'm sorry I haven't checked if there's any difference between running and not running it. I'll probably do that tomorrow.
 
:Now this bug appeared again on this second computer and I haven't changed anything (except having opened a few more tabs in Firefox). --[[User:Eleassar|'''Eleassar''']] <sup>[[User talk:Eleassar|my talk]]</sup> 00:51, 13 June 2006 (UTC)
::Hm. When that happens, could you try inspecting the HTTP headers returned form a page like http://en.wikipedia.org/w/index.php?action=raw&title=Foo You should see a Last-Modified header, which should have a date in the not-too-distant past. Try this for a few different article titles for variety. What kind of dates do you see?
::I think you can use [http://livehttpheaders.mozdev.org/ the firefox livehttpheaders extension] for this, or if you have a unix-like machine you can use curl or wget to dump the headers. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 01:26, 13 June 2006 (UTC)
 
== Thanks ==
 
Lupin, thanks for helping us with our format for "David Lucas Burge." [[User:Aempinc|AEMP]] 03:32, 10 June 2006 (UTC)
 
 
== Can't use the popups in some cases ==
 
Check out this bit of vandalism.
[http://en.wikipedia.org/w/index.php?title=Moderators_and_clerks_in_the_Church_of_Scotland&diff=56795838&oldid=39554672]
 
When I hover over the '''action''' link, the menu popup where I can revert has a space between it and the position of my mouse cursor. Since the popup disappears the moment I'm not hovering on action or the menu itself, it disappears when I go to it due the spacing inbetween the menu and the actin link. It even does this when hovering over that external link. [[User:Kevin Breitenstein|Kevin_b_er]] 08:35, 4 June 2006 (UTC)
:I can't reproduce this. Could you post a screenshot of the gap? Also, please tell me your browser, browser version and operating system. Thanks! [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 15:02, 4 June 2006 (UTC)
::Running Mozilla Suite 1.7.12 on Windows XP. Here's the screenshot: [[:Image:Kevin_B_Screenshot_1.png]] My cursor does not appear, but it was directly over 'actions' at the time. Attempts at going to the menu on popups like this are impossible due to the the gap immediately hiding the menu when the mouse goes through it. It doesn't appear in firefox, but I'm too suck on good 'ole mozilla for the time being. [[User:Kevin Breitenstein|Kevin_b_er]] 07:47, 10 June 2006 (UTC)
:::Is that the latest version? I'm not sure with all the rebranding, but perhaps you could try [http://www.mozilla.org/projects/seamonkey/ this] and see if you have better results. If you're stuck with that version, maybe you'd be satisfied with setting popupStructure='original'. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 16:25, 10 June 2006 (UTC)
::::Yeah, that was the last final release of the mozilla suite, there was a beta version of 1.8 put out, but it had a lot of nasty bugs and I'm still waiting on seamonkey to finish ironing out some issues. Otherwise, however, that branding is original mozilla-suite styling with the classic (netscape) theme (which is included). I'll try switching to popupStructure original and see if that fixes it up. [[User:Kevin Breitenstein|Kevin_b_er]] 22:58, 11 June 2006 (UTC)
::Can you please disable popups in edit mode, they actually seem to get very jumpy and annoying when editing.'''[[User talk:Voice of All|<font color="blue">Voice</font><font color="darkblue">-of-</font><font color="black">All</font>]]''' 23:36, 11 June 2006 (UTC)
:::You want the popupOnEditSelection option. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 02:02, 12 June 2006 (UTC)
 
== OMG spellcheck! missing idea ==
 
Brilliant work as usual. But the toolbox really needs a "spellcheck this page" function. You click it, and then your tool analyses the page you were just on, thus allowing you to spellcheck your work any time. --[[User:Alfakim|<font style="border: solid 2px #4F87F9; background-color: #CBE6FF" color=#4f87f9>'''&nbsp;Alfakim&nbsp;'''</font>]]-- [[User_talk:Alfakim|<font style="border: solid 2px #4F87F9; background-color: #CBE6FF" color=#4f87f9>'''&nbsp;talk&nbsp;'''</font>]] 15:12, 12 June 2006 (UTC)
:Tricky to do efficiently in javascript. You could download [[Mozilla_Firefox#Version_2.0|Bon Echo]] - it spellchecks textareas automatically. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:25, 12 June 2006 (UTC)
:Hm, on second thoughts, this would be doable (with the caveat that, like the live spellcheck tool, it would only catch ''common'' misspellings). Maybe I'll get around to this, it is a nice idea. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:29, 12 June 2006 (UTC)
::Well it really starts to lag on long pages, but it is fairly quick otherwise. I am too scared to make a 1000+ word regex with $1 replace stuff, so I do each word seperatly, but maybe it wouldn't crash with a single regex, I don't know.'''[[User talk:Voice of All|<font color="blue">Voice</font><font color="darkblue">-of-</font><font color="black">All</font>]]''' 08:54, 13 June 2006 (UTC)
 
== The Script ==
 
I know I ought to answer on another page, but, there was a clash of your navigational popup and the script that creates ''online-busy-online'' in between ''my contributions'' and ''log out''. My browser is Mozilla Firefox
 
How can I rectify this?
 
Thanks,
[[User:Booksworm|Jean-Paul]] 19:57, 12 June 2006 (UTC) [[user talk: Booksworm|Talk to me]]
 
:I think the problem is that your monobook.js had the line
<pre><nowiki>[[User:Lupin/popups.js]]</nowiki></pre>
:instead of
<pre><nowiki>// [[User:Lupin/popups.js]]</nowiki></pre>
:(note the // at the beginning). It might work if you put the slashes in. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:18, 12 June 2006 (UTC)
 
Thanks,
[[User:Booksworm|Jean-Paul]] 05:14, 13 June 2006 (UTC)
 
== Popups on secure.wikimedia ==
 
For some reason popups doesn't want to work on the secure server - I tried changing the path, nothing. Any ideas why? -- [[WP:ESP|<font color="green">9</font>]][[User:9cds|<font color="blue">cds</font>]]<sup>[[User_talk:9cds|<font color="blue">(talk)</font>]]</sup> 22:39, 12 June 2006 (UTC)
:Yes, I only added support for this recently, and it's probably only in the dev version. Give that a whirl and it should work (fingers crossed). [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:43, 12 June 2006 (UTC)
::I tried installing it, but the subst: command doesn't want to work? -- [[WP:ESP|<font color="green">9</font>]][[User:9cds|<font color="blue">cds</font>]]<sup>[[User_talk:9cds|<font color="blue">(talk)</font>]]</sup> 08:54, 13 June 2006 (UTC)
:::Yes, you have a <tt><nowiki><nowiki></nowiki></tt> tag at the top of your monobook.js which is preventing this from working. You could either remove this tag, or just edit the old popups installation, changing popups.js to popupsdev.js everywhere (twice, I think). [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 13:34, 13 June 2006 (UTC)
::::<s>Oops, thanks. Still no joy in getting it to work, though. -- [[WP:ESP|<font color="green">9</font>]][[User:9cds|<font color="blue">cds</font>]]<sup>[[User_talk:9cds|<font color="blue">(talk)</font>]]</sup> 15:33, 13 June 2006 (UTC)</s>
::::Seems to be working - thanks a lot! -- [[WP:ESP|<font color="green">9</font>]][[User:9cds|<font color="blue">cds</font>]]<sup>[[User_talk:9cds|<font color="blue">(talk)</font>]]</sup> 15:42, 13 June 2006 (UTC)
 
== Popups crashing Firefox ==
 
After uninstalling and re-installing my monobook features one by one, it seems that your popups tool is suddenly crashing Mozilla Firefox. Do you have any idea why? (The only other tools I have installed are the busy/online/offline status changer and the Interiot editcount tool.) Thanks for your help. -→[[User:Buchanan-Hermit|<font color="blue">Buchanan-Hermit</font>]][[Wikipedia:Esperanza|<font color="darkgreen">™</font>]]/[[User talk:Buchanan-Hermit|<font color="red" size="1">?!</font>]] 01:41, 14 June 2006 (UTC)
:How is it crashing - does it freeze or just crash? Which version of firefox, and which operating system are you using? If you're not using it, can you upgrade to the latest version and try that? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 02:10, 14 June 2006 (UTC)
:It was crashing via the "Send error report? Send/Don't Send" way, on Windows XP. And I'm using Firefox 1.5.0.4, which is the latest version. (And on an unrelated note, the .php diffs on Wikipedia has stopped working for me... Yes, I've tried virus-scanning. This is getting messy.) -→[[User:Buchanan-Hermit|<font color="blue">Buchanan-Hermit</font>]][[Wikipedia:Esperanza|<font color="darkgreen">™</font>]]/[[User talk:Buchanan-Hermit|<font color="red" size="1">?!</font>]] 02:35, 14 June 2006 (UTC)
::Do you have any extensions installed? Please try uninstalling or disabling them. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 02:38, 14 June 2006 (UTC)
:::No, I don't think I do. There's nothing "extra" installed on my browser. -→[[User:Buchanan-Hermit|<font color="blue">Buchanan-Hermit</font>]][[Wikipedia:Esperanza|<font color="darkgreen">™</font>]]/[[User talk:Buchanan-Hermit|<font color="red" size="1">?!</font>]] 03:07, 14 June 2006 (UTC)
::::Hmmm, the problem seems to have resolved itself after leaving the computer alone for a few hours and then re-installing the script. Thanks for your help. -→[[User:Buchanan-Hermit|<font color="blue">Buchanan-Hermit</font>]][[Wikipedia:Esperanza|<font color="darkgreen">™</font>]]/[[User talk:Buchanan-Hermit|<font color="red" size="1">?!</font>]] 04:18, 14 June 2006 (UTC)
 
== Popups - block log in original structure ==
 
Hi Lupin. Using the 'original' structure I would like to have a link to a user's block log.
 
In [[User:Commander_Keane/monobook.js|my config. options]] I have popupAdminLinks=true and popupStructure='original'. Hovering over a user this gives a link to their log (their page moves etc) and the block page, but it does not give a link to the block log (to see if they have been blocked). I would like a link to the block log.
 
I know the link exists under different popupStructures, but is it possible to have it added to the 'original' structure? (I find that 'original' is the fastest and best structure for me). Thanks --[[User:Commander Keane|Commander Keane]] 02:39, 14 June 2006 (UTC)
 
:Good idea - I've changed this in the dev version. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 04:06, 14 June 2006 (UTC)
 
== Popups problem (minor) ==
 
Hi,
 
I've noticed that when you hover a wikilink in a <nowiki><div></nowiki> tag in Opera 8.5x/Windows XP, the background to the popup becomes transparent. I know there have been some problems in Opera 8.5x, but thought I'd notify you of this bug just in case.
 
[[User:EvocativeIntrigue|EvocativeIntrigue]] <sub>[[User talk:EvocativeIntrigue|TALK]] | [[Special:Emailuser/EvocativeIntrigue|EMAIL]]</sub> 19:53, 14 June 2006 (UTC)
 
== popups again ==
 
Hi, i have made a translation of your popup for frwiki. I try to change the popup max width to make it contain the translation but it doesn't work. I try with this 2 lines : popupInitialWidth=400; popupMaxWidth=400; If I made a mistake please tell me. Thanks [[User:Leag|Leag]] 11:20, 15 June 2006 (UTC)
:Looks good to me. I remember having trouble with that stuff, so it may not work terribly well. Which browser are you using? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
== anti-vandal tool suggestions ==
 
I'm enjoying the [[User:Lupin/Monitor my watchlist|Monitor my watchlist]] feature, and have two suggestions. (1) Have you considered making new entries appear on the top of the page instead of the bottom of the page? (2) Would it be possible to implement an option so that updates where there is no content would not appear? So it would ignore the following:
*(7) updating...done up to 10:27:02 remove earlier output
*(8) updating...done up to 10:27:27 remove earlier output
*(9) updating...done up to 10:28:01 remove earlier output
Either way, thanks for using your programming skills to enhance the Wikipedia. -- Reinyday, 17:38, 16 June 2006 (UTC)
 
:Yes, this has been discussed elsewhere. I forget where, but it'll be somewhere on [[User:Lupin/alltalk this behemoth]] I expect. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
::Which suggestion has been discussed elsewhere? Do you plan to implement either? Thanks. -- Reinyday, 20:43, 5 July 2006 (UTC)
 
== Another Thankyou ==
 
Thankyou, Lupin. Your popup script has greatly improved my Wikipedia experience. For instance, if there's a term I am unsure of I just mouseover it and it gives me a little popup with a description. Even images are included.
 
Thanks so very much, this script should be a standard feature of Wikipedia in my opinion!
Best possible regards,
 
[[User:Celardore|Celardore]] 00:13, 17 June 2006 (UTC)
 
:Amen to that!--[[User:Chodorkovskiy|<font color="Black">'''Chodorkovskiy'''</font>]] <sup>[[User talk:Chodorkovskiy|'''<font color="Blue">(talk)</font>''']]</sup> 05:24, 17 June 2006 (UTC)
 
::Thanks! [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
A big thank you for me too - great script. Warm regards --[[User:Charlesknight|Charlesknight]] 22:05, 26 June 2006 (UTC)
 
==Minor popups font color request==
Can you explicitly specify the black color of the preview text in your code, so that custom skins' font colors aren't used instead? Mine is showing up as light green text on your off-white background. &mdash; <small>[[User:Brian0918|<b style="color:black;">BRIAN</b>]][[User_talk:Brian0918|<span style="color:gray;">0918</span>]] &bull; 2006-06-17 22:30</small>
 
:Should be possible... did you try [[http://en.wikipedia.org/wiki/WP:POP#Configuration_.28optional.29 this]]? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
== Firefox "Unresponsive script" ==
 
I upgraded my Firefox browser a few days ago to 1.5.0.4. I'm really not sure which version I had prior to that (I think it was 1.0). Since then I've had some problems with the pop-ups. When the mouse hovers over some links (but not others), I get a "spinning beachball" (i.e., Mac) mouse cursor for a few seconds, followed by an error message:
:"Warning: Unresponsive script. A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."
If I click "Stop" it clears up after about a second and I'm on my merry way (for a while). This doesn't happen with every link, just some, and I can't tell why some links set it off and others don't. Again, this is Firefox 1.5.0.4 and I use it on Mac OS X 10.3.9. I use the "classic" Wikipedia skin. Thanks! -- [[User:Gyrofrog|Gyrofrog ]] [[User_talk:Gyrofrog|(talk)]] 06:37, 18 June 2006 (UTC)
 
:How fast is your machine? It should be possible to use the script on an older machine, but this is still useful to know. Also, if you can send me urls for links which set off the dialog, I can try to investigate further. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
::Here's such a link, this was in my watchlist and I got the error when I moused over it: [[Ethiopia#Demographics]]. Here's another: [[Rubik's Cube]]. (Both of these pop-up OK some of the time.) I am using a 266MhZ PowerPC G3, with 320MB RAM. Again, slow as this machine is, I didn't have the problem with the pop-ups until I upgraded Firefox. Thanks, -- [[User:Gyrofrog|Gyrofrog ]] [[User_talk:Gyrofrog|(talk)]] 03:36, 28 June 2006 (UTC)
 
:::Hm. I find it strange that they sometimes pop up OK, but sometimes don't. Do you mean that they're always slow they first time you mouseover them after a page load but are OK once you've waited for them to load completely and then mouseover them again? Or does it seem more random than that?
 
:::For want of a better suggestion, please could you try with all firefox extensions disabled and all other user scripts disabled to see if it still happens? Thanks, [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 11:26, 28 June 2006 (UTC)
 
== Popups "menu" style display on Opera ==
 
Hi Lupin, can you disable the "menu" style display of popups options for Opera, again? I'm typing this from Opera 9 final ("about" page says it's build 8501) and "menu" style popups is once again definitely broken. It was okay from the one public build before beta 2 on, but broke again after build 8473 (3 builds before this final release). Regards, [[User:Kimchi.sg|Kimchi.sg]] 04:05, 21 June 2006 (UTC)
:That's annoying. Will do. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
== Pop-up diff bug ==
 
If you open the history of the below articles and use pop-ups to view NawlinWiki's June 20th edits it looks like he removed the entire first paragraph instead of just the first template.
 
[[Distributed Reflection Denial of Service]]
 
[[Gymnaslærer Pedersens beretning om den store politiske vekkelsen som har hjemsøkt vårt land]]
 
Other than this minor bug, thanks for the great tool! --[[User:Pascal666|Pascal666]] 04:10, 21 June 2006 (UTC)
:Gah, that's bad. I'll investigate when I get the time. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
== Interwiki Resolver Tool ==
 
Hi, I decided to start a new conv thread - the one above was getting a bit out of hand.
 
I am in the process of building a tool to help users themselves resolve interwiki link problems. The more wikies there are, the more conflicts we get, and my talk page fills up with complains that I should know en:Sabians is a religious community and fr:Sabian a factory for cymbals, whereas its my bot that does all this... Anyway, to get to the point: I created [[User:Yurik/Interwiki Conflict Resolver|this tool]], and its in desperate need of your javascript expertise. I would like to add a menu for each link, similar to the "actions" menu in the popup. Can you help? Thanks! --[[User:Yurik|Yurik]] 06:40, 26 June 2006 (UTC)
 
:Yes, probably. What exactly do you need the script to do? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:33, 26 June 2006 (UTC)
 
:: Here's an example of the tool in action: [http://tools.wikimedia.de/~yurik/iwfixer.php?load=20060626064251_M_2AA_2AS_]. Currently you can click the two numbers in parenthesis to set checkmarks for all those pages that this page links to (see the tool tip that pops up on these links). What i would like to do is have a menu instead, next to each item, auto-poped-up, which would have the two existing options (Select all that this page links to, select same group links this page links to), plus some more (like select those pages that link to this page, etc).
:: The way its done now is in each &lt;a> tag, there is a call to Select() javascript function that takes a list of ids and sets them.
:: The menu should probably be similar: Menu( Array("title1", "Select(Array('id1','id2',...))", "title2", "some other script", ...)). Any thoughts? Thanks! --[[User:Yurik|Yurik]] 15:14, 26 June 2006 (UTC)
 
== Popups null edit ==
 
Hey, what happened to the "null edit" ability in Popups? That was really useful. Just wondering if it was removed intentionally (and if so, what the reason was), or if this was accidental. Oh, and thanks for all of the time you continue to spend improving the tool. More people appreciate it than you know! --[[User:Cyde|<span style="color:#ff66ff;cursor:w-resize;">'''Cyde↔Weys'''</span>]] 23:09, 26 June 2006 (UTC)
:The menu was getting too long, so it's shorter by default. To get the old kitchen-sink menu, set popupStructure='menus' in your javascript file. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 00:52, 27 June 2006 (UTC)
 
== Pb since yesterday ==
 
Popups crash (coredump) my firefox 1.5/Linux debian since yesterday 26/06, need to deactivate JS. what changed please ? [[:fr:Utilisateur:HBBK|Utilisateur:HBBK]]
:Nothing has changed since yesterday, as far as I can see. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 11:33, 27 June 2006 (UTC)
::It seems to be ok now. I don't know what happened, maybe a corrupted version stuck in our proxy cache ... best and thanx you for that very helpfull tool [[:fr:Utilisateur:HBBK|Utilisateur:HBBK]]
 
== Question about popups ==
 
When you revert in popups, there is &autoclick=wpSave in the url. Well, I have loads of subpages at [[User:GeorgeMoney/delpage]] that I want to delete, so I want to make it easier for the admin(s) deleting them. So, would it be possible for an admin with popups to use &autoclick=wpConfirmB which is the submit button for delete. Can this be achieved so all the admin has to do is press the "delete" link I have provided and the page will be deleted automatically instead of having to go to a form and click the button? --[[User:GeorgeMoney|GeorgeMoney]] <sup>([[User talk:GeorgeMoney|talk]]) ([[User:GeorgeMoney/Help Me Improve|Help Me Improve!]])</sup> 22:05, 27 June 2006 (UTC)
:Yes, could it could be done in popups, but there's no point. It'd be a five-line script anyway... something like this:
<pre><nowiki>
addOnloadHook(function(){
if (document.___location.href.indexOf('action=delete&confirmdelete')>-1) {
document.getElementById('deleteconfirm').wpConfirmB.click();
}});
</nowiki></pre>
:(untested). You could extend this to include a reason for deletion, too. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:20, 27 June 2006 (UTC)
 
::Actually, there is no need for a reason for deleteion, because I have already included that in the url "&wpReason=User%27s+subpage+requested+to+be+deleted+by+the+owner.+%5B%5BWP%3ACSD%7CCSD%5D%5D+U1". And I tested the script at [http://wiki.xyrael.net/mediawiki/index.php/Main_Page a test wiki] and it doesn't work. But, [[User:Prodego|Prodego]] is deleting all of them without a script, so there is no need for one. But, thanks for trying though :) . --[[User:GeorgeMoney|GeorgeMoney]] <sup>([[User talk:GeorgeMoney|talk]]) ([[User:GeorgeMoney/Help Me Improve|Help Me Improve!]])</sup> 22:48, 27 June 2006 (UTC)
 
:::Hm, you tried it with action=delete&confirmdelete in the url and it failed? That's curious. Anyway, glad you've found a solution. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 23:01, 27 June 2006 (UTC)
 
::::Oh, there was no "confirmdelete" in the url. When I do http://wiki.xyrael.net/mediawiki/index.php?title=User:GeorgeMoney&action=delete it doesn't work. But, then I added the confirmdelete, and it worked. --[[User:GeorgeMoney|GeorgeMoney]] <sup>([[User talk:GeorgeMoney|talk]]) ([[User:GeorgeMoney/Help Me Improve|Help Me Improve!]])</sup> 23:03, 27 June 2006 (UTC)
 
I also use auto edits to welcome people. I have to go to the new user log, copy all the names into MS Word, use the 'replace' function to replace all the eccess data, and then use it to put <nowiki>{{User:GeorgeMoney/Welcome/Template| }}</nowiki> around it. Then copy that to [[User:GeorgeMoney/Welcome/Page]] and press the "welcome me" button which links to the user talk page and it auto adds the welcome. Is there a way to do this directly from the log so I don't have to go through all these steps? --[[User:GeorgeMoney|GeorgeMoney]] <sup>([[User talk:GeorgeMoney|talk]]) ([[User:GeorgeMoney/Help Me Improve|Help Me Improve!]])</sup> 02:46, 28 June 2006 (UTC)
:Yes, you want to add the welcome me links directly to the new users page, I imagine. Shouldn't be hard.
<pre><nowiki>
function addGreetLinks() {
var guff='&autoclick=wpSave&autosummary=Welcome%20to%20Wikipedia!&preload=User%3AGeorgeMoney%2FWelcome&editintro=Template%3AThisisnotatemplate&section=new&create=Welcome';
var lis=document.getElementById('content').getElementsByTagName('li');
for (var i=0; i<lis.length; ++i) {
var as=lis[i].getElementsByTagName('a');
var greet=as[1].cloneNode(true);
greet.firstChild.nodeValue='greet';
greet.href += '&action=edit' + guff;
greet.removeAttribute('class');
as[1].parentNode.appendChild(document.createTextNode(' '));
as[1].parentNode.appendChild(greet);
}
}
if (/title=Special(%3A|:)Log&type=newusers/.test(document.___location.href)){addOnloadHook(addGreetLinks);}
</nowiki></pre>
:[[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 03:12, 28 June 2006 (UTC)
 
::Yes, it works! Thank you! --[[User:GeorgeMoney|GeorgeMoney]] <sup>([[User talk:GeorgeMoney|talk]]) ([[User:GeorgeMoney/Help Me Improve|Help Me Improve!]])</sup> 03:25, 28 June 2006 (UTC)
 
== Bug report ==
 
Hi,
 
This is a bug report on "popups". This is the first time it happened eventhough I have been working with the same configuration for a long time. The bug is in the edit summary of [http://en.wikipedia.org/w/index.php?title=Taj_Mahal&curid=82976&diff=61036984&oldid=61029890 this revert]. FYI, I use Mozilla Firefox 1.5.0.4 on Windows XP SP2 with all available updates installed. The bug was not reproduced in [http://en.wikipedia.org/w/index.php?title=User:Ambuj.Saxena/Sandbox&diff=61040140&oldid=56285465 next revert]. &mdash; [[User:Ambuj.Saxena|Ambuj Saxena]] ([[User_talk:Ambuj.Saxena|talk]]) 16:34, 28 June 2006 (UTC)
 
This talk page is becoming ''very long''. Please consider [[Wikipedia:How_to_archive_a_talk_page|archiving]].
 
:Hm, this is tricky to diagnose. If this happens again, please open your browser history and locate the page whose title looks like "(Editing ARTICLENAME - Wikipedia, the free encyclopedia)", with the brackets and without the quotes. Right-click, select copy link ___location and send me the url. Maybe this page is still in your history and you can do this now? [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 22:15, 28 June 2006 (UTC)