Loading AI tools
From Wikipedia, the free encyclopedia
//
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
function addlilink(tabs, url, name, id, title, key){
var na = document.createElement('a');
na.href = url;
na.appendChild(document.createTextNode(name));
var li = document.createElement('li');
if(id) li.id = id;
li.appendChild(na);
tabs.appendChild(li);
if(id)
{
if(key && title)
{
ta[id] = [key, title];
}
else if(key)
{
ta[id] = [key, ''];
}
else if(title)
{
ta[id] = ['', title];
}
}
// re-render the title and accesskeys from existing code in wikibits.js
akeytt();
return li;
}
function addTab(url, name, id, title, key){
var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0];
return addlilink(tabs, url, name, id, title, key);
}
//Please leave the following line
//user:Where/easy db
//Start db script
addOnloadHook(function() {
if (document.title.indexOf("User:") != 0 &&document.title.indexOf("User talk") != 0 && document.title.indexOf("Editing ") != 0 && document.URL.search(/\?/) == -1 && document.title.indexOf("Image:") != 0 ) {
addTab("javascript:easyDbVanity()", "vanity", "ca-db0", "Report this page for Speedy Deletion - Reason: Vanity(Bio)", "");
addTab("javascript:easyDbBand()", "band", "ca-db0", "Report this page for Speedy Deletion - Reason: Band", "");
addTab("javascript:easyDbClub()", "club", "ca-db0", "Report this page for Speedy Deletion - Reason: Club", "");
addTab("javascript:easyDbGroup()", "group", "ca-db0", "Report this page for Speedy Deletion - Reason: Group", "");
addTab("javascript:easyDbNonsense()", "nonsense", "ca-db0", "Report this page for Speedy Deletion - Reason: Nonsense", "");
addTab("javascript:easyDbContext()", "nocontext", "ca-db0", "Report this page for Speedy Deletion - Reason: No Context", "");
addTab("javascript:easyDbAttack()", "attack", "ca-db0", "Report this page for Speedy Deletion - Reason: Attack", "");
addTab("javascript:easyDbWikify()", "wikify", "ca-db0", "Report this page as needing to be wikified", "");
}
if (document.title.indexOf("Image:") != -1) {
addTab("javascript:easyDbImgNoSource()", "no source", "ca-db0", "Report this image as having no source", "");
addTab("javascript:easyDbImgNoCopyright()", "no copyright", "ca-db0", "Report this image as having no copyright", "");
}
if (document.title.indexOf("Editing User talk:") != -1) {
addTab("javascript:userMsgImgNoSource()", "ImgNoSource", "ca-usermsg", "Message: Image has no source information", "");
addTab("javascript:userMsgImgNoCopyright()", "ImgNoCopyright", "ca-usermsg", "Message: Image has no copyright information", "");
addTab("javascript:userMsgTest()", "test", "ca-usermsg", "Message: Test", "");
addTab("javascript:userMsgNonsense()", "nonsense", "ca-usermsg", "Message: Nonsense Warning", "");
addTab("javascript:userMsgBlanking()", "blanking", "ca-usermsg", "Message: Blanking Warning", "");
addTab("javascript:userMsgVandalism()", "vandalism", "ca-usermsg", "Message: Vandalism Warning", "");
addTab("javascript:userMsgFinal()", "final", "ca-usermsg", "Message: Final Warning", "");
addTab("javascript:userMsgCandSpeedy()", "candSpeedy", "ca-usermsg", "Message: Candidate for Speedy Deletion", "");
addTab("javascript:userMsgDRMSpeedy()", "DRMSpeedy", "ca-usermsg", "Warning: Do not remove speedy delete notices", "");
}
});
function easyDbImgNoSource() {
db="subst:nsd";
dbreason="Image tagged. (Reason: No Source Information)";
document.location = document.URL + "?action=edit&autoedit=s/^/\n{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:UI]])&autoclick=wpSave";
}
function easyDbImgNoCopyright() {
db="subst:nld";
dbreason="Image tagged. (Reason: No Copyright Information)";
document.location = document.URL + "?action=edit&autoedit=s/^/\n{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:UI]])&autoclick=wpSave";
}
function easyDbVanity() {
db="db-bio";
dbreason="Tagged for speedy deletion (Reason:[[WP:CSD#A7|CSD: A7]])";
document.location = document.URL + "?action=edit&autoedit=s/^/\n<!-- Please do not remove or change this Speedy Deletion tag from articles you have created yourself -->{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function easyDbBand() {
db="db-band";
dbreason="Tagged for speedy deletion (Reason:[[WP:CSD#A7|CSD: A7]])";
document.location = document.URL + "?action=edit&autoedit=s/^/\n<!-- Please do not remove or change this Speedy Deletion tag from articles you have created yourself -->{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function easyDbClub() {
db="db-club";
dbreason="Tagged for speedy deletion (Reason:[[WP:CSD#A7|CSD: A7]])";
document.location = document.URL + "?action=edit&autoedit=s/^/\n<!-- Please do not remove or change this Speedy Deletion tag from articles you have created yourself -->{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function easyDbGroup() {
db="db-group";
dbreason="Tagged for speedy deletion (Reason:[[WP:CSD#A7|CSD: A7]])";
document.location = document.URL + "?action=edit&autoedit=s/^/\n<!-- Please do not remove or change this Speedy Deletion tag from articles you have created yourself -->{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function easyDbNonsense() {
db="db-nonsense";
dbreason="Tagged for speedy deletion (Reason:[[WP:CSD#G1|CSD: G1]])";
document.location = document.URL + "?action=edit&autoedit=s/^/\n<!-- Please do not remove or change this Speedy Deletion tag from articles you have created yourself -->{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function easyDbAttack() {
db="db-attack";
dbreason="Tagged for speedy deletion (Reason:[[WP:CSD#G3|CSD: G3]])";
document.location = document.URL + "?action=edit&autoedit=s/^/\n<!-- Please do not remove or change this Speedy Deletion tag from articles you have created yourself -->{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function easyDbContext() {
db="nocontext";
dbreason="Tagged for speedy deletion (Reason:[[WP:CSD#A1|CSD: A1]])";
document.location = document.URL + "?action=edit&autoedit=s/^/\n<!-- Please do not remove or change this Speedy Deletion tag from articles you have created yourself -->{{" + db + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function easyDbWikify() {
var date = prompt("What is the date: (E.G. January 2006)");
db="wikify-date";
dbreason="Tagged for [[WP:GTL|wikification]] (" + date + ")";
document.location = document.URL + "?action=edit&autoedit=s/^/\n{{" + db + "|" + date + "}}\n/&autosummary=" + dbreason + " by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])&autoclick=wpSave";
}
function userMsgTest() {
var page = prompt("What is the page name:");
document.editform.wpTextbox1.value += "\n==Your test has been removed or reverted: [[" + page + "]]==\nThank you for experimenting with the page [[:" + page + "]] on Wikipedia. Your test worked, and it has been [[Help:Reverting|reverted]] or removed. Please use [[Wikipedia:Sandbox|the sandbox]] for any other tests you want to do. Take a look at the [[Wikipedia:Welcome, newcomers|welcome page]] if you would like to learn more about contributing to our encyclopedia.<!-- Template:Test-n (first level warning) --> \n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "User given test warning ([[Template:Test-n|Test]]) by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgNonsense() {
var page = prompt("What is the page name:");
document.editform.wpTextbox1.value += "\n==Please do not post [[WP:PN|Patent Nonsense]]: [[" + page + "]]==\nPlease refrain from adding nonsense to Wikipedia, as you did to [[:" + page + "]]. It is considered [[Wikipedia:Vandalism|vandalism]]. If you would like to experiment, use the [[Wikipedia:Sandbox|sandbox]]. <!-- Template:Test2-n (Second level warning) -->\n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "User given nonsense message warning ([[Template:Test2-n|Test2]]) by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgBlanking() {
var page = prompt("What is the page name:");
document.editform.wpTextbox1.value += "\n==Please stop [[WP:VANDAL|removing content]]: [[" + page + "]]==\nPlease refrain from removing content from Wikipedia, as you did to [[:" + page + "]]. It is considered [[Wikipedia:Vandalism|vandalism]]. If you want to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. Thank you. <!-- Template:Test2a-n (Second level warning) -->\n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "User given blanking warning ([[Template:Test2a-n|Test2a]]) by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgVandalism() {
var page = prompt("What is the page name:");
document.editform.wpTextbox1.value += "\n==Stop [[WP:VANDAL|vandalising]] pages: [[" + page + "]]==\nPlease stop. If you continue to vandalize pages, as you did to [[:" + page + "]], you will be [[Wikipedia:Blocking policy|blocked]] from editing Wikipedia. <!-- Template:Test3-n (Third level warning) --> \n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "User given vandalism warning ([[Template:Test3-n|Test3]]) by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgFinal() {
var page = prompt("What is the page name:");
document.editform.wpTextbox1.value += "\n==Final Warning - Further vandalism will result in you being [[WP:BLOCK|blocked]]: [[" + page + "]]==\n[[Image:Stop_hand.svg|left|30px]] This is your '''last warning'''. <br>The next time you vandalize a page, as you did to [[:" + page + "]], you ''will'' be blocked from editing Wikipedia. <!-- Template:Test4-n (Fourth level warning) -->\n---~" + "~" + "~" + "~";
document.editform.wpSummary.value = "User given final warning ([[Template:Test4-n|Test4]]) by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgCandSpeedy() {
var page = prompt("What is the page name:");
document.editform.wpTextbox1.value += "\n==Article submitted is a candidate for [[WP:SPEEDY|Speedy Deletion]]: [[" + page + "]]==\nA tag has been placed on [[:" + page + "]], requesting that it be speedily deleted from Wikipedia. This has been done because the article seems to be about a person, group of people, band, club, company or website, but it does not indicate how or why the subject is [[Wikipedia:Notability|notable]]. If you can indicate why " + page + " is really notable, I advise you to edit the article promptly, and also put a note on [[Talk:" + page + "]]. An admin should check for such edits before deleting the article. Feel free to leave a note on my talk page if you have any questions about this. Please read [[Wikipedia:Criteria for speedy deletion|our criteria for speedy deletion]], particularly item 7 under [[Wikipedia:Criteria for speedy deletion#Articles|Articles]]. You might also want to read [[Wikipedia:Notability (people)|our general biography criteria]]. Please do not remove the speedy deletion tag yourself. To contest the tagging and request that admins should wait a while for you to assert his/her/their notability, please affix the template <code>{{tl|hangon}}</code> to the page, and then immediately add such an assertion. It is also a very good idea to add [[Wikipedia:Citing sources|citations]] from [[Wikipedia:Reliable sources|reliable sources]] to ensure that your article will be [[Wikipedia:Verifiability|verifiable]].<!-- Template:Nn-warn -->\n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "Notice- Article submitted is a candidate for [[WP:SD]] by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgDRMSpeedy() {
var page = prompt("What is the page name:");
var warnlevel = prompt("What warning do you want to give: _=Polite 2=Warn 3=BlockWarn 4=Final");
document.editform.wpTextbox1.value += "\n==Please do not remove [[WP:SPEEDY|Speedy Deletion]]notices from articles you have created yourself: [[" + page + "]]==\n{{drmspeedy" + warnlevel + "}}\n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "Warning- Do not remove [[WP:SPEEDY|Speedy Deletion]] notices (drmspeedy) by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgImgNoSource() {
var image = prompt("What is the image name:");
document.editform.wpTextbox1.value += "\n{{" + "subst:Image source|" + image + "}}\n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "Notice- Image tagged as 'No Source' [[WP:UI]] by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
function userMsgImgNoCopyright() {
var image = prompt("What is the image name:");
document.editform.wpTextbox1.value += "\n{{" + "subst:Image copyright|" + image + "}}\n--~" + "~" + "~" + "~";
document.editform.wpSummary.value = "Notice- Image tagged as 'No Copyright' [[WP:UI]] by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
}
//End db script
//
//Please leave the following line //user:Where/usertabs
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.