An issue was reported to the mailing list by Joseph Padfield, who observed he could no longer use the Dygraphs format with datasource=file. I was able to confirm the issue and it appears that the result format still relies on wfFindFile(), which was deprecated in MW 1.34 and finally removed in MW 1.39.
Setup
Issue
An issue was reported to the mailing list by Joseph Padfield, who observed he could no longer use the Dygraphs format with
datasource=file
. I was able to confirm the issue and it appears that the result format still relies on wfFindFile(), which was deprecated in MW 1.34 and finally removed in MW 1.39.Solution
The following files require an update :
See https://www.mediawiki.org/wiki/Manual:GlobalFunctions.php#wfFindFile()
Use MediaWikiServices::getInstance()->getRepoGroup()->findFile() instead