|
@@ 91-98 (lines=8) @@
|
| 88 |
|
$mode = self::getMode( $this->getRequest(), $mode ); |
| 89 |
|
|
| 90 |
|
switch ( $mode ) { |
| 91 |
|
case self::EDIT_RAW: |
| 92 |
|
$out->setPageTitle( $this->msg( 'watchlistedit-raw-title' ) ); |
| 93 |
|
$form = $this->getRawForm(); |
| 94 |
|
if ( $form->show() ) { |
| 95 |
|
$out->addHTML( $this->successMessage ); |
| 96 |
|
$out->addReturnTo( SpecialPage::getTitleFor( 'Watchlist' ) ); |
| 97 |
|
} |
| 98 |
|
break; |
| 99 |
|
case self::EDIT_CLEAR: |
| 100 |
|
$out->setPageTitle( $this->msg( 'watchlistedit-clear-title' ) ); |
| 101 |
|
$form = $this->getClearForm(); |
|
@@ 99-106 (lines=8) @@
|
| 96 |
|
$out->addReturnTo( SpecialPage::getTitleFor( 'Watchlist' ) ); |
| 97 |
|
} |
| 98 |
|
break; |
| 99 |
|
case self::EDIT_CLEAR: |
| 100 |
|
$out->setPageTitle( $this->msg( 'watchlistedit-clear-title' ) ); |
| 101 |
|
$form = $this->getClearForm(); |
| 102 |
|
if ( $form->show() ) { |
| 103 |
|
$out->addHTML( $this->successMessage ); |
| 104 |
|
$out->addReturnTo( SpecialPage::getTitleFor( 'Watchlist' ) ); |
| 105 |
|
} |
| 106 |
|
break; |
| 107 |
|
|
| 108 |
|
case self::EDIT_NORMAL: |
| 109 |
|
default: |