Jump to content

Manual:$wgAPIUselessQueryPages

From mediawiki.org
API: $wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Introduced in version:1.22.0 (Gerrit change 73034; git #Ieccd2e8)
Removed in version:Still in use
Allowed values:(array)
Default value:See below

Default value

[edit]
MediaWiki version:
1.37
Gerrit change 677737
$wgAPIUselessQueryPages = [
	'MIMEsearch', // aiprop=mime
	'LinkSearch', // list=exturlusage
];
MediaWiki versions:
1.22 – 1.36
$wgAPIUselessQueryPages = [
	'MIMEsearch', // aiprop=mime
	'LinkSearch', // list=exturlusage
	'FileDuplicateSearch', // prop=duplicatefiles
];