Hi, welcome to FANDOM Open Source Library! Thanks for your edit to the Template:Sophiedp-Clean Up JS Inports page.

Please leave a message on my talk page if I can help with anything! Cqm (talk) 10:18, November 7, 2015 (UTC)

Capital C

Why did you change it? With this users would add unnecesary capital letters...
~[Quəntumiið the Wise] 07:28, March 20, 2017 (UTC)

I made it capital so that it matches the rest of the menu. --Sophie 07:31, March 20, 2017 (UTC)

Regarding moving CSS to MW namespace

Hi there, I've noticed you've started copy-pasting some CSS pages over to the MW namespace. I'm not so sure that's a good idea, however, as using @import ... will not work for anyone who's currently importing these pages using load.php with multiple articles since the import may not end up at the top of the concatenated CSS. Another issue is that it removes the edit history, technically making it a license violation as the CC BY-SA license requires attribution. It might be best to discuss this in the forum more before continuing. Thanks! - OneTwoThreeFall talk 14:06, January 4, 2018 (UTC)

I wanted to bring this to forum a while ago since these pages are polluting Special:UncategorizedPages (and will be polluting Special:LonelyPages after the move). Only discussion about the move was done on the Discord server. -- Cube-shaped garbage can 14:18, January 4, 2018 (UTC)
> polluting Special:UncategorizedPages
Easily fixed!
> Only discussion about the move was done on the Discord server.
A little sad… Wiki discussion is best done on the wiki so no one misses it.
I see now that a link to the old history is being added to these pages, which is good, but better still would be to move them properly (if they must be moved). I know this requires staff help (I made such a request for ExtendedNavigation's CSS page move) but keeping the contributor history is important. - OneTwoThreeFall talk 14:43, January 4, 2018 (UTC)
Thread:16168 --Sophie 15:36, January 4, 2018 (UTC)

GlobalChatJS on CC?

Hi again! Just wondering, what is the use of the LoadChatJSinCC setting you've added to GlobalChatJS? The point of that check is to prevent the chat JS from being loaded twice, since it's first loaded as usual on CC chat (GlobalChatJS shouldn't affect the usual Special:MyPage/chat.js loading) and then (with that check off) the same page would be loaded a second time by GlobalChatJS, possibly causing script issues. - OneTwoThreeFall talk 07:52, January 7, 2018 (UTC)

Its kinda explained via the edit summary ("add override so that people using this script can also load chat in cc if needed"), but I'm not sure if it's worded right since you're the second person to ask me about this... Anyhow it's for people who want to override GlobalChatJS's import function (chatHook) since the js will need to load on Community Central, since they don't put the JS in their chat.js on CC, but instead have it in a separate file (like global.js for example). --Sophie 08:26, January 7, 2018 (UTC)
Oh, alright! Though now I'm interested in how you're overriding the chatHook function, since the script doesn't really offer a way to do that… - OneTwoThreeFall talk 09:01, January 7, 2018 (UTC)
like this --Sophie 09:03, January 7, 2018 (UTC)
And that's actually working for you? Such a method should only work on functions that are reachable from the global scope, whereas all of GlobalChatJS's functions are within a closure. I'd be happy to add a proper override to the script, though, if that's something you think would be useful. - OneTwoThreeFall talk 10:22, January 7, 2018 (UTC)
That probably explains why it didn't work for me, and sure. --Sophie 22:45, January 7, 2018 (UTC)
Done! Thanks for the idea! Check out the docs for info on how to set up the custom hook. Also, I've changed the check so that if a custom hook is set, it will be loaded on CC chat too, so the LoadChatJSinCC setting shouldn't be needed any more. - OneTwoThreeFall talk 07:52, January 8, 2018 (UTC)
Ah, thanks~ --Sophie 09:06, January 8, 2018 (UTC)

RCM talk page

Responded (thanks for messing me on my talk page obtw!). Sadly the request is not possible due to technical reasons. Fewfre 🔎 K🧀01:13 Thu, 01 Feb 2018

Ah, thanks for leaving me a message (and np~) --Sophie 02:10, February 1, 2018 (UTC)

"MediaWiki" in Imports


Imports work well without adding the extra MediaWiki namespace, so I was wondering why you added it.—|| Grudgeholderr ||— 04:11, February 28, 2018 (UTC)

Because the script is actually in the "extra" MediaWiki namespace, not using it works because wikia made it a redirect for dev only. --Sophie 04:16, February 28, 2018 (UTC)
But since this is only used on this wiki, why is it needed?—|| Grudgeholderr ||— 04:34, February 28, 2018 (UTC)
Because if a user copies it for another script from another wiki, it will work for them, and also it would make it so it doesn't use a redirect? --Sophie 04:43, February 28, 2018 (UTC)
Pretty sure the redirect isn't Dev only and you can exclude it from the import from any wiki (example) but I usually include it just in case Wikia removes the redirect either intentionally or unintentionally. -- Cube-shaped garbage can 05:49, February 28, 2018 (UTC)
Huh, so importArticles doesn't need it, but importScriptPage does? I'm guessing that importScript also needs it, and it's probably going to be the same for the CSS imports, but we should keep it (imo) because that way we can keep everything the same, which would make it less confusing. --Sophie 06:02, February 28, 2018 (UTC)


Good day.

Thank you for correcting my an error.

З повагою, Тору Хасеґава. --180px-Toru_Hasegawa_%28%D0%BF%D1%96%D0%B4%D0%BF%D0%B8%D1%81%29.png (talk)  08:46, March 3, 2018 (UTC)

np --Sophie 08:51, March 3, 2018 (UTC)

Possible bug?

I can't see last digit of year and time in last edited status. For example, in this page I see "Last edited by KockaAdmiralac (talk | contribs) Sun, 18 Mar 201, 07:51:3 [m]". Is this a bug? Frostvalor (talk) 18:13, June 11, 2018 (UTC)

Yep, it was a bug with the LastEdited script, which should be fixed as soon as Wikia reviews the JS. --Sophie 22:41, June 11, 2018 (UTC)

Revert to MediaWiki:RecentChangesMultiple/core.js

Hello, what was the reason for reverting my change to MediaWiki:RecentChangesMultiple/core.js? Is it something I can fix, or was there something just wrong with the change? Sorry if you already explained why somewhere, but I couldn't find it. Fewfre 🔎 K🧀14:14 Tue, 19 Jun 2018

It was an issue with the change. Somehow there ended up being two edits, and your second edit did this, so I undid it. (I didn't undo your first edit tho) --Sophie 19:44, June 19, 2018 (UTC)
Oh, didn't notice the wierd double commit; thanks for fixing it! Fewfre 🔎 K🧀20:14 Tue, 19 Jun 2018
np~ --Sophie 20:14, June 19, 2018 (UTC)

Possible bug? (2)

I can't see last digit of year in last edited status. For example, in this page I see "Last edited by Sophiedp (talk | contribs) Tue, 19 Jun 201, 20:14:46 [m]". Is this a bug? Frostvalor (talk) 10:23, July 19, 2018 (UTC)

Should be fixed when wikia reviews the JS. --Sophie 11:27, July 19, 2018 (UTC)
It's fixed! -- Frostvalor (talk) 08:10, July 20, 2018 (UTC)

Issue with DiscordModule

Hi, can you read my message on Talk:DiscordModule when possible. I am asking you because you are the most recent editor to the script's code.js Aerozoan (talk) 01:19, July 21, 2018 (UTC)

Looks like my edit was already undone, so I'm going to ask help since apparently it was done incorrectly (according to the edit summary). --Sophie 02:02, July 21, 2018 (UTC)

Help request

Please see this, I'm confused.{{SUBST:KrytenKoroSig}} 21:14, August 3, 2018 (UTC)


Thanks for the heads up! I was unaware. Fewfre 🔎 K🧀22:50 Sat, 02 Feb 2019


Hello, the update look nice excluding the background. It takes over the color chosen through ThemeDesigner. Why did you put it black ? UtauSteam (talk) 00:58, February 10, 2019 (UTC)

Its a quick fix to make the buttons show up, as none, inherit, initial, currentColor, unset, and transparent all make the button disappear. --Sharkie 01:04, February 10, 2019 (UTC)
Yeah I couldn't get it work, so I removed that css that changes the button color; it should be back to normal (excluding cache) --Sharkie 01:27, February 10, 2019 (UTC)
Alright, so after talking with Kocka and Unai, and playing around with it for a bit, I think I got it to work. --Sharkie 05:48, February 10, 2019 (UTC)

Discord.js & Discord.css

Per DEV:P, it's best to delete the Discord.css and Discord.js pages - this will be done by 12PM UTC. Please post code when it's understood and is ready for global use.

You're welcome to move the code to your test wiki and seek help in the Discord, unless testing requires the code to be on Dev Wiki. speedy🔔︎🚀︎ 08:17, February 20, 2019 (UTC)

Per private conversation, the Discord.js script has had the following changes:
  • a fully configurable ID
  • group IDs that are customisable
This will allow it to be usable on other wikis, and covers DEV:P. But it doesn't work so well (needs JSRT, which isn't very convenient), so it should be improved pretty soon. speedy🔔︎🚀︎ 11:59, February 20, 2019 (UTC)

RE: RecentChangesMultiple (HTTPS)

It is needed, though it should be rewritten; It's still needed for external wikis, and currently having something like "fr.transformice.wikia.com" in the list would still break, since even though what it redirects to is https, it itself is not. Now that no wikia.com wikis exist though, I can probably secretly change them to fandom now (in code). For now I'll just rewrite it, might change the code in a bit. Fewfre 🔎 K🧀15:36 Sat, 04 Jan 2020

RE: LastEdited and mainpages

Yes, my issue with LastEdited being on the main page was primarily due to it being sitewide (which technically isn't allowed anymore I guess). Doesn't show up for me on main pages currently, so I think the change was made; but if your wanting it back I don't mind it that much now that's it's a personal script. Fewfre 🔎 K🧀04:27 Mon, 30 Mar 2020

Ah, yah, that's fine; I don't mind what the default is. As mentioned though, LastEdited cannot be a sitewide script (so can't be in MediaWiki:ImportJS). Fandom decided it breaks their ToS or something. I actually had a staff member remove it from one of my wikis when they saw it in passing once (found it) (that was over a year ago I think though, so maybe they've come around). Do what you want of course, just as a heads up. Fewfre 🔎 K🧀20:14 Mon, 30 Mar 2020

Question to determinate finally which code to use

As we speaked here about a script of ReferencePopups, in order to be sure, if İ add exactly the following code to a wiki’s MediaWiki:Common.js page, will this set ReferencesPopups as by default being activated by click? The exact code İ’m asking for is:

((window.dev = window.dev || {}).ReferencePopups = dev.ReferencePopups || {}).settings = { react: 'click' };
    type: 'script',
    articles: [

Were you telling me this? --Josep Maria 24. (discussiócontribucions) 22:0, May 4, 2020 (UTC)

You don't need the second import, just import the script like normal. --Little Red 03:34, May 5, 2020 (UTC)
So will exactly this code work?
((window.dev = window.dev || {}).ReferencePopups = dev.ReferencePopups || {}).settings = { react: 'click' };
    type: 'script',
    articles: [
--Josep Maria 24. (discussiócontribucions) 3:36, May 5, 2020 (UTC)
Yes, but if you already have the script imported (eg, in MediaWiki:ImportJS) then you don't need to import it again. --Little Red 03:39, May 5, 2020 (UTC)
At the beginning İ imported it in MediaWiki:ImportJS and wasn’t working, thaťs why İ asked. --Josep Maria 24. (discussiócontribucions) 3:42, May 5, 2020 (UTC)
MediaWiki:ImportJS only does importing from dev and that wiki, if you need to do other JS (eg, config) you'll need to use MediaWiki:Common.js and etc. --Little Red 03:44, May 5, 2020 (UTC)
Yes, İ meant İ imported “dev:ReferencePopups/code.js” on MediaWiki:ImportJS and added your code to activate by click on MediaWiki:Common.js. Both this way and adding the full code on MediaWiki:Common.js weren’t working, İ don’t know why. İn theory adding “dev:ReferencePopups/code.js” on MediaWiki:ImportJS and ((window.dev = window.dev || {}).ReferencePopups = dev.ReferencePopups || {}).settings = { react: 'click' }; on MediaWiki:Common.js would work… --Josep Maria 24. (discussiócontribucions) 3:48, May 5, 2020 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── It could be because of cache or etc, could you link the wiki? --Little Red 04:01, May 5, 2020 (UTC)

İťs used also for tests (İ mean, both for content and personal sandbox). But if it works here, it could work in other wikis.
--Josep Maria 24. (discussiócontribucions) 4:4, May 5, 2020 (UTC)
Hm it should work since I don't see any issues with it, I'll ask someone about it and see if they can see why its not working. --Little Red 04:20, May 5, 2020 (UTC)
After talking for a bit with BryghtShadow, we've come up with this JS that should work:
if (!localStorage.getItem('RefPopupsJS')) {
    window.dev = $.extend(true, window.dev, {
        ReferencePopups: {
            settings: {
                react: 'click'
    localStorage.setItem('RefPopupsJS', JSON.stringify(window.dev.ReferencePopups.settings));
--Little Red 10:20, May 5, 2020 (UTC)
Yes, it works, thanks! Only one more question: how can İ transform this code:
((window.dev = window.dev || {}).ReferencePopups = dev.ReferencePopups || {}).lockdown = true;
((window.dev = window.dev || {}).ReferencePopups = dev.ReferencePopups || {}).defaults = { animate: false };
to merge it in your last and working code? These two lines are the indicated on the page ReferencePopups to both enable lockdown and disable the animation by default. --Josep Maria 24. (discussiócontribucions) 12:12, May 5, 2020 (UTC)
Those should work as is, but if they don't work then let me know and I'll see if I can merge them into the above code. --Little Red 21:12, May 5, 2020 (UTC)
Yes, it works, but there’s one more problem: it works in normal references, but the template:Popup stopped working… --Josep Maria 24. (discussiócontribucions) 22:42, May 5, 2020 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── Do you have an example of it not working? The template on your wiki isn't used by any pages. --Little Red 23:47, May 5, 2020 (UTC)

As İ said, iťs a wiki for testing. İ try it without saving (previewing) and there’s this. The normal references do work in both previews of edits and the deleted page, but the template doesn’t. --Josep Maria 24. (discussiócontribucions) 0:6, May 6, 2020 (UTC)
Hm, looking at ReferencePopups, it seems you also need to import the custom.js for it to work. --Little Red 00:10, May 6, 2020 (UTC)
Now iťs all working, thanks a lot for your help! Now only leťs see if Staff approves the script on MediaWiki:Common.js… --Josep Maria 24. (discussiócontribucions) 0:24, May 6, 2020 (UTC)
İ saw it only works in a basic browser with a very low JS compatibility (where for example AjaxRC doesn’t run); in a normal browser with full JS compatibility the three extra settings İ want to add don’t work… --Josep Maria 24. (discussiócontribucions) 0:52, May 6, 2020 (UTC)
It works fine for me, so its probably due to cache and/or the JS isn't reviewed yet + possibly settings already stored in localSettings. --Little Red 05:27, May 6, 2020 (UTC)
Ok, İʼll wait. İn the browser where İ was making the tests it was working, but when İ wanted to see it by chance in another computer and browser iťs when İ saw that there it wasnʼt working. But as you said, it can be due to the cache or that the code hasnʼt been reviewed, so İʼll wait to see what happens. --Josep Maria 24. (discussiócontribucions) 12:12, May 6, 2020 (UTC)


Hey there, I noticed my DarkModeTheme got deleted for a policy violation. I was wondering what policy it violates.

Thanks TheAwesomeGamerminer 07:54, June 9, 2020 (UTC)

Your DarkModeTheme is just a copy of another stylesheet that already exists (see the Duplication line in Dev Wiki:Policy#Contribution_guidelines). --Little Red 08:00, June 9, 2020 (UTC)


Hey, Thanks for including my features in DeleteUserpage!


~Thundercraft5💬|🔎|📝|21?cb=20191208040727🕒11:33 PM Jun 24 (Wed) 2020 (𝖴TC)
np --Little Red 23:34, June 24, 2020 (UTC)

Re: Rollback

Really sorry about this tardy response to your message; I never received any notification that my talk page had been edited. Anyway, it's been a while since I looked over my edits to Rollback, but if I recall correctly, the only changes I made were adjustments to the script's formatting to improve its organizational layout and readability, nothing worth merging into the main branch. I'm fine with deleting /code2.js or replacing its contents with an importArticle invocation loading code.js. EIZEN (Talk) 20:18, July 9, 2020 (UTC)

Common Rules of TalkPages.

Hello Sophiedp,

can You tell me "Common+Highly Used Talkpage Rules" ? in bullets? , and those rules Which are Used by many BigWikis ? .

If Possible then do Copy-Pasting? or just Tell me? , Thanks LuvOf99ThTalk♥CO♥ 15:47, August 11, 2020 (UTC).

Uh, rules vary depending on each wiki, so if you're probably best of checking the wiki's rules instead. --Little Red 22:07, August 11, 2020 (UTC)
Oh, Ohkay Different on Every Wikis Usually, Right? and Ammmmmmm i Didn't Got this Line of Yours..."so if you're probably best of checking the wiki's rules instead." what do you mean? , Thx LuvOf99ThTalk♥CO♥ 02:35, August 13, 2020 (UTC).
I meant it as you need to check the wiki's rules, not assume that every wiki has the same rules. --Little Red 03:07, August 13, 2020 (UTC)
Ohk Ohk gotcha, AnyWay Thanks v Much for help, LuvOf99ThTalk♥CO♥ 07:43, August 13, 2020 (UTC).
np~ --Little Red 08:52, August 13, 2020 (UTC)

RE: RCM not working on UCP

  1. Regarding the custom implementation of importArticles, I can rewrite my code to not use it if you want; I already have to for non-ucp wikis since it returning a promise is a new feature, and I'm only loading two scripts so it's not a huge performance boost.
  2. That's... very odd. That message would only appear if document.querySelector('.rc-content-multiple, #rc-content-multiple') returned a falsey value. Would you mind linking me to the page in question so I can see if I can replicate it?

Fewfre 🔎 K🧀14:35 Fri, 28 Aug 2020

a) Wierd; well nothing stands out, but if it happens again let me know, otherwise I'll hope it's a fluke
b) Rail should be fixed (just a css change :) )
c) I already do/should be - I use mw.loader.using with mediawiki.action.history.diff on UCP wikis (as per the bottom of here) - does this not work for you and I also need to use skin.oasis.diff.runtimeStyles? (or were you just giving a heads up? in which case same question about if I need it =p or what the difference is) Fewfre 🔎 K🧀22:36 Fri, 28 Aug 2020
Ah, alright, thanks for the explaination! It'll be added in my next patch (need to add the ability to hide discussions, while still seeing walls/comments). Fewfre 🔎 K🧀23:13 Fri, 28 Aug 2020

Advice request for admin communication script

Hello, Winnie.

I would like to get your advice about the possibility and credibility of a script that allows admins private communication about sensitive topics without relying on external platforms such as Discord.

My idea is to use the admin's ability to delete a page (hiding it's contents from other users) and to preview deleted contents. A script can automate this process for a specific page - deleting it automatically after publishing, and providing a convenient access to the deleted contents for the authorized users. The protection is based on the standard user rights.

Thank you in advance for your advice.

Nam 19:03, October 4, 2020 (UTC)

Hi, I discussed this with some friends, and the main points that came out of our convo were:
  • Someone could possibly discover the conversation before it's deleted
  • Using email might work, but it would require you to share your emails somehow
  • Encryption (namely PGP) might work, and allow you to use message walls and etc like normal
  • Possibly finding a 3rd party app you like
  • If none of the others work, then yeah that way is probably your best bet
--Little Red 21:42, October 4, 2020 (UTC)
Well, we are talking about a situation where email, Discord, and other 3rd party apps were already sorted out. I would have asking if you can elaborate more about using PGP, but I feel like it wouldn't be a good idea either to get into encription. What I want to ask if whether there is a way to submit an edit (Or more accurately, cretaion of s page) without being forced to load another page.
—Preceding unsigned comment added by HumansCanWinElves (talkcontribs) . Please sign your posts with ~~~~!
Yeah, you can do that via the MediaWiki API (check out api.php, and if you're on a UCP wiki, Special:APISandbox as well). --Sophie 23:48, October 7, 2020 (UTC)
Thank you again.
Fandom added the option for admins and mods to edit deleted discussions messages without undeleting them, so there is no need for a custom script anymore. But the references will be helpful. Nam 07:28, October 11, 2020 (UTC)
Emoticon_yes.png --Sophie 08:11, October 11, 2020 (UTC)


Hello Sophiedp! I installed the Discord script that you wrote onto my wiki here, and I had a few questions I was hoping you could answer?

  1. The average number of users online in my wiki discord server is about 500+, but thumbnail icons shown in the module does not display the total number of users online. Is there a limit to how many icons can be shown?
  2. I was wondering if it is possible to display the mods at the top of the module, and maybe users with specific roles that are not necessarily mods? If so, how would I go about doing that?

Feel free to ask questions if I was not being clear enough! Thank you!

07:27, November 30, 2020 (UTC)

Both are due to Discord changing the API that the script uses, theres a notice at the top of Discord that explains it a bit more. --Sophie ♦ 10:30, November 30, 2020 (UTC)
Oh I see! I understand now! Thank you so much for answering :)

10:51, November 30, 2020 (UTC)

np --Sophie ♦ 10:59, November 30, 2020 (UTC)


write one of your fix scripts for me daddy -D 21:51, 15 February 2021 (UTC)

DoruEditor whenpls --Sophie ♦ 22:00, 15 February 2021 (UTC)


hello remeber me?Stryky (talk) 23:44, 22 February 2021 (UTC)

Hi. --Sophie ♦ 23:47, 22 February 2021 (UTC)

NP Sophiedp

NP —Preceding unsigned comment added by StrykyBerzerk (talkcontribs) . Please sign your posts with ~~~~!


Sure thing! It'd probably be better to have it on one page than two separate ones

22:08, 4 March 2021 (UTC)

Affiliate Wiki

Greetings! Is the Fandom Developers Wiki open to the idea of having an affiliate wiki?

I would totally understand if this is not the case.

Hope you're doing well,

MajesticPotatoez 20:49, 10 March 2021 (UTC)

We're an official fandom wiki, so I'm not sure that's something that we do, try contacting fandom staff about it. --Sophie ♦ 20:56, 10 March 2021 (UTC)


sorry didnt relize i mesed up the countdown i was trying to copy the source and see if i can customize it but didnt work out i am soooo stupid —Preceding unsigned comment added by Pumped4Gaming (talkcontribs) . Please sign your posts with ~~~~!

It's fine, also yeah you can customize it, there's some options listed on the page and etc that you can do, is there anything in particular that you want it to do? --Sophie ♦ 20:03, 11 March 2021 (UTC)
Yes, i want to know how i cound do it on my wiki instead od 1 year countdown i want to know how to set it as diffrent daysPumped4Gaming (talk) 15:20, 22 March 2021 (UTC)
Have you tried following the directions on the page? --Sophie ♦ 01:11, 23 March 2021 (UTC)
yes and it didnt workPumped4Gaming (talk) 16:01, 30 March 2021 (UTC)
Try asking on this wiki's Discussions, namely in the JS and CSS support topic, that way you'll get me than just me being able to help. --Sophie ♦ 02:28, 31 March 2021 (UTC)

Re: Reported Comment


As I explained in that comment and later in the thread, I suspected there is a security risk in the code linked in the blog post.

The bug with the associated old blog comment raised my suspection even more, and I tried to silently pull Kocka's attention via the report system. When that didn't work I at-mentioned him, and he confirmed my suspection was false, so it should be settled now.

Nam 07:58, 16 March 2021 (UTC)


Hey, since the edit button was added back on for profile pages, can you delete EditProfilesButton and the .js page? Thanks in advance.

𝙋𝙖𝙧𝙠𝙤𝙪𝙧 ✨oh dear, I don't know if we know why we're here

02:00, 1 April 2021 (UTC)

Done --Sophie ♦ 02:02, 1 April 2021 (UTC)

hi :)


Hi --Sophie ♦ 00:15, 27 April 2021 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.