Forum:Randomiser

Is there some sort of way to add a randomizer to a page, that it will randomly select a page within the Wiki and will place the link there, changing every refresh? Dragongnexus 19:08, 3 February 2009 (UTC)


 * Are you asking to select any random page from your wiki, or do you want a little bit of control over which "random page" is selected?


 * If it is just any old page from your wiki, you can simply have a link to the "Special:Random" feature and do something like this:  Click here to see a random page 


 * Giving a links that looks like: Click here to see a random page


 * If you are trying to be a little more selective of what you want to have appear as a bunch of random links, there are several approaches that you can use here. There is no "best" way to get this to happen, but the following is a fairly easy way to get this to work:

World of Warcraft Star Wars Star Trek Uncyclopedia


 * All of this will produce links like the following:

World of Warcraft Star Wars Star Trek Uncyclopedia


 * Go ahead, reload this page to see this link change!


 * The extension that allows this behavior is already added by default to all Wikia wikis (older wikis may have to check first). Full documentation about this can be found on the MediaWiki website.  There are more options available, and you can even do transclusions of text like I've done with this template. I hope this helps!  --Robert Horning 22:04, 3 February 2009 (UTC)
 * Weird, for me, every time i reload (even shift-f5), the link is Star Trek.
 * But it changed while writing this but relaod still dont work. — TulipVorlax 02:55, 4 February 2009 (UTC)
 * You have to clear your cache (Firefox) or your Temporary Internet Files (Internet Explorer). --Michaeldsuarez (Talk) (Deeds) 04:32, 4 February 2009 (UTC)
 * Or add a action=purge to the url, like, because it's cached by wikia servers, not by your browser. --Ciencia Al Poder (talk) -WikiDex 20:26, 4 February 2009 (UTC)


 * Thank you very much! It works like a charm, I will start putting it into our main page on MechScape Wiki. Dragongnexus  14:42, 5 February 2009 (UTC)


 * How do you change the address of the wiki so I can add the 'action=purge'? Dragongnexus  14:57, 5 February 2009 (UTC)


 * You can't but you can put a link like this :
 * Si les informations affichées semblent périmées, essayez de [ vider le cache] du serveur pour cette page.
 * I use a template to do so c:fr.quildwars:Modèle:Purger.
 * Évidently, this is in french but i know many wikia have the same in english.
 * I wont make the main page auto purging. You can't do that. Also, we should abuse of links like this because it cause the servers to have a hard time wich can have an impact on every wikia. — TulipVorlax 15:03, 5 February 2009 (UTC)