User:Theopolisme/Scripts/autocompleter
Appearance
autocompleter (source code) is the context-sensitive, tab-based autocompletion tool for editing MediaWiki that you always dreamed of.
Whenever you start typing something that's already been referenced on the page (for example, a username), just hit tab. autocompleter will finish the value for you, inserting it directly at your cursor. If autocompleter happens to suggest the wrong value, use the up and down arrows to navigate through other possible completions, or hit delete to remove it. It's really that simple!
Installation
[edit]To install autocompleter, add {{subst:js|User:Theopolisme/Scripts/autocompleter.js}}
to your common.js page and clear your cache. Problems? Get in touch.
Use cases
[edit]- Mentioning users – ever try to ping someone in response to their message? It's a pain to copy and paste usernames. Just type the first letter or two and hit tab, and the name will automatically be inserted.
- Referencing other pages – just key in a letter or two and the whole page name will be instantly inserted.
- ...TODO...