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

--- Comment #1 from Daniel Kinzler <[email protected]> 2012-05-30 
10:36:14 UTC ---
This error is triggered by a newly inserted check that asserts that the link
cache actually knows about the title in question before using the link cache to
determine whether a given title is a redirect.

In the past, the case that the LinkCache didn't know about the item went
unnoticed, and isRedirect would just return false even though the page in
question might have been a redirect.

The way Title::isRedirect() is implemented seems quite brittle to me: it relies
on the LinkCache without any fallback, and there's no intrinsic mechanism to
make sure the LinkCache was actually initialize for this title.

So... I believe this problem has existed for a long time, but only now has been
made obvious by the explicit check.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to