Looks like a bug. Article::mText no more exist, fetch revision instead.
This commit is contained in:
parent
9b06a36f4a
commit
d2797a8da3
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ class Article {
|
|||
function isRedirect( $text = false ) {
|
||||
if ( $text === false ) {
|
||||
$this->loadContent();
|
||||
$titleObj = Title::newFromRedirect( $this->mText );
|
||||
$titleObj = Title::newFromRedirect( $this->fetchRevisionText() );
|
||||
} else {
|
||||
$titleObj = Title::newFromRedirect( $text );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue