MiniEdit

WikiEdit is a gadget for quickly editing content without leaving the page.

Installation
If WikiEdit is already available as a gadget in your wiki, simply go to your preferences and enable it. If it's not available, you can install WikiEdit just for you by adding the following code to your common.js in the wiki where you want it available (Wikimedia or not) or to your global.js if you want it available in every Wikimedia wiki:

The above code will attempt to load WikiEdit on every page view, even when it's not useful. If you'd like to reduce unnecessary web requests, use the following code instead:

If you'd like to make WikiEdit available in your wiki as a gadget, define an entry at MediaWiki:Gadgets-definition (see Extension:Gadgets for details) and use the above code as the main script.

Usage
Once installed, simply go to any page in the wiki and click the little pencil icon that should appear next to most paragraphs.

Why does the edit button appear next to some elements but not others?
WikiEdit only shows the edit button next to the elements that it can edit reliably. That depends on several factors, including whether the element is defined in the current page or comes from a template, and if the element is unique enough that WikiEdit can find it in the page wikitext.

Localization
Localization is done through translatewiki.net, so visit the translation project to help. Your translations will become available automatically to everyone in a few days, when the translatewiki bot merges your changes. Thanks!

Development
Development is done through Gerrit and Phabricator. Visit the Phabricator project to report bugs and request features, or clone the repository to start contributing (see Gerrit/Tutorial). The live code is served directly from the repo, so once your code gets merged, it will become immediately available to every user and every wiki using the gadget.