OasisToolbarButtons

The "OasisToolbarButtons" script adds commonly used action buttons (like "edit", "move", "history" etc) to Oasis' bottom toolbar for easy access.

Features

 * Adds buttons to bottom toolbar
 * The following buttons are added:
 * "Edit"/"View source"
 * "Edit with form" (if applicable)
 * "Move"
 * "Protect"/"Unprotect" (if user has sysop privileges)
 * "Delete"/"Undelete" (if user has sysop privileges)
 * "Purge"
 * "History"
 * "What links here"


 * Removes duplicate links from "My Tools"
 * The following links are removed:
 * "History"
 * "What links here"
 * "Theme Designer" (can be re-added via "Edit my tools" dialogue if desired).


 * Multi-language support
 * Supports i18n localization (see "Adding translations").

Installation
Add the following either to your global.js on Community Central (if you'd like to use this script on all wikis) or to Special:MyPage/wikia.js on specific wikis:

importScriptPage('OasisToolbarButtons/code.js', 'dev');

Configuration
You can change the script's configuration by adding the following options above the script import:


 * userLang
 * By default, the script tries to display messages in the following languages:
 * The user's language (specified in his/her preferences)
 * The wiki's content language
 * English if there are no messages in a desired language.
 * You can disable this by setting the userLang option to false.
 * Example:

 var OasisToolbarButtonsConfig = { userLang: false, };


 * langCode
 * Localized button labels can be added using the two-character language code as a key (e.g. OasisToolbarButtonsConfig.en) and then creating an object for the button labels. See example below for how to override the default labels used for the English language.
 * Example:

 var OasisToolbarButtonsConfig = { en: { edit: "Edit", viewsource: "View source", editwithform: "Edit with form", move: "Move", protect: "Protect", unprotect: "Unprotect", delete: "Delete", undelete: "Undelete", purge: "Purge", history: "History", whatlinkshere: "What links here" } }

Updates

 * 25 November 2010
 * Porter21: Created.