MediaWiki:Vector.js: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) Replaced content with "$("#search").addClass('nomobile');" |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for users using the Vector skin */ | |||
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor | |||
document.write('<script type="text/javascript" src="' | |||
+ 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' | |||
+ '&action=raw&ctype=text/javascript"></' + 'script>'); | |||
function createTab() { | |||
mw.util.addPortletLink( 'vector-view', '//wwwswikidoc.org/index.php/Category:Help', 'Help', | |||
't-help', 'Help ', 'm', '#vector-view-view' ); | |||
} | |||
addOnloadHook( createTab ); | |||
$("#search").addClass('nomobile'); | $("#search").addClass('nomobile'); |
Revision as of 16:11, 28 September 2015
/* Any JavaScript here will be loaded for users using the Vector skin */ // install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor document.write('<script type="text/javascript" src="' + 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript"></' + 'script>'); function createTab() { mw.util.addPortletLink( 'vector-view', '//wwwswikidoc.org/index.php/Category:Help', 'Help', 't-help', 'Help ', 'm', '#vector-view-view' ); } addOnloadHook( createTab ); $("#search").addClass('nomobile');