Page MenuHomeMiraheze

Add a way to set wgPreloaderSource in ManageWiki
Closed, ResolvedPublic

Description

At the moment due to not being able to set $wgPreloaderSource in ManageWiki, the extension can only be enabled by a user with the managewiki-restricted userright due to if its enabled at the moment it will only use what we have set as the default, as it requires an PR to LS.php on the GitHub repo.

See extension page for information on the configuration variable.

Event Timeline

Zppix triaged this task as Normal priority.Nov 29 2019, 20:31
Zppix created this task.

@Zppix Is there a reason why we can't just enable it when the extension is enabled directly via LocalExtensions.php?

@Zppix Is there a reason why we can't just enable it when the extension is enabled directly via LocalExtensions.php?

I would assume the wiki founder would prefer to customize preloader settings on-wiki rather then editing a .php file.

I don't think we support these types of config variables in ManageWiki ?

Reception123 lowered the priority of this task from Normal to Low.May 18 2020, 15:02

Setting this to low because there doesn't seem to be any demand to change the default value for this by any wiki. If there is such demand this can be moved back to normal.

I don't think we support these types of config variables in ManageWiki ?

That can probably be done to add it to ManageWikiNamespaces. Something like making the value be $wgPreloaderSource[ $id ] = $value
Where $value would be the value of a text input.

Universal_Omega edited projects, added Configuration; removed Amanda Catherine.
Universal_Omega added a subscriber: John.

I submitted a pull request to ManageWiki (https://github.com/miraheze/ManageWiki/pull/191), which if I did correctly, and @John approves of it, it will allow configurations like $wgPreloaderSource to be supported in ManageWikiNamespaces through $wgManageWikiNamespacesAdditional.

Closing as resolved as while I have not yet added $wgPreloaderSource to ManageWiki, it is now technically possible which was the scope of this task. I will however add the config shortly.