User:Equazcion/ContribsTabVector

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.

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


 * 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 <tt>5000</tt>. Note: Higher values will cause the contributions page to load slowly. Values over <tt>1000</tt> may cause a significant delay.