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

Deprecated addWikiText() causes issue MediaWiki 1.32+ #2

Open
DigiEggz opened this issue Feb 24, 2020 · 0 comments
Open

Deprecated addWikiText() causes issue MediaWiki 1.32+ #2

DigiEggz opened this issue Feb 24, 2020 · 0 comments

Comments

@DigiEggz
Copy link

When visiting the Special:LiteSpeedCache page to enable the plugin for the first time, the script breaks with the following error: /index.php/Special:LiteSpeedCache Error from line 131 of */extensions/LiteSpeedCache/SpecialLiteSpeedCache.php: Call to undefined method OutputPage::addWikiText()

A condtional needs to be added to that section to check if "addWikiTextAsInterface" exists, and then to use that instead of addWikiText(). Here's an example of the fix: https://phabricator.wikimedia.org/rEPFM59c1d49f8d43af087eed9d3868576155b91e8125

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