Replacing index.php with real URL

When I'm testing this out, my wiki isn't at /wiki, and the files aren't at /w. I changed the links so that the software would automatically detect the base URL, so that others can test it more easily.