User:Lost Labyrinth/general/quicklicense.js: Difference between revisions

Jump to navigation Jump to search
Here goes absolutely nothing...
imported>Lost Labyrinth
(restoring the last little thing - this should be flawless now)
imported>Lost Labyrinth
(Here goes absolutely nothing...)
Line 56:
$('#aSubmit').click( function(event) {
this.innerHTML = '<img src="http://images2.wikia.nocookie.net/dev/images/8/82/Facebook_throbber.gif" style="vertical-align: baseline;" border="0" />';
$.post("/api.php", {action: "edit", title: wgPageName, token: mw.user.tokens.values.editToken, appendtext: "== License =="); $("#QLicenseSelect").val(), summary: "Licensing image."}, function (result) {
window.location = wgServer + '/index.php?title=' + wgPageName + '&action=purge';
});
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu