Board Thread:Support Requests - Getting Technical/@comment-979971-20190514234502/@comment-9605025-20190515020846

I noticed a few things regarding your wiki's JS. I am simply providing my opinions. You do not necessarily need to do anything if you don't want to.

duplicate fucntionality:

From each group, you only need one because they are designed to do the same thing. However, since they are different scripts, they are configured differently and may exhibit slightly different behaviors.


 * dev:UserTags/code.js
 * dev:ProfileTags.js
 * dev:InactiveUsers/code.js
 * superceded by both other options


 * dev:PurgeButton/code.js
 * not sure why this is labeled for personal use only
 * dev:NullEditButton/code.js

not imported:


 * Common.js/Toggler.js
 * Common.js/togglers.js
 * Common.js/slider.js
 * Wikia.js/Slider.js

does not exist:


 * Wikia.js/inputUserInformation.js

similar names:


 * Common.js/Toggler.js
 * Common.js/togglers.js
 * These appear to be 2 copies of the same script.
 * dev:Togglers.js
 * This appears to be a slightly different version of the first two. However, I am guessing the functionality is the same since the same user is given credit for all 3 scripts.


 * Common.js/slider.js
 * Wikia.js/Slider.js
 * Actually very different scripts. It isn't obvious to me if they are effectively the same or not.


 * Common.js/displayTimer.js
 * dev:DisplayTimer/code.js
 * Actually very different scripts. It isn't obvious to me if they are effectively the same or not.

may not be needed:


 * Common.js/ElementTestClass.js
 * This seems to implement functions that already exist in JS. Perhaps they are tweaked versions? The "hasClass" method isn't in base JS but a similar fucntion is supposed to be part of JQuery; which should be available for use.
 * This appears to be superceded by the next script in this list.
 * Common.js/elementClass.js
 * Appears to be the previous script in this list with a few more functions. The additional functions appear to be trivial. However, if they are actually used somewhere, you will have to go through and replace them before removing this script.

depricated (outdated) scripts:


 * dev:ShowHide/code.js
 * The script's documentation suggests switching to the native collapsing feature. However, it could be quite the task to track down its usage and replace them all.

cleaned ImportJS:

This does not include any of the options from the "duplicate functionality" section above. You will need to add those back in once you decide which ones to keep.

Common.js/displayTimer.js Common.js/elementClass.js Common.js/ElementTestClass.js Common.js/mosbox.js FloatingRail.js dev:AjaxRC/code.js dev:BackToTopButton/code.js dev:DupImageList/code.js dev:DisplayTimer/code.js dev:EditcountTag/code.js dev:ExternalImageLoader/code.js dev:ReferencePopups/code.js dev:ShowHide/code.js dev:SignatureCheck/code.js dev:SpoilerAlert/code.js dev:SpoilerAlert/code.2.js dev:Togglers.js dev:WallGreetingButton/code.js dev:HeaderLinks/code.js dev:ExtendedNavigation/code.js dev:SearchSuggest/code.js dev:HighlightUsers/code.js dev:MessageBlock/code.js dev:InputUsername/code.js dev:DiscordIntegrator/code.js dev:MassProtect/code.js dev:Medals/code.js dev:DiscussionsFeed.js dev:ThreadIndicator/code.js dev:AddRailModule/code.js dev:GameSlider/code.js dev:Tooltips.js dev:QuickDiff/code.js dev:FastOldImageDelete/code.js dev:Flags/code.js dev:PowerDelete/code.js dev:CopyText/code.js dev:RedirectManagement/sitewide.js dev:TwitterFollowButton/code.js dev:MarkBlocked.js dev:WhatLinksHere/code.js dev:AjaxBatchDelete/code.js dev:SocialIcons/code.js

cleaned Wikia.js:

Note that Wikia.js and Common.js currently effectively serve the same purposes. As such, you could move this to Common.js if you want to.