Jump to content

User:Timeshifter/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Timeshifter (talk | contribs) at 04:56, 29 November 2019 (reply-link script. Adds a "reply" link after signatures on a discussion page.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
// Adds a "reply" link after signatures on a discussion page. 
// https://en.wikipedia.org/wiki/User:Enterprisey/reply-link

importScript( 'User:Enterprisey/reply-link.js' ); // Backlink: [[User:Enterprisey/reply-link.js]]
replyLinkSigPrefix = "--"
replyLinkPreloadPing = button
replyLinkPreloadPingTpl = "{{u|##}}, "

// The script adds "Preview" and "Changes" buttons above the editing window.
// https://en.wikipedia.org/wiki/User:Js/ajaxPreview

importScript('User:Js/ajaxPreview.js'); // [[user:js/ajaxPreview]]
var ajaxPreviewPos = 'left'; // buttons on the left