Snippets/Main Page tab

Description
On the main page (and its associated namespaces and actions (Talk, edit, history etc.) this script will put "Main Page" instead of "Article" or "Page" in the first tab. Works in both Vector and Monobook.

Native
If you are using 1.18 or higher, you can instead use the interface message "mainpage-nstab". You can do this by creating the page on your wiki (requires administrator rights) with the desired label.

Alternative
The following requires $wgHtml5 to be set to  (and as such, won't work on WMF wikis until bug 27478 is fixed).


 * Template:Page_tab




 * Code


 * Usage