Thread:Bobogoobo/@comment-7981828-20130623201215

I tried what you suggested concerning that redirect display script I wanted to port to my test wiki, and I eventually realized my problem.

My localhost wiki is not actually on the internet (I use a WAMP stack program to run my test wiki offline), so the api query request had to include the EXACT location of my server (localhost), the name of my mediawiki folder on my computer, then the I had to enter the rest of the query. like:

localhost/mediawiki/(rest of api query)

It also turned out I ported the code for the query line a little off, which was causing a formatting error that caused the query to fail.

I got it fixed, and now the script runs just as well on my test wiki as it does on my Wikia wiki. :D

My thank you is for making the original code, the suggestions you gave me for porting it, and the fun I had figuring out the solution to make it work on my test wiki. I even learned some more about Javascript/JSON coding in the process. :) 