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 2: Line 2:
$("#editcountgo").click(function() {
$("#editcountgo").click(function() {


var urlstring = "api.php?action=query&list=users&usprop=editcount&ususers=";
var urlstring = "/api.php?action=query&list=users&usprop=editcount&ususers=";
urlstring = urlstring + $("#editcountuser").val();
urlstring = urlstring + $("#editcountuser").val();
$.get( urlstring, function( data ) {
$.get( urlstring, function( data ) {

Revision as of 08:50, 20 January 2021

	
$("#editcountgo").click(function() {

var urlstring = "/api.php?action=query&list=users&usprop=editcount&ususers=";
urlstring = urlstring + $("#editcountuser").val();
$.get( urlstring, function( data ) {
	alert( "Data Loaded: " + data );
	});

});