https://bugzilla.wikimedia.org/show_bug.cgi?id=43307
Web browser: ---
Bug ID: 43307
Summary: LogFormatterTest obliterates extension l10n cache,
breaks later tests
Product: MediaWiki
Version: 1.21-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Unit tests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
While running "make safe" for phpunit, the tests suddenly start spitting out
errors like '"" is not a valid magic word for "if"'.
It turns out this is due to LogFormatterTest removing all localization files
except its own from $wgExtensionMessagesFiles and recaching $wgLang's
localization cache in setUp, but then forgetting to recache again after
restoring $wgExtensionMessagesFiles in tearDown.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l