Posted by LordAndrew (14417 posts) -
You asked for it, and I delivered. This script will send you to a randomly selected wiki page on Giant Bomb. It uses the API to determine the range of page IDs to chose from, and to test whether the selected ID exists. It shouldn't lead you to a page that doesn't exist, although I haven't fully tested that. I plan to add support for other page types, as well as for Comic Vine. Anime Vice has no API, and Tested doesn't have an API or a wiki, so support for those sites is not planned.
 
If you would like to try it out for yourself, download it from Launchpad and put it on your web server. Yes, you need a web server and PHP. Currently it runs on my private testing server, and you can do the same; but I'd really appreciate it if someone would put it on a publicly accessible server so others can use it. If you get it running, please tell me so I can post the link here for others to use. 
 
So head on over to the project page on Launchpad and download it if you can. You can get the development version through Bazaar if you know how, but it may actually be easier just to download each of the files individually from here. After downloading you'll need to add a file with your API key. If you're familiar with PHP you can probably figure out what to do despite the lack of any decent documentation in the script. If you need help, contact me. If you know exactly what you're doing and want to improve the script or its crappy documentation, also contact me. I will gladly commit any improvements under the assumption that you're probably a better a better programmer than I am.
 
If you get it running, need help getting it running, want to contribute to development, or just want to chat, just send me a message. I'll try to respond in whatever manner is appropriate. 
 

Come get some!

r.gamersfeed.com - hosted by Freek. Loads the page in an iframe, so you can easily grab another random page.
#1 Posted by LordAndrew (14417 posts) -
You asked for it, and I delivered. This script will send you to a randomly selected wiki page on Giant Bomb. It uses the API to determine the range of page IDs to chose from, and to test whether the selected ID exists. It shouldn't lead you to a page that doesn't exist, although I haven't fully tested that. I plan to add support for other page types, as well as for Comic Vine. Anime Vice has no API, and Tested doesn't have an API or a wiki, so support for those sites is not planned.
 
If you would like to try it out for yourself, download it from Launchpad and put it on your web server. Yes, you need a web server and PHP. Currently it runs on my private testing server, and you can do the same; but I'd really appreciate it if someone would put it on a publicly accessible server so others can use it. If you get it running, please tell me so I can post the link here for others to use. 
 
So head on over to the project page on Launchpad and download it if you can. You can get the development version through Bazaar if you know how, but it may actually be easier just to download each of the files individually from here. After downloading you'll need to add a file with your API key. If you're familiar with PHP you can probably figure out what to do despite the lack of any decent documentation in the script. If you need help, contact me. If you know exactly what you're doing and want to improve the script or its crappy documentation, also contact me. I will gladly commit any improvements under the assumption that you're probably a better a better programmer than I am.
 
If you get it running, need help getting it running, want to contribute to development, or just want to chat, just send me a message. I'll try to respond in whatever manner is appropriate. 
 

Come get some!

r.gamersfeed.com - hosted by Freek. Loads the page in an iframe, so you can easily grab another random page.
#2 Posted by AjayRaz (12416 posts) -

why are you not a moderator? i mean seriously. great work though i can't test this out. 

#3 Edited by Freek (91 posts) -
@LordAndrew:  

Awesome work! 

I put it for you:  http://r.gamersfeed.com/
 
Hope you don't mind, I added an small iFrame so it is easier to keep hitting different random pages without having to hit the back button and what not. Doesn't look the best, but I will clean it up a little later.
 
Again, great job.
 
Freek
#4 Posted by LordAndrew (14417 posts) -
@Freek: I don't mind, that's pretty good. I always found myself going back to the parent directory and clicking on random.php again, so this definitely makes things easier. :)
Thanks for the link; I'll add it to my post. 
#5 Posted by Chuggsy (554 posts) -

This is an awesome idea, I just wish I had the patience/know-how to get it working. I can only hope this leads to an actual random page feature being implemented for everybody.

#6 Posted by Dr_Feelgood38 (1550 posts) -

This is great! Tons of games I've never seen before and it also makes for a good way to find empty pages to fill up. Good stuff.

#7 Posted by MattyFTM (14327 posts) -

I'm assuming that it currently only does Game pages, right? Because that's all that I've found using it.
 
Either way, it's awesome. Great work dude.

Moderator
#8 Posted by LordAndrew (14417 posts) -
@MattyFTM: Yes, it only does game pages right now. I plan to add support for other types of pages, and also allow the user to indicate in the query string what type of page they want to get. When that happens, I'll be sure to announce it and document how to make use of those advanced features.
#9 Edited by rjayb89 (7716 posts) -
#10 Posted by Binman88 (3684 posts) -
#11 Posted by eroticfishcake (7782 posts) -

If we needed another mod. It'll definitely be you next time. 
 
Good stuff mate. Hopefully this would encourage people to use the wiki more if they ever come across a page that they like.

#12 Posted by Coombs (3449 posts) -

That's pretty awesome.
 
The official Wikid Task Queue   is also a good place to find pages that need editing,
It also gives bonus Wiki points for doing the assigned tasks.

#13 Posted by LordAndrew (14417 posts) -

A new version of whiskey-random is now available. This new version now supports a variety of page types. Details can be found in the announcement on Launchpad. I'll contact Freek and ask him to update his version. 
 
The new version also has partial support Comic Vine, but only if a Comic Vine API key has been specified. I plan to modify it to accept two keys so it works for both sites at the same time.

#14 Posted by Freek (91 posts) -

I should be able to update my site tonight, if not tommorow (working today). 
 
I will give an update when it done. 

#15 Posted by Freek (91 posts) -
#16 Posted by mracoon (4946 posts) -

Nice feature. I just used it to set a couple of wiki tasks.

Moderator
#17 Posted by LordAndrew (14417 posts) -
@Freek: Link has been updated. Thanks again for being awesome and hosting this for me.
 
@mracoon: Sweet. Glad to see it's being put to good use. :)
#18 Posted by LordAndrew (14417 posts) -

v0.2.0, which has support for Comic Vine, is now available. Minor release v0.1.1 is also available. Tarballs for both versions can be downloaded from Launchpad.

#19 Posted by Frozen_Ice (48 posts) -
@LordAndrew: I don't get it. How do I use it? I have Google Chrome, will it work with that? I downloaded it, but it's just a bunch of text files.
#20 Posted by LordAndrew (14417 posts) -
@Frozen_Ice: It's written in PHP. So you need PHP and a web server to run it. If you can't or won't do that, Freek is currently hosting it here. I might make a JavaScript-based version sometime so people don't have to set up their own server or rely on someone else's, but first I have plans for a rewrite of the existing program.
#21 Posted by Jayzz (591 posts) -
@LordAndrew: thought I'd up this because it's so awesome.. been looking for a random page button!
#22 Posted by DMack (70 posts) -

Well! It would have been handy if I'd noticed this before I got to work on this thing, (which grabs a random character name and is also PHP based).

lol, oh well. I wound up doing the exact same thing, but less elegantly!