Wikipedia talk:User scripts/Techniques

message: seems not to be working
addOnloadHook(function () {
 ta['ca-delete']=[,'del'];
    ta['pt-mytalk']=[,'talk'];
    akeytt();
}
changes nothing at all, whereas JesseW's tip works:
addOnloadHook(function () {
q=document.getElementById("pt-mytalk").firstChild; q.removeChild(q.firstChild); q.appendChild(document.createTextNode("talk")) 
}
works. Now, the ta[] way seems more flexible and short, why isn't it working? anyone has ideas? --  ( drini's page ☎ ) 01:17, 8 March 2006 (UTC)
replies: text: They do seperate things.  ta defines accesskeys and long tooltip descriptions, my tip defines URLs and displayed names. JesseW, the juggling janitor 01:52, 8 March 2006 (UTC)
thread_title:  Change links with ta 

message: I looked in the MediaWiki source, and the "dontcountme=s" bit does not seem to do anything. Experiments showed that it can safely be removed. -- Jitse Niesen (talk) 22:32, 20 March 2006 (UTC)
replies: text: Any historical reason it's there? Shinobu 01:27, 13 December 2006 (UTC)
replies: text: It may be used for some sort of backend log processing and not in the software itself. Mike Dillon 05:11, 24 February 2007 (UTC)
thread_title:  import_external 

message: Hi. I try to use the provided javascript. It doesn't work both in latest version of IE and Firefox. It said no properties like it couldn't access document of the iframe or something. Can anyone help? Thanks --Jutiphan | Talk - 01:57, 24 February 2007 (UTC)
replies: text: I had the same problem. It says "Error: uncaught exception: Permission denied to call method XMLHttpRequest.open". --Conquestofparadise 17:42, 19 August 2007 (UTC)
replies: text: I just now tested the examples in "Editing the wikitext of a page" from the address bar in IE6 and Firefox (recently updated) and it worked flawlessly. Does it only happen in scriptfiles, or does it also fail when you use the examples in the address bar directly? It may be possible things were changed so it doesn't work anymore... that would mean trouble, because some browsers have AJAX disabled by default (and rightly so, actually). Shinobu 15:28, 14 November 2007 (UTC)
thread_title:  Editing the wikitext of a page - Need help 

message: By the way, I believe this /Techniques page is really outdated, and not worth fixing. I'm still not sure what to do with it: "archiving"  or renaming to "Old Techniques" or simply forgetting and starting a new page under /Guides... ∴ AlexSm 19:02, 14 November 2007 (UTC)
replies: text: Me neither. Some seeds of good ideas here and there, but most of it... Still, some of the techniques here may have value. Perhaps quickly mark the outdated stuff, discuss a bit here and decide what to do then? Shinobu 12:48, 15 November 2007 (UTC)

text: It occurs to me that what you would expect to find here is a thorough explanation of all the wg* variables, wikibits functions etc. Shinobu 15:02, 15 November 2007 (UTC)

text: And what about dropping all those "sourcings" for the simple one-liners? It's not rocket science, after all. Shinobu 15:11, 15 November 2007 (UTC)
thread_title:  Page outdated 

message: You know, insertTags would suck a lot less if it had a way to use a callback function instead of just the sample text method. Shinobu 11:10, 16 November 2007 (UTC)
replies: text: The current insertTags() version is kind of mine, so if you could elaborate a little about "a few bugs"... and User_talk:Gerbrant/edit/selection.js doesn't seem to offer enough explanation for me ∴ AlexSm 14:59, 17 November 2007 (UTC)
thread_title:  insertTags 

message: It is not clear for me when should I use importScript and when to use importScriptURI. Does anybody know what is the correct? Thanks ind advance... Helder (talk) 21:59, 16 April 2009 (UTC)
replies: text: I found the answer! Helder (talk) 16:42, 1 May 2009 (UTC)
thread_title:  importScriptURI x importScript