Wikipedia:Tools/Editing tools

From Wikipedia, the free encyclopedia
Jump to: navigation, search
You may be looking for MediaWiki:Edittools.

Notice: Some of these tools may be obsolete or need to be updated. Also, they are not all guaranteed to work with your current configuration or preference settings.

Contents

[edit] External editors

A wikipedia-enhanced text editor can make editing much easier. There are extensions for several text editors. They provide many useful functions, e.g.:

  • Syntax highlighting;
  • Easy navigation between the article's sections. This makes editing big articles much easier, especially if the overall outline structure of an article needs to be improved. Especially take a look at Eclipse and Emacs;
  • Direct down- and uploading of articles without using the web browser.

For details, see Wikipedia:Text editor support.

Similar tools:

Firefox extension (Firefox version 1.5 only) which adds the Wikipedia formatting commands to context menu and toolbar.

See also mw:WYSIWYG editor

[edit] MediaWiki Edit Toolbar

FrenchTaskbar.JPG

MediaWiki toolbar includes different buttons that can help you in editing. This is the French version, with buttons for citations.

[edit] Wikipedia editing tools

Screenshot of wikEd, a full-featured in-browser text editor

[edit] wikEd

wikEd is a full-featured, in-browser text editor that adds enhanced text processing functions to Wikipedia and other MediaWiki edit pages (currently Mozilla, Firefox, SeaMonkey, Safari, and Chrome only).

Features include:

  • Pasting formatted text, e.g. from MS-Word (including tables)
  • Converting the formatted text to wikicode
  • Wikicode syntax highlighting
  • Regular expression search and replace and find-as-you-type
  • Server-independent Show preview and Show changes
  • Fullscreen editing mode
  • Single-click fixing of common mistakes
  • History for summary, search, and replace fields

[edit] WikiEditPuffer

WikiEditPuffer is an add-on for Mozilla-Firefox that makes the editing of contributions safer by automatically maintaining local copies of editors' content.

  • Store your contribution: every n seconds, and/or every m keystrokes
  • Forget about it, when everything works perfectly
  • Use it, when you need it (transmission error, blue screen, server fault)
  • Keep track of all your edits, locally and at your own

[edit] Search Box

User:Zocky/Search Box is a simple search/replace box that supports regular expressions.

[edit] secEdit

User:Supadawg/secedit.js allows editing of article sections inline (without opening a separate page) – also supports previewing and showing changes inline.

[edit] xul4wikipedia

User:Plindenbaum/xul4wikipedia generates on the fly a Firefox addon used to insert your custom texts (templates...) in Wikipedia.

[edit] MW (ubiquity script)

MW is a Firefox Ubiquity script. It uses the mediawiki API to suggest and insert an internal link.

[edit] Semi-auto edit bots

[edit] AutoWikiBrowser

AutoWikiBrowser – Makes repetitive, tedious edits such as spell checkings or category moves faster and easier.

Request for program access should be made at Wikipedia talk:AutoWikiBrowser/CheckPage
Make task requests at Wikipedia:AutoWikiBrowser/Tasks
Typo fixing request should be made at Wikipedia talk:AutoWikiBrowser/Typos
Bugs should be reported at Wikipedia talk:AutoWikiBrowser/Bugs
Feature Requests: Wikipedia talk:AutoWikiBrowser/Feature requests

[edit] mwpush

Description mwpush.pl is a Perl script which takes a Wikified text file or input and submits it to a target MediaWiki page.

[edit] Pywikipediabot

Useful for creating bots, or for interactive repair of interwiki links.

[edit] Humanbot (currently not running)

Description

A semi-automatic bot that automatically corrects mistakes in Wikipedia pages. The bot requires Mozilla Firefox, Greasemonkey 0.5-beta+, and a special script. This only works with the Monobook theme. See the bot's page for more information.

Instructions (incomplete)

  • If you don't have Mozilla Firefox, see the Firefox page on the Mozilla website.
  • If you don't have the Greasemonkey extension, see the Greasemonkey page on the Mozilla Update website. Remember to restart your browser after installing it.
  1. Navigate to the script page.
  2. On the menu bar, go to Tools >> Install User Script.
  3. Click the 'Ok' button in the "Install User Script" window to add it to Greasemonkey.
  4. On Wikipedia, a new menu will appear on the sidebar, called "auto-edit" with the options 'on', 'off', and 'home'. Click 'on' to activate the bot.
    • Note: Do not activate the bot with multiple tabs open!
    • Note: The rest of the instructions are missing. If you can add to this, please do so.

Usage

The bot will send you to the correct page, make the changes, and press the preview button. You just need to check that the changes are reasonable, and the edit will be made under your own username.

[edit] WagTools

WagTools – a Firefox extension containing a set of tools to speed up repetitive processes, similar to AutoWikiBrowser. (Currently under development – there's only two tools available at the time of writing, a project tagging tool and a typo fixer, but the intention is to add more later).

[edit] DotNetWikiBot

DotNetWikiBot has an option to review and change each edit in Microsoft Word before saving it to live wiki. DotNetWikiBot is a client API on .NET, intended for building bots for MediaWiki sites.

[edit] Information display

[edit] Navigation popups

Wikipedia:Tools/Navigation popups gives a popup box containing the first paragraph of an article when hovering over a link; it also allows quick access to common editing operations. If the wiki provides the NavPop gadget, it can be enabled in user preferences under the gadgets tab. Otherwise, installed by editing the user's [[User:Name/monobook.js]] file.

[edit] Templates

User:Zondor/Toolboxes provide a list of templates as tools for one to put in pages such as their user page.

[edit] Alternative preview

  • Pilaf's Live Preview is a script that allows very fast preview in the browser window during article editing, without loading a new page, using a JavaScript parser. It does not support templates and has some other limitations. Installed by editing your Special:Mypage/monobook.js file. It is also used by the wikEd editor tool.
  • User:Sverdrup/Wikipreview.html uses Pilaf's great Live Preview to make a downloadable stand-alone previewer for offline editing. (Download this link to save the file: wikipreview.html).
  • Alex Smotrov's QPreview adds an edit toolbar button that uses XMLHttpRequest to generate page preview without reloading the whole page. QPreview functionality has also been added to the wikEd editor tool.

[edit] wpvfdhide

wpvfdhide hides VfD discussions which are already closed on demand. This is useful both for finding unclosed entries in the logs and for finding things which weren't speedied in the current VfD day pages. The latest link to it is at User:R3m0t and it requires Firefox and Greasemonkey. r3m0t talk July 3, 2005 13:56 (UTC)

[edit] WikiCheck watchlist tool

WikiCheck is a small tool to make checking your watchlist easier. Docked to the left screen edge it shows a list of changes that occurred since the last time the list was checked. Clicking on a change will open the corresponding diff in a new browser window. Recently rewritten.

[edit] vfd_NavBar

vfd_NavBar is a modified version of the experimental navigation bars. This will hide closed discussions in the AFD & AFC pages, but not in the AFD sub pages (where there's only 1 discussion) and allows you to toggle them individually. There's no other requirements, just {{subst:User:Sanbeg/vfd_NavBar.js}} into your monobook.js -Steve Sanbeg 21:12, 17 October 2006 (UTC)

[edit] WikiDiff

Firefox only extension for tracking and rendering diffs of Wikipedia articles. Essentially like taking a highlighter and marking what is new since your last visit. Allows you to watch pages you aren't specifically watching. Requires the Java Runtime. --Dmg46664 (talk) 07:58, 24 August 2010 (UTC)

[edit] Wikisyntax conversion utilities

[edit] From tables

[edit] From Microsoft Word or OpenOffice

see also "From OpenOffice" section below for conversion from or via OpenOffice

  • User:Cacycle/wikEd editor extension functionality, see above
  • Extension:Word2MediaWikiPlus: Converts most text, tables and pictures into wiki format.
  • Microsoft Office Word Add-in For MediaWiki: Converts Word documents to wiki formatting. Doesn't do images.
  • Word2MediaWiki using a Word Visual Basic macro
  • word2mediawiki.pl: A Perl script that convert Word files to Mediawiki using OpenOffice (running "headless"). Images are also supported. Images are extracted from the Word file and saved as ordinary images which are uploaded to the wiki using pywikipediabot. Runs on Linux.
  • word2mediawiki.py: A Python script that convert Word files to Mediawiki using OpenOffice. Images are also supported.
  • Adding code to Microsoft visual basic editor
Add the source code below (currently hidden in a collapsed table) to the visual basic editor in Word.
Copy and paste the below code into a file.
Open the visual basic editor tools → macro → visual basic editor (In Word 2007, Show Developer Tab in Ribbon must be checked in Word Options → Popular)
Right click on Normal in the Project pane and select Import File...
Import the file saved above (that file is no longer needed after import)
Save the code File → Save normal
Close the visual basic editor.
Converting the Word formatted text is simply done by running your new 'installed' macro tools → macro → macros.
See the notes[2] for more formatting options.

On the other hand, transferring a single wiki page in mediawiki to Word is easy, just save the desired webpage and then open the page in Microsoft Word.

[edit] From HTML

Online, no installation required
Note: You must change the "Wiki dialect" to MediaWiki or it won't work properly. You can enter a url to convert a web page. It is based on the Perl module HTML::WikiConverter which performs html→wiki conversion and is available on CPAN. (by en:Diberri). This converter can fetch a URL instead of pasting the html.
Tip: If you receive no conversion but an "Internal Server Error" or nothing at all, the HTML source may be too large
Tip: If you experience problems with non-ASCII characters, paste UTF-8 code as ASCII (Ä instead of Ä), convert and restore original encoding (SciTe could help you doing the encoding conversions)
To download

[edit] From OpenOffice

[edit] From LaTeX

  • LaTeX2wiki converts sections, math, and references using a web form.

[edit] From source codes

  • Wikipedia supports syntax highlighting. For information on how to use it, and the languages supported, see Syntax Highlight Extension.

[edit] From Wikispaces

[edit] Misc. Editing tools

[edit] RecentChanges tools

[edit] Spell Checkers

[edit] Interwiki link checker

  • [2] to interwiki articles in different languages which ought to have a link.

[edit] Disambiguation fixer

Disambiguation fixer will be a program to fix the links to Disambiguation pages. (See Wikipedia:Disambiguation pages with links)

[edit] Go-to-edit-page contextual menu item

  • This script for a Firefox extension allows one to go directly to the edit page of a right-clicked wiki page link (control-clicked on a Macintosh one-button mouse).

[edit] Timeline creation tool

For a tool to create nice graphical timelines, see meta:Wikipedia Project Time Charts and the Easy Timeline Homepage. (by meta:Erik Zachte)

[edit] AFD tools

note : AFD stands for Articles For Deletion

Add the following to your monobook.js file

Added by ABCD
This should be improved by saving a 7-day cookie as to the hidden or shown status of each VFD --jnothman talk 02:01, 2 November 2005 (UTC)

[edit] Afd helper

A script to speed up voting on AFDs. See afd helper. Feedback needed.

[edit] WikiDiscussion Manager

This is a tool for posting your opinion on discussions on wikipedia. Currently only AfD is supported, more are coming. WDM. This is a console app using .NET and C++.

[edit] Regex: change heading levels

The following may seem trivial for Unix-experienced people, but a collection of ready to use regular expressions can help people who don't know anything or much about regular expressions. For these people: You can use regular expressions in many editors to perform complex editing tasks.

This will give the headings more (or less) equal signs ("="). I can only provide a version which is verified to work in Eclipse, but it will work in many text editors which feature Unix-style regular expressions.

Please change the expressions only if you are very, very sure that it will work correctly, say you have tested that it works.

Verified in Eclipse

Search-string:
^=(=*?)([^=]+?)(=*?)=\s*$
For more equal signs replace with:
==$1$2$3==
For less equal signs replace with:
$1$2$3
To balance right equals signs to left:
=$1$2$1=

Hints for text editors not mentioned

In other editors the replace strings will have to be different:

For more equal signs replace with:

==\1\2\3==

For less equal signs replace with:

\1\2\3

[edit] Footnote renumbering tool

If you have a page with many footnotes ({{Fn|...}} and {{Fnb|...}}), and they're all in the wrong order, this script could be useful. Written in Python, tested on a Linux system with Python 2.4.

User:Skagedal/Footnote renumbering tool

[edit] Extra edit page buttons

Extra edit page buttons.png

For extra edit page buttons, put the following code in your monobook.js, replacing "monobook" with the name of your skin, in all lowercase (using "standard" for Classic skin).

{{subst:js|User:MarkS/extraeditbuttons.js}}

The buttons include: left aligned text, sub-script, super-script, insert table, insert quoted text.

More details can be found at User:MarkS/Extra edit buttons.

[edit] Strikeout

Button strike.png

The following simply adds a strikeout button to your editing tools:

function addStrikeoutButton() {
    editingTools = document.getElementById('toolbar');
 
    if (editingTools != null)  {
        StrikeTextButton = "  <a href=\"javascript:insertTags('<s>','</s>','Insert text here');\"><img src=\"http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png\" alt=\"Strike\" title=\"Strike-through text\"></a>";
 
        editingTools.innerHTML = editingTools.innerHTML + StrikeTextButton;
    }
}
 
window.onload = addStrikeoutButton;

[edit] Units of measure formatting and conversion tool and date formatting tool

User:MJCdetroit/monobook.js is a monobook tool that allows many common units to be correctly formatted (e.g. km² and not sq km) and converted between metric and imperial/U.S. customary systems with one click on a 'units' tab in edit mode.

Dates can be delinked and common errors associated with can be corrected with one click on a 'dates' tab in edit mode.

Units and dates can be combined by clicking the 'combined' tab in the edit mode.

To avoid false positives, editors can/should review the changes offered and accept or reject the changes offered and/or do more editing before pressing 'Save'. Simply add importScript("User:MJCdetroit/monobook.js"); to your own monobook. Follow the instructions in your monobook to clear the cache (i.e. press Ctrl-Shift-R in Firefox, or Ctrl-F5 in IE) before it will work. —MJCdetroit (yak) 20:32, 21 July 2008 (UTC)

[edit] Wiki Welcome

// A small piece of JS writen by [[User:MatthewFenton]], This is my first piece of JS.
function welcome() {
    if (document.title.indexOf('Editing User talk:') == 0) {
        document.editform.wpTextbox1.value = document.editform.wpTextbox1.value + '==' + 'Welcome' + '==\n' + '{{subst:User:' + 'MatthewFenton/Welcome}}\n~~' + '~~';
        document.editform.wpSummary.value = 'Welcome a user to Wikipedia using JS WW';
    }
}
function welcome_tab() {
    add_link('javascript:welcome()', 'Welcome');
}
 
if (document.title.indexOf('Editing User talk:') == 0) {
 addOnloadHook(welcome_tab);
}

The code adds a tab when you are on user talk pages, you can then click it to add a welcome template and then save. A little time saver for me i thought I would share. Matthew Fenton (contribs) 16:25, 12 July 2006 (UTC)

[edit] Image tagging tools

Script for quickly tagging images as lacking source, licensing, or fair use rationale. Also simplifies nominating images for deletion:

User talk:Howcheng/quickimgdelete.js

[edit] Commonist – upload client for Wikimedia Commons

A simple upload client for wikimedia commons and a number of other MediaWiki sites. Written in Java and BeanShell. [3]

[edit] Labelled Image Editor

Zondor's Labelled Image Editor is a Java tool that creates and edits labelled links for an image. Useful for creating clickable maps like Template:United States Labelled Map. http://mujibab.googlepages.com/labelledimageeditor

[edit] CSDHelper

A Greasemonkey script to add a menu with common WP:CSD criteria next in the form that appears when deleting articles. It saves time and provides more meaningful deletion reasons in the logs. Can be included directly into monobook.js with basic modification. It is available at User:Chairboy/csdhelper.greasemonkey.js. Wikipedia administrator access required.

[edit] AFD Organizer

An application used in AFD discussions. Loads a list of all the recent AFD's, and then pre-loads several useful pages when opening an AFD, saving valuable time and energy.

[edit] Auto-replace for romanized Sanskrit text input

User:Visarga/monobook.js is a script that uses an internal Sanskrit dictionary to automatically replace romanized words typed without diacritics with their proper form. Typing Sakti will get you Śakti. A second function of this script is to allow the manual input of diacritics like the upper line, below dot or cedilla. Type : a-- and get ā. The dictionary might contain mistakes. The script was created for personal use so it has not been evaluated yet. Visarga (talk) 09:15, 29 February 2008 (UTC)

[edit] Notes

  1. ^ http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/55686
  2. ^ Note: You may want to alter this Microsoft Word visual basic editor code so that Word H1 tags become Wiki H2 tags, H2->H3, and so on. H1 is widely considered the title of a web page, whereas H1 is widely considered just the top-level heading in Word.
    Note: this macro also provides a workaround converting linebreaks from word to paragraphs in wiki – line breaks in word are ignored in wiki so everything runs together in one paragraph in the older version of this code. Also, the code no longer makes any changes to the source document. Changes are made on a document in memory and put on the clipboard for pasting into the wiki text area.

[edit] See also

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages