Skip to content

Removal of deprecated SpecialPageFactory #34

@DannyS712

Description

@DannyS712

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions