Index: trunk/phase3/includes/api/ApiUpload.php |
— | — | @@ -248,7 +248,7 @@ |
249 | 249 | } |
250 | 250 | |
251 | 251 | $file = $this->mUpload->getLocalFile(); |
252 | | - $watch = $this->getWatchlistValue( $params['watchlist'], $file->getTitle() ); |
| 252 | + $watch = $this->getWatchlistValue( $params['watchlist'], $file->getTitle() ) || $wgUser->getOption( 'watchcreations' ); |
253 | 253 | |
254 | 254 | // Deprecated parameters |
255 | 255 | if ( $this->mParams['watch'] ) { |