Welcome to my talkpage! You can leave me a message about anything regarding the wiki, my scripts on it or general Fandom development here.

Messages left here will be answered to on your own talkpage. This is so you receive a talkpage notification when I reply to you.

Archives: 123

Creating a script

Hi KockaAdmiralac: I was just wondering... How would one create a .js script? I thought that if it's relatively simple, perhaps I could tackle it myself. Thanks for your time! I know this may seem like a dumb question, and you totally don't have to answer it if you'd rather not. ;)

J.S. Clingman Fëalórin, A Child of Him whose love never fails.]]

23:03, January 9, 2019 (UTC)

Thanks for that information, KockaAdmiralac! My co-administrator and I used the SnowStorm script on our wiki as a part of our Christmas theme, and I was just thinking how wonderful it would be if I could modify the SnowStorm script so that the snow is replaced with fireflies, flashing on and off (for a summer theme!). Do you think that possible? Thanks to the info you gave me, I'll now be able to check out the SnowStorm script page to see whether I can make it work. Thank you! :)

J.S. Clingman Fëalórin, A Child of Him whose love never fails.]]

00:21, January 10, 2019 (UTC)


Ola. I am new to this wiki, And I do not know where to get started. Can you please show me how to be a good dev and show me how to use Media Wiki and CSS, please and wiki codes and templates.


RedLavaCat (Talk) (Profile) (Date) 00:09, January 12, 2019 (UTC)

Meida Wiki

Is Media Wiki stuff allowed here —Preceding unsigned comment added by RedLavaCat (talkcontribs) . Please sign your posts with ~~~~!

Re: ContentToggle

