Page MenuHomePhabricator

Address Voice and Tone issues in Jade
Closed, DeclinedPublic

Description

Targets
    Occurrences of '(white|black)[ \-]?list' in Directory /Users/reedy/PhpstormProjects/mediawiki/extensions/Jade
Found Occurrences  (14 usages found)
    extensions  (14 usages found)
        Jade  (14 usages found)
            tests  (14 usages found)
                phpunit  (14 usages found)
                    SpamBlacklist  (14 usages found)
                        SpamBlacklistTest.php  (14 usages found)
                            16 namespace Jade\Tests\SpamBlacklist;
                            20 use BaseBlacklist;
                            26 * Check that SpamBlacklist integration works in judgment JSON.
                            31 * @group SpamBlacklist
                            33 * @covers \SpamBlacklist
                            35 class SpamBlacklistTest extends ApiTestCase {
                            37 private const BLACKLIST_FILE = 'spam_blacklist.txt';
                            42 if ( !ExtensionRegistry::getInstance()->isLoaded( 'SpamBlacklist' ) ) {
                            43 $this->markTestSkipped( 'Can only run test with SpamBlacklist enabled' );
                            50 $blacklistPath = __DIR__ . '/../../data/' . self::BLACKLIST_FILE;
                            52 'wgBlacklistSettings',
                            54 'files' => [ $blacklistPath ],
                            58 // Reset the blacklist, which will have already been initialized due to
                            60 $reflClass = new ReflectionClass( BaseBlacklist::class );