Jump to content

user:js/6tabs-vector

From Wikipedia, the free encyclopedia
6tabs-vector
Browsers *
Skins Vector
Code 6tabs-vector.js
Released July 2, 2010 (2010-07-02)
Updated May 8, 2022; 2 years ago (2022-05-08)
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.

cript 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.