Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace removed core MW function wfFindFile() #778

Open
D-Groenewegen opened this issue Jun 17, 2023 · 0 comments
Open

Replace removed core MW function wfFindFile() #778

D-Groenewegen opened this issue Jun 17, 2023 · 0 comments

Comments

@D-Groenewegen
Copy link
Contributor

D-Groenewegen commented Jun 17, 2023

Setup

  • MW version: 1.39

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

@D-Groenewegen D-Groenewegen changed the title Replace removed core MW function wffindFile() Replace removed core MW function wfFindFile() Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant