Index: trunk/phase3/includes/specials/SpecialEditWatchlist.php |
— | — | @@ -535,7 +535,9 @@ |
536 | 536 | * @return int |
537 | 537 | */ |
538 | 538 | public static function getMode( $request, $par ) { |
539 | | - $mode = strtolower( $request->getVal( 'action', $par ) ); |
| 539 | + $act = $request->getVal( 'action' ); |
| 540 | + $mode = ( $act == 'view' ) ? $par : $act; |
| 541 | + $mode = strtolower( $mode ); |
540 | 542 | switch( $mode ) { |
541 | 543 | case 'clear': |
542 | 544 | case self::EDIT_CLEAR: |