AdvancedOasisUI

The "AdvancedOasisUI" script adds various links and buttons to Oasis' UI. Primarily, it restores functionalities from previous skins which were removed from Oasis.

Features

 * Adds "contributions" link to account navigation
 * A link to Special:Contributions/user name is added to the account navigation menu in the top right corner of the page.


 * Adds "history" and "what links here" links to edit screen
 * Links to page history and Special:WhatLinksHere/current page are added below the copyright message on the edit & preview screens (in the same line as "show changes" etc).


 * Adds button to Special:Search for proceeding to page if it does not exist
 * Functioning as a replacement for the removed redlink to the search term on Special:Search, a button is added to the right of the search page's main headline which allows users to proceed to the search term-titled page.


 * Replaces "WikiActivity" button with "recent changes"
 * The "WikiActivity" button in the wiki header is replaced with a button pointing to Special:RecentChanges.


 * Replaces "followed pages" link in account navigation with "watchlist" (optional)
 * Optionally, the "followed pages" link in the account navigation menu is replaced with one pointing to Special:Watchlist.


 * Multi-language support
 * Supports ISO 639-1 localization (see "Adding translations").

Installation
If you would like to use the script with the default options, simply add the following either to your global.js on Community Central (to make the script available on all wikis) or to Special:MyPage/wikia.js on specific wikis:

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

If you would like to change the options, insert the following instead:

var AdvancedOasisUIConfig = { accountNavWatchlist: false, userLang: true }; importScriptPage('AdvancedOasisUI/code.js', 'dev');

For an explanation of the available options, see "Options" below.

Options

 * accountNavWatchlist
 * If set to true, the "followed pages" link in the account navigation is replaced with one pointing to Special:Watchlist.


 * 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 AdvancedOasisUIConfig = { 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 AdvancedOasisUIConfig = { en: { contributions: "Contributions", goToPage: "Go to page", history: "History", recentChanges: "Recent Changes", watchlist: "Watchlist", whatLinksHere: "What links here" } }

Adding translations
The following text snippets are used by the script: If you would like to help out, please post translations for these on the script's talk page (or add them to /code.js directly if you are comfortable with doing so). Please keep in mind that the text needs to be sufficiently short that there are no collision issues with the default toolbar buttons.
 * "Contributions"
 * "Go to page"
 * "History"
 * "Recent changes"
 * "Watchlist"
 * "What links here"

Updates

 * 20 January 2011
 * Porter21: Created.