Merge "Remove deprecated EditPage::getCopywarn()"

This commit is contained in:
jenkins-bot 2022-11-01 01:24:14 +00:00 committed by Gerrit Code Review
commit 5046e9117a
2 changed files with 1 additions and 11 deletions

View file

@ -171,6 +171,7 @@ because of Phabricator reports.
removed without deprecation.
* MediaWikiTestCaseTrait::checkPHPExtension() has been removed without
deprecation. Use PHPUnit @requires annotations instead.
* EditPage::getCopywarn(), deprecated since 1.38, has been removed.
* …
=== Deprecations in 1.40 ===

View file

@ -4052,17 +4052,6 @@ class EditPage implements IEditObject {
) );
}
/**
* Get the copyright warning
*
* @deprecated since 1.38 Use getCopyrightWarning() instead.
* @return string
*/
protected function getCopywarn() {
wfDeprecated( __METHOD__, '1.38' );
return self::getCopyrightWarning( $this->mTitle, 'plain', $this->getContext() );
}
/**
* Get the copyright warning, by default returns wikitext
*