FANDOM


How about something to disable the "placeholder" uploader, too? -- LordTBT Talk! 00:05, April 1, 2011 (UTC)

Just remove placeholders from the MediaWiki messages for new articles, user pages etc and pretend it doesn't exist. Lachlan5963.png 14:05, March 29, 2013 (UTC)

Testing code Edit

I noticed that if I right click on the Add a Photo button on the StarCraft wiki, the code works, but if I left click it, I get a weird, partially functional message (you see the warning, but don't have the ability to add anything to it). PSH aka Kimera 757 (talk) contribs) 23:45, April 16, 2013 (UTC)

I don't see where have you put the code. I've injected that code while viewing your wiki and it worked. If you see the warning (a nice one BTW :P), that's the mini-upload form and thus the code isn't working (maybe because another JavaScript error is preventing it from being executed) --Ciencia Al Poder en WikiDex 20:02, April 17, 2013 (UTC)
I put it at MediaWiki:Common.js, at the very bottom, just over the code that does something about new page creation, but if you look at that page there's a ton of code, so maybe there's an error there. Should I put it on MediaWiki:Wikia.js instead? PSH aka Kimera 757 (talk) contribs) 02:36, April 19, 2013 (UTC)
Since this code is for the oasis skin only, the ideal place to put it is in Wikia.js. But anyway, it seems you've found the issue since it's working now. --Ciencia Al Poder en WikiDex 16:22, April 19, 2013 (UTC)

Something Changed Edit

Wikia must have changed something, as the technique isn't working. I tried the old code but recently saw a flood of "wrong" images. I tried using the Add Photo button, and I got a broken template.

I have added the proper upload to my own toolbar, but interestingly "special: upload" cannot be made to work through search, even though I've unbroken search for myself. PSH aka Kimera 757 (talk) contribs) 23:33, January 23, 2014 (UTC)

Oh, you're right. This is happening since the sidebar is now loaded asynchronously. When this script loads, the sidebar doesn't exist yet and it can't intercept the click event. I've updated the code. You can check if it's working now --Ciencia Al Poder en WikiDex 15:40, January 24, 2014 (UTC)
I changed it to the new code, and after a couple of hours it started working on two wikis. Thanks! PSH aka Kimera 757 (talk) contribs) 20:07, January 25, 2014 (UTC)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.