<?php
+use MediaWiki\MediaWikiServices;
use Wikimedia\TestingAccessWrapper;
/**
);
}
+ public function testRcNsFilterAllContents() {
+ $namespaces = MediaWikiServices::getInstance()->getNamespaceInfo()->getSubjectNamespaces();
+ $this->assertConditions(
+ [ # expected
+ 'rc_namespace IN (' . $this->db->makeList( $namespaces ) . ')',
+ ],
+ [
+ 'namespace' => 'all-contents',
+ ],
+ "rc conditions with all-contents"
+ );
+ }
+
public function testRcHidemyselfFilter() {
$this->setMwGlobals( 'wgActorTableSchemaMigrationStage', SCHEMA_COMPAT_NEW );
$this->overrideMwServices();