Board Thread:Support Requests - Getting Technical/@comment-24530269-20180427160521

Hello there. This'll be a thread of JS questions and support requests.

Here we go. We'll go from minor to major.

What Does [code] Do?
Could someone please tell me what these codes do? Either they're never commented or the comments fail to reveal information. -- - I know the following code is CSS and not JavaScript, but making an all-new thread just for that one code seems kinda pointless to me, so I decided to do it here. This code is spread all over Wikia, yet never commented. - Back to JS. I've read through the NavFrame page and all, but still don't get what the code in itself does. - // Pages along with their namespace (if any) will go here. var pages = ['User_talk:GoWeegeeGo', 'User:GoWeegeeGo', 'Hypneegee']; // URL of the images will go here. // Remember URL of the logo of 'My Page 1' will be the first, 'My Page 2' will be the second and so on. var wordmarks = ['https://images.wikia.nocookie.net/__cb20140716163924/chatlabs/images/8/85/Wiki-wordmark_%283%29.png', 'https://images.wikia.nocookie.net/__cb20140716163924/chatlabs/images/8/85/Wiki-wordmark_%283%29.png', 'https://images.wikia.nocookie.net/__cb20141119223025/awesome-club/images/8/80/Wiki-wordmark_%284%29.png']; // Iterate for all the pages in the above array for (i = 0; i < pages.length; i++) { /* check for the name of the page */ if (mw.config.get('wgPageName') == pages[i]) { /* replace the image */ $('#WikiHeader .wordmark a img').attr('src', wordmarks[i]); } }

User Tags (Normal and Thread)
http://flashgaming.wikia.com/wiki/MediaWiki:Common.js

For some reason, the new tags I made never show up. I know it works because the hover effects I applied using it ( in the Core Config) work with success. I also still can't edit the MediaWiki Tags with CSS, even though that option should've been enabled by User Tags. When I open up the console and throw in the code there, they do load for some reason.

The Message Wall / Forum Tags I used to have there don't appear either, although I got around that through, allowing Message Wall Tags to be summoned with CSS. I've removed them from Common.js since they're just filler now.

Thanks in advance,

Wither 