Manual:$wgAllowSysopQueries

Database settings: $wgAllowSysopQueries
Whether to allow sysop queries.
Introduced in version:1.2.1
Removed in version:1.5.0
Allowed values:(boolean)
Default value:false

DetailsEdit

Set this to true to allow sysop queries. This is dangerous if not configured properly.