See something you'd like to change or add, but you've never edited an open encyclopædia before? This overview was written to help absolute beginners get started.

Help talk:Contents

From A Storehouse of Knowledge
Jump to: navigation, search

Bot

Now this I could fix with a bot. Π 12:36, 25 March 2009 (UTC)

Sounds like an idea. What would be involved? Philip J. Raymentdiscuss 14:00, 25 March 2009 (UTC)
Not a lot all I would do is get it to go over to MediaWiki, copy the text and write it here. I can do it when I get home this afternoon if you like. All it would take is a few tweaks to Capturebot. Π 00:37, 27 March 2009 (UTC)
So I wouldn't need to enable anything for this to happen? Philip J. Raymentdiscuss 00:43, 27 March 2009 (UTC)
So long as you haven't disabled the API-write like I was going on about the other day. Π 03:20, 27 March 2009 (UTC)
The only thing I have just thought of is the pages would be GFDL, so long as it says that in the banner at the top we would be alright. Π 03:23, 27 March 2009 (UTC)
No, I haven't disabled it. And from memory the pages are public domain, but if so we should say that. Philip J. Raymentdiscuss 13:00, 27 March 2009 (UTC)
Do you know where the api.php file is I can't find it at http://www.astorehouseofknowledge.info/api.php, http://www.astorehouseofknowledge.info/w/api.php or http://www.astorehouseofknowledge.info/wiki/api.php ? Π 23:37, 27 March 2009 (UTC)
Hello? Π 12:32, 28 March 2009 (UTC)
Hello! I'm not sure that I understand these well enough to translate, but try http://www.astorehouseofknowledge.info/www/api.php. Philip J. Raymentdiscuss 14:43, 28 March 2009 (UTC)
Nope still can't see it. Π 00:17, 29 March 2009 (UTC)

As far as I can tell from looking at some other sites, it was where it should be (in the same directory as index.php). I've now moved it up one directory, and hopefully that won't cause any problems. Try again at http://www.astorehouseofknowledge.info/api.php. Philip J. Raymentdiscuss 13:26, 31 March 2009 (UTC)

I still can't see it. Is there some setting you have change to stop the software trying to create a wikipage there? This is what I expect to see. Π 01:37, 1 April 2009 (UTC)
I don't know, sorry. Philip J. Raymentdiscuss 04:51, 1 April 2009 (UTC)
The short url scheme you have chosen is problematic. To enable api.php, you'll have to add an alias for api.php. Look in httpd.conf, there should already be an alias for index.php, writing something similar for api.php should work. Nx 13:53, 21 April 2009 (UTC)
I can't find httpd.conf, which I take to mean that I don't have access to it. I've moved api.php back to the same folder as index.php.
Well, that redirects to a wikipage titled 500.shtml. The default setup btw. is to have urls like http://www.astorehouseofknowledge.info/index.php/Noah, what did you do to make urls like http://www.astorehouseofknowledge.info/Noah work? Nx 14:56, 21 April 2009 (UTC)
It was set up for me by someone else, but the shorter URL was done with (or partly with?) $wgArticlePath = "/$1"; in LocalSettings.php. Philip J. Raymentdiscuss 15:07, 21 April 2009 (UTC)
I think that's not enough. Did they modify .htaccess? Can you show me the contents of that file? Nx 15:12, 21 April 2009 (UTC)
There's several .htaccess files, but I believe that I'm looking at the right one. Most lines start with a hash (comments?), but the last four lines are:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php?title=$1 [L,QSA]

But I'm off to bed in a few minutes. I'm not staying up as late as I did on Saturday night, because I have to work tomorrow! Philip J. Raymentdiscuss 15:25, 21 April 2009 (UTC)

Looks like this isn't causing the problem after all. I assumed it was because it was redirecting to Api.php, but now that you've moved back api.php, it actually does try to run it, but fails for some reason. The rewrite rule then kicks in for the error page, and redirects you to 500.shtml. It might be a permission error... other than that, you'd have to check the error logs immediately after trying to access api.php to see what went wrong. Nx 16:44, 21 April 2009 (UTC)
How do I "access it" to get an error message? Philip J. Raymentdiscuss 14:27, 27 April 2009 (UTC)
[1]. But wait. It's working now. Nx 19:02, 27 April 2009 (UTC)
Personal tools
Namespaces

Variants
Actions
visitor navigation
contributor navigation
monitoring
Toolbox