User:PRB/common.js

//importStylesheet('User:Osarius/FloatingTOC.css'); /* Wikipedia:AutoEd/basic.js */ importScript( 'Wikipedia:AutoEd/basic.js' );// Backlink: AutoEd/basic.js mw.util.addPortletLink("p-cactions", "javascript:banana", "banana", "id_banana_link","","",document.getElementById('ca-move'))

var is_edit_page = function { return Boolean(document.getElementById("editform")) }

var banana = function{ txt = "banana" if(is_edit_page) { txt += "-edit" } alert(txt) }