Hi Disfigure! I’m Alex, the Wiki Manager assigned to Overlord Wiki. I did some Vanguard work here two years ago, & now I’m here to assist your Wiki full time if you ever need anything (I’m Ursuul#0575 on Discord if you need to get in touch). I’ll be around occasionally to see how things are, or to update you.
Right now though, I have a proposal for you. Your ImportJS file is importing a great many scripts that probably shouldn’t be site-wide, so many in fact that it is slowing down page load times on desktop for some readers & might even be negatively impacting your SEO via a “community weight discount” (when pages are so slow that search engines penalize your entire site for it).
To fix this problem, I’d like to suggest that you clear out most of MediaWiki:Common.js & reduce the number of ImportJS imports to about 5-10 necessary ones that the entire site uses. Then, what I can do is have the Gadgets extension enabled & move all of those old imports over to some optional Gadgets that users & Admins can enable in Preferences, so you get to keep using all these great tools. Alternatively, I could also write a short JS snippet for you that will only load the extra scripts for Admins, or I can give you an importArticles statement for you to put in your own local JS file so that it just loads for you.
Either way, you get to keep using all these helpful extensions while your readers will get substantially higher quality load times. What do you think?
I really like your proposal and hope you add the Gadgets extension enabled & move all of those old imports as options in Preferences! Right now, it's hard to decided on what to remove from the ImportJS as I am still contemplating which one to delete and prioritize foremost.
Awesome! I’ll get the extension enabled in the next day or so, giving you plenty of time to identify which ones will stay in ImportJS & which to move to Gadgets (I can also help you decide if you like). If you have an idea of how you want me to batch the imports in each Gadget then I’ll be happy to set it up as you desire, or I can use my best judgment to set it all up myself if you aren’t sure how to decide. Whatever works!
The first gadget is live, although it does not currently work. It will likely start working sometime tomorrow or else on next Monday, when Mass.js is approved. It includes the requested MassCategorization, MassProect, MassRename, & AjaxBatchDelete scripts, along with several other auto-edit tools from the original ImportJS file. If you want these scripts, just wait & they’ll eventually start working for your account. If not, you can disable them in Preferences anytime. Only Admins & Bots can use or see the gadget.
I’ll set up 1 or 2 more gadgets open for regular editors that contain the rest of the scripts (except for ones that are buggy/deleted/dont make sense as optional extensions). You can see the ones I still have to add here. I’ll also clean up MediaWiki:Common.js at some point. Will update you all when I’ve done that!
Hey again! The Gadgets are now all done & will probably start working tomorrow. MediaWiki:Common.js is also cleaned up & will also probably update tomorrow.
Overall, we’ve improved a lot, but there is still a problem; page load times are around 11-13 seconds, & on larger pages it can still jump to 20 or even 30 seconds to load everything. The reason why is because there are so many users in the Overlord Discord server that DiscordIntegrator takes an unusually long amount of time to render every single one of them in the embedded element it generates.