Wikipedia talk:WikiProject User scripts/Techniques

From Wikipedia, the free encyclopedia

[edit] Change links with ta

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)

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)

[edit] import_external

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)

Any historical reason it's there? Shinobu 01:27, 13 December 2006 (UTC)