FANDOM

Welcome

Hi, welcome to Fandom Developers Wiki! Thanks for your edit to the EditorSourceMinimal/code.css page.

Please leave a message on my talk page if I can help with anything! Cqm (talk) 14:18, July 26, 2016 (UTC)

EditorSourceMinimal

Hey!

Just stopping by to tell you that I have moved the CSS for EditorSourceMinimal to MediaWiki:EditorSourceMinimal/code.css. Not sure if you knew you could edit the MediaWiki namespace on here, but you can. :P I moved the CSS since it will be easier to maintain and you don't need to include the syntaxhighlight tags. -- Monochromatic Bunny 21:25, July 27, 2016 (UTC)

EditorSourceMinimal (2)

Hey, could I use the images of the buttons and edit these changing the color and the color of the background?
Thanks!

Tobias Alcaraz (talk) 00:00, July 28, 2016 (UTC)

Recent edits to Pseudo-Vector

Hi there! Sorry to say, I've undone both your recent edits to the Pseudo-Vector CSS.

Regarding the visual editor-like button styling: this caused 3rd-party/custom edit buttons to become invisible as they also use the mw-toolbar-editbutton class. For example, my edit toolbar looked like this after the change, with the last third of buttons invisible. Also, I'm not entirely sure this is in the realm of the Vector skin; perhaps it'd be preferable to make a version of EditorSourceMinimal for the MonoBook skin? (EditorSourceMinimal looks quite nice, by the way! :) )

