Wikia

Community Central

Talk:JavaScript and CSS Cheatsheet

92,255pages on
this wiki

Back to page

Background color of JS to copy Edit

The background color of the JS to copy is black here:

It needs to be a different color from the text. Probably need to indicate both. I see some attempts in the wikitext but it is not working. ---Timeshifter (talk) 04:59, March 21, 2012 (UTC)

Fixed. -- pecoes 05:53, March 21, 2012 (UTC)

Delete the old CSS in MediaWiki:Common.css if importing it Edit

Please advise people to delete the old CSS in MediaWiki:Common.css before importing MediaWiki:Common.css into MediaWiki:Wikia.css

Otherwise the old CSS will confuse people, and possibly mess up things too since it has not been used for a long time. Many things have changed since it was last used. ---Timeshifter (talk) 05:11, March 21, 2012 (UTC)

If you think that needs to be added by all means do. I already told you I know nothing about the legacy CSS. There's nothing I can contribute to that topic. -- pecoes 05:39, March 21, 2012 (UTC)
OK. I added a note. Feel free to edit it. ---Timeshifter (talk) 13:43, March 23, 2012 (UTC)

Text color on some wikis Edit

Look at the orange text color in the various boxes here:

Some of the text is not legible in some of the boxes. The boxes with the green background. I suggest hard-coding the text color in those boxes. --Timeshifter 01:18, March 30, 2012 (UTC)

Yeah. That's barely readable. I'll look into it! -- pecoes 02:18, March 30, 2012 (UTC)
I fixed it. Feel free to change it. --Timeshifter 10:10, April 1, 2012 (UTC)
I probably will. It should work on every wiki now, but it doesn't really look good on every wiki, does it? It dawned on me that this page doesn't follow any of the Shared Help's color policies. I'll have to do a bit of research... (which is why I postponed the edit btw) -- pecoes 10:14, April 01, 2012 (UTC)
I am happy when something works at all on Wikia. ;) --Timeshifter 11:37, April 1, 2012 (UTC)

Incomplete Edit

Why aren't some pages mentioned here, especially usergroup specific pages like MediaWiki:Group-autoconfirmed.js, etc..?—  Ultimate Supreme talk · wiki I · wiki II  05:46, November 26, 2012 (UTC)

Those were added as part of MW1.18 (mw:Manual:User group CSS and Javascript). This page predates them. In any case, those files aren't really that useful since they run on all skins like Common.js and there really aren't many scripts that need to be restricted to particular groups. w:c:dev:RevealAnonIP and w:c:dev:AjaxBatchDelete are the only ones that come to mind.
In any case, a lot of people have difficultly understanding how this works as it is, adding those will make things more complicated. You could create Help:JavaScript and CSS Cheatsheet/Advanced if you want to write about them. Lunarity 04:13, January 21, 2013 (UTC)

Around Wikia's network

Random Wiki