[Mediawiki-l] Re: can't build the docs

Bob Purvy bpurvy at yahoo.com
Thu Oct 13 04:43:02 UTC 2005


to answer Jamie Bliss' question about why I want to build the docs 
(which was the only response I received):   it's for faster Help page 
load times.  I've had, occasionally, very long waits for a Help page, 10 
seconds or more.   When I'm trying to solve a problem this is the last 
thing I need.  I'm sure it's a network or computer problem on my end, 
but it doesn't matter;  a local copy would be better.

But  no need to argue about that;  does anyone have the answer to this 
question?  Thanks.


=======================================================

I'm trying to run mwdocgen.php in the maintenance
directory of MediaWiki, and this is the result I get:

[root at localhost maintenance]# php mwdocgen.php
Several documentation possibilities:
 0 : whole documentation (1 + 2 + 3)
 1 : only includes
 2 : only languages
 3 : only maintenance
 4 : only skins
 5 : only a given file
Enter your choice [0]:0
---------------------------------------------------
Launching the command:

phpdoc  -f
/usr/local/apache2/htdocs/mediawiki-1.5.0/*php  -d
/usr/local/apache2/htdocs/mediawiki-1.5.0/includes/,/usr/local/apache2/htdocs/mediawiki-1.5.0/languages/,/usr/local/apache2/htdocs/mediawiki-1.5.0/maintenance/,/usr/local/apache2/htdocs/mediawiki-1.5.0/skins/
-t /usr/local/apache2/htdocs/mediawiki-1.5.0/docs/html
 -dn MediaWiki --title "MediaWiki generated
documentation" --output "HTML:Smarty:HandS" --ignore
AdminSettings.php,LocalSettings.php,tests/LocalTestSettings.php
--parseprivate on --sourcecode on
---------------------------------------------------
: bad interpreter: No such file or directoryp
---------------------------------------------------
Phpdoc execution finished.
Check above for possible errors.

=======

I do have phpDocumentor installed
 (1.3.0rc3, since the 1.2 consistently failed to
install with a "bad md5 checksum" error)

So how do I fix this?



----------------------------



More information about the MediaWiki-l mailing list