Thank you for the heads up! I am the original author of the script. It was posted on here since it was used by a few different wikis I was working on at the time (pretty small ones, I'm not sure if any of them are still active), so I got tired of copy and pasting it every time. I didn't realize documentation was required, so I didn't add any at the time.

I don't recall a lot of details about the script, but I can look into it. I think I may have created it to get around some bugs custom collapsibles had when toggling between multiple images. Since I'm not sure if any of the wikis using it are still active, what do I need to do to avoid it being deleted? I don't want to break any of them if they are active. {{SUBST:User:Paleclaw/Sig|09:27,1/15/2019}}

After looking through my wiki activity, it looks like it's only used on two sister wikis, both inactive. It was intended for several different ones, but as far as I can tell, nobody ever got around to updating the toggle templates to use this version instead of custom collapsibles. An example of the functionality of the script and associated template can be seen here. It does in fact look like I made it to fix the bugs custom collapsibles had with toggling between multiple items. If need be, it can safely be deleted since it's only used on two inactive wikis that can easily be edited to have the script on-wiki instead of it being imported from here. {{SUBST:User:Paleclaw/Sig|03:40,1/16/2019}}

By "custom collapsibles", do you mean mw-collapse, or something else? And if its mw-collapse, have you tried reporting said bug to staff? --Sharkie 04:02, January 16, 2019 (UTC)

How to Add Global JS Stuff

hi how do i add the global quickdiff thing to my global js page

pulled by a lemon (talk) 02:51, January 24, 2019 (UTC)

nevermind how do i change my preferences to enable personal JAvaScript

pull_lemons 03:12, January 24, 2019 (UTC)

WLH on redirect pages scriptlet

Hey, I need some advice. I came up with this idea of adding a WhatLinksHere link on redirect pages, either below or to the side of the redirect link... The idea behind this is to encourage users to check WLH before making changes to redirects. I think this could be rather useful on some wikis and probably warrants placement somewhere on Dev, but I'm not sure where it should go... It's just a small function, so I'm not sure if it deserves its own page, or should just go in the JavaScript Cookbook. Could you help me out with that?

Here is the scriptlet for reference:

// Add WhatLinksHere on redirect pages:
(function ($) {
    $('.redirectText').append('<br/><span id="redirectWLH">→ <a class="redirectWLH-link" href="/wiki/Special:WhatLinksHere/'
        + mw.config.get('wgPageName')
        + '">Links pointing to this redirect</a></span>');
    $('.redirectMsg img').attr('src', '');

I have separate CSS that goes with it, but it could be easily be placed in the js (with mw.config.addCSS for example) to simplify matters:

/* WhatLinksHere on redirect pages */
.redirectText li a { margin-left: -5px }
#redirectWLH { margin-left: 44px }
.redirectWLH-link {
    font-size  : 13px;
    font-weight: bold;
    margin-left: 5px ;

Here are a couple of examples of what it looks like when applied: w:c:courage:File:RedirectWLH.png, w:c:adventuretime:File:Whatlinkshere3.png

I don't know whether they should be combined and left as a scriptlet on the cookbook page, or kept separate and have its own page or something.

I'm also wondering if you possibly have any input on whether it should be beside or below the redirect link (or if maybe an option should be made for that), as well as whether this even needs to be done in JS in the first place (I can't think of any way to do it fully in CSS with :after and/or content:"").

Thanks —RyaNayR (talkcontribs) 00:37, January 26, 2019 (UTC)

Thanks! That's great advice.
To address points 3. and 6. – I think those were a result of me forgetting to remove a couple of things that were specific to the wiki I created that on. The version I gave to the other wiki does not contain those, it only adds the element with the href and wikia.css styles it. The original is quite old and I guess I didn't fully finish updating it when I made it work again after 3 or 4 years. —RyaNayR (talkcontribs) 23:02, January 30, 2019 (UTC)
Thanks for moving my reply. I'll remember that on your page from here on. Is this the standard convention at Dev? I'll follow this style if so. —RyaNayR (talkcontribs) 01:45, January 31, 2019 (UTC)
As for the script, the code looks great to me, and I wouldn't mind it being left as an addition to your existing WLH script, however it's not showing any effect from the latter part of the code you attributed mostly to me. I don't see that arrow anywhere, or anything except a WLH in the Edit menu, which I'm fairly sure was the original function of that script, correct? —RyaNayR (talkcontribs) 03:17, January 31, 2019 (UTC)
Okay sounds great. It's still awaiting approval, so I'll check a bit later on. —RyaNayR (talkcontribs) 07:40, January 31, 2019 (UTC)

Regarding chatbot-rb fork

Hello, I wanted to use chatbot-rb on clubpenguin fandom wiki on my centos 7 server. I had to change 4 domains from> You suggest ruby 2.1.3 and latest httparty but with those I had a mime-types conflict so a workaround was to install binary ruby 2.0 from nvm and httparty 0.13.7, I also installed unicode and iso8601 gems. The problem is that upon !updatelogs the bot will crash, this is the crash log

{{SUBST:User:Samantas5855/sign}} 14:04, January 27, 2019 (UTC)

Adding Project:Chat/Logs/%d %B %Y made the logging work but the problem is that it updates the logs constantly, also it keeps reconnecting. I made a simple bash script to rerun the ruby script every time it crashes. I also made a crontab job for vps restarts. I am using centOS 7 linux btw. Is there any way to make the seen and tell commands enabled by default?
Edit:I fixed the seen tell issue by adding true
{{SUBST:User:Samantas5855/sign}} 20:05, January 31, 2019 (UTC)
Ugh many reconnects the logs are full of -!- C.P.W-Bot has joined Special:Chat if you look here . I've left it at default 3600 but it updates the logs like every second, constantly
Please excuse my butting-in, but... How in the world did you make a bash script that does anything server-side?? Or are you talking purely client-side? I'm running Ubuntu 18.04 (with updates) (I know, your setup is much less simplistic) so I'm just genuinely curious. —RyaNayR (talkcontribs) 04:44, February 01, 2019 (UTC)



I did a google search for node.js wikia modules and noticed your nodewikia module. I could really use this, however I'm wondering if it's supported and I'm having some issues. Is the module still supported, and if so can you reach out to me on discord @ Thundy#2019 so I can get my issues resolved? Thanks. ~Thunder (Page · Talk) 23:22, January 28, 2019 (UTC)

Small FileLogs issue/optimisation

Sorry to bug you, but when you have a chance maybe you could give Talk:FileLogs#Irrelevant_log_entries_are_shown a look? Could help save an API request! :) - OneTwoThreeFall talk 09:57, February 4, 2019 (UTC)

Possible Bug to Fix

Hello, I have just reported a possible bug in Talk:WhatLinksHere because, when choosing WhatLinksHere from the edit drop-down menu in a page of a non-En wiki, it redirects to the En wiki without considering the language part of the url. --KuroUrufu 19:32, February 10, 2019 (UTC)

It is in w:c:it.onepiece:One Piece Wiki Italia: instead of visualize, it redirects to (that does not exist, since here it would be Special:WhatLinksHere). --KuroUrufu 20:30, February 10, 2019 (UTC)

Ah, that's it: we had put /it in the MediaWikis but we had skipped that one; thanks. --KuroUrufu 20:46, February 10, 2019 (UTC)

chatbot-rb & discord

Hey, the discord plugin for chatbot-rb is throwing this error. --Sharkie 22:50, February 21, 2019 (UTC)


nice -D 02:15, April 18, 2019 (UTC)

Re: Starter Pages copies

Hi! I’d like to make doc pages because these scripts’ pages on starter wiki (e.g. w:c:starter:Template:Dialogue/doc) say “more information can be found on the Global Lua Module page” but these pages were missing.

The staff, FishTankさん made these scripts themselves on dev wiki, so I hope these doc pages indicate the links of these scripts at least.

Personally, if w:c:starter:template:Hatnote (Global Lua Modules/Hatnote) is able to used in non-English languages, we would be happy as IVT.

I’m not sure what FishTankさん think about it, though. --Plover-Y (talk) 2019-07-14 01:26 (UTC)


How do you create a Dev script or anything like that? It's not that I actually wanna create scripts myself... Sup, the name's RJ. (talk) 20:41, July 30, 2019 (UTC)


How do you upload Java Script?

Gone16 (talk) 23:36, September 9, 2019 (UTC)

I mean like make the Java Script avalable to me. I don't really know a whole lot about it. —Preceding unsigned comment added by Gone16 (talkcontribs) . Please sign your posts with ~~~~!

Affiliations template

Hey there, is there an issue with how this template has been added? It is appearing as a time loop even though it'sc copied from hereS3r0-Ph1i (talk) 05:27, September 10, 2019 (UTC)

Affiliates template reply

Thank you for getting it to work but where was it going wrong? Added the Spiritpact and Given ones which work where they are, but not on the Gakuen Heaven Wiki which has a different layout. Is it something specific to the Gakuen Heaven Wiki since it's adapted and has the template loop that still wants to appear there? S3r0-Ph1i (talk) 22:38, September 12, 2019 (UTC)

Thanks for explaining, is there a way to remove the timeloop red text here and what is causing that? For future guess it's just remembering the {{{ template just allows it to work, but what is added on the main page of a wiki to show the wordmarks is different. S3r0-Ph1i (talk) 23:47, September 16, 2019 (UTC)

Nice, it's appearing all fine now as well, thank you : ) S3r0-Ph1i (talk) 00:14, September 17, 2019 (UTC)

Wiki merge

Hey there, is it a manual task or is a bot able to merge the articles and also the templates as was raised on the threadS3r0-Ph1i (talk) 17:49, September 18, 2019 (UTC)

Thank you for pointing that out, do I need my bot to do it or is it fine to do on my actual account? S3r0-Ph1i (talk) 20:34, September 18, 2019 (UTC)

Sure thing, I'll just contact Zendesk to have my bot there and once done that will be everything transferred for that Bloody Blades Wiki so it's good to be closed? S3r0-Ph1i (talk) 20:43, September 18, 2019 (UTC)

.gif display image

Display image
Accessed Nitro fine but it says the image is bigger than 512 KB, is there a way to set this .gif to just under that so it can be uploaded? S3r0-Ph1i (talk) 15:47, September 20, 2019 (UTC)

Oh wow thank you so much, that looks on form! S3r0-Ph1i (talk) 20:04, September 20, 2019 (UTC)

I got blocked on the Undertale Wiki for trying to add some trivia to Asriel Dreemurr's page. I assume it's this link that's causing the trouble. Can you help me?

GloryTheRainWing108 (talk) 19:39, September 27, 2019 (UTC)

Converting images

May this be considered? It is now felt that the images that you helped transfer would be best converted to .png format. Would rather save everyone the manual task of downloading the images, to convert then reupload before removing the .jpg ones. If a bot could mass convert images from .jpg to .png, is that possible? S3r0-Ph1i (talk) 02:11, October 8, 2019 (UTC) 

Is this feasible to do? If a bot can save people manually replacing the images it makes sense to save time, but unclear if the silence means it can’t be done but hope it can. S3r0-Ph1i (talk) 23:46, October 9, 2019 (UTC)

Thanks : ) S3r0-Ph1i (talk) 19:16, October 11, 2019 (UTC)

reply to page talk

Check LangSetup--*Lac*() 15:47, October 8, 2019 (UTC)

res added--*Lac*() 15:09, October 20, 2019 (UTC)

answer added--*Lac*() 06:54, November 7, 2019 (UTC)

Cosmetic problems with Ajax Delete


Hello, KockaAdmiralac, I have inmported AjaxDelete code. There is word "удаление" instead of 'Удалить" (little first letter and wrong form of the word). Could you fix it, please? —Preceding unsigned comment added by Александр III (talkcontribs) . Please sign your posts with ~~~~!

reply to page talk

Just for testing.--*Lac*() 07:42, November 11, 2019 (UTC)

Click link above, and also VideoIntegrator.--*Lac*() 01:03, November 12, 2019 (UTC)

Can you ask to Neetohh for about VideoIntegrator is not working?--*Lac*() 21:12, December 4, 2019 (UTC)


Hello. Why am I banned from the dev wiki discord?—Preceding unsigned comment added by RealKnockout (talkcontribs) . Please sign your posts with ~~~~!

Oh, i see. Can i please be unbanned from it? thanks.—Preceding unsigned comment added by RealKnockout (talkcontribs) . Please sign your posts with ~~~~!

Gallery styling

Hi Kocka. I don't know if you're the right person to ask this, but, is there any way to style galleries differently, apart from the already existing options? Like, make the spacing even smaller, remove the border, add box-shadow, etc. Blueant251 (talk) 04:19, December 22, 2019 (UTC)

Hi, I was trying to start a Chatbot.

I don't know how to use Pastebin, so I will just provide screenshots to the two files and I don't see anything wrong.

I have done everything the article said and I am unsure why things are not working. I am sorry to bother you again, by the way. Wick (talk) 08:25, December 22, 2019 (UTC)

License description

Hello KockaAdmiralac! Please tell me where I can find translations of the message "Community content is available under CC-BY-SA unless otherwise noted."? I also want to hear your opinion (and opinions of others too) on another topic. RenesSans (talk) 23:32, December 24, 2019 (UTC)

reply to page talk

I didn't find your answer--*Lac*() 04:35, January 5, 2020 (UTC)

Re: Re: Discord

Hey there. I asked you to undo my ban on the Discord, and you said you would talk it over with other admins. Well, have you reached a descision? ~RealKnockout [ WallContribs ] 21:23, January 15, 2020 (UTC) 21:23, January 15, 2020 (UTC)

Javascript Implementation

Hey, I am the admin of the Masadaverse wiki ( and am trying to add Javascript that will let me Toggle languages for a quote, though I do not understand how I am supposed to implemate Javascript. I have found all the code that will make it work, I just need to find out how to actually add it. 

Thank you in advance. 

Zouken (talk) 22:02, January 30, 2020 (UTC)

Main page red links

There are some red links on the main page, they seem to be Chinese language variants. IIRC some languages were removed recently, so it might have to do with that. leviathan_89 @fandom 15:57, March 20, 2020 (UTC)

Regarding Fansun + QDmodal theming

Rather than trying to get timing right, you can simply call mw.libs.QDmodal.loadTheme() and let it fix things itself. I added it a while back specifically for Fansun! - OneTwoThreeFall talk 09:39, March 26, 2020 (UTC)

I18n module documentation

Could you check Talk:Global Lua Modules/I18n? Siroopwafel 03:36, April 14, 2020 (UTC)


Hello KockaAdmiralac,

on the German Ninjago Wiki  we have found an issue with the DiscussionsRailModule: While the discussion topics are properly linked, the user names of the last contributers to htis discussions are not.

The user names are linked to, which leads to a now closed English wiki that is now redirected to The correct link should read:

Is there any way for you to solve this issue?

Best regards

Annaeru from Lego Ninjago Wiki


Dear KockaAdmiralac,

I made a request about how to add discord to my wiki. I recieved a reply with links to pages, but I do not understand them. Thanks for the help!

YE (talk) 17:43, May 10, 2020 (UTC)


Hey KockaAdmiralac,

I noticed there is no AjaxProtect Script. I'm Wondering if you could add it?


1:06 AM May 15 (Fri) 2020 [sig is a bit broken, but works cross wiki]


I saw your replies to the Rollback talk page, but I noticed that the updates were all on /code.js, so I'm quite confused. Which script is the recommended version to use, /code.js or /code.2.js?—YXTQWFclimbTheStairs 06:07, May 16, 2020 (UTC)


Hi there,

I want to Iog my wiki activity on my discord server so can you pIease assist me because I used the wiki activity Iogger for it, however, it states that it can be Iogged back up by contacting you. So, I wiII be reaIIy gratefuI to you if you can heIp me with this assessment. 

Acme Gamer (talk) 14:50, May 23, 2020 (UTC)

Install CSS bug

If a <data> is missing a <label> in an installation template, it doesn't grow to the container width. Could be avoided with an edit to MediaWiki:Wikia.css:

  • flex-basis: calc(100%/3); => flex: 1 1 0;
  • flex-basis: calc(2*100%/3); => flex: 2 2 0;

Please fix, thanks. liegewaffle 00:38, May 28, 2020 (UTC)

Renaming Module:Non-global

Could Module:Non-global be moved to Module:No interwiki access? There's an long talkpage there about some type of rename.

I think any other module name (including "No sitewide ...") is probably confusing (e.g:
"is it affecting load attempts or blocking Lua/Scribunto functionality?",
"is it blocking load attempts anywhere else on this wiki, or blocking load attempts on other wikis?"
). liegewaffle 01:04, May 30, 2020 (UTC)


I already posted this on the forum, just in case it doesn't get answered there. 

I'm having issues with Nitro. When I open the application and type my full Username and Password it tells me that it's wrong even though I typed it in right multiple times. (I signed into Wikia with my Google Account. Maybe that has something to do with it?)

Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+