Removed OutputPage::includeJQuery()
All callers use method_exists() to call it Then include ancient jquery themselves... Change-Id: I7e270abc7b052156ed1e1793269595a647797526
This commit is contained in:
parent
7cc092645f
commit
c27b36277b
2 changed files with 1 additions and 14 deletions
|
|
@ -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 ==
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue