User:PrimeHunter/In MonoBook.js

/* Add a "MonoBook" sidebar link to reload the current page in the MonoBook skin.

Changes in the edit box and elsewhere will be lost.

Install with this in your Special:MyPage/vector.js if Vector is your normal skin:

importScript('User:PrimeHunter/In MonoBook.js'); // Linkback: User:PrimeHunter/In MonoBook.js

  • /

$( document ).ready( function() {

mw.util.addPortletLink(

'p-tb',

location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'useskin=monobook',

'In MonoBook',

't-inmonobook',

'Reload page in MonoBook (discards anything you have entered)'

);

});