Hi Manuela,
you will need to enable proper error reporting. Please set $wgShowSQLErrors = true; $wgDebugDumpSql = true; $wgShowExceptionDetails = true; $wgShowDBErrorBacktrace = true; in your LocalSettings.php file. Also, have a look at https://www.mediawiki.org/wiki/Manual:How_to_debug -- Robert ________________________________ Von: MediaWiki-l <[email protected]> im Auftrag von Manuela <[email protected]> Gesendet: Montag, 28. Januar 2019 15:30 An: [email protected] Betreff: Re: [MediaWiki-l] Extension which creates a Wikipage with content Hi Robert, I checked extension Page_Forms, it is way too complex for my purpuses. Here the error message from the following code: $pageTitleText = "my new wikipage"; $pageTitle = Title::newFromText( $pageTitleText ); $pageContentText = "my new page content"; $pageContent = new WikitextContent( $pageContentText ); $newWikiPage->doEditContent( $pageContent, "summary", EDIT_NEW ); [1ad3dc9e94053cf14fada5a0] 2019-01-28 14:25:01: Fataler Ausnahmefehler des Typs „Error“ Does this code actually mean something to you? It seems like a random number to me, it is different every time. The previous steps are working, I have checked this, the wikipage "my new wikipage" does not exist. Of course I could create the wikipage by directly accessing the database with an "INSERT", but I think this is not the best method. Manuela -- Sent from: http://mediawiki-i.429.n8.nabble.com/ MediaWiki-I | Mailing List Archive<http://mediawiki-i.429.n8.nabble.com/> mediawiki-i.429.n8.nabble.com MediaWiki-I forum and mailing list archive. MediaWiki announcements and site admin list This is a multilingual list for help/support with running/configuring MediaWiki. It is intended for people who... _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
