User:MZMcBride/monobook.js: Difference between revisions
Content deleted Content added
+code, cribbed from wmdc:MediaWiki:Common.js |
seemingly no longer needed |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
importScriptURI('//meta.wikimedia.org/w/index.php?title=User:MZMcBride/global.js&action=raw&ctype=text/javascript'); |
|||
importScript('User:MZMcBride/prod.js'); |
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 */ |
/* Add Special:RecentChanges to toolbox */ |
||
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', |
||
'Recent changes', |
'Recent changes', |
||
'r', |
'r', |
||
' |
'li:first' |
||
); |
); |
||
}); |
}); |