Robert Vogel wrote > it looks like the source of the issue is, that you try to create a wiki > page from within a parser hook callback. This is very uncommon. It somehow > messes with the global state of the Parser. > > Do you have your code online somewhere? Maybe github.com? This would > probably be a better place to discuss implementation details. Or maybe you > could give some details of your use case.
Hi Robert, thank you for your answer. I have already thought about that. What would be a better way, a Special-Page Extension? I had the idea of entering a page title and some initial content into a form and creating a new page from that. This is the way how many users would expect it to work, and obviously there is no simple way in MediaWiki to do so. My code is really simple, just creating the hook, defining a test page title and test content and trying to create a page from that. I will post the full code this evening. If there is no simple way I must go the hard (and dirty) way and use SQL for directly accessing the database, greetings Manuela -- Sent from: http://mediawiki-i.429.n8.nabble.com/ _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
