https://bugzilla.wikimedia.org/show_bug.cgi?id=67043
Bug ID: 67043
Summary: Enabling SpamBlacklist breaks EditPageTest in core
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Spam Blacklist
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Fatal error: Argument 1 passed to AbstractContent::getParserOutput() must be an
instance of Title, null given in
/srv/mediawiki/includes/content/AbstractContent.php on line 490
#0 at [/srv/mediawiki/includes/content/AbstractContent.php:490]\n #1
AbstractContent->getParserOutput(), called at
[/srv/mediawiki/extensions/SpamBlacklist/SpamBlacklistHooks.php:28]\n #2
SpamBlacklistHooks::filterMergedContent(), called at
[/srv/mediawiki/includes/Hooks.php:206]\n #3 Hooks::run(), called at
[/srv/mediawiki/includes/GlobalFunctions.php:4056]\n #4 wfRunHooks(), called
at [/srv/mediawiki/includes/EditPage.php:1506]\n #5
EditPage->runPostMergeFilters(), called at
[/srv/mediawiki/includes/EditPage.php:1755]\n #6
EditPage->internalAttemptSave(), called at
[/srv/mediawiki/tests/phpunit/includes/EditPageTest.php:153]\n #7
EditPageTest->assertEdit(), called at
[/srv/mediawiki/tests/phpunit/includes/EditPageTest.php:192]\n #8
EditPageTest->testCreatePage(), called at [:0]\n #9
ReflectionMethod->invokeArgs(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php:951]\n #10
PHPUnit_Framework_TestCase->runTest(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php:817]\n #11
PHPUnit_Framework_TestCase->runBare(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestResult.php:686]\n
#12 PHPUnit_Framework_TestResult->run(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php:753]\n #13
PHPUnit_Framework_TestCase->run(), called at
[/srv/mediawiki/tests/phpunit/MediaWikiTestCase.php:133]\n #14
MediaWikiTestCase->run(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]\n
#15 PHPUnit_Framework_TestSuite->run(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]\n
#16 PHPUnit_Framework_TestSuite->run(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]\n
#17 PHPUnit_Framework_TestSuite->run(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:426]\n #18
PHPUnit_TextUI_TestRunner->doRun(), called at
[/srv/mediawiki/vendor/phpunit/phpunit/src/TextUI/Command.php:179]\n #19
PHPUnit_TextUI_Command->run(), called at
[/srv/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42]\n #20
MediaWikiPHPUnitCommand::main(), called at
[/srv/mediawiki/tests/phpunit/phpunit.php:160]
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l