Removed OutputPage::includeJQuery()

All callers use method_exists() to call it

Then include ancient jquery themselves...

Change-Id: I7e270abc7b052156ed1e1793269595a647797526
This commit is contained in:
Reedy 2016-01-02 15:17:11 +00:00
parent 7cc092645f
commit c27b36277b
2 changed files with 1 additions and 14 deletions

View 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 ==

View 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