Wikipedia talk:User scripts/Archive 3

message: Where is the appropriate place to add the script below?
addOnloadHook(addnav)
function addnav() {
    var tb = document.getElementById('p-navigation').getElementsByTagName('ul')[0];
    addlilink(tb, '/wiki/Special:Newpages', 'New pages', 'n-newpages', 'Special:Newpages', );
}
function addlilink(tabs, url, name, id, title, key){
    var na = document.createElement('a');
    na.href = url;
    na.appendChild(document.createTextNode(name));
    var li = document.createElement('li');
    if(id) li.id = id;
    li.appendChild(na);
    tabs.appendChild(li);
    if(id)
    {
        if(key && title)
        {
            ta[id] = [key, title];
        }
        else if(key)
        {
            ta[id] = [key, ];
        }
        else if(title)
        {
            ta[id] = [, title];
        }
    }
    // re-render the title and accesskeys from existing code in wikibits.js
    akeytt();
    return li;
}
It adds a "Newpages" link in the navigation sidebar.  John Reaves 03:01, 5 January 2007 (UTC)
replies: text: I'm not sure what you're asking exactly. Are you trying to add this for everyone, or just publicize the code? If the former, it should be discussed at Wikipedia:Village pump (technical) first and then proposed at MediaWiki talk:Common.js. I personally don't think it should be added site-wide. If you're trying to publicize it, it should be added to Wikipedia:WikiProject User scripts/Scripts. You can either add it yourself (with the addlilink dependency called out but not included), or propose it at Wikipedia talk:WikiProject User scripts/Scripts. Mike Dillon 17:13, 6 January 2007 (UTC)
replies: text: I'm just trying to publicize it.  I'll post it at the talk page.  John Reaves 05:16, 7 January 2007 (UTC)
thread_title:  Proposal 

message: Heading is pretty obvious; how do I do it? -Amarkov blahedits 16:13, 6 January 2007 (UTC)
replies: text: This page is a pretty good reference: JavaScript tutorial - Operators. It's generally pretty transparent, depending on what you're going for. Mike Dillon 17:16, 6 January 2007 (UTC)
replies: text: Oh, wow, that's more transparent than I thought. I'm just trying to add 1, actually, so it's pretty easy. I assumed that since + is used for other purposes, it wouldn't work. -Amarkov blahedits 19:26, 6 January 2007 (UTC)
replies: text: Okay, so now I need to know how to convert from a string to a number and back. The way I have doesn't work. -Amarkov blahedits 20:50, 6 January 2007 (UTC)

text: Okay, I think that works fine. The problem I have must be with extracting the number from the edit window. Saving the page seems to add a return character, which I suspect is throwing it off, but I do not know how to fix that. -Amarkov blahedits 21:45, 6 January 2007 (UTC)
replies: text: You can trim the string by calling str = str.replace(/^\s+|\s+$/, ""). However, I think your problem is that you don't have an ampersand in front of your "fakeparam". Mike Dillon 21:50, 6 January 2007 (UTC)
replies: text: There was a dropped ampersand in a later function, but that shouldn't have affected it, I don't think. -Amarkov blahedits 21:52, 6 January 2007 (UTC)
replies: text: Yeah, it was in "movepage()". The replace code above will remove a trailing newline, but I tested converting "1\n" into a number without trimming and had no problems. Mike Dillon 21:54, 6 January 2007 (UTC)
replies: text: Which explains why it still fails. Argh. -Amarkov blahedits 21:56, 6 January 2007 (UTC)
replies: text: Okay, so the problem, I think, is that URL parameters do not work properly out of "/w/index.php?" I might be able to manage around that. -Amarkov blahedits 22:06, 6 January 2007 (UTC)

text: There's still a problem. Argh. -Amarkov blahedits 22:13, 6 January 2007 (UTC)
replies: text: Are you talking about getarchivenumber() in your monobook.js? What do you expect it to do? Changing location.href after clicking the submit on the edit form won't work. Mike Dillon 22:23, 6 January 2007 (UTC)
replies: text: I expect it to submit the form and then change pages. That may not work correctly, but the problem is that it doesn't even get that far. It stops before executing the first line; actually, just loading the page, running the javascript or not, freezes it. -Amarkov blahedits 22:31, 6 January 2007 (UTC)

