Index: trunk/phase3/includes/Article.php |
— | — | @@ -339,6 +339,8 @@ |
340 | 340 | |
341 | 341 | $fname = "Article::insertNewArticle"; |
342 | 342 | |
| 343 | + $this->mCountAdjustment = $this->isCountable( $text ); |
| 344 | + |
343 | 345 | $ns = $this->mTitle->getNamespace(); |
344 | 346 | $ttl = $this->mTitle->getDBkey(); |
345 | 347 | $text = $this->preSaveTransform( $text ); |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -127,7 +127,6 @@ |
128 | 128 | $this->mTitle->getPrefixedURL() ) ); |
129 | 129 | return; |
130 | 130 | } |
131 | | - $this->mCountAdjustment = $this->mArticle->isCountable( $wpTextbox1 ); |
132 | 131 | $this->mArticle->insertNewArticle( $wpTextbox1, $wpSummary, $wpMinoredit, $wpWatchthis ); |
133 | 132 | return; |
134 | 133 | } |