MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
if(mw.config.values.wgUserId !=undefined){ | if(mw.config.values.wgUserId !=undefined){ |
Revision as of 12:28, 23 October 2020
/* Any JavaScript here will be loaded for all users on every page load. */ if(mw.config.values.wgUserId !=undefined){ $(".editbutton").show(); } // install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript');