User:Oski/s/wikify.js

// Wikify, script copied from User_scripts/Guide

$(document).ready( function {    var link = mw.util.addPortletLink( 'p-cactions', '#', 'Wikify', 'ca-wikify', 'Mark for wikification');     $(link).click( function(event) { event.preventDefault; doWikify; } ); } );

function doWikify { document.editform.wpTextbox1.value = "{" + "{wikify}}\n\n" + document.editform.wpTextbox1.value; //document.editform.submit; }