Topic on Project:Support desk

PHP to Create Pages?

3
Johnywhy (talkcontribs)

I would like my extension to create a couple pages. It should only create the pages once, on first run.

  • Template
  • Special page
  • Form

I'm guessing this should happen in the file: MyExtension/extension.json Correct?

I assume it's only a matter of bundling the page-names and page-content in my extension, and passing that to a page-creation call.

But what is the page-creation call? Should i use generic php? Or is there a special page-creation function for mediaWiki?

Johnywhy (talkcontribs)
This post was hidden by Johnywhy (history)
Reply to "PHP to Create Pages?"