Bug: T184791
Change-Id: Idd9fc4b37da2d862f84d3aacd9966872958bc9eb
'queryCallable' => function ( $specialClassName, $ctx, $dbr, &$tables, &$fields, &$conds,
&$query_options, &$join_conds
) {
'queryCallable' => function ( $specialClassName, $ctx, $dbr, &$tables, &$fields, &$conds,
&$query_options, &$join_conds
) {
- $conds[] = 'rc_patrolled = 1';
+ $conds[] = 'rc_patrolled != 0';
},
'cssClassSuffix' => 'unpatrolled',
'isRowApplicableCallable' => function ( $ctx, $rc ) {
},
'cssClassSuffix' => 'unpatrolled',
'isRowApplicableCallable' => function ( $ctx, $rc ) {
$user = $this->getTestSysop()->getUser();
$this->assertConditions(
[ # expected
$user = $this->getTestSysop()->getUser();
$this->assertConditions(
[ # expected
],
[
'hideunpatrolled' => 1,
],
[
'hideunpatrolled' => 1,