User:Նարինե Մուրադյան/global.js
Appearance
From Meta, a Wikimedia project coordination wiki
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.
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Ebraminio/ArticleTranslator.js&action=raw&ctype=text/javascript"); mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AFrietjes%2Finfoboxgap.js&action=raw&ctype=text/javascript');// [[User:Frietjes/infoboxgap.js]] // Intentionally using non-strict comparison with ==, not ===, because of [[phab:T54542]] if(mw.user.options.get('wikibase-otherprojects')==0){ mw.loader.using('mediawiki.api',function(){ (newmw.Api()).postWithToken('options',{ action:'options', optionname:'wikibase-otherprojects', optionvalue:1 }); }); } mw.loader.load('//bits.wikimedia.org/he.wikipedia.org/load.php?debug=false&lang=he&modules=ext.gadget.autocomplete'); //syntax highlighter mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript'); window.articleTranslatorConf={ 'homeWiki':'hy' }; mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Ebraminio/ArticleTranslator.js&action=raw&ctype=text/javascript");