User:MZMcBride/monobook.js: Difference between revisions
Content deleted Content added
+code, cribbed from wmdc:MediaWiki:Common.js |
may as well |
||
Line 7: | Line 7: | ||
addOnloadHook(function() { |
addOnloadHook(function() { |
||
mw.util.addPortletLink( 'p-tb', |
mw.util.addPortletLink( 'p-tb', |
||
'/wiki/Special:RecentChanges', |
'/wiki/Special:RecentChanges?hidebots=0&hidemyself=1', |
||
'Recent changes', |
'Recent changes', |
||
't-recentchanges', |
't-recentchanges', |
Revision as of 20:59, 15 April 2013
importScriptURI('//meta.wikimedia.org/w/index.php?title=User:MZMcBride/global.js&action=raw&ctype=text/javascript');
importScript('User:MZMcBride/prod.js');
importScriptURI('//en.wikipedia.org/w/index.php?title=User:MZMcBride/morebits.js&action=raw&ctype=text/javascript');
importScriptURI('//en.wikipedia.org/w/index.php?title=User:MZMcBride/embeddedin.js&action=raw&ctype=text/javascript');
/* Add Special:RecentChanges to toolbox */
addOnloadHook(function() {
mw.util.addPortletLink( 'p-tb',
'/wiki/Special:RecentChanges?hidebots=0&hidemyself=1',
'Recent changes',
't-recentchanges',
'Recent changes',
'r',
'#t-whatlinkshere'
);
});