Jump to content

User:Equazcion/ContribsTabVector

From Wikipedia, the free encyclopedia
User script
ContribsTabVector
DescriptionAdds "Contributions" and "Statistics" tabs to User and User talk pages.
Author(s)Equazcion
StatusStable
UpdatedJuly 6, 2013; 11 years ago (2013-07-06)
BrowsersFirefox, Chrome
SkinsVector
SourceUser:Equazcion/ContribsTabVector.js

ContribsTabVector adds two new tabs to User and User talk pages: "Contributions" and "Statistics". This script is for the Vector skin (Wikipedia's current default skin). These tabs appear in the top-right of the screen, near the search bar.

To use this script: Copy the line below, then click here, paste the line, and hit the save button.

  • {{subst:iusc|User:Equazcion/ContribsTabVector.js}}

Options

[edit]

The following lines are optional. Add any or all of them after the importScript line above. The default values are shown.

var contribsTab = true;
var contribsTabStats = true;
var contribsTabName = "Contributions"; 
var contribsTabStatsName = "Statistics";
var contribsTabNumber = 50;
  • contribsTab turns the Contributions tab on or off. Set to false; if you don't want that tab displayed.
  • contribsTabStats turns the Statistics tab on or off. Set to false; if you don't want that tab displayed.
  • contribsTabName sets a custom name for the Contributions tab. Replace the quoted text with your desired tab name (leave the quotes in place).
  • contribsTabStatsName sets a custom name for the Statistics tab. Replace the quoted text with your desired tab name (leave the quotes in place).
  • contribsTabNumber sets the number of contributions to display when the Contributions tab is clicked. Can be 1 to 5000. Note: Higher values will cause the contributions page to load slowly. Values over 1000 may cause a significant delay.

See also

[edit]