lib/mw/ApiRequest.js
function LintRequest(env, data, queueKey) {
	ApiRequest.call(this, env, null);
	this.queueKey = queueKey || data;
	this.reqType = 'Lint Request';

	var apiargs = {
		data: data,
		page: env.page.name,
		revision: env.page.meta.revision.revid,
		action: 'record-lint',
		format: 'json',
		formatversion: 2,
	};

	this.requestOptions = {
		method: 'POST',
		form: apiargs,
		followRedirect: true,
		uri: env.conf.wiki.apiURI,
		timeout: env.conf.parsoid.timeouts.mwApi.lint,
	};

	this.request(this.requestOptions);
}
function LintRequest(env, data, queueKey) {
	ApiRequest.call(this, env, null);
	this.queueKey = queueKey || data;
	this.reqType = 'Lint Request';

	var apiargs = {
		data: data,
		page: env.page.name,
		revision: env.page.meta.revision.revid,
		action: 'record-lint',
		format: 'json',
		formatversion: 2,
	};

	this.requestOptions = {
		method: 'POST',
		form: apiargs,
		followRedirect: true,
		uri: env.conf.wiki.apiURI,
		timeout: env.conf.parsoid.timeouts.mwApi.lint,
	};

	this.request(this.requestOptions);
}
function LintRequest ( env , data , queueKey ) { ApiRequest . call ( this , env , null ) ; this . queueKey = queueKey || data ; this . reqType = 'Lint Request' ; var apiargs = { data : data , page : env . page . name , revision : env . page . meta . revision . revid , action : 'record-lint' , format : 'json' , formatversion : 2 , } ; this . requestOptions = { method : 'POST' , form : apiargs , followRedirect : true , uri : env . conf . wiki . apiURI , timeout : env . conf . parsoid . timeouts . mwApi . lint , } ; this . request ( this . requestOptions ) ; }
Record lint information.

@class
@extends ~ApiRequest
@param {MWParserEnvironment} env
@param {string} data
@param {string} [queueKey] The queue key.
Record lint information .