MiniEdit

WikiEdit is a tool for quickly editing content without leaving the page. WikiEdit makes editing easy, fast and intuitive, especially on mobile devices. Below is a video demo in the Spanish Wikipedia:



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, then you can install it 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:

To install WikiEdit as a gadget, first create MediaWiki:Gadget-WikiEdit.js with the code above. Then create MediaWiki:Gadget-WikiEdit with a short description of the tool. Finally, add the following definition to MediaWiki:Gadgets-definition (see Extension:Gadgets for details):

* WikiEdit [ResourceLoader|targets=desktop,mobile|actions=view] | WikiEdit.js

Configuration
WikiEdit requires no configuration. However, the following options are available. Add them anywhere before or after the initialization code. They are shown below along with their default values:

Note that all edits made with WikiEdit are automatically tagged with the #wikiedit hashtag, so that they can be easily tracked via https://hashtags.wmcloud.org across all Wikimedia wikis. Thus, setting a change tag is generally unnecessary, but may be useful for third-party wikis or for specific purposes.

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

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.

Development
Clone the Gerrit 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 everyone using the tool.