@@ 451-458 (lines=8) @@ | ||
448 | * Report that the submit operation failed |
|
449 | * @param Status $status |
|
450 | */ |
|
451 | protected function failure( $status ) { |
|
452 | $this->getOutput()->setPageTitle( $this->msg( 'actionfailed' ) ); |
|
453 | $this->getOutput()->addWikiText( '<div class="errorbox">' . |
|
454 | $status->getWikiText( 'tags-edit-failure' ) . |
|
455 | '</div>' |
|
456 | ); |
|
457 | $this->showForm(); |
|
458 | } |
|
459 | ||
460 | public function getDescription() { |
|
461 | return $this->msg( 'tags-edit-title' )->text(); |
@@ 635-643 (lines=9) @@ | ||
632 | * Report that the submit operation failed |
|
633 | * @param Status $status |
|
634 | */ |
|
635 | protected function failure( $status ) { |
|
636 | // Messages: revdelete-failure, logdelete-failure |
|
637 | $this->getOutput()->setPageTitle( $this->msg( 'actionfailed' ) ); |
|
638 | $this->getOutput()->addWikiText( '<div class="errorbox">' . |
|
639 | $status->getWikiText( $this->typeLabels['failure'] ) . |
|
640 | '</div>' |
|
641 | ); |
|
642 | $this->showForm(); |
|
643 | } |
|
644 | ||
645 | /** |
|
646 | * Put together an array that contains -1, 0, or the *_deleted const for each bit |