https://www.mediawiki.org/wiki/Special:Code/MediaWiki/103520
Revision: 103520
Author: jeroendedauw
Date: 2011-11-17 22:50:51 +0000 (Thu, 17 Nov 2011)
Log Message:
-----------
kill b/c code for <1.18 since the min is 1.18 now
Modified Paths:
--------------
trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php
trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaigns.php
trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
Modified:
trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php
===================================================================
--- trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php
2011-11-17 22:50:20 UTC (rev 103519)
+++ trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php
2011-11-17 22:50:51 UTC (rev 103520)
@@ -29,19 +29,6 @@
}
/**
- * Get the OutputPage being used for this instance.
- * This overrides the getOutput method of Specialpage added in
MediaWiki 1.18,
- * and returns $wgOut for older versions.
- *
- * @since 1.2
- *
- * @return OutputPage
- */
- public function getOutput() {
- return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ?
parent::getOutput() : $GLOBALS['wgOut'];
- }
-
- /**
* (non-PHPdoc)
* @see SpecialPage::getDescription()
*/
Modified:
trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaigns.php
===================================================================
--- trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaigns.php
2011-11-17 22:50:20 UTC (rev 103519)
+++ trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaigns.php
2011-11-17 22:50:51 UTC (rev 103520)
@@ -27,19 +27,6 @@
}
/**
- * Get the OutputPage being used for this instance.
- * This overrides the getOutput method of Specialpage added in
MediaWiki 1.18,
- * and returns $wgOut for older versions.
- *
- * @since 1.2
- *
- * @return OutputPage
- */
- public function getOutput() {
- return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ?
parent::getOutput() : $GLOBALS['wgOut'];
- }
-
- /**
* (non-PHPdoc)
* @see SpecialPage::getDescription()
*/
Modified:
trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
===================================================================
--- trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
2011-11-17 22:50:20 UTC (rev 103519)
+++ trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
2011-11-17 22:50:51 UTC (rev 103520)
@@ -36,32 +36,6 @@
}
/**
- * Get the OutputPage being used for this instance.
- * This overrides the getOutput method of Specialpage added in
MediaWiki 1.18,
- * and returns $wgOut for older versions.
- *
- * @since 1.2
- *
- * @return OutputPage
- */
- public function getOutput() {
- return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ?
parent::getOutput() : $GLOBALS['wgOut'];
- }
-
- /**
- * Shortcut to get user's language.
- * This overrides the getLang method of Specialpage added in MediaWiki
1.18,
- * and returns $wgLang for older versions.
- *
- * @since 0.1
- *
- * @return Language
- */
- public function getLang() {
- return version_compare( $GLOBALS['wgVersion'], '1.18', '>=' ) ?
parent::getLang() : $GLOBALS['wgLang'];
- }
-
- /**
* Replaces default execute method
* Checks whether uploading enabled, user permissions okay,
* @param $subPage, e.g. the "foo" in Special:UploadWizard/foo.
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs