Removed OutputPage::includeJQuery()
authorReedy <reedy@wikimedia.org>
Sat, 2 Jan 2016 15:17:11 +0000 (15:17 +0000)
committerReedy <reedy@wikimedia.org>
Sat, 2 Jan 2016 19:38:50 +0000 (19:38 +0000)
All callers use method_exists() to call it

Then include ancient jquery themselves...

Change-Id: I7e270abc7b052156ed1e1793269595a647797526

RELEASE-NOTES-1.27
includes/OutputPage.php

index b8da27f..726d7b2 100644 (file)
@@ -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 ==
 
index 946999c..6a56848 100644 (file)
@@ -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