r94210 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94209‎ | r94210 | r94211 >
Date:22:50, 10 August 2011
Author:robin
Status:ok
Tags:
Comment:
Add 0 to new Article() per r92141 comment and [[User:Catrope/Extension review/Babel]]
Modified paths:
  • /trunk/extensions/Babel/BabelAutoCreate.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/BabelAutoCreate.class.php
@@ -37,7 +37,7 @@
3838 } else {
3939 $text = wfMsgForContent( 'babel-autocreate-text-levels', $level, $language );
4040 }
41 - $article = new Article( $title );
 41+ $article = new Article( $title, 0 );
4242
4343 $user = self::user();
4444 # Do not add a message if the username is invalid or if the account that adds it, is blocked

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92141Babel: (bug 29663) Babel doesn't validate babel-autocreate-user message -> do...robin06:27, 14 July 2011

Status & tagging log