Index: trunk/extensions/PageSchemas/PS_CreatePageJob.php |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | /** |
5 | 5 | * Background job to create a new property page, |
6 | 6 | * |
7 | | - * @author ankit garg |
| 7 | + * @author Ankit Garg |
8 | 8 | */ |
9 | 9 | class PSCreatePageJob extends Job { |
10 | 10 | |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | global $wgUser; |
39 | 39 | $actual_user = $wgUser; |
40 | 40 | $wgUser = User::newFromId( $this->params['user_id'] ); |
41 | | - $edit_summary = ''; // $this->params['edit_summary']; |
| 41 | + $edit_summary = wfMsgForContent( 'ps-generatepages-editsummary' ); |
42 | 42 | $article->doEdit( $page_text, $edit_summary ); |
43 | 43 | $wgUser = $actual_user; |
44 | 44 | wfProfileOut( __METHOD__ ); |