Jump to content

User:Awesome Aasim/quicknote.js/messages.js

From Wikipedia, the free encyclopedia
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.
// Some of these messages are inspired by wikiHow's quick note feature. <nowiki>
quicknote.messages = {
		good: [ //thank you messages
			"I saw that you contributed to " + quicknote.pagelink + ". Thanks for helping out!",
			"Nice work on " + quicknote.pagelink + "!",
			"Wonderful edit to " + quicknote.pagelink + "!",
			"Good job on your recent edit to " + quicknote.pagelink + ".",
			"Nice job on your edit to " + quicknote.pagelink + "!  Keep it up!",
			"I would like to give a basic thank you for editing " + quicknote.pagelink + ".",
			"Thanks for taking the time to help improve " + quicknote.pagelink + "!",
			"Nice work on " + quicknote.pagelink + ". Thanks for the helpful edit!",
			"Your edit to " + quicknote.pagelink + " looked good! Thanks for the contribution.",
			"I liked the edit you made to " + quicknote.pagelink + ". Thanks!"
		],
		welcome: [ //welcome messages 
			"Hello {{subst:BASEPAGENAME}} and welcome to {{subst:SITENAME}}! Thanks for your contributions. How are you finding {{subst:SITENAME}} so far?",
			"Thanks for diving in with " + quicknote.pagelink + "! Not that many people make it this far. How are you finding {{subst:SITENAME}}?",
			"Hi {{subst:BASEPAGENAME}}. I know you have been on this site for a bit, but I just wanted to thank you for your edits. Do you need any assistance with any aspects of {{subst:SITENAME}}?",
			"Hello {{subst:BASEPAGENAME}} and welcome to {{subst:SITENAME}}! I appreciate your edits so far, like the one you made to " + quicknote.pagelink + ". How are you finding {{subst:SITENAME}} so far?"
		],
		bad: [ //coaching messages 
			"Hello {{subst:BASEPAGENAME}}, I came across your edit to " + quicknote.pagelink + " and thought it may go against policy, so I undid it for now. It could be that I misunderstood your edit, though, so please feel free to send me a message if you disagree.",
			"Just stopping by to let you know that we usually revert edits like the one you made to " + quicknote.pagelink + ". Don't worry, we all make mistakes, myself included. You can discuss the edit further with me if you have any questions.",
			"I have a question about your edit to " + quicknote.pagelink + ".  I was not sure if you were trying to make the page better or if you were experimenting, so I reverted the edit for now. Either way, maybe I can help you figure out how to contribute here.  Let me know if you would like to discuss it.",
			"Hi there. I am not sure if you were testing or trying to improve " + quicknote.pagelink + ", so I reverted your edit for now. Either way, maybe I can help you find ways for you to contribute here. Let me know if you would like to discuss it.",
			"Hi! I just wanted to let you know that I undid your edit to " + quicknote.pagelink + " because it seems to go against policy. I could be mistaken, though. If you think it should be put back, get back to me.",
			"Hello! I was a little confused by the edit you made to " + quicknote.pagelink + ", so I reverted it. I'd be happy to explain why if you're interested. It could be a mistake on my part, so I'm open to discussing it! If you were just practicing, you can try our [[Project:Sandbox|sandbox]], where you can make any edit you'd like.",
			"Hi {{subst:BASEPAGENAME}}. I was not sure if your edit to " + quicknote.pagelink + " is in line with our policies, so I reverted the edit for now. It could be that I misunderstood what you were trying to do. If you want to discuss your edit, feel free to get back to me."
		]
	}
quicknote.good = quicknote.messages.good[Math.floor(Math.random() * quicknote.messages.good.length)];
quicknote.welcome = quicknote.messages.welcome[Math.floor(Math.random() * quicknote.messages.welcome.length)];
quicknote.bad = quicknote.messages.bad[Math.floor(Math.random() * quicknote.messages.bad.length)];
//</nowiki>