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

Updated for MW 1.32 compatibility. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kwji
Copy link

@kwji kwji commented Mar 7, 2019

The $translator variable was removed from the QuickTemplate class in MW 1.32 causing lines 43 and 76 to throw exceptions in MW 1.32. Additionally, the entire MediaWikiI18N class is now deprecated.

To fix this, I've replaced the two $tpl->translator->translate() calls with calls to wfMessage()->text() instead.

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

Successfully merging this pull request may close these issues.

2 participants