Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaigns.php |
— | — | @@ -27,19 +27,6 @@ |
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | | - * Get the OutputPage being used for this instance. |
32 | | - * This overrides the getOutput method of Specialpage added in MediaWiki 1.18, |
33 | | - * and returns $wgOut for older versions. |
34 | | - * |
35 | | - * @since 1.2 |
36 | | - * |
37 | | - * @return OutputPage |
38 | | - */ |
39 | | - public function getOutput() { |
40 | | - return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ? parent::getOutput() : $GLOBALS['wgOut']; |
41 | | - } |
42 | | - |
43 | | - /** |
44 | 31 | * (non-PHPdoc) |
45 | 32 | * @see SpecialPage::getDescription() |
46 | 33 | */ |
Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php |
— | — | @@ -29,19 +29,6 @@ |
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | | - * Get the OutputPage being used for this instance. |
34 | | - * This overrides the getOutput method of Specialpage added in MediaWiki 1.18, |
35 | | - * and returns $wgOut for older versions. |
36 | | - * |
37 | | - * @since 1.2 |
38 | | - * |
39 | | - * @return OutputPage |
40 | | - */ |
41 | | - public function getOutput() { |
42 | | - return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ? parent::getOutput() : $GLOBALS['wgOut']; |
43 | | - } |
44 | | - |
45 | | - /** |
46 | 33 | * (non-PHPdoc) |
47 | 34 | * @see SpecialPage::getDescription() |
48 | 35 | */ |
Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php |
— | — | @@ -36,32 +36,6 @@ |
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
40 | | - * Get the OutputPage being used for this instance. |
41 | | - * This overrides the getOutput method of Specialpage added in MediaWiki 1.18, |
42 | | - * and returns $wgOut for older versions. |
43 | | - * |
44 | | - * @since 1.2 |
45 | | - * |
46 | | - * @return OutputPage |
47 | | - */ |
48 | | - public function getOutput() { |
49 | | - return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ? parent::getOutput() : $GLOBALS['wgOut']; |
50 | | - } |
51 | | - |
52 | | - /** |
53 | | - * Shortcut to get user's language. |
54 | | - * This overrides the getLang method of Specialpage added in MediaWiki 1.18, |
55 | | - * and returns $wgLang for older versions. |
56 | | - * |
57 | | - * @since 0.1 |
58 | | - * |
59 | | - * @return Language |
60 | | - */ |
61 | | - public function getLang() { |
62 | | - return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ? parent::getLang() : $GLOBALS['wgLang']; |
63 | | - } |
64 | | - |
65 | | - /** |
66 | 40 | * Replaces default execute method |
67 | 41 | * Checks whether uploading enabled, user permissions okay, |
68 | 42 | * @param $subPage, e.g. the "foo" in Special:UploadWizard/foo. |