User:MusikAnimal/responseHelper.js: Difference between revisions

Content deleted Content added
Line 1:
// <pre><nowiki>
(function() {
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Requests for page protection', "WP:RFPP");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrator intervention against vandalism', "WP:AIV");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Requests for permissions', "WP:PERM");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrators%27 noticeboard/Edit warring', "WP:ANEW");
var responses = {}, inline = false, indentation = ":", templateName = "", defaultPrompt = "", anew = false, unresolved;
Line 379 ⟶ 374:
}
};
} else if(document.title.indexOf("Editing Wikipedia:Usernames for administrator attention") !== -1) {
indentation = "::";
templateName = "UAA";
defaultPrompt = "Reason?";
inline = true;
responses = {
"Note" : {
code : "n",
summary : "Note. ",
prompt : "Note:"
},
"Question" : {
code : "q",
summary : "Question. ",
prompt : "Question: "
},
"Comment" : {
code : "c",
summary : "Comment. ",
prompt : "Comment:"
},
"Wait" : {
code : "w",
summary : "Wait until the user edits"
},
"Monitor" : {
code : "m",
summary : "Keep monitoring the user, until their username is more clear."
},
"Being discussed" : {
code : "d",
summary : "Being discussed with the user"
},
"Discussed, const. edits" : {
code : "dc",
summary : "Being discussed with the user, since they have edited constructively."
},
"AfC-only edits" : {
code : "a",
summary : "Only edits are to AfC submission. Please discuss this with the user first and re-report if necessary."
},
"Requested change" : {
code : "rc",
summary : "User has requested a username change."
},
"Problem" : {
code : "p",
summary : "Problem: This account does not exist or may be hidden"
},
"Stale" : {
code : "s",
summary : "Stale: Account has not been used in the last 2-3 weeks"
},
"Not violation" : {
code : "not",
summary : "Not a blatant violation of the username policy."
},
"Not vio, real name" : {
code : "real",
summary : "Not a violation of the username policy as real name, consider [[WP:COI/N]]"
},
"Not vio, watch edits" : {
code : "e",
summary : "Not a blatant violation of the username policy, but worth keeping an eye on their edits."
},
"Not voi, COI" : {
code : "coi",
summary : "Not a blatant violation of the username policy. Consider filing a report at the [[WP:COI/N]]."
},
"Not vio, RFCN" : {
code : "r",
summary : "Not a blatant violation of the username policy. Please discuss this with the user or at [[WP:RFCN]] if necessary"
}
};
} else {
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrator intervention against vandalism', "WP:AIV");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrators%27 noticeboard/Edit warring', "WP:ANEW");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Requests for permissions', "WP:PERM");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Requests for page protection', "WP:RFPP");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Usernames for administrator attention', "WP:UAA");
}