This page is currently inactive and is retained for historical reference. Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as the village pump. |
Piles of code
editPlaces that we might mine for interesting and/or useful bits of code. Please anotate the following as you review them. This is from the June 23 2005 database dump, listing all the page names with .js in them, excluding the other skins versions of monobook.js.
- meta:Help:User style - contains a lot of useful bits that we ought to copy into Scripts
- User:Jag123/StubScript.js - valuable - doesn't look like code I've seen before. Should be investigated further. JesseW 23:48, 29 August 2005 (UTC)
- User:Korath/Spoiler.js - valuable - all of these should be added to Scripts
- Doesn't work; relies on old revisions of Template:Spoiler top and Template:Spoiler bottom, which are themselves barely used. Might be rewriteable into something for the standard Template:Spoiler (and variants) and Template:Endspoiler. —Cryptic (talk) 15:36, 12 November 2005 (UTC)
- I've rewritten it, with Ilmari Karonen's help, at User:Cryptic/spoiler.js. —Cryptic (talk) 22:39, 28 December 2005 (UTC)
- Doesn't work; relies on old revisions of Template:Spoiler top and Template:Spoiler bottom, which are themselves barely used. Might be rewriteable into something for the standard Template:Spoiler (and variants) and Template:Endspoiler. —Cryptic (talk) 15:36, 12 November 2005 (UTC)
- User:Korath/autovfd.js - valuable - all of these should be added to Scripts
- User:Korath/blockip.js - valuable - all of these should be added to Scripts
- User:Korath/welcome.js - valuable - all of these should be added to Scripts
- User:Pilaf/livepreview.js - valuable - local expanded copy is here, partially commented.
- User:Poccil/Automation.js - valuable - all of these should be added to Scripts
- User:Poccil/Schooltables.js - valuable - doesn't look like code I've seen before. Should be investigated further. JesseW 23:48, 29 August 2005 (UTC)
- Is for personal use; it reads a file on his computer. The FSO code is nice to have, though. raylu 05:42, August 31, 2005 (UTC)
- I wouldn't think we really want ActiveX security risks here. As much as possible, we're looking for cross-browser scripting. jnothman talk 01:26, 7 November 2005 (UTC)
- User:Tom-/mediawiki.js - contains only the line: document.getElementById("ca-delete").getElementsByTagName("a")[0].accessKey = ""; - which should probably be added to Techniques
- User:Lupin/md5-2.2alpha.js - md5sum function which works with UTF strings
- I added this to the libraries, in case someone finds it useful. It may need some examples. Shinobu 03:05, 13 December 2006 (UTC)
- User:Lupin/popups.js - see Wikipedia:Tools/Navigation popups
- User:Lupin/autoedit.js - automatically edit (sed-style) using commands in URLs
- User:Lupin/fixnew.js - change ip addresses into contribs links (eg used to be useful on Special:Newpages, but now mediawiki does that anyway so it's obselete on that page)
- User:Lupin/nichalpCustomLinks - on user pages, add toolbox links to kate's tool, user log and block/unblock
- User:Lupin/recentdiffs.js - display all diffs on one page. A bandwidth hog, but somewhat useful sometimes.
- User:Lupin/recent2.js - monitor the recent changes rss feed for objectionable content
- User:Cryptic/smiley.js (documentation) - replace ascii emoticons with images.
- User:Cryptic/toggleundelete.js - adds an "Invert" button to administrators' undeletion pages.
- Quarl's pages, with more current(?) versions here. Valuable An astonishingly productive writer of code, which we should examine and include in the script library.
- User:Misza13/godmode-light.js - One actually working version. Now with rollback from page history.
- User:Topaz/Wikiscripts - Various scripts, organized by dependencies
- User:Voice of All/UsefulJS - Tons of script files.
- User:Cacycle/wikEd.js - wikEd MediaWiki editor extension using a rich-text editing frame. Valuable, extensively commented
- User:Cacycle/editor.js - Cacycle editor editor extension (no longer actively maintained). Valuable, extensively commented
monobooks.js
edit- User:-aka-demia/monobook.js - valuable - Categories at Top function - should be added to Scripts
- User:Alphax/monobook.js - Popups, godmode-lite, add purge tab, add section 0 tab, add generic tab, add generic tab for use as a menu, close AFD, 1-click talk page messages, funky date manipulation stuff (start thread, week old AFD page, live clock (client based)), toolbox link adding, show/hide AFDs, force edit summary, text replacement, make clicking on non-existent talk pages from the content page auto-start a new section, add a history link to the new messages box
- User:Andrewh/monobook.js - adds "Wikipedia: (Pagename)" to the status bar
- I have added a lot of extra JS code since this was posted. If you want the status bar/title bar script, just copy and paste the first four or five lines of the file (to the
document.title
line), and ignore the rest of the code. Andrew (My talk) 20:05, 20 July 2006 (UTC)
- I have added a lot of extra JS code since this was posted. If you want the status bar/title bar script, just copy and paste the first four or five lines of the file (to the
- User:Angela/monobook.js - bottom tabs and an interesting implementation of toolbox links
- User:Arwel_Parry/monobook.js - bottom tabs, blocklog tabs
- User:Astronouth7303/monobook.js - get article name, add edit section
- User:Aydee/monobook.js - top links (needs checking)
- User:Bdesham/monobook.js - removal of hotkeys
- User:BesigedB/monobook.js - add purge tab (another version), some other interesting (but as yet unknown) stuff
- User:Blankfaze/monobook.js
- User:BrokenSegue/monobook.js
- User:Camembert/monobook.js
- User:Celestianpower/monobook.js - near-spaghetti code which I plan to rewrite for Celestianpower sometime. Alphax τεχ 03:02, 29 October 2005 (UTC)
- User:Ceyockey/monobook.js
- User:Chamaeleon/monobook.js
- User:Chiacomo/monobook.js
- User:Chopchopwhitey/monobook.js
- User:Chrism/monobook.js
- User:CloudSurfer/monobook.js
- User:Colin_Hill/monobook.js
- User:ContiE/monobook.js
- User:Crispiness/monobook.js
- User:Cyrius/monobook.js
- User:DanKeshet/monobook.js
- User:Danny_B-)/monobook.js
- User:Davidcannon/Biography/monobook.js
- User:Davidcannon/monobook.js
- User:Dbenbenn/monobook.js
- User:Demiurge/monobook.js
- User:Dennis_Valeev/monobook.js
- User:Diberri/monobook.js
- User:Dori/monobook.js
- User:Drini/monobook.js
- User:Dshill/monobook.js
- User:E=MC^2/monobook.js
- User:Eloquence/monobook.js
- User:Evil_Monkey/monobook.js
- User:Fabiform/monobook.js
- User:Fangz/monobook.js
- User:Fito/monobook.js
- User:Foobaz/monobook.js
- User:Func/monobook.js -- A lot of the current version is from here (i.e. the sidebar) and currently he hosts a very good version of that.
- User:Fvw/monobook.js
- User:Gangleri/monobook.js
- User:Gebruiker:Dedalus/monobook.js
- User:Gentgeen/monobook.js
- User:Geraki/monobook.js
- User:Gkhan/monobook.js
- User:Goblin/monobook.js
- User:Grm_wnr/monobook.js
- User:Guy_M/monobook.js
- User:Gwi/monobook.js.
- User:Gwi/monobook.js
- User:Hégésippe_Cormier/monobook.js
- User:Halibutt/monobook.js
- User:Hemanshu/monobook.js
- User:Hooloovoo/monobook.js
- User:Icairns/monobook.js
- User:IceKarma/monobook.js
- User:Ilya/monobook.js
- User:Ilyanep/monobook.js
- User:Inter/monobook.js
- User:Ish_ishwar/monobook.js
- User:Jag123/monobook.js
- User:JanSlupski/monobook.js
- User:Jd87/monobook.js
- User:Jdforrester/monobook.js
- User:JesseW/monobook.js
- User:Jiang/monobook.js
- User:Jimbo_Wales/monobook.js
- User:Jimregan/monobook.js
- User:Jjeffs/monobook.js
- User:Johan_Elisson/monobook.js
- User:Jrdioko/monobook.js
- User:Jredmond/monobook.js
- User:Jsanchezes/monobook.js
- User:Judvrd/monobook.js
- User:Kahusi/monobook.js
- User:Kcar1986/monobook.js
- User:Kelly_Martin/monobook.js
- User:Kevin_Saff/monobook.js
- User:Kmccoy/monobook.js
- User:Knowledge_Seeker/monobook.js
- User:Korath/monobook.js
- User:Korrigan/monobook.js
- User:Kukkurovaca/monobook.js
- User:Lan3y/monobook.js
- User:Luigi30/monobook.js
- User:Lupin/monobook.js - removeAccessKeys (somewhat redundant), subject nag (ignore own userspace, but don't allow blank summaries or summaries just consisting of automatically generated section titles otherwise), the evaluator, an extremely useful javascript debugging tool
- User:Lupo/monobook.js
- User:Lupo_Test/monobook.js
- User:Ma'ame_Michu/monobook.js
- User:Mark_Dingemanse/monobook.js
- User:Markaci/monobook.js
- User:Marsian/monobook.js
- User:Matthewmayer/monobook.js - adds an 'unwatch' link to each item on watchlist.
- User:MattTM/monobook.js
- User:MattTM/monobook.js
- User:Maximus_Rex/monobook.js
- User:Mbimmler/monobook.js
- User:Memzy/monobook.js
- User:Menchi/monobook.js
- User:Metju12/monobook.js
- User:MikeX/monobook.js
- User:Mike_Storm/monobook.js
- User:Mikez/monobook.js
- User:Mirv/monobook.js
- User:Mononoke/monobook.js
- User:Mormegil/monobook.js
- User:Mr._Strong_Bad/monobook.js
- User:Msh210/monobook.js
- User:Mu5ti/monobook.js
- User:Mulad/monobook.js
- User:Mzajac/monobook.js
- User:NSR/monobook.js
- User:Nadavspi/monobook.js
- User:Nauseam/monobook.js
- User:Nommonomanac/monobook.js
- User:Norm/monobook.js
- User:Ollinaie//monobook.js
- User:Ollinaie/monobook.js
- User:Omegatron/monobook.js - I have a thing to fix dashes (en,em,minus), fix units ("43KHZ" → "43 kHz"), and add an unwatch link after every article on your watchlist
- User:Omphaloscope/monobook.js
- User:Onco_p53/monobook.js
- User:Oui/monobook.js
- User:Oven_Fresh/monobook.js
- User:OwenBlacker/monobook.js
- User:Palica/monobook.js
- User:Paul_Stansifer/monobook.js
- User:Paullisa/monobook.js
- User:Pcb21/monobook.js
- User:Phil_Boswell/monobook.js
- User:PiaCarrot/monobook.js
- User:Pika_Pikachu/monobook.js
- User:Pilaf/monobook.js
- User:Pile0nades/monobook.js
- User:Pjacobi/monobook.js
- User:Plop/monobook.js
- User:Pmcm/monobook.js
- User:Prattflora/Monobook.js
- User:Przepla/monobook.js
- User:R3m0t/Monobook.js
- User:R3m0t/monobook.js
- User:RW/monobook.js
- User:Randy_Johnston/monobook.js
- User:Rdsmith4/monobook.js
- User:Redwolf24/monobook.js Block user from their user or user talk page, kate count, popups.
- User:RexNL/monobook.js
- User:Rich_Farmbrough/monobook.js
- User:RoToRa/monobook.js
- User:Roybb95/monobook.js
- User:Rparle/monobook.js/purgebutton
- User:Rparle/monobook.js
- User:Rrjanbiah/monobook.js
- User:Sam_Hocevar/monobook.js
- User:Sanmartin/monobook.js
- User:Sannse/monobook.js
- User:Sansculotte/monobook.js
- User:Saruoh/monobook.js
- User:Savetheclocktower/monobook.js
- User:ScudLee/monobook.js
- User:Seancdaug/monobook.js
- User:Sebbe/monobook.js
- User:Sgeo/monobook.js
- User:Sgeo/monobook.js_(toolbox_links)
- User:Shanes/monobook.js
- User:Sheldon_Rampton/monobook.js
- User:Simonfairfax/monobook.js
- User:Sj/monobook.js
- User:Sketchee/monobook.js
- User:Slea/monobook.js
- User:SlimVirgin/monobook.js
- User:Smoddy/monobook.js
- User:Spangineer/monobook.js
- User:Stevertigo/monobook.js
- User:Sundar/monobook.js
- User:Susvolans/monobook.js
- User:Sverdrup/monobook.js
- User:Ta_bu_shi_da_yu/monobook.js
- User:Tacvek/monobook.js
- User:Tagishsimon/monobook.js
- User:Teknic/monobook.js
- User:The_Computer_Mutt/Monobook.js
- User:TheoClarke/monobook.js
- User:Tietew/monobook.js
- User:Timwi/monobook.js
- User:Tlogmer/monobook.js
- User:Tom-/monobook.js - code to remove delete function accesskey...
- User:TreyHarris/monobook.js - blank, was code to hide and show spoiler boxes(should be looked at)
- User:Trilobite/monobook.js - Investigate!
- User:TruBlu/monobook.js - blank, was version; contains an interesting bit to move the interlanguage links to the top. Should be investigated.
- User:Tsca/monobook.js - bottom links
- User:Unyounyo/monobook.js - links at the bottom
- User:Urby2004/monobook.js - LivePreview
- User:Voice of All/monobook.js - LivePreview, wording GML, warning tabs, replace script, history/contribs analysis, edit options, general admin script (see User:Voice of All/UsefulJS).
- User:Waxpancake/monobook.js - betterhistory, 403 Forbidden
- User:Wclark/monobook.js - redefines the ta array. Investigate.
- User:Olliminatore/monobook.js - optimized Godmode-lite with IE support
- User:Whitehorse1/monobook.js - blank, was a link to http://gladstone.uoregon.edu/~chill1/betterhistory <- Should be investigated. Now 403 Forbiden
- User:Xaosflux/monobook.js combination of many monobooks.
- User:Yelhsa/monobook.js - LivePreview, only.
- User:Zeimusu/monobook.js - Lupin's Popups, nosource()(adds a nosource tag to an image; should be added to /Scripts), /Scripts/addpurge(), /Scripts/replace(), uses morelinks function to load the above, LivePreview, KateLink()(adds a link to Kate's Editcounter to every page; should be added to /Scripts)
- User:ZeroOne/monobook.js - LivePreview, only.
- User:Zocky/monobook.js - links to various interesting things(listed above).
- User:Zocky/PicturePopups.js - "Picture Popups for Wikipedia" - I've been using this for a few weeks now, and now I don't think I could live without it. This is definitely worth a try. ~Mr Inky · (T @ C) 22:17, 8 June 2006 (UTC)
standards.js
editTasks
edit- Create a tutorial/walkthrough of how to set up scripts and how to get started writing your own.
- can we please get on this task asap! ALKIVAR™ 19:17, 8 November 2005 (UTC)
- Unless you know javascript, I think that this will just consist of "Find a nice script somewhere and copy it/follow the instructions for installing it". We don't have any sort of generic framework that a non-programmer can use to install or create scripts as far as I know. Lupin|talk|popups 01:07, 9 November 2005 (UTC)
- Er, what about /Tutorial? JesseW, the juggling janitor 18:14, 9 November 2005 (UTC)
- Unless you know javascript, I think that this will just consist of "Find a nice script somewhere and copy it/follow the instructions for installing it". We don't have any sort of generic framework that a non-programmer can use to install or create scripts as far as I know. Lupin|talk|popups 01:07, 9 November 2005 (UTC)
- can we please get on this task asap! ALKIVAR™ 19:17, 8 November 2005 (UTC)
Colorizer
edit- Colorizer: http://blogs.applibase.net/prasad/downloads/jscolorizer/jscolorizer.html (needs a few tweaks to be perfectly set up for the wiki, though: remove the >pre> tags, put a single space at the beginning of every line. Somebody want to make these minor changes and host it on their webspace?).
- CHANGES: Thanks for putting up the requirements, I have made the required changes, so now you can get colorized code with/without <pre> tags, you can select each line indentation.
- Thanks so much for making the changes I requested! It is much better! If I may, I'd like to request one other addition - a way to replace the br/ tags with real newlines; that way the output won't all end up on one line. Just replacing them won' work, as closing font tags are put after them. But if you replace all of them, then replace font newline combinations with newline font - it works. Thanks again for responding! - Let me know if I should put this somewhere else. (Copied to the linked blog). JesseW, the juggling janitor 23:16, 28 October 2005 (UTC)
- CHANGES: Thanks for putting up the requirements, I have made the required changes, so now you can get colorized code with/without <pre> tags, you can select each line indentation.
Goals
edit- Provide a central store of user scripts
- Make it easy for people to use user scripts
- Create a plugin system for user scripts
If you would like to help, please inquire on the talk page and also see the to-do list there.