https://bugzilla.wikimedia.org/show_bug.cgi?id=65372
Bug ID: 65372
Summary: ApiErrorReporterTest errors, invalid Language param
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
ApiErrorReporterTest is getting ExceptionLocalizer from the WikibaseRepo
'factory' which relies on $wgLang global and other evilness.
this results in test errors such as:
11) Wikibase\Test\ApiErrorReporterTest::testReportStatusWarnings with data set
"known error code" (Status, array('wikibase-conflict-patched', '/Version/',
'undo-nochange', '/Bearbeitung.*bereits/'))
Argument 4 passed to
Wikibase\Lib\Localizer\MessageParameterFormatter::__construct() must be an
instance of Language, instance of StubUserLang given, called in
/Library/WebServer/Documents/php-master/extensions/Wikibase/repo/includes/WikibaseRepo.php
on line 660 and defined
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l