|
@@ 108-115 (lines=8) @@
|
| 105 |
|
$mode = self::getMode( $this->getRequest(), $mode ); |
| 106 |
|
|
| 107 |
|
switch ( $mode ) { |
| 108 |
|
case self::EDIT_RAW: |
| 109 |
|
$out->setPageTitle( $this->msg( 'watchlistedit-raw-title' ) ); |
| 110 |
|
$form = $this->getRawForm(); |
| 111 |
|
if ( $form->show() ) { |
| 112 |
|
$out->addHTML( $this->successMessage ); |
| 113 |
|
$out->addReturnTo( SpecialPage::getTitleFor( 'Watchlist' ) ); |
| 114 |
|
} |
| 115 |
|
break; |
| 116 |
|
case self::EDIT_CLEAR: |
| 117 |
|
$out->setPageTitle( $this->msg( 'watchlistedit-clear-title' ) ); |
| 118 |
|
$form = $this->getClearForm(); |
|
@@ 116-123 (lines=8) @@
|
| 113 |
|
$out->addReturnTo( SpecialPage::getTitleFor( 'Watchlist' ) ); |
| 114 |
|
} |
| 115 |
|
break; |
| 116 |
|
case self::EDIT_CLEAR: |
| 117 |
|
$out->setPageTitle( $this->msg( 'watchlistedit-clear-title' ) ); |
| 118 |
|
$form = $this->getClearForm(); |
| 119 |
|
if ( $form->show() ) { |
| 120 |
|
$out->addHTML( $this->successMessage ); |
| 121 |
|
$out->addReturnTo( SpecialPage::getTitleFor( 'Watchlist' ) ); |
| 122 |
|
} |
| 123 |
|
break; |
| 124 |
|
|
| 125 |
|
case self::EDIT_NORMAL: |
| 126 |
|
default: |