User:Equazcion/ContribsTabVector
Appearance
| ContribsTabVector | |
|---|---|
| Description | Adds "Contributions" and "Statistics" tabs to User and User talk pages. |
| Author | 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
[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;
contribsTabturns the Contributions tab on or off. Set tofalse;if you don't want that tab displayed.contribsTabStatsturns the Statistics tab on or off. Set tofalse;if you don't want that tab displayed.contribsTabNamesets a custom name for the Contributions tab. Replace the quoted text with your desired tab name (leave the quotes in place).contribsTabStatsNamesets a custom name for the Statistics tab. Replace the quoted text with your desired tab name (leave the quotes in place).contribsTabNumbersets the number of contributions to display when the Contributions tab is clicked. Can be1to5000. Note: Higher values will cause the contributions page to load slowly. Values over1000may cause a significant delay.
See also
[edit]- User:JeremyMcCracken/ContribsTab - Contribs tab script for Monobook
- User:Js/6tabs-vector