Andrew <bouncey2k(a)gmail.com> wrote on Mon, 3 Sep 2007 12:48:43 +0200:
Flo wrote:
On Friday I created a js function to insert links
that help you by
asking you for a translation or by putting {{lang|}} around a
selected text
(firefox only).
Maybe you want to take a look at the functions show_infobox() and
insert_translation() at
How does it work?
Put the following stuff into your monobook.js:
includePage('User:Flominator/flos functions.js');
document.addEventListener("DOMContentLoaded", function() {
insert_link_before("li", "pt-mycontris", '<a
href="http://tools.wikimedia.de/~magnus/mynoinfo.php?user=Flominator">Info-Tag</a>');
show_infobox();
}, false);
This is a version only for de and en but if you use a modified function show_infobox you
can customize it.
I'm sorry for the lack in usability but I didn't know how to make it better.
Regards,
Flo
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden:
http://www.gmx.net/de/go/browser