Using a special page to creat multiple articles.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using a special page to creat multiple articles.

Patrick B. Day
Hello,

I've been trying to create a special page for research papers that creates
multiple articles (e.g. a separate article for the author(s), the paper
summary information article and several categories that tie them all
together.)

The main code for saving an article uses Article::insertNewArticle() to
insert the article text and Title::exists() to determine if the article
exists before I save anything. I've looked at the EditPage class to mimic
it's way of saving pages which appears to be pretty straight forword.

The pages are created as I expected but the categories are messed up.
(i.e. some of the articles appearing in categories that the shouldn't be
in and other articles no appearing in categories where they should be).

Am I trying to do something that mediawiki is not designed to do?
Any help would be greatly appreciated.

I'm using mediawiki 1.5.

Thanks,
-Pat.



--
============================

Patrick Day
[hidden email]
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l