Edward Z. Yang wrote:
The way I'd do this is for one namespace, disable
all new page
creations. Then create a new special page that acts as a new page
interface sans the title requirement. When it gets submitted, the
database assigns it a title (using a counter table to determine which ID
to use) and creates a new page normally. It sounds doable, although it
will probably require some hackery in EditPage.php.
Edward, thank you for reply.
As far as I understand, I don't need to turn off new page creations. It
can lead to some editing conflict, but it doesn't seems to be very
serious problem here. (BTW, is it possible to turn off new article
creation only for one particular namespace?).
I'd like the idea of using custom SpecialPage as a way to create
alternative new page interface. However, I can't realize how to save the
brand new article when user click "Submit" in the special page's form. I
dislike the idea to re-implement EditPage.php here :)
Any links to code samples are very appreciated.
--
With best regards,
Ilya V. Schurov.