Remove Skin::generateDebugHTML()

Bug: T280611
Change-Id: I7f2520851fe9f4064e54f869507df4cffdd6684b
This commit is contained in:
bwang 2021-07-13 16:06:49 -05:00 committed by Bernard Wang
parent cd1ead94ea
commit f3bab2f249
2 changed files with 2 additions and 12 deletions

View file

@ -314,6 +314,8 @@ because of Phabricator reports.
* Direct construction of MergeHistory class, deprecated since 1.35, is no longer
supported. Use MergeHistoryFactory instead. MergeHistory::checkPermissions,
deprecated since 1.36, was removed.
* Skin::generateDebugHTML(), deprecated since 1.35, was removed. Call
MWDebug::getHTMLDebugLog() directly.
* …
=== Deprecations in 1.37 ===

View file

@ -752,18 +752,6 @@ abstract class Skin extends ContextSource {
return $data;
}
/**
* Generate debug data HTML for displaying at the bottom of the main content
* area.
*
* @return string HTML containing debug data, if enabled (otherwise empty).
* @deprecated since 1.35. Call MWDebug::getHTMLDebugLog() directly.
*/
protected function generateDebugHTML() {
wfDeprecated( __METHOD__, '1.35' );
return MWDebug::getHTMLDebugLog();
}
/**
* This gets called shortly before the "</body>" tag.
*