Information icon.svg Our Community Standards are under review. Your comments and inputs are welcome on the relevant project talkpage.

AD says you have JavaScript experience

Jump to: navigation, search

User:Inquisitor Ehrenstein/myDocuments.js

I'm working on a script that will add a My documents link to the top user link bar that when clicked will being up a fixed position menu of various links to userspace subpages for things like signature pages, lists of userspace scripts, drafts, and that sort of thing.

Aleksandr(a) Ehrenstein, Jewish Bolshevik15:39, 20 September 2013
  • You don't need the "configuration variables" section. Check out some other examples of scripts here, or view the source of this page to see the predefined variables you can use.
  • You need a line of code in your own /vector.js or whichever skin you use that tells MW to load your script. (addOnloadHook(yourfunction);)
  • If you want to have a page that the user will use to define what goes in this menu, you'll need to use the API to grab the contents of that page.

This short script has some examples of what you're looking for.

Blue Talk21:44, 20 September 2013