MediaWiki:Gadget-commentaddon.js

Revision as of 23:37, 13 December 2020 by Messing with data (talk | contribs) (Added discord server link.)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
RLQ.push(['jquery', function () {
  $(document).ready(function() {
  	var faqAddon = $('<div></div>');
  	faqAddon.html('Please see our <a href="Guideline_Comments">comment guidelines</a> first. For further communication, please visit our <a href="https://discord.gg/GbyJQBp">Discord server</a>');
  	faqAddon.addClass('comments-guideline');
  	$('#flowthread .comment-replybox').prepend(faqAddon);
  });
}]);