Remove support for old extension registration/loading endpoint.
AFAIK we are not compatible with Mediawiki releases, so compatibility with them is no reason to delay this.
Remove support for old extension registration/loading endpoint.
AFAIK we are not compatible with Mediawiki releases, so compatibility with them is no reason to delay this.
Actually I think we should support both the old and new way at loading skins and extensions.
The reason is because even though it would be easy to do it through those files it also makes it hard since some extensions require loading configs that are in an if statement and so will not work in extension registration due to it wanting it done through a callback but that wont work because then you carnt override the configs.
This would count as a mediawiki 2.0 release as this would be the biggest ever breaking change in mw for a while.
This will need more talk before someone actually does this.
And just because wmf switches all its extensions to extension registration is no reason to remove support so that non wmf extension breaks.
Removing something first goes via a deprecation period. Sounds Epic though.
Nobody ever said that anyway...
This task was originally about Wikibase. Was it intentionally changed? It now reads like it's meant to be "drop support for non-static extension registration from MediaWiki".
Uh yeah, this task should probably stay relevant to Wikibase. It's unlikely that the old style will ever go away entirely because it's just globals. Removing globals will happen though...
Change 618348 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Wikibase@master] Emit deprecation warning for php entry points