Page MenuHomeMiraheze

Show global extensions in ManageWiki
Open, LowPublic

Description

Too many people don't notice and create tasks requesting them.

Event Timeline

Redmin triaged this task as Low priority.Nov 13 2023, 11:29
Redmin created this task.
OrangeStar subscribed.

We can use ExtensionRegistry::getAllThings() to get a list of all installed extensions, and compare it against $wgManageWikiExtensions to know which ones are being loaded outside of ManageWiki. As for showing this information to users, I don't yet know how to approach that.

I agree with this task and was going to propose something like this but for most of them users should not be permitted to disable them and it should be made clear that they're "global extensions" and they shouldn't try to ask for us to disable them (as I feel like there's always going to be some who want to get rid of extensions they think they're not using)

We can use ExtensionRegistry::getAllThings() to get a list of all installed extensions, and compare it against $wgManageWikiExtensions

That would not be very performant, it would be very expensive. I recommend a config that defines GlobalExtensions, and sends it to MirahezeFunctions, to load the same way as regular MWE extensions, rather than GlobalExtensions.php, then using the config through a new hook to ManageWiki, to create a global extensions display tab where it is similar to other extensions, except without checkboxes to disable, and a note at the top about global extensions. At least that was my vision on this, I am not sure if it the absolute best way or not though.

If that would be more performant, then I'll try to do it that way. I didn't have any ideas on how to show to the users the existence of global extensions anyway, and showing them alongside regular extensions would be the best way.

won't be working on this for the foreseeable future.