text: Oh, I see what you mean. I guess I can deal with manual archiving. -Amarkov blahedits 02:15, 7 January 2007 (UTC)

text: P.S. Why not try something like Werdnabot? I know it doesn't use the same mechanism for archiving (i.e. it transfers comments instead of moving the page), but it does its job quite well. Mike Dillon 02:15, 7 January 2007 (UTC)
thread_title:  Math in Javascript? 

message: Howdy!  I have been programming since we punched holes in paper, but I only took up JavaScript this year.  I don't know where to ask JS questions, so I'm starting here.
I have written two scripts:
#User:Barticus88/dpl.js, which adds selection mode buttons to the toolbox on What links here pages (used by disambiguation)
#User:Barticus88/edit_section_zero.js, which adds an edit section zero button to "edit this page" (used by everybody)
Both scripts work perfectly, individually.  However, no matter which way I arrange User:Barticus88/monobook.js, the "Mode: DPL  T  P  R  W  U" line appears in the Toolbox either twice or not at all.  Currently I have edit_zero last so it shows up twice.  I don't see how one impacts the other.  They're fiddling totally unrelated parts of the page.  Both use addOnloadHook, but there are scripts that use addOnloadHook several times.  -- Randall Bart 09:16, 10 January 2007 (UTC)
replies: text: There's an error in the section-zero script; document.getElementById(something that doesn't exist).length is an error. You want to check if the button is null, rather than for having a zero length. I'm not sure whether its that error that's causing the doubling, but errors are a common cause of doubling. (You can find out about the error by double-clicking the 'warning' icon in the bottom-left corner of the screen in Internet Explorer, by typing 'javascript:' in the URL bar in Netscape, and I don't own a copy of FireFox but I'm sure it has an even better way of reporting JavaScript errors.) --ais523 09:22, 10 January 2007 (UTC)

text: Your code seems to make it impossible to edit the entire page without hacking the URL; sometimes, a full-page edit is desirable, so I wouldn't use that script personally. If you're interested in writing User Scripts, it's probably worth pointing out that some of the documentation in this WikiProject is out of date; things like 'Get tidy title' are no longer useful because there are now variables provided automatically on each page (view the HTML source of any Wikipedia page for details). --ais523 10:55, 10 January 2007 (UTC)

text: Those are probably browser incompatibilities.  They don't hurt anything, as they're just CSS.  Nothing bad will happen with the console on. Supadawg (talk • contribs) 23:22, 12 January 2007 (UTC)
thread_title:  Why is my toolbox item doubled? 

message: There's a protected edit request that you guys may be interested in -- I don't know my way even half around javascript, unfortunately, so any input would be appreciated. Luna Santin 21:54, 19 January 2007 (UTC)
thread_title:  [[Template talk:Navpop]] 

message: I have a couple of scripts in my monobook that I want to alter so that "watch this page" is automatically checked, or unchecked, depending on what I'm doing to the article.  Basically I just need to add something along the lines of f.wpMinoredit.checked = false; for minor edits, but for watching articles instead.  Thanks.  --... discospinster talk 16:10, 24 January 2007 (UTC)
replies: text: You probably want to manipulate f.wpWatchThis.checked. --ais523 16:17, 24 January 2007 (UTC)
replies: text: Thanks, that did the trick. ... discospinster talk 16:41, 24 January 2007 (UTC)
thread_title:  Automatically un/choosing watch 

