SemanticMediaWiki / SemanticMediaWiki/SemanticSignup
Removal of deprecated SpecialPageFactory
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 8
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating this extension's calls to the deprecated SpecialPageFactory and compare them with MediaWikiServices::getInstance()->getSpecialPageFactory(). Check the supported MediaWiki versions and the availability of MediaWiki\SpecialPage\SpecialPageFactory; the work is done when the old calls are compatible across those versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100