User:TeleComNasSprVen/common.js
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// [[File:Krinkle_CVNSimpleOverlay_wiki.js]]
// by [[:meta:User:Krinkle|User:Krinkle]] at [[:meta:Main Page|Meta-Wiki]]
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/CVNSimpleOverlay_wiki.js&action=raw&ctype=text/javascript');
// HotCat gadget from [[:commons:Main Page|CommonsWiki]]
mw.loader.load('https://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript');
/*
* Replaces the text of the "edit this page" and "new section" tabs with "edit" and "+", respectively.
* Credits to [[User:Theopolisme]] on the Village Pump (at [[Wikipedia:Village pump (technical)]])
* [https://en.wikipedia.org/w/index.php?diff=585843632&oldid=585839196 diff and oldid]
*/
$('#ca-edit a').text('edit');
$('#ca-addsection a').text('+');