Last modified: 2013-02-28 13:32:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46399, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44399 - Title::isRedirect() returns incorrect value for titles loaded from RecentChange objects
Title::isRedirect() returns incorrect value for titles loaded from RecentChan...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Recent changes (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-27 06:48 UTC by Liangent
Modified: 2013-02-28 13:32 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2013-01-27 06:48:00 UTC
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)
Comment 1 Alex Monk 2013-01-27 14:45:18 UTC
I've seen this before when doing Gerrit change #13627... Might be related to bug 38088?
Comment 2 Alexandre Emsenhuber [IAlex] 2013-02-28 13:32:16 UTC
This got fixed with Gerrit change #50910 and Gerrit change #43445.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links