User:MZMcBride/monobook.js: Difference between revisions
Content deleted Content added
try this |
better |
||
Line 12: | Line 12: | ||
'Recent changes', |
'Recent changes', |
||
'r', |
'r', |
||
'# |
'#p-tb li:first' |
||
); |
); |
||
}); |
}); |
Revision as of 22:50, 23 January 2014
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',
'#p-tb li:first'
);
});