User talk:Fox/Archive 1
Our first steps tour and our FAQ will help you a lot after registration. They explain how to customize the interface (for example the language), how to upload files and our basic licensing policy. You don't need technical skills in order to contribute here. Be bold contributing here and assume good faith for the intentions of others. This is a wiki—it is really easy. More information is available at the community portal. You may ask questions at the help desk, village pump or on IRC channel #wikimedia-commons (direct access). You can also contact an administrator on their talk page. If you have a specific copyright question, ask at Commons talk:Licensing. |
| |
(P.S. Would you like to provide feedback on this message?) |
I just made you a trusted user and no one has even welcomed you yet!? ;) Cheers, Rocket000 22:57, 30 May 2008 (UTC)
Copyvio tagging
[edit]Please warn the uploader after you tag a copyvio. It saves administrators and users lots of trouble. Thanks, O (谈 • висчвын) 19:28, 17 July 2008 (GMT)
Continuation of query
[edit]var UrlParameters = new Array ();
function readparams() {
var asReadInUrlParameters;
var asReadInUrlParameter;
// Get URL parameters
asReadInUrlParameters = location.search.substring(1, location.search.length).split("&");
for (i = 0; i < asReadInUrlParameters.length; i++) {
asReadInUrlParameter = asReadInUrlParameters[i].split("=");
UrlParameters[decodeURIComponent(asReadInUrlParameter[0])] = decodeURIComponent(asReadInUrlParameter[1]);
}
}
readparams();
if(UrlParameters["action"] == "edit" && UrlParameters["copyviotag"] == 1) {
addOnloadHook(function() {
var req = sajax_init_object();
req.open("GET", wgScriptPath + "/api.php?action=query&prop=revisions&titles=" + wgPageName + "&rvlimit=1&rvprop=user&rvdir=newer&format=json", false);
req.send(null);
var text = eval("(" + req.responseText + ")").query.pages;
for(var index in text) {
text = text[index];
var user = text.revisions[0].user;
}
document.forms["editform"].wpTextbox1.value += '{{copyvio}}';
document.forms["editform"].wpSummary.value = 'Tagging as a speedily deletable [[Commons:Licensing|copyright violation]] (using [[User:WBOSITG/copyvio.js|copyvio]] script)';
document.forms["editform"].wpMinoredit.checked = true;
document.forms["editform"].submit();
location.href = wgScript + "?title=User_talk:" + user + "&action=edit©vionotify=1©vio=" + wgPageName;
});
}
if(UrlParameters["action"] == "edit" && UrlParameters["copyvionotify"] == 1 && UrlParameters["copyvio"].length > 0 && wgNamespaceNumber == 3) {
addOnloadHook(function() {
var copyvio = decodeURIComponent(UrlParameters["copyvio"].replace(/_/g, " "));
document.forms["editform"].wpTextbox1.value += '{{subst:copyvionote|' + copyvio + '}} \~\~\~\~';
document.forms["editform"].wpSummary.value = 'Notification - [[' + copyvio+ ']] is a probable [[Commons:Licensing|copyright violation]] (using [[User:WBOSITG/copyvio.js|copyvio]] script)';
document.forms["editform"].wpMinoredit.checked = true;
document.forms["editform"].submit();
});
}
addOnloadHook(function() {
if(wgNamespaceNumber == 6 && !UrlParameters["copyviotag"]) addPortletLink("p-cactions", wgScript + "?title=" + wgPageName + "&action=edit©viotag=1", "copyvio", "ca-copyvio");
});
Replace User:WBOSITG/copyvio.js with the above code, and everything should be fine. Feel free to ask me any questions you may have about it. Best, —Animum (talk) 18:30, 24 August 2008 (UTC)
Replace this:
if(UrlParameters["action"] == "edit" && UrlParameters["copyvionotify"] == 1 && UrlParameters["copyvio"].length > 0 && wgNamespaceNumber == 3) {
addOnloadHook(function() {
var copyvio = decodeURIComponent(UrlParameters["copyvio"].replace(/_/g, " "));
document.forms["editform"].wpTextbox1.value += "\{\{subst:copyvionote|" + copyvio + "\}\} \~\~\~\~";
}
With this:
if(UrlParameters["action"] == "edit" && UrlParameters["copyvionotify"] == 1 && UrlParameters["copyvio"].length > 0 && wgNamespaceNumber == 3) {
addOnloadHook(function() {
var copyvio = decodeURIComponent(UrlParameters["copyvio"].replace(/_/g, " "));
document.forms["editform"].wpTextbox1.value += "\{\{subst:copyvionote|" + copyvio + "\}\} \~\~\~\~";
document.forms["editform"].wpSummary.value = 'Notification - [[' + copyvio+ ']] is a probable [[Commons:Licensing|copyright violation]] (using [[User:WBOSITG/copyvio.js|copyvio]] script)';
document.forms["editform"].wpMinoredit.checked = true;
document.forms["editform"].submit();
});
}
Cheers, —Animum (talk) 21:57, 24 August 2008 (UTC)
Hi there, your subpage User:WBOSITG/copyvio.js is showing up at Category:Copyright violations for a few days now. Maybe you know how to fix it, I'm not too familiar with JavaScript :) Thanks, →Christian.И 14:45, 26 August 2008 (UTC)
Many Thanks
[edit]Thanks for your support of my Request for Adminship. I’m honored by your trust.
Cheers, SterkeBak
TUSC token da4ebe7549c76961dfcf9d56e26a3964
[edit]I am now proud owner of a TUSC account!