Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php |
— | — | @@ -46,6 +46,24 @@ |
47 | 47 | |
48 | 48 | /** |
49 | 49 | * (non-PHPdoc) |
| 50 | + * @see FormSpecialPage::getForm() |
| 51 | + */ |
| 52 | + protected function getForm() { |
| 53 | + $form = parent::getForm(); |
| 54 | + $form->addButton( |
| 55 | + 'cancelEdit', |
| 56 | + wfMsg( 'cancel' ), |
| 57 | + 'cancelEdit', |
| 58 | + array( |
| 59 | + 'onclick' => 'window.location="' . SpecialPage::getTitleFor( 'UploadCampaigns' )->getFullURL() . '";return false;' |
| 60 | + ) |
| 61 | + ); |
| 62 | + |
| 63 | + return $form; |
| 64 | + } |
| 65 | + |
| 66 | + /** |
| 67 | + * (non-PHPdoc) |
50 | 68 | * @see FormSpecialPage::getFormFields() |
51 | 69 | */ |
52 | 70 | protected function getFormFields() { |