MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
if(mw.config.values.wgUserId !=undefined){ | if(mw.config.values.wgUserId !=undefined){ | ||
$(".editbutton"). | $(".editbutton").attr('style', 'display: block !important;'); | ||
} | } | ||
Revision as of 12:35, 23 October 2020
/* Any JavaScript here will be loaded for all users on every page load. */
if(mw.config.values.wgUserId !=undefined){
$(".editbutton").attr('style', 'display: block !important;');
}
// 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');