Board Thread:General Wiki Discussion/@comment-25230922-20150704031010/@comment-25428589-20150704143303

MrDupin wrote: This is a nice idea. It would be a good addition. My only problem is that it seems as if one is clicking the link to either the Showcase or the Workshop itself, and not a random page inside them. Of course, we can change that easily. Strange, it goes to a random page for me. Hmm. Have you purged your cache?

Also, it is quite slow at the moment. I guess that's because it's taking a while to calculate the links. If that's it, maybe we could do those calculations as the page is loading, and not the moment the user clicks on one of the links. Essentially, the links would be pre-calculated.

I'm not sure if that's possible though. The slowness is because, when one of the links is pressed, it is downloading another page, so basically, it doubles the page load time for the redirect pages.

Another thing, where can we take a look at the code? And another question, is it possible to add PHP scripts? I guess not, but they may be useful in this case. The code is horrible and inefficient, since I never do Javascript and I made this in about half an hour (I'm almost embarrassed to post it), but it's stored at MediaWiki:Wikia.js at the wiki in question.

With regards to PHP code, there's no way to add it to a wiki without staff assistance, but I believe staff are happy to install extensions (which I assume would include custom extensions by the wiki's community) if the community can show a need for it.