From: Reedy Date: Sat, 2 Jan 2016 15:17:11 +0000 (+0000) Subject: Removed OutputPage::includeJQuery() X-Git-Tag: 1.31.0-rc.0~8477^2 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=c27b36277b17bfca24a7cc41a01a9d99d2ea48ba;p=lhc%2Fweb%2Fwiklou.git Removed OutputPage::includeJQuery() All callers use method_exists() to call it Then include ancient jquery themselves... Change-Id: I7e270abc7b052156ed1e1793269595a647797526 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index b8da27faef..726d7b2fe0 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -201,6 +201,7 @@ changes to languages because of Phabricator reports. * OutputPage::permissionRequired() was removed (deprecated since 1.18). * OutputPage::blockedPage() was removed (deprecated since 1.18). * User::getSkin() was removed (deprecated since 1.18). +* OutputPage::includeJQuery() was removed (deprecated since 1.17). == Compatibility == diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 946999c786..6a568480b5 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3933,20 +3933,6 @@ class OutputPage extends ContextSource { $this->addWikiText( $s ); } - /** - * Include jQuery core. Use this to avoid loading it multiple times - * before we get a usable script loader. - * - * @param array $modules List of jQuery modules which should be loaded - * @return array The list of modules which were not loaded. - * @since 1.16 - * @deprecated since 1.17 - */ - public function includeJQuery( array $modules = array() ) { - wfDeprecated( __METHOD__, '1.17' ); - return array(); - } - /** * Enables/disables TOC, doesn't override __NOTOC__ * @param bool $flag