On 06/01/07, Erhard Rainer mediawikimailinglist@erhard-rainer.com wrote:
now I get "Fatal error: Call to a member function exists() on a non-object".
Well, Title needs to be an object; you need to use one of the Title factory functions, e.g.
$title = Title::newFromText( 'Some page' );
It might also be a good idea to check that the title was created, using is_object() too.
Where can I find documentations of functions like doEdit()?
Either in the code itself or via http://svn.wikimedia.org/doc.
Rob Church