Regarding adding .skin-monobook to every selector: there is a few that that class should definitely be added to (e.g. a, ul, .editsection, #wpTextbox1, and others) to prevent issues when using this in global.css where it'll affect the Oasis skin too. However, adding it to every single one is unneeded (a fair amount of those selectors only exist in MonoBook) and makes personal CSS changes harder due to the increased specificity. Also, there were a few cases (e.g. #content h4, #content h5, #content h6 was changed to .skin-monobook #content h4,h5,h6 - notice the now-unqualified h5 and h6) where the change made selectors less specific, though I guess that was likely just a copy-paste issue.

- OneTwoThreeFall (talk) 08:10, October 3, 2016 (UTC)

I appreciate the revert. The rationale for adding the icon CSS was that less imports would be better than more, and less user stylesheets would be better than more from a maintenance perspective. If you think building an optional bolt-on is a good idea, then I can totally do so!
I'm aware that overriding the hardcoded icons would need something more elegant than a brute-force technique along the lines of padding-top:100%;. Any ideas for doing that with CSS would be strongly appreciated.
The initial intention of adding the icons was to achieve parity with the new VE toolbar of WP's Vector skin, simply because the VE icons are a visual improvement of sorts against the old edit ones (barring the actual functionality of visual editors in general).
It seems not using .skin-monobook is the best way forward for avoiding overqualification of PV against user CSS. Though PV is meant to be Monobook-specific (my intention with adding the parent selector), users with PV will probably set Monobook in their prefs, so it's not actually needed so much at all.
-SPD •📞•✎ 10:24, October 3, 2016 (UTC)
Rather than have multiple imports, you can combine CSS imports into a single request. On your global.css page, for example, the four imports can be combined by separating each page name with a pipe character in the articles parameter, like below:
@import url('//dev.wikia.com/load.php?lang=en&mode=articles&articles=u:c:User:Speedit/header.css|u:dev:MediaWiki:EditorSourceMinimal/code.css|u:dev:Pseudo-Vector/code.css|u:dev:NewDiffStyle/code.css&only=styles');
Agreed, the current editor icons aren't the nicest! Strictly speaking, the VisualEditor isn't a part of the Vector skin, but a separate MediaWiki extension, so whether its icons fit within the Pseudo-Vector "spirit", so to say, could be debatable. Making it into an optional bolt-on seems a good idea! Apart from using background-image and padding like you've done, I couldn't find any way to change the hard-coded img icons using only CSS (I thought ::before / ::after may work, but it seems they're not usable on img elements). You could instead set the CSS only on the first 11 buttons (the default set) using .mw-toolbar-editbutton:nth-child(-1n+11), to prevent any custom buttons being hidden.
Using .skin-monobook for a few selectors (like I mentioned above) would be good, though, as some selectors here do conflict with Oasis skin styling. Personally, I switch between skins fairly often, but I import it via JS so don't see these issues. Those who import it via CSS and do switch skins would likely appreciate a fix!
- OneTwoThreeFall (talk) 13:59, October 3, 2016 (UTC)
I am not fully familiar with the Monobook skin's physical build. You may be more "qualified" (lol ;D) to go add the selector as necessary to the stylesheet. I'll look at posting the editor icons to a new stylesheet later this week, and I can give you a simple update to your old-skool icons if you wish.
There's always JS for buttons, but I've always preferred keeping visual updates to one import (preferably CSS). In other news, there is a consistent Wikia Design System iconset which could supercede the VE icons, although I've got a small bunch of button suggestions already.
-SPD •📞•✎ 23:06, October 4, 2016 (UTC)
Haha! I've added body.skin-monobook to those selectors that could otherwise apply to both skins. Quickly testing, it seems all is well in the Oasis skin - Pseudo-Vector is no longer making changes there. Re. a separate stylesheet: sounds good!
Agreed, it's best to stick with CSS where possible, but for changing those buttons without ugly hacks, JS may be a better solution. Interesting, is that an official Wikia site? Looks quite handy for CSS testing.
- OneTwoThreeFall (talk) 08:58, October 7, 2016 (UTC)

Loading Throbber Convertion for EditorSourceMinimal

Can you make it so that the loading throbbers are converted into the spinners from EditorVisualMinimal for EditorSourceMinimal?

Love the Nord Theme

Thanks for creating the Nord code Theme. It's 100x better than solarized light. I made a few tiny color alterations to it on my wiki and now it's perfect. Nord should be the default code theme. RoIento (talk) 22:16, March 26, 2018 (UTC)

Thanks, I'm really enjoying it as well! :) It's still in testing, so if you find any issues, I'd really love a report. speedy🔔︎🚀︎ 22:51, March 26, 2018 (UTC)
I'd be more than happy to report any issues :) haven't encountered any bugs yet though! I made a few color alterations, but the one thing that you may want to take into consideration is that the color of the .coMULTI css (code comments) might be too dark. My personal preference anyway is to have the comments brighter than the rest so it stands out (changed the one on my wiki to gold). RoIento (talk) 23:17, March 26, 2018 (UTC)

Profile icons

Hi Speedit. I noticed that you have done some changes to the structure of both MediaWiki:WDSIcons/code.js and MediaWiki:ProfileIcons.js. And although I don't know if it is intentional or not, the wds icons used on the masthead have accordingly become bigger and moved up by your changes. See. And since I couldn't fix it to our need in the wiki through CSS without making the icons disappear behind an invisible wall, could you please look at this problem, or at least tell me of an alternative to have the icons smaller and on the same line as the text beside them?--Luma.dash (talk) 05:43, April 29, 2018 (UTC)

Not intentional. While new WDSIcons is gonna be hella useful, it's nowhere near stable. Even the sprite source is out of date.
Here's your fix:
/* Fix for ProfileIcons */
/* Please remove after ~01/05/2017 */
.WikiaUserPagesHeader .tabs li a {
    display: inline-flex;
    line-height: 18px;
}
.WikiaUserPagesHeader .tabs li a .wds-icon {
    height: 18px;
    width: 18px;
    min-width: 18px;
    margin-right: 8px;
}
speedy🔔︎🚀︎ 14:28, April 29, 2018 (UTC)

VanguardTools

Hey there, I left a message for you here!. :) --Bryan VANGUARD.svg ( talk | c | dev ) 22:36, May 4, 2018 (UTC)

I've moved the talkpage and will take a look soon c: speedy🔔︎🚀︎ 10:42, May 5, 2018 (UTC)

CategoryRenameAuto-update

Hi, I saw you know how to create JSON pages for JS script. May I ask you for creation JSON page for this script?
~[Quəntumiið the Wise] 08:57, May 9, 2018 (UTC)

Link? speedy🔔︎🚀︎ 11:07, May 9, 2018 (UTC)


Thanks

Thanks for coming up with this script for PseudoMonoBook. Makes Oasis a little more friendly than the default version but still hard if you have only ever used Monobook or in the case of Uncyclopedia where I admin at, their own skin. Now all going on the 25th May. :( User:Romartus/sig2

20:08, May 24, 2018 (UTC)

Porting the speduomonobook to wikipedia

Can it be imported to wikipedia? MechQueste talk 19:19, May 13, 2018 (UTC)

It'd be a lot of pain and would involve JS. Not really appetizing for me. speedy🔔︎🚀︎ 14:39, May 19, 2018 (UTC)

Enabling PseudoMonobook

Hi! I just tried to enable PseudoMonobook via the import instructions, but it didn't seem to work. So I copied the source, but that didn't work either (link to contribs). Did I do something wrong? Your help would be very much appreciated :) --OuWTB 19:37, May 25, 2018 (UTC)

If you want to import PseudoMonobook globally, you should place the import on your global.css on Community Central. -- Cube-shaped garbage can 19:44, May 25, 2018 (UTC)
Mmm.. It still doesn't seem to do anything. Even after trying Ctrl+F5 ([1]). --OuWTB 08:55, May 26, 2018 (UTC)
Correction, it works just fine now. Thanks a lot, great feature! :) --OuWTB 08:55, May 26, 2018 (UTC)

