User:Zocky/Link Complete

From wikishia

Zocky's javascript tools

Link Complete is a Javascript tool which adds autocomplete functionality for links in your editbox. users

Features

  • Type [[foo in the editbox and press tab, ctrl-space, or ctrl-enter to cycle through article titles that start with "foo".

Issues

  • Works only for articles for now.
  • No IE support yet.

Installation

To install, you have to create (or edit) a file in your userspace. For most people, this is Special:Mypage/monobook.js.

(People using the classic skin should edit Special:Mypage/standard.js instead, and people using other skins probably know which file to edit.)

Edit that page and paste in this line:

{{subst:User:Zocky/LinkComplete}}

which should expand to

// [[User:Zocky/LinkComplete.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Zocky/LinkComplete.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

If it doesn't, copy the code manually. Clear your browser's cache.

To uninstall the script, just delete those lines from your javascript file and clear your browser's cache.

Code

The code is available under GPL at User:Zocky/LinkComplete.js.