Documentation may be created at User:Lakejason0/common.js/doc.
Note: After saving, you have to bypass your browser's cache to see the changes.
Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Wikiplus */
mw.loader.load('https://wikiplus-app.com/Main.js');
/* InPageEdit v2 */
mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js');
$(function(){
$('#ca-view').after(
$('<li>',{
id:'ca-quick-edit',
class:'collapsible'
}).append(
$('<span>').append(
$('<a>',{
href: 'javascript:void(0)'
})
.text('IPE')
.click(function(){
InPageEdit.edit({
page: mw.config.get('wgPageName'),
revision: mw.config.get('wgRevisionId')
});
})
)
)
);
});