Query.php

From DreamHost

Jump to: navigation, search

Installation

See the home page [1] for the most up to date notes!

These notes cover my expereince - Fortyfoxes 00:50, 8 August 2006 (UTC) - of installing query.ph, and may not apply to all set ups. I have the following configuration:

   * MediaWiki: 1.7.1
   * PHP: 5.1.2 (cgi-fcgi)
   * MySQL: 5.0.18-standard-log

Installation is fairly straight forward once you got the principles. Query.php is not like other documented "extensions" to MediaWiki - it does it's own thing, and does not need integrating into the overall environment so that it can be called within wiki pages - so no registering with LocalSettings.php (my first mistake). [edit]

Installation Don'ts

Explicitly - do *NOT* place a "# require_once( "extensions/query.php" ); line in LocalSettings.php!


Installation Do's

Query.php does require that you put it in the right folder! And this is not simply the "extensions" directory:

/home/myuserName/myDomainDir/w/extensions/query.php

Where the direcotry "w" is the standard MediaWiki directory named in such a way as not to clash - ie not MediaWiki or Wiki - this allows easier redirection with .htaccess for tidier urls. [edit]

Apache Rewrite Rules and URls

In progress - have to see how pointing a subdomain (wiki.mydomain.org) at the installation affects query.php!

Personal tools