Merge "Remove deprecated EditPage::getCopywarn()"
This commit is contained in:
commit
5046e9117a
2 changed files with 1 additions and 11 deletions
|
|
@ -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 ===
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue