Index: trunk/phase3/includes/api/ApiMove.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | } |
125 | 125 | |
126 | 126 | // Watch pages |
127 | | - $watch = $this->getWatchlistValue( $params['watchlist'], $titleObj ) || $wgUser->getOption( 'watchmoves' ); |
| 127 | + $watch = $this->getWatchlistValue( $params['watchlist'], $fromTitle ) || $wgUser->getOption( 'watchmoves' ); |
128 | 128 | |
129 | 129 | // Deprecated parameters |
130 | 130 | if ( $params['watch'] ) { |
Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -534,6 +534,7 @@ |
535 | 535 | |
536 | 536 | return $mValidNamespaces; |
537 | 537 | } |
| 538 | + |
538 | 539 | /** |
539 | 540 | * Handle watchlist settings |
540 | 541 | */ |