ContribsTabVector | |
---|---|
Description | Adds "Contributions" and "Statistics" tabs to User and User talk pages. |
Author(s) | Equazcion |
Status | Stable |
Updated | July 6, 2013 |
Browsers | Firefox, Chrome |
Skins | Vector |
Source | User: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.
- The Contributions tab replicates the "User contributions" link from the toolbox as a tab.
- The Statistics tab links to the user's stats as generated by https://tools.wmflabs.org/xtools-ec/
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
editThe 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- User:JeremyMcCracken/ContribsTab - Contribs tab script for Monobook
- User:Js/6tabs-vector