Index: trunk/extensions/PageSchemas/PS_CreatePageJob.php |
— | — | @@ -8,24 +8,24 @@ |
9 | 9 | class PSCreatePageJob extends Job { |
10 | 10 | |
11 | 11 | function __construct( $title, $params = '', $id = 0 ) { |
12 | | - parent::__construct( 'createPage', $title, $params, $id ); |
| 12 | + parent::__construct( 'pageSchemasCreatePage', $title, $params, $id ); |
13 | 13 | } |
14 | 14 | |
15 | 15 | /** |
16 | | - * Run a createPage job |
| 16 | + * Run a pageSchemasCreatePage job |
17 | 17 | * @return boolean success |
18 | 18 | */ |
19 | 19 | function run() { |
20 | 20 | wfProfileIn( __METHOD__ ); |
21 | 21 | |
22 | 22 | if ( is_null( $this->title ) ) { |
23 | | - $this->error = "createPage: Invalid title"; |
| 23 | + $this->error = "pageSchemasCreatePage: Invalid title"; |
24 | 24 | wfProfileOut( __METHOD__ ); |
25 | 25 | return false; |
26 | 26 | } |
27 | 27 | $article = new Article( $this->title ); |
28 | 28 | if ( !$article ) { |
29 | | - $this->error = 'createPage: Article not found "' . $this->title->getPrefixedDBkey() . '"'; |
| 29 | + $this->error = 'pageSchemasCreatePage: Article not found "' . $this->title->getPrefixedDBkey() . '"'; |
30 | 30 | wfProfileOut( __METHOD__ ); |
31 | 31 | return false; |
32 | 32 | } |