https://bugzilla.wikimedia.org/show_bug.cgi?id=44399

       Web browser: ---
            Bug ID: 44399
           Summary: Title::isRedirect() returns incorrect value for titles
                    loaded from RecentChange objects
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Recent changes
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

This is on Toolserver and I configured a MediaWiki to work on replicated DB.

$ php maintenance/eval.php --wiki=zhwiki_p
> $t=Title::newFromText('User:Liangent/ntvc測試');

> var_dump($t->isRedirect());
bool(true)

> $rc=RecentChange::newFromId(25434412);

> $t2=$rc->getTitle();

> echo $t->equals($t2);
1
> var_dump($t2->isRedirect());
bool(false)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to