Skip to content

Updated for MW 1.32 compatibility.#5

Open
kwji wants to merge 1 commit intomathiasertl:masterfrom
kwji:feature/REL1_32
Open

Updated for MW 1.32 compatibility.#5
kwji wants to merge 1 commit intomathiasertl:masterfrom
kwji:feature/REL1_32

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