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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/** This script contains the code required for loading [[User:Joeytje50/AWB.js]].
* All other code is located at that page.
*/
//Idea by [[User:Epicgenius]]
$('<li>', {
append: $('<a>', {
href: mw.config.get('wgArticlePath').replace('$1', 'Project:AutoWikiBrowser/Script'),
text: 'JS Wiki Browser',
title: 'Run Javascript Wiki Browser'
}),
prependTo: $('#WikiaBar .toolbar .tools')
});
if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'Project:AutoWikiBrowser/Script') {
importArticle({
type: 'script',
article: 'u:dev:MediaWiki:JWB/code.js'
});
}