http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94210

Revision: 94210
Author:   robin
Date:     2011-08-10 22:50:30 +0000 (Wed, 10 Aug 2011)
Log Message:
-----------
Add 0 to new Article() per r92141 comment and [[User:Catrope/Extension 
review/Babel]]

Modified Paths:
--------------
    trunk/extensions/Babel/BabelAutoCreate.class.php

Modified: trunk/extensions/Babel/BabelAutoCreate.class.php
===================================================================
--- trunk/extensions/Babel/BabelAutoCreate.class.php    2011-08-10 22:30:24 UTC 
(rev 94209)
+++ trunk/extensions/Babel/BabelAutoCreate.class.php    2011-08-10 22:50:30 UTC 
(rev 94210)
@@ -37,7 +37,7 @@
                } else {
                        $text = wfMsgForContent( 
'babel-autocreate-text-levels', $level, $language );
                }
-               $article = new Article( $title );
+               $article = new Article( $title, 0 );
 
                $user = self::user();
                # Do not add a message if the username is invalid or if the 
account that adds it, is blocked


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to