FANDOM


  • 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?

      Loading editor
    • 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.

        Loading editor
    • 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!

        Loading editor
    • Thank you, Ursuul! What do you think are the 5-10 necessary ones the Overlord Wiki should go on utilizing while others are suggested are to be removed?

        Loading editor
    • Yeah i am all aboard with that idea, anything to make viewing data on the wikia easier and more efficient.

        Loading editor
    • I’m thinking SeeMoreActivityButton, ImageCategory, ReferencePopups, & LinkPreview. I did not include WikiaNotification because you can probably get away with not even adding that to Gadgets; just use Announcements instead.

      For #5, there are three scripts that add content to the right rail. My suggestion is to pick just the most important one:

        Loading editor
    • Nomad27 wrote:
      Yeah i am all aboard with that idea, anything to make viewing data on the wikia easier and more efficient.
      Cool!
        Loading editor
    • Ursuul wrote:
      I’m thinking SeeMoreActivityButton, ImageCategory, ReferencePopups, & LinkPreview. I did not include WikiaNotification because you can probably get away with not even adding that to Gadgets; just use Announcements instead.

      For #5, there are three scripts that add content to the right rail. My suggestion is to pick just the most important one:

      </div>

       
      
      

      Thank you, I will take into consideration what you said and keep these! It's fine as long as it is between 5-10 correct?

        Loading editor
    • Disfigure wrote:
      Thank you, I will take into consideration what you said and keep these! It's fine as long as it is between 5-10 correct?
      It absolutely should be yes. Some Wikis get away with a bit more than that (although way less than you have currently), but by being conservative we should see a much bigger bounce-back.
        Loading editor
    • Hey guys I told the Discord admin to let Ursuul into the channel. 

        Loading editor
    • If possible, can you please install the the mass categorization, mass protection, mass rename, ajaxbatchdelete tools as site-wide that will only load for Admins?

        Loading editor
    • Yes I can, or alternatively I can make a Gadget that is enabled by default but only for Admins & Bots. Whichever you prefer I can install in a day or so.

        Loading editor
    • That would be helpful. I much prefer your pick on how to make it happen!

        Loading editor
    • Yeah go for it.

        Loading editor
    • Will do! I’ll letcha know when I have some progress.

        Loading editor
    • 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!

        Loading editor
    • I can't help but thank you once again for the hard work you have contributed to improving the Overlord Wiki! Please, you have my gratitude along with the other Overlord Admins!

        Loading editor
    • You’re welcome!

        Loading editor
    • 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.

      The good news is that you don’t have to remove more JavaScript to fix this, & you can keep a Discord rail module, if you switch to the DiscordChat script. After testing it, I found that with DiscordChat load times decreased to under 4 seconds on almost every single page except very long ones, which is absolutely fantastic. Do you think switching from DiscordIntegrator to DiscordChat would be ok? There’s also DiscordModule & DiscordBanner if you like those better!

        Loading editor
    • I’ve gone ahead & replaced DiscordIntegrator with DiscordChat with permission from Disfigure in Discord, let me know your thoughts :)

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.