Lupo has uploaded a new change for review. Change subject: (bug 42729) Don't load MW-1.21-only class on earlier MW ......................................................................
(bug 42729) Don't load MW-1.21-only class on earlier MW In MW 1.20, ApiQuery instantiates all generator modules in its constructor. Therefore, this generator module, which depends on a core class introduced only in MW 1.21, must not be used on earlier MW versions. Instead of a version check we just check whether the needed baseclass is known to the autoloader. If it is, we may use ApiQueryUploadCampaigns, otherwise we mustn't. Change-Id: I314d5dd1ee3e6e5b95ad8bf888de229384ee1516 --- M UploadWizard.php 1 file changed, 5 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard refs/changes/67/37067/1 -- To view, visit https://gerrit.wikimedia.org/r/37067 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I314d5dd1ee3e6e5b95ad8bf888de229384ee1516 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UploadWizard Gerrit-Branch: master Gerrit-Owner: Lupo <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
