User:Mike Dillon/Scripts
From Wikipedia, the free encyclopedia
This page lists some of the scripts I've created for myself (and sometimes for other users).
[edit] Scripts
Script | Depends on | Description |
---|---|---|
addlilink.js |
|
Local version of Wikipedia:WikiProject User scripts/Scripts/Add LI link. Allows non-link items to be added to lists as well as links. Returns either an anchor element or the text node added instead of the list item element. Uses Easy DOM. |
aiv.js | Adds an "AIV" tab for reporting the user whose page is currently being viewed at WP:AIV. Triggered on all pages in the "User:" and "User talk:" namespaces, in addition to "Special:Contributions". Created for User:Amarkov. | |
bench.js |
|
Provides timeFunction() and compareFunctions() to allow comparative benchmarking of JavaScript code. The compareFunctions() function returns a table DOM element that can be placed into a page to display the test results. |
build-urls.js | Provides functions for building MediaWiki action URLs. | |
convert-brewbox.js |
|
Converts brewboxes from using {{brewbox_begin}} and related templates to using {{Infobox Brewery}}. |
defaultsort.js |
|
Provides form-based interface for adding and editing the {{DEFAULTSORT:...}} tag. |
easydom.js | See User:Mike Dillon/Easy DOM. | |
easydom-console.js |
|
See User:Mike Dillon/Easy DOM. |
easydom-dev.js | See User:Mike Dillon/Easy DOM. | |
easydom-ext.js |
|
See User:Mike Dillon/Easy DOM. |
imageLinksByNs.js |
|
Splits up the "File links" section of an image description page by namespace and alphabetizes the sublists. |
namespaces.js | Provides variables for Wikipedia namespace numbers, number to name lookup, and functions for deriving the namespace number and name from a page title. I may make this into a patch for Skin.php at some point. | |
navbox.js |
|
Provides addNavbox() function for adding boxes after the "Toolbox" on the navigation bar. Provides addToggleNavbox() for adding collapsible navboxes. |
params.js | Provides functions for extracting parameters from URL query strings: getParameterMap() , getParameter() , getParameterValues() , and getParameterNames() . |
|
PicturePopups.js | Local copy of User:Zocky/PicturePopups.js. | |
popups.js | Local copy of User:Lupin/popups.js. | |
preloadNewArticle.js |
|
Detects when a new article is being edited and provides a dropdown list of templates to preload. Configure options using the preloadNewArticleOptions hash. Based on request by User:Haseler at Wikipedia:Requested templates#New Article. |
searchNewWindow.js |
|
Adds a "New window?" checkbox to the search navbox to allow the "Go" and "Search" buttons to open in a new window. Can be defaulted to on by setting the searchNewWindowDefault variable to true . |
tabs.js |
|
Local version of Wikipedia:WikiProject User scripts/Scripts/Add tab.
Also clones tabs from top to bottom and enhances |
toolbox.js |
|
Provides addToolboxLink() . Adds a "Toggle persondata on/off" action to the toolbox. See Wikipedia:Persondata. |
username.js | Provides getUsernameForCurrentPage() . Returns the username associated with the current page for any page in the "User" or "User talk" namespaces as well as the Special:Contributions page. |
* Optional dependency
[edit] Users
If you're using one or more of these scripts, please list yourself below so that I can notify you if I need to make significant changes. Or just put this page on your watchlist and be forewarned that I might break something without telling you.
- Add yourself below using your signature
- Mike Dillon 02:03, 31 December 2006 (UTC)
[edit] See also
- My current monobook.js, may include scripts written by others
- Full list of my scripts, including inactive and unmaintained scripts
- Wikipedia:Scripts
- Wikipedia:WikiProject User scripts/Scripts