User:QwerpQwertus/monobook.js

// ##### Add the menu. ##### // ##### Add the portlet when the page loads and define text, function, tooltip, and id when on WP:FEED ##### addOnloadHook(   function  {        if (wgPageName=Wikipedia:Requests_for_feedback)   {    mw.util.addPortletLink( 'p-cactions', "javascript:do", "Rff Notify", "friendly-tag", "Tag redirect", "");   }    } ); var template-choice=shea // ##### Do the script when told to by clicking menu. ##### // ##### Add "do" function to be executed when the menu is clicked. ##### function do { ask-info-window } // ##### What to do in order to add the notify template to a page an save it. ##### function notify-edit { document.editform.wpTextbox1.value = "{" + "{"+"template-choice"+"}}\n\n" + document.editform.wpTextbox1.value; document.editform.submit; }