Pseudomonobook is kind of nice

MechQueste talk 03:24, June 6, 2018 (UTC)

I've got a question about PseudoMonobook [2]. O mnie · Skontaktuj się ze mną! · Co wniosłem do tej Wiki 11:22, June 9, 2018 (UTC)

Re: Adding uselang to Template:Languages

A new format (format=uselangs) seems to be the best choice. It modifies what the default one returns, so it should adapt to minor changes. Goes over div > [data-lang] (to use CSS notation) and changes the link.

This will need some changes, since uselang links on subpages of mainpage won't work there. In short:

  • Wrap {{Languages}} on subpages in <noinclude>
  • Add this to root main page, above {{LangSelect}}
{{#invoke:Languages|langs|en|{{int:lang}}|class=toc switch-lang|format=uselangs|select={{int:lang}}}}

With this, main page will have uselang links and subpages will link to other subpages. — Nanaki @fandom 20:25, July 18, 2018 (UTC)

about Template:Script_Install

Hi!

I think Template:Script_Install was i18ned, but it doesn’t show non-English languages now. So I’d like to know how to add translation, but sorry, I don’t know Lua.

Would you please add translations again?

Thanks, --Plover-Y (talk) 2018-07-21 04:04 (UTC)

Sorry! I forgot adding this to the documentation, but check Module:Install/i18n and Module:Common/i18n. speedy🔔︎🚀︎ 08:58, July 21, 2018 (UTC)

Sorry, but I cannot read Lua. I only understand https://dev.wikia.com/wiki/GlobalChatJS?uselang=ja doesn’t show Japanese translation on Usage section today. (https://dev.wikia.com/wiki/GlobalChatJS?uselang=fr doesn’t show French, either) —-Plover-Y (talk) 2018-07-29 10:58 (UTC)

Thank you for updating the template! --Plover-Y (talk) 2018-08-08 09:16 (UTC)

Nord has plenty'o script failures on page.

Nord has plenty of script failures. In red text. Not sure if thats normal.

ZMeow of Axolotia 21:56, July 22, 2018 (UTC)
there is no getlang implemented in i18nd, so i've change it to i18n Fngplg (talk) 22:35, July 22, 2018 (UTC)

RE: UnitTester:equals_many

Done, but it doesn't seem to be what you needed... Should it not preprocess anything? -- Cube-shaped garbage can 13:17, August 2, 2018 (UTC)

Help request

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

It looks like I had a few excess units, which I removed. However, it's still not quite displaying as a I need it to -- I can't see the editor-selected background image, I can't get rid of recent wiki activity, and I can't get rid of the videos (although they no longer autoplay). Help?{{SUBST:KrytenKoroSig}} 17:09, August 7, 2018 (UTC)
I'll reply on the PseudoMonobook talkpage soon. speedy🔔︎🚀︎ 19:39, August 7, 2018 (UTC)

Can you help me unblock my Scratchpad Wiki account?

  • Speedit, can you unblock my Scratchpad Wiki account for me? I've been given six days by Hypercane. Can you do this for me?

Sincerely, User:Nickolasd

You shouldn't be appealing your ban anywhere other than through Community Central, otherwise it is considered harassment that you may get a global block for. Speedit cannot unblock your account as he isn't a local administrator there. -- Cube-shaped garbage can 22:23, August 9, 2018 (UTC)

Template:HTML_Install

Hi, I want to fix translations of Template:HTML_Install because Japanese version shows wrong messages and wrong language’s messages. But I cannot read Lua. What should I do for fixing? Thanks, --Plover-Y (talk) 2018-09-23 12:48 (UTC)

Translations for it are located on Module:Install/i18n, so you can modify that. -- Cube-shaped garbage can 15:10, September 23, 2018 (UTC)
I see, thanks! --Plover-Y (talk) 2018-09-23 19:58 (UTC)

RE: HighlightUsers

The script is unmaintained and IIRC I asked once the author who gave permission to update it as seen fit. It's not my place in the first place to give you permission, but I think that's fine. This is also a wiki, so even though there are some "etiquette" it's not like anyone can claim ownership of anything, so I believe code should be collectively maintained and improved.

As for the matter on how updating, I cannot really give you an expert opinion as I don't fully understand JS. I still think that it's better to style anything with CSS rather then JS. Since in the past I talked about "CSS classes", to avoid misunderstandings, I didn't want to suggest only classes, what I meant was that I think the script should add some kind of anchor which can be used to style with CSS. It can be a class or another attribute or whatever.

If you also think what you are going to do alter the script too much, you can always fork it :) leviathan_89 @fandom 16:31, October 7, 2018 (UTC)

YandexPlayer

Hi, After your changes the script no longer works, you can get it to work, at the same time that he is no longer embarrassed?

script YandexPlayer

testing http://ru.castlevania.wikia.com/wiki/Castlevania:_The_Dracula_X_Chronicles/Саундтрек?debug=1

—Preceding unsigned comment added by TRJ-VoRoN (talkcontribs) . Please sign your posts with ~~~~!

My request

I know, my coding skills are close to nothing apart from wikitext, but I have some plans with Dev. My current idea is to create i18n.json pages to those scripts where there is at least one translation other than English. It'd be great if i18n.json is implemented to all scripts from this category, but unfortunately I am not able to do that. My next plan is to find some more translations for them, and later I'm going to do some contribs with main-namespace articles, but this is further future. Answering your question, mod can be useful for me in the main namespace.
~[Quəntumiið the Wise] 18:30, November 9, 2018 (UTC)

Error at color module

"Lua error in Dev:Colors at line 419: bad argument #1 to 'min' (number expected, got nil)." Possible point is "rgbToHsl" that called from rotate.

--twow.col is {0,0,0} or something like.
local function prgb(fa)
    return chrome.fromRgb(fa[0], fa[1], fa[2], 0.58)
end
local function processColor2()
    local newcol = prgb(twow.col):rotate(180);
    local fa={};fa.args={newcol};

    return 'color:'..newcol:lighten(-50):hex()..'; background-color:'..newcol:lighten(50):hex()..';'
end

--*Lac*() 04:12, November 18, 2018 (UTC)

GlobalChatJS

Hey,

Do I install it on global.js or chat.js? And how do I use it?

Voca The Void Sign Rin's guestbook! Rin's Editcount "Life is the first, last, and best gift to ever receive. You only have it once. Use it until it dies." ~ Voca 18:45, November 26, 2018 (UTC)

Translating documentations

Thank you so much for editing Dev Wiki:I18n! About this, would you please tell me/us how to translate documentations to the languages I/we don’t choose as Fandom languages, too? (I use English to see wikis, but I want to translate to my mother tongue, Japanese. Although my language select doesn’t show Japanese, how to use your nice function to make new translation?)

—Preceding unsigned comment added by Plover-Y (talkcontribs) . Please sign your posts with ~~~~! 10:23, November 29, 2018 (UTC)

Thank you so much for updating! The wizard seems so nice! And so sorry I forgot my signature... -Plover-Y (talk) 2018-11-29 12:17 (UTC)

Help with template

Hello. Sorry, but can you help me with template "Languages"? One day, I copy this template for my wiki. When I use this template, it reads: "Error with the script". Can you help me and give me this script?
Демиен (talkcontributionseditcount) 03:47, December 14, 2018 (UTC)

DiffChangeHighlights

Hi there, I'm pretty sure I missed a few things over the last 3 years I've been inactive, about what you need to do to make a new js/css code here. I don't know how to place it in the MediaWiki namespace as all other transcludable codes here have been placed. I also haven't kept up with all the numberous changes to the standard templates used around here to be able to know what I'm doing anymore... so... I'm hoping you could maybe be of some help in the new page I created for a possibly-good option about the visibility of diff-change-highlights for Wikia users, here.

I also saw your recent change to Mediawiki:Deletereason-dropdown, and was wondering; Is that a built-in page that hadn't been created yet, or is it something more complicated going on?

Thanks! —RyaNayR (talkcontribs) 15:03, January 18, 2019 (UTC)

Hey,
I deleted the page now as it violates point 2.4 of the contribution guidelines ("must not offer trivial code or guidance"). I moved it to CSS Cookbook, which is used as a collection of minor CSS snippets that don't warrant their own article.
A few things I noticed were off with the documentation:
Cheers!
-- Cube-shaped garbage can 20:35, January 18, 2019 (UTC)
Thanks! You explained that wonderfully. I had forgotten that part about the file extensions with the deprecation of /code pages, I just knew I was missing something, and didn't want to add the infobox or installation templates yet to avoid unnecessary effort, which turns out to be the case here since I forgot about the CSS Cookbook being the place for those little snippets. That is good to know about the branding—I was wondering which was more correct. So again, that was some very useful info. Thanks! —RyaNayR (talkcontribs) 22:22, January 18, 2019 (UTC)

Help with a script?

Hi! Sorry to bother you with something like that... but would you mind give a look at this discussion please? Here. I continued it a few days ago, but no answer. Upped it yesterday but same :/ Thank you! Lady Junky 10:10, January 28, 2019 (UTC)

ReplaceWordmark

Hello! I added ReplaceWordmark into my common.css at one of my wikis, but I don't know how to use it. Can you explain it to me, please? :) Is there an option to replace  wormark with image which has more than 65px? If is not, you don't have to answer.

Mat. Dyskusja Edycje   09:08, January 30, 2019 (UTC)

ChatBlockButton

Would you please tell me how is “blockAction” of MediaWiki:ChatBlockButton/code.2.js used? Would you please give me the example sentence with “blockAction” message to translate? Thanks, --Plover-Y (talk) 2019-01-30 12:13 (UTC)

"Block Speeditwo from Fandom Developers Wiki" should be the correct output. $1 is username. speedy🔔︎🚀︎ 12:31, January 30, 2019 (UTC)

Some problem about DiscussionRailModule

It didn't work as usual after our site had been moved to fandom.com. My browser will jump to English Wiki site if I click the link that should be to our discussion. Hope the question can be solved.
 AC0xRPFS001  談話頁  留言板  日期  2019/02/03 Sunday 14:03 (UTC) 

That's an issue with Fandom's EmbeddableDiscussions extension. I've got a pull request open to fix that issue but it is unknown when will it get merged. -- Cube-shaped garbage can 15:41, February 3, 2019 (UTC)

Re: Archiving scripts

Hello Speedit! Thanks for letting me know - I'm marking all my edits as minor by default (because of most of them are minor in fact), simple forgot to uncheck the checkbox 🙈. Btw I've archived this script as it was fixed by Fandom, now I see I should ask first but you know, what's done cannot be undone.

Thanks again, I'll be more careful in the future, RAIL my talk 17:55, March 3, 2019 (UTC)

Question regarding the Purge button import script.

Hey, how are you?

Sorry to bother, but I'm in need of some help.

Since I usually have to keep refreshing my pages, given that the server cache keeps failing or just because I want to see templates new changes....

I tried importing the javascript to have the purge button, just like mentioned here: PurgeButton.

The problem is that I've tried importing this to the Wikia I'm in charge of... but it doesn't work.

Royal Revolt 2 Wikia my page link: https://royal-revolt-2.fandom.com/wiki/User:ShadowsGuardian/common.js

Could you please tell me what I'm doing wrong?

Thanks in advance, cheers.

ShadowsGuardian (talk) 22:55, March 3, 2019 (UTC)

Hi, I'm not Speedit, but have you tried using source editor to add the import, rather than VE? VE sometimes adds in characters that break the script loader. --Sharkie 00:26, May 8, 2019 (UTC)
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+