Hard-deprecate Article::viewRedirect
It is unused. Change-Id: I605ecef8bdef12c6cd87d9c41e2d8e2e798d938b
This commit is contained in:
parent
28b1cd9e19
commit
1bda6a8eee
2 changed files with 3 additions and 1 deletions
|
|
@ -357,6 +357,7 @@ because of Phabricator reports.
|
|||
* ObjectCache::addBusyCallback() is deprecated and non-functional.
|
||||
* MWTimestamp::getHumanTimestamp(), deprecated in 1.26, now emits deprecation
|
||||
warnings.
|
||||
* Article::viewRedirect(), deprecated in 1.30, now emits deprecation warnings.
|
||||
* …
|
||||
|
||||
=== Other changes in 1.39 ===
|
||||
|
|
|
|||
|
|
@ -1713,9 +1713,10 @@ class Article implements Page {
|
|||
* @param bool $forceKnown Should the image be shown as a bluelink regardless of existence?
|
||||
* @return string Containing HTML with redirect link
|
||||
*
|
||||
* @deprecated since 1.30
|
||||
* @deprecated since 1.30, hard-deprecated since 1.39
|
||||
*/
|
||||
public function viewRedirect( $target, $appendSubtitle = true, $forceKnown = false ) {
|
||||
wfDeprecated( __METHOD__, '1.30' );
|
||||
$lang = $this->getTitle()->getPageLanguage();
|
||||
$out = $this->getContext()->getOutput();
|
||||
if ( $appendSubtitle ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue