r100083 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100082‎ | r100083 | r100084 >
Date:20:51, 17 October 2011
Author:yaron
Status:deferred
Tags:
Comment:
Added setting of edit summary
Modified paths:
  • /trunk/extensions/PageSchemas/PS_CreatePageJob.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/PS_CreatePageJob.php
@@ -3,7 +3,7 @@
44 /**
55 * Background job to create a new property page,
66 *
7 - * @author ankit garg
 7+ * @author Ankit Garg
88 */
99 class PSCreatePageJob extends Job {
1010
@@ -37,7 +37,7 @@
3838 global $wgUser;
3939 $actual_user = $wgUser;
4040 $wgUser = User::newFromId( $this->params['user_id'] );
41 - $edit_summary = ''; // $this->params['edit_summary'];
 41+ $edit_summary = wfMsgForContent( 'ps-generatepages-editsummary' );
4242 $article->doEdit( $page_text, $edit_summary );
4343 $wgUser = $actual_user;
4444 wfProfileOut( __METHOD__ );

Status & tagging log