User:Voice of All/Protection/monobook.js: Difference between revisions

Content deleted Content added
m
Fix RFPP images and add SALT tab.
Line 181:
addlilink(respfunc, 'javascript:rfpps()',"semi-pro", '');
addlilink(respfunc, 'javascript:rfppp()',"full-pro", '');
addlilink(respfunc, 'javascript:rfppm()',"salt-pro", '');
addlilink(respfunc, 'javascript:rfppm()',"move-pro", '');
addlilink(respfunc, 'javascript:rfpprv()',"!semi-pro", '');
Line 1,205 ⟶ 1,206:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram supportvoting votesupport.svg|20px]] '''Fully protected''' due to [[Wikipedia:Edit war|revert warring]]. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page fully protected";
}
Line 1,214 ⟶ 1,215:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram supportvoting votesupport.svg|20px]] '''Semi-protected''' due to heavy [[vandalism]]. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page semi-protected";
}
 
function rfpps()
{
var f = document.editform, t = f.wpTextbox1;
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:Pictogram voting support.svg|20px]] '''SALTed''' to [[Wikipedia:Protected deleted pages|prevent re-creation]]. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page salted to prevent re-creation";
}
 
Line 1,223 ⟶ 1,233:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram supportvoting votesupport.svg|20px]] '''Move-protected''' due to excessive renaming. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page move-protected";
}
Line 1,232 ⟶ 1,242:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram keepvoting votekeep.svg|20px]] '''Un-protected.''' It's been protected for long enough. Hopefully things have calmed down since then. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page un-protected";
}
Line 1,255 ⟶ 1,265:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram opinionvoting votewait.svg|20px]] Page " + value + "[http://en.wikipedia.org/w/index.php?title=Special:Log/protect&user=" + usera + "] by [[user:" + user + "|" + user + "]]" + ". " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: " + value + " by another Sysop";
}
Line 1,264 ⟶ 1,274:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram opposevoting votedelete.svg|20px]] It's still too soon to un-protect since the wave of [[Wikipedia:Vandalism|vandalism]] will likely continue immediately after un-protection. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: un-protection request denied";
}
Line 1,273 ⟶ 1,283:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram opposevoting votedelete.svg|20px]] The [[WP:AGF|reasonable]] issues that started the [[Wikipedia:Edit war|revert war]] do not yet seem to have been resolved. It is also too soon to assume that the editors have lost enough interest. Consider adding <no" + "wiki>{{Editprotected}}</nowiki> to the page's talk page to request small modifications, or making a '''significant edit request''' on this page for large edits that are agreed upon. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: un-protection request denied";
}
Line 1,282 ⟶ 1,292:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram opposevoting votedelete.svg|20px]] There is not enough recent activity to [[Wikipedia:Protection_policy#Uses|justify]] [[Wikipedia:Protection policy|protection]] at this time. For now, be sure to use descriptive [[Wikipedia:Edit summary|edit summaries]] and discuss edits on [[Wikipedia:Talk pages|talk]]. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: protection request denied";
}
Line 1,291 ⟶ 1,301:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram opposevoting votedelete.svg|20pxsvg20px]] There is not enough recent activity to [[Wikipedia:Protection_policy#Uses|justify]] [[Wikipedia:Semi-protection_policy|protection]] at this time. Just [[watchlist]] and revert any vandalism. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: protection request denied";
}
Line 1,300 ⟶ 1,310:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram opinionvoting votedelete.svg|20px]] The user has been [[WP:BLOCK|blocked]] from editing. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: user blocked";
}
Line 1,309 ⟶ 1,319:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram opinionvoting votecomment.svg|20px]] The page is now monitored for changes by a [[User:VoABot II|bot]]. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page monitored by bot";
}
Line 1,318 ⟶ 1,328:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram commentvoting votewait.svg|20px]] The page is already protected. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page already protected";
}
Line 1,327 ⟶ 1,337:
if (t.value.length > 0)
t.value += '\n';
t.value +=":[[Image:SymbolPictogram commentvoting votecomment.svg|20px]] The page is not actually protected. " + "~" + "~" + "~" + "~";
f.wpSummary.value += "Response: page was not protected";
}