MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
urlstring = urlstring + $("#editcountuser").val(); | urlstring = urlstring + $("#editcountuser").val(); | ||
$.get( urlstring, function( data ) { | $.get( urlstring, function( data ) { | ||
console.log(data); | |||
}); | }); | ||
}); | }); |
Revision as of 08:52, 20 January 2021
$("#editcountgo").click(function() { var urlstring = "/api.php?action=query&list=users&usprop=editcount&format=json&ususers="; urlstring = urlstring + $("#editcountuser").val(); $.get( urlstring, function( data ) { console.log(data); }); });