r101639 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101638‎ | r101639 | r101640 >
Date:17:22, 2 November 2011
Author:aaron
Status:ok
Tags:
Comment:
Use isRedirect() accessor
Modified paths:
  • /trunk/extensions/Polyglot/Polyglot.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Polyglot/Polyglot.php
@@ -130,7 +130,7 @@
131131 $a = new Article($t);
132132 $a->loadPageData();
133133
134 - if ($a->mIsRedirect) {
 134+ if ($a->isRedirect()) {
135135 $rt = $a->followRedirect();
136136 if ($rt && $rt->exists()) {
137137 //TODO: make "redirected from" show $source, not $title, if we followed a redirect internally.

Status & tagging log