Wikipedia: Scripts - Wikipedia. This page serves as a central repository for scripts and scripting requests on Wikipedia. Please feel free to improve any of these scripts but make sure to test your changes first.
Like the rest of Wikipedia, all material here is under CC- By- SA 3. See licensing for further details. Guidelines. Do one thing and do it well; this is a place for simple scripts and not whole programs. License. The CC- BY- SA license is designed for artistic and literary works but not for software. If you want your work to be of the greatest use to the public, please consider dual- licensing it and releasing it under a free software license such as the GNU General Public License (GPL) in addition to the other license(s).
Like the GFDL, the GPL is released by the Free Software Foundation. You can use both by explicitly stating in a comment at the start of your script that your script is dual- licensed under the GPL.
IRC channel scripts. If I was really elite this would all be in irc. II script language, but that would be really too awful to contemplate: besides which, the filter can be useful for other purposes. I couldn't get persistent process communication working for irc. II- -if someone else can, that would be great. This irc. II- derived client can use almost the same script as irc. II, above. set exec.
Copy it to your plugins directory (~/. C: \Program Files\Gaim\plugins) as described in How do I use perl scripts with Gaim?
Currently in wingaim you need to alter the path line. Cfg. File=. Copy it to ~/.
User. Name\Application Data\. Currently it is set to change . The regexp may not be perfect, but you can all refine it! It's a wiki! Restart Gaim, then go to Tools > Preferences > Plugins and select the . Store it in . irssi/scripts, then you do /load script- name, although it might not take effect in an existing instance of a channel: Met's script#!/usr/bin/perlusestrict; usewarnings; use.
The 'template' binding Purpose. The template binding populates the associated DOM element with the results of rendering a template. Templates are a simple and convenient way to build sophisticated UI structures - possibly with. Web-mode.el is an emacs major mode for editing web templates.
Irssi; Irssi: :settings. It uses the #mwlink script below, running in daemon mode (mwlink - -daemon); or rather, it depends on it. Your browser will open a URL of the form http: //localhost: 4. This means the following code can be relatively simple (rather than having to figure out languages, namespaces and wikis on its own.
Another note: this depends on the emacs- wiki package for the `emacs- wiki- escape- url' function. I also don't know how well it plays with Custom (though customizing `erc- button- alist' isn't any nicer than doing this or editing it directly).(add- to- list'erc- button- alist'(.
The Version 4. 0+ script has additional the possibility to display URLs for wikilinks which are going to the account creation tool on the toolserver and to link templates correctly. KVIrc 4. 0+# Parameters: # $0 = source nick# $1 = source username# $2 = source host# $3 = message%accbase=.
Crypto. Derk 2. 3: 0. Feb 1. 5, 2. 00. 5 (UTC)Place the following in Tools- > Scripts Editor under the remote tab. You can change F9/F1. The above script can be adapted to open specific types of edits in #cvn- wp- en. ON $5. 0: TEXT: /gibberish. Use F8 and F1. 2 to start and stop the script. Also, for a frontend to the IRC live feeds, check out Crypto.
Derk's Vandal Fighter. Unicode numeric converter scripts.
It operates on standard input.#!/usr/bin/perl# Code is in the public domain. Now, I can just type Japanese into a text edit window like this. I'm using a Mac, so this is a mac only solution, but I thought I'd share it for those of you who can use it. Here's the script: compile this in Script. Editor, and save it in the . I have mine saved as .
Thereafter it will appear in Style's Scripts menu. Style is available at merzwaren ($2. I have this running on Mac OS X 1. Style version 1. 9. Apple. Scriptsetthe. HTMLto. Just do the editing from within Mozilla.
Mozilla automatically does the conversion. For example, in adding this edit, I type in the Japanese characters for . Mozilla automatically converted these characters to the proper romanized Unicode format. Just look at the above lines in the editing box to see for yourself. It works in Firefox Internet Explorer, Camino and Safari. In Firefox, create a bookmark, with the following code in the . In Internet Explorer, create a favourite, and once it's created, right click it, select .
Select the script below into the copy buffer and simply paste (. A new bookmark will automatically be created and will appear in the bookmarks bar.
Re- name it something sensible like . See commons: User: Nichalp/Upload script. Image file export and migration script. To tag pages with categories, I've been opening all the pages at Category: NA- Class articles, for example, to turn the links purple. Then I use the All pages with prefix. Those pages for which the link still is blue need a Category: NA- Class category tag. It takes a lot of time to initially open all the pages within a particular category to turn the link from blue to purple.
Is there a way to change the colors of the links in Category: NA- Class articles as the appear on my computer screen without having to visit each of the links? I tried editing my temporary internet file (browser history) and tried using the 'Print all linked documents' option of windows print feature to printing to a file (that I then deleted). I wasn't able to edit my temporary internet file (browser history) and the 'Print all linked documents' option didn't result in making the category links purple. Can you create me a script that causes all the links on a page (e. Category: NA- Class articles) to change color to show that I visited the page (without actually opening the linked page)? I am open to other methods as well. Greg. Mannin. LB (talk) 1.
April 2. 00. 8 (UTC)In follow up, I posted this request at Wikipedia: Wiki. Project User scripts/Requests. Greg. Mannin. LB (talk) 1.
April 2. 00. 8 (UTC)Database scripting Requests. Tuf- Kat 1. 6: 4.
Sep 1, 2. 00. 4 (UTC)Special: Deadendpages. In desperate need.
The Open. Task notation needs to be updated, and everything on the current list has been completed. A script so those sufficiently able can regularly update the streamlined version i. Special: Deadendpages would be useful for easier determining of such pages and quick removal of stale data. It'd also, arguably allow Jo(e)- enduser to have a regularly updated source of such pages without reliance/waiting on someone else to run a linkdump for the Wikipedia: Deadend pages version. Ol. English (talk) 0. February 2. 00. 9 (UTC)Scripting requests.
I don't know anything about Trillian scripting or JScript, though. Demi. T/C 1. 9: 2. January 2. 00. 7 (UTC)Wanted: Wiki. Links code for IRC within Opera - -Smokizzy 0. May 2. 00. 7 (UTC)Opera has no support for scripts. Smokizzy(talk) 0.
August 2. 00. 7 (UTC). October 2. 00. 8 (UTC)Wanted: On- page . See Bug 1. 10. 83 for details. See project idea here. Specifically, I was wanting a program so that it could look at a cat of Start/B/Stub class articles, eg Category: Start- Class.
Note that Dr pda (talk . Blnguyen (vote in the photo straw poll) 0. March 2. 00. 8 (UTC)Wanted: An RC Patrol script for Chatzilla that is able to run in Ubuntu 8. Saves me the tedious work of trimming my watchlist to include only the pages that are likely to have a change since my last edit of them. Ol. English (talk) 0. February 2. 00. 9 (UTC)On Wikipedia talk: Manual of Style#Titles in Infoboxes there is a discussion about overly- long lists of honorifics in infoboxes (example: Genghis Khan: Dalai Khagan of the Great Mongol State (Supreme Khan of the Mongols), King of Kings, Khagan of Khamag Mongol, Lord of the Four Colors and Five Tongues, Son of Khan Tengri, Emperor of All Men.) I would like a script that finds the longest 1.
The script works but isn't functional. I clicked add, the opened edit menu didn't have the said tag; moreover Visualeditor complicates the issue. Ugog Nizdast (talk) 1. April 2. 01. 6 (UTC)Requested: In order to check an WP: FAC article for WP: OVERLINK, I'd appreciate a script that would scan an article and report all instances of a link target that occurs three or more times.
This would be much easier than manually perusing a long article looking for links that occur multiple times. It would also complement the existing dablinks. Wikipedia: Featured article tools.
Regards, RJH (talk) 2. August 2. 01. 2 (UTC)A script that would relink references as I did manually at Bah. There are a likely few thousand instances of these changes to be done..
Smkolins (talk) 1. November 2. 01. 2 (UTC)Wanted: A script that could add Wiki. Projects without having to type in .
That gets really annoying for me sometimes. Mousing over the bar shows the full sidebar, mousing away from the sidebar hides it. This is similar to the Feedly app for browsers; show/hide only operates when the page is zoomed in (ctrl- +).
Screengrabs @Imgur. It add a link in the sidebar (assess link) which color all links in the article in respect to its wikiproject class. Christian. 75 (talk) 1. January 2. 01. 5 (UTC).