Extension talk:CreateArticle

Valid MediaWiki Versions
If you've downloaded and used this extension and it works properly, please add your MediaWiki version to the following list. Thanks!


 * MW Version 1.6.9

Hi,

i noticed two "problems" when running in Version 1.6.9

1. I had to comment out line 105 (rendering magic word PAGENAME) because of warnings in my html code on the start page rendered in the html code.

For me it is not a real big problem, because we do not need this functionality.

2. Pressing the button with no text entered, causes an error on line 212 (i guess $title is empty, and ->getArticleID causes the problem)

Maybe it is not the "best solution" but i added the following to the if statement (line 212)

if(isset($title) && $title->getArticleID == 0) {

in this case, it will be handled as an aricitle that exists.

193.19.114.132--

I have to do some additions.

In my case, the statement at line 201 does not work.

if(is_null($title)){

i changed it into !isset($title) and it works

193.19.114.132--