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

Removal of deprecated SpecialPageFactory #34

Open
DannyS712 opened this issue Mar 6, 2020 · 1 comment
Open

Removal of deprecated SpecialPageFactory #34

DannyS712 opened this issue Mar 6, 2020 · 1 comment
Labels

Comments

@DannyS712
Copy link

Please note that the old SpecialPageFactory, deprecated in mediawiki 1.32, will likely be removed in 1.36. Its methods still have calls from this extension.

The replacement is to use MediaWikiServices::getInstance()->getSpecialPageFactory(), and use the new factory's methods. However, since this extension supports versions of MediaWiki that predate the addition of the new factory in 1.32, you will likely need to add conditional logic based on if the MediaWiki\SpecialPage\SpecialPageFactory class exists.

See https://phabricator.wikimedia.org/T246142 for more.

@kghbln kghbln added the bug label Mar 6, 2020
@kghbln
Copy link
Member

kghbln commented Mar 6, 2020

Thanks for the notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants