On 05/05/06, a@kid <[hidden email]> wrote:
> Is there a method i can call that given a title, namespace, and
> content for a page will create a new article in the db?
> i'm aware of the inputbox extension but i am looking for something
> that actually creates a new article in the db rather than just
> preloading the edit page with a template.
Take a look at the maintenance/importTextFile.php maintenance script
for an example of creating pages. Alternatively, investigate the
Article class a bit more.