Tim Starling wrote:
To be specific...
$ tree /home/wikipedia/common/live-1.5
/home/wikipedia/common/live-1.5 |-- 404.php
^Custom ErrorDocument handler, not required, will be custom to your site.
|-- COPYING -> ../php-1.5/COPYING
Teh GPL r0x0rz
|-- MWVersion.php
^ Custom include file for the .php wrappers. This checked our upgrade log during 1.4-to-1.5 transition to determine which version to chdir() to; if you had such a thing it would be custom to your site.
|-- extensions -> /usr/local/apache/common/php-1.5/extensions
The extensions directory is needed only if you're using extensions that contain external-facing files, such as style sheets and images. If you are picky you can copy them in individually, or simply use your web server configuration to block off script execution in there.
|-- img_auth.php
You only actually need img_auth.php if some of your sites are locked against public reading.
|-- index.php
Script entry point obviously is important. ;)
|-- math | `-- texvc -> /usr/local/apache/common/php-1.5/math/texvc
Hm, I'm not sure we actually need this. Having it on the internal dirs should be enough.
|-- redirect.php
Used only by the Nostalgia skin.
|-- redirect.phtml
For backwards compatibility with very old versions of Nostalgia skin. ;)
|-- skins-1.5 -> /usr/local/apache/common/php-1.5/skins
As with extensions you can if you like pick and choose to leave out scripts from here. Note that you can place the skins root whereever you like by setting $wgStylePath; that allows you to version the style sheets in a way that's friendly to rolling upgrades and caching.
|-- thumb.php
I think this requires an option to actually use, by default thumbs are still being generated on page render and linked directly.
`-- wiki.phtml
For compatibility with old versions.
-- brion vibber (brion @ pobox.com)