message: I'm returning from an extended Wikibreak, only to find that my monobook.js is no longer working. Does anyone have a guess as to why? --causa sui talk 15:12, 30 January 2007 (UTC)
replies: text: You need to update your copy of addEditSection0. Mike Dillon 15:52, 30 January 2007 (UTC)
thread_title:  My script is broken :( 

message: If scripts arent working: Do a hard refresh, clear the cookies having to do with Wikipedia, restart the computer, then log back in and do another hard refresh. --Darkest  Hour • ¿? 20:39, 7 February 2007 (UTC)
thread_title:  I find this useful: 

message: Is there a tool or script out there in Wikiland that allows a user to cross reference categories? Say I wanted to find Christians in Alabama (which is a bit redundant ;-)), I could input :Category:Christian Wikipedians and :Category:Wikipedians in Alabama, and the tool/script/whatever would spit out a list of users who are found in both cats. I'm not even sure if such a thing is possible, but I've been curious and I couldn't find a place to ask this; I hope I've come to the right place. - auburnpilot talk 10:26, 19 February 2007 (UTC)
replies: text: I think this is beyond what user scripts can manage, and even if it wasn't, it would cause huge server load for large categories. There have been discussions on the wikitech-l mailing list about this, and so it's possible that it will be implemented in the software eventually. Hope that helps! --ais523 10:44, 19 February 2007 (UTC)
replies: text: Also see Wikipedia:Category intersection. -- Jitse Niesen (talk) 00:31, 20 February 2007 (UTC)
thread_title: Cross-referece categories

message: Another  request that members of this project will know more about than I do. ;) – Luna Santin (talk) 22:27, 21 February 2007 (UTC)
replies: text: Seems fine to me as long as the page title doesn't have any apostrophes in it. That should be a reasonable assumption for pages containing JavaScript code. Also, the current version of  also has a problem with apostrophes so this isn't a new issue. Mike Dillon 02:25, 23 February 2007 (UTC)
thread_title:  [[Template talk:Js]] 

message: I've been fooling around with my monobook.js and metadata.js pages, trying to get both popups and the new assessment script to work together, and now, all of the sudden, it won't let me load Wikipedia in Internet Explorer.  After a second or two (after I click a link or type it in the address bar), an error message pops up saying "Internet Explorer cannot open Internet site http://en.wikipedia.org/Main_page" or whatever page I try to go to.  This only happens for wikipedia.  All other websites work fine, and I can work on Wikipedia just fine in Mozilla.  I tried blanking my monobook but it didnt help.  Has anyone seen anything like this before/can anyone help me? -RunningOnBrains 05:16, 2 March 2007 (UTC)
replies: text: This happened to me once; I fixed it by booting up an ancient version of Mozilla and reverting my monobook.js, then loading IE, navigating to Wikipedia, and pressing Control-F5. --ais523 11:14, 2 March 2007 (UTC)
thread_title:  Scripts broke Internet Explorer 

message: I created a small guide on writing User Scripts for User Scripts WikiProject in another language Wikipedia, then translated it to English as well. Link: Guide 
I suggest we put it as a Tutorial how to write scripts and the current /Tutorial will only tell how to use scripts. Or there are many other possible options. Please let me know what you think. .  — Alex Smotrov 21:54, 8 March 2007 (UTC)
replies: text: Nice work. That looks like a really good start. I think it's good enough to move into a subpage of Wikipedia:WikiProject User scripts. Maybe /Guide or /Developers' guide. Mike Dillon 01:03, 13 March 2007 (UTC)
thread_title:  A new guide 

message: Ok, I've been using the UTC clock and purge function from User:Voice of All/UsefulJS for sometime now, but as Daylight Saving Time has come around, the clock is now 1 hours fast. Is there any way to alter the coding (whether in my monobook or elsewhere) so that the clock will be accurate again? I left a message for Voice of All but haven't received a response, so I'm hoping somebody here knows how it can be adjusted. The basic script can be found here. auburnpilot talk 22:55, 15 March 2007 (UTC)
replies: text: The clock uses the system time on your computer so, assuming you're using Windows, double click on the clock on the taskbar, check the time and date is set correctly; go to the Time Zone tab and make sure that the time zone and daylight savings settings are set correctly. Also make sure that you have installed all of the automatic updates so that the computer knows when to calculate daylight savings. Tra (Talk) 23:20, 15 March 2007 (UTC)
replies: text: Yeah, the time and all is correct. With the US switching to DST 3 weeks early this year, it seems to have screwed things up....thanks though. auburnpilot talk 23:26, 15 March 2007 (UTC)

text: You may need to patch your operating system or browser. For me (using Linux and SeaMonkey 1.0), the UTC code work just fine. Mike Dillon 03:41, 17 March 2007 (UTC)
thread_title: UTC clock and purge

message: How do I get a portlet that adds what links here to the top of the page so I don't have to go all the way to the link itself. Because right now I have most of my editing functions located around the portlets. I know this works pretty well, but cannot get it in a portlet:  
what links here 
-- Darkest Hour 22:04, 20 March 2007 (UTC)
replies: text: If you mean an action button (a "portlet" is anything in the UI, including the action buttons, personal toolbar, nav links, search, logo, toolbox, and 'in other languages'), try this thing below. It cheats by grabbing the href of the existing whatlinkshere (if it exists). --Splarka (rant) 08:12, 21 March 2007 (UTC)
thread_title: More

message: Presented as a sample of JavaScript code (and social engineering), and as a gag you can play on a friend, but not as an April Fool's gag on Wikipedia (because I got slapped last night), my "game" Sisyphus:  User:Barticus88/Sisyphus.  It's the first serious js I have written from scratch.  It loops using setTimeout, which makes it quite efficient.  Other things will continue running with rather small degradation.  
I am mystified at why setTimeout('sisyLoop(Sisyphus)',eval(mtimer)); works.  It seems to me that Sisyphus is a local variable, which doesn't exist anymore when sisyLoop is actually called.  OTOH, when I passed a variable holding a simple numeric value, that blew up because it didn't exist.  Isn't that numeric value an object of type Math?  Why can't I pass it like other objects?  But really, why can I pass Sisyphus outside the environment of, and past the lifetime of sisyFunc? — Randall Bart 00:17, 2 April 2007 (UTC)
replies: text: It isn't a local variable, because you didn't use var Sisyphus. Every variable in JavaScript is a global unless it is a function parameter or scoped with var. Mike Dillon 02:34, 2 April 2007 (UTC)

text: Capitalization has no effect, except that variable names are case sensitive. Variables are not treated differently because of their name. As for your issue with "dd", you're not really giving enough information to see what the problem is. That being said, I don't really care to look at this much more unless it is to help you write scripts that are actually useful in building an encyclopedia. Mike Dillon 04:13, 2 April 2007 (UTC)
thread_title:  April Fool's gag 

message: It is recommended that :Category:Wikipedians in WikiProject User scripts be renamed to either :Category:WikiProject User scripts participants  or :Category:WikiProject User scripts members according to convention.  It is left up to the project participants/members to choose which they would like.  Please hold a discussion here and when there is consensus make the change.  Thank you.  --NThurston 15:11, 17 April 2007 (UTC)
thread_title:  WikiProject user category 

message: Am I the only one who hates to format of the "Open requests"/"Fulfilled requests" section of the project page? I've been thinking that it would be better to move this to a page that is managed like Wikipedia:Requested templates. It could either be a project subpage or it could live at Wikipedia:Requested scripts or Wikipedia:Requested user scripts. What do you all think? Mike Dillon 23:38, 22 April 2007 (UTC)
replies: text: Well, the whole project imho is a mess, and "requests" are not an exception. Anything would be better than what we have now. Personally I prefer it to be a subpage. — Alex Smotrov 13:46, 23 April 2007 (UTC)
replies: text: I'd agree with the proposed change (prefer it to be a subpage of the project) or pretty much anything else that isn't obviously a bad idea, considering the mess it's in at the moment. --ais523 17:18, 24 April 2007 (UTC)

text: I'm going to start playing around with the a possible header and page structure at Wikipedia:WikiProject User scripts/Requests. Mike Dillon 01:18, 25 April 2007 (UTC)

text: I've started breaking the existing requests into sections at User:Mike Dillon/Script requests. Mike Dillon 02:08, 25 April 2007 (UTC)

text: Please replace the sections! (Note that there have been some changes to the WP:US mainpage since you split off the sections, so if you haven't resynchronized them yet you may have to.) I suggest putting the open/fulfilled requests onto different subpages of WP:US, transcluding them, and putting an archivebot on the fulfilled requests page (set to some long length of time, say a month). --ais523 15:25, 2 May 2007 (UTC)

text: P.S. I put fake anchors on WP:US to replace the previous two sections with a single "Script requests" section. Mike Dillon 03:44, 4 May 2007 (UTC)
replies: text: Great improvement, thanks! --ais523 11:51, 4 May 2007 (UTC)
thread_title:  Requested scripts format 

message: importScript('User:Razorclaw/extraeditbuttons.js'); 
I wrote this along the lines of another script but what I want to know is, what can I remove from the script? I see table and redirect popups but do not know what to take out. Basically can you look at the script and tell me what I don't need? Also I would like to make it compatible with WikEd. What and where would I add the extra stuff to do that? Regards, «razorclaw» 19:35, 25 April 2007 (UTC)
thread_title:  Question 

message: See: User:Razorclaw/monobook.css/permanent. Could this be explained to me? It took me a while to get it just right but its there. I don't know what all it does but the most noticeable changes are:
# The navigation - interaction - search & toolbox headers have red background. I can't get the other languages one to have a red background. See     .
# The title of the page has a red background
# The "You have new messages" box is blue with white text and orange links.
Regards, «razorclaw» 22:47, 2 May 2007 (UTC)
replies: text: If I remember correctly, user styles (as opposed to scripts) are sorted out on Meta (m:Help:User style and m:Gallery of user styles), rather than here on Wikipedia, because new styles/skins work on any Wikimedia project (scripts are more often specific to things like AfD). --ais523 08:22, 3 May 2007 (UTC)
thread_title:  not js but pretty cool 

message: I rustled up this small script to edit the text in the tabs at the top of the page (I have crazy computer settings which means the tabs were too wide for the page).
 /* Tab text editor */
 function tabTexter(ttname,tttext)
 {
    var tab = document.getElementById(ttname);
    if (tab)
       tab.firstChild.innerHTML = tttext;
 }
 function tabTexterHook()
 {
    tabTexter("ca-edit", "edit");
    tabTexter("ca-history", "hist");
    tabTexter("ca-move", "→");
    tabTexter("ca-unwatch", "☑"); //☐☑☒
    tabTexter("ca-watch", "☐");
    tabTexter("ca-talk", "talk");
 }
 addOnloadHook(tabTexterHook);
--h2g2bob (talk) 07:44, 7 May 2007 (UTC)
thread_title:  Another script 

message: Can this be done? A link or explanation would be appreciated.
Specifically, I am interested in setting a variable named idiom to 'British', etc. and having that determine spelling within articles (e.g. Brits will see colour). The template is Template:Idioms which is under development. Antonrojo 14:43, 17 May 2007 (UTC)
replies: text: The usual method would be to use CSS for something like this. For instance, if you can read this sentence, you are using the Monobook skin. People would customize their monobook.css, or a script could activate various CSS classes depending on things that it calculated itself or asked the user for (see m:Stewards/confirm for an example of this technique; try 'en' and 'de' as the language to test it). The problem would be that users without CSS-enabled browsers would see both possiblies, so it's an accessibility problem (see Wikipedia:hiddenStructure). Doing it purely with JavaScript would involve encoding the information in a non-displaying way somehow on the page; there's no non-horribly-hacky way to do that using a template. Hope that helps! --ais523 16:07, 17 May 2007 (UTC)
thread_title:  linking .js variables to template parameters 

message: I have a request for some anti-vandal tool that blocks pontental vandalism in the browser using user user scripts and then send an e-mail to an appropriate person, since the problem that I'm trying to fix are just kids who use wikipedia as a toy or dump site for insults.It also should tell the kids what they shouldn't use wikipedia for.I have a fixed IP.
:There are several antivandal scripts around (see Wikipedia:Cleaning up vandalism/Tools). I don't think any of them actually send abuse emails; that sort of thing would be a last resort, not a first resort, and anyway automated scripts aren't allowed to access the abuse-links databases (you have to look them up by hand). --ais523 07:55, 22 May 2007 (UTC)
replies: text: I actually meant scanning the submitted content with assorted scanners for page blanking and bad words but the e-mail would be sent to the teacher and then the next higher up person after warnings.I'm helping a  solveproblem involving misuse of Wikipedia and other wikis among students.Some students actually do good, but not all.(sorry that I was not so specific)But I'll look at those scripts.CommonEditor2345 06:22, 23 May 2007 (UTC)
thread_title: Vandals

message: When I attempt to import this script using Firefox 2.0, it gives an error and does not work. Has anyone gotten it to work for Firefox?
*The script is imported using:
**importScript('Wikipedia:WikiProject User scripts/Scripts/AutoAFD.js');
*The error is: 'missing name after . operator'
*The line with the error is (without the comment): 
**//: – (View AfD)\n'+
*To test whether the script works, I refreshed the cache and edited an article. No additional tab or link shows up.
*The template is applied here User:Antonrojo/monobook.js
Antonrojo 15:14, 9 June 2007 (UTC)
thread_title:  AutoAFD error 

message: Hey, I was wondering what you guys think of my new script, found at User:TheFearow/welcomehelper.js. It finds Talk links for users anywhere it can, and adds a Welcome link next to it. It works in RC, NP, history pages, etc. It uses my tagger script (above) to do the actual welcoming.
Is this sort of thing worth putting on the scripts list?
Thanks! Matt/TheFearow (Talk) (Contribs) (Bot) 22:14, 25 June 2007 (UTC)
thread_title:  My second script 

message: I'm going to file a new bug on :bugzilla: about current implementation of insertTags(). Since I try not to bug developers more than really necessary, I thought I would first put a notice here and see if anybody has any suggestions / improvements. Please see insertTags() ∴ Alex Smotrov 22:41, 26 June 2007 (UTC)
replies: text: You have a hard tab on the "// Mozilla" line that makes the code hard to read. Mike Dillon 23:55, 26 June 2007 (UTC)
replies: text: My fault, I guess I didn't actually hope that anybody would look at the code ;) Fixed formatting, slightly changed code to be more readable, transcluded the code to get syntax highlighting ∴ Alex Smotrov 15:45, 27 June 2007 (UTC)
thread_title:  insertTags() patch 

message: Made a small implementation of sprintf in JS, here if anyone wants it. It should work, but I won't give any guaranties! →AzaToth 23:22, 2 July 2007 (UTC)
thread_title:  sprintf 

message: Can someone show me a way to use javascript to add a check-box to the page, then have another javascript function check the status of that check-box before continuing? Ideally, the checkbox would be in a portlet (doesn't really matter which one), and the second function would only continue if the checkbox is checked. This way, the second script (a userscript, possibly) can be turned on/off whenever needed. ThanksObsidian Mask 02:09, 1 August 2007 (UTC)
replies: text: If you want the checkbox to retain its checked/unchecked state between different page views, the code will have to use a cookie. What is the script you're trying to disable? We might be able to give you a better suggestion if you describe the situation a little better. Mike Dillon 03:13, 1 August 2007 (UTC)
replies: text: Originally, I was going to use it to help with a modified version of the semi-automatic welcome script, but now that I think about it, it might be good to have a central script that can be used to toggle all (or certain assigned) userscripts someone has. Obsidian Mask 03:54, 1 August 2007 (UTC)
replies: text: The usefulness of such a script eludes me a tad. Scripts should be smart enough not to do much code execution unless required, and with browsercaching, there should be little performance gain after 1st time loading between an included script and a non included script I think. --TheDJ (talk • contribs) 20:01, 1 August 2007 (UTC)
thread_title:  Adding a checkbox 

message: Hello. I registered irc://irc.freenode.net/wikipedia-scripts for discussion and hopefully coordination of Wikipedia's javascript tools. I know I could  use more communication with other script writers, and I think we could use more coordination in general. So, everybody, welcome :) Zocky | picture popups 07:43, 9 August 2007 (UTC)
thread_title:  IRC channel 

message: Hey,
Are there any simplish libraries for editing pages? My scripts (User:TheFearow/welcomehelper.js and User:TheFearow/tagger.js) currently use a system of redirects and cookies to send you back to the page you triggered it on, but I would want to create a system for the welcomehelper to make it work entirely seperate of my tagger script, and to do it via AJAX. It only operates for non-existant user talk pages, so the only value it needs is the edit token - and i'm not sure how to go about getting this.
Anyway, thanks in advance for any advice! Matt/TheFearow (Talk) (Contribs) (Bot) 21:24, 15 August 2007 (UTC)
replies: text: Well, I couldn't find much on standard AJAX, so I wrote my own framework for an ajax-like system at User:TheFearow/ajax.js. I'm still testing, but it sort of does what I want. I'd still prefer standard AJAX if someone can give me some pointers. Matt/TheFearow (Talk) (Contribs) (Bot) 23:15, 15 August 2007 (UTC)
replies: text: Thanks to the fantastic program that is TWINKLE, I managed to find some proper AJAX code, and I wrote this library, meant for users who want to integrate AJAX into their scripts. Feel free to use, but give credit/directly import off mine. Matt/TheFearow (Talk) (Contribs) (Bot) 00:07, 17 August 2007 (UTC)

text: Hmmm, I was judging that upon the fact that TWINKLE doesn't work in IE, and AzaToth said the only issue was that it couldn't edit, I assumed this was an AJAX issue, possibly POST support or something. Matt/TheFearow (Talk) (Contribs) (Bot) 23:02, 17 August 2007 (UTC)
thread_title:  Ajax 

message: I'm not quite sure where this should go, but Inez at Wikia has adapted our search suggest feature for Wikipedia. You can use it by adding the following to Special:Mypage/monobook.js.
document.write('<script src="http://images.wikia.com/central/suggest/suggest.js"></script \>');
Angela. 10:03, 19 August 2007 (UTC)
replies: text: That one seems somewhat limited - it doesn't support titles that include spaces, and AFAICT it can't search namespaces. My version of the same thing is somewhat better, but it would be better still if api.php could do case-insensitive title searches :\. Zocky | picture popups 14:38, 20 August 2007 (UTC)
replies: text: Oh, I should say that Auto Complete currently doesn't work in IE, at least not in IE6. It can be made cross-browser compatible with some work, though.Zocky | picture popups 14:47, 20 August 2007 (UTC)
replies: text: I also made one in my userspace based on this, at User:TheFearow/suggest.js. Matt/TheFearow (Talk) (Contribs) (Bot) 01:31, 27 August 2007 (UTC)
thread_title: Search suggest

message: I've just coded a little script that changes interwiki links so that the titles of the target pages are shown instead of just language names. Add
 importScript('User:Zocky/LanguageLinks.js');
to your monobook.js to try it out. Zocky | picture popups 14:38, 20 August 2007 (UTC)
replies: text: Again, it does strange stuff in IE. If anybody can figure out why, I'd be much obliged. Zocky | picture popups 16:27, 20 August 2007 (UTC)
replies: text: Hi, I just tried it out. Works fine (at least on Firefox). But: why do you use float: left and display: block for the two s? IE often shows unexpected behaviour when using float. You might try using display: inline for the two spans and leaving the float thing out. And then maybe use margin-left: 0.2em; for the second span to add a little space. It looks the same on Firefox, but I haven't tried it out on IE yet (because unfortunately I've downloaded the latest version of the IE Dev Toolbar which doesn't seem to work and I can't get Beta 3 back, which was working). ASM 11:05, 21 August 2007 (UTC)
replies: text: Formatting is not a big problem, I'm more worried about IE's failure to decode unicode URIs correctly. Zocky | picture popups 13:46, 21 August 2007 (UTC)
thread_title: Better language links