Jump to content

user:js/6tabs-vector

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
6tabs-vector
Browsers *
Skins Vector
Code 6tabs-vector.js
Released July 2, 2010 (2010-07-02)
Updated March 3, 2025; 4 months ago (2025-03-03)
Developer   AlexSm
  • Article
  • Discussion

Six Tabs script shows "edit" and "history" tabs both for subject and talk page.

It is designed for Vector (default) skin only; similar script for Monobook is here.

Installation: add this to your vector.js file:

//[[user:js/6tabs-vector]]
importScript('user:js/6tabs-vector.js')

By default the script uses icons for "edit" and "history" and "+" for "add section" tab (see the sketch on top). These can be replaced by words with e.g. the following code preceding importScript:

sixTabsNames = {
'edit':'Edit',
'viewsource':'Source',
'history':'History',
'addsection':'+'
}

Hint: It's much easier if you get ScriptInstaller, then navigate to User:Js/6tabs-vector.js and click "Install" at the top.

Script was tested in Firefox 3.6.6, Opera 10.54, IE8, Safari 5.0 Win.

Bug reports and comments are welcome on